Automatic trading system DAX 1H mini 1€
Forums › ProRealTime English forum › ProOrder support › Automatic trading system DAX 1H mini 1€
- This topic has 113 replies, 12 voices, and was last updated 6 years ago by
JohnScher.
-
-
02/22/2017 at 12:30 PM #26050
Yep, given that these had simple fixed point take profits/stop losses there would have been something seriously wrong in PRT if the backtests did not match live. Both positions closed in profit early morning which was good to see. Need a few weeks of trades to see if the strategy is performing well though.
I am working on testing some short strategies in future, too many are focused on longs at the moment and it results in slightly biased outcomes as the market has been bullish for 8 yrs.
02/22/2017 at 1:55 PM #26053I may be wrong, but I think that in the case of a bear market, if the conditions that mark the indicators are produced, it is very likely that he will be able to touch the 50 take points equally. In one of the strongest and prolonged falls of the last years, in August of 2011, I see that the system 3 remains reliable. In addition to the bearish period from 2008 to 2009 also ends with benefits, then slower so we speak of the volume. Anyway, I am also working on developing a sales system that works. To see if we are lucky and find it soon. a greeting!
02/22/2017 at 3:25 PM #26061Great stuff, look forward to coming up with something that works. I have tried it simplistically with long and short using similar parameters on other strategies but even though some work the draws are simply too large. If you recall, we tested System 3 earlier with both Long+Short trades and that produced positive results but the draws were much worse than Long on its own.
I agree, there is a short system that could work equally as the long but I have a feeling that the parameters may need to be adjusted slightly between them. In my experience, indices go down a lot quicker than they go up (on average) because panic sets in etc so maybe we have to incorporate volatility indicators (eg like the VIX) and ATR to help identify the downward acceleration and take advantage.
03/01/2017 at 2:43 AM #2675303/01/2017 at 3:00 PM #2681103/01/2017 at 11:29 PM #2685903/02/2017 at 5:17 AM #26876Hello lyny, yes, that was talking manel and I, despite having tested the robot over 10 years, much of it have been with the price going up. In spite of it, in its code, it has indicators like MACD, crossing of means and that the price is above another movable average exponential, reason why, the weeks or months that this in fall the price should not operate.
03/02/2017 at 6:46 PM #26977Hi Lyny – yes, we have tested it across market cycles (10yrs+) and as Raul says, apart from 1/2 wrong trades usually taken at the beginning/end of a downturn, the system just sits on the sidelines for the main part. Hence any trades taken during this period should have a lower impact on the overall results. We did develop a long+short system (see previous posts) but felt that the draw was too high to consider taking forward.
03/02/2017 at 7:19 PM #26982Raul – yes, I messed around with % levels on the System 3 but couldn’t find something attractive either.
However, with regards to the 15m Daymult system, I put in a simple % based on the 100 period ema. 0.4% stop loss and 1.6% take profit – ie simple 1:4 ratio. Here are the results (note the scale on the RHS when viewing the curve). A few things we need to consider:
1)We would of course never be happy taking 400+ per point exposure to the Dax, the results are more of principle than what risk we would take in reality. We need to find a way of limiting the position size to say (100 max) but not lose too much in results. At the same time maybe create a smoother equity curve.
2) However, we don’t want to limit the position size too much at the beginning as its manageable and we need it to build up equity We can have a separate position management system that is only triggered when size gets to say 50per point (around year 4 according to backtest).
2)Using a % based system reduces the draw by almost half to around 12% which is actually pretty good considering it takes into account a large single loss of £19k.
3) The average time in market is again more than halved (64 bars vs 143 bars) which is helpful for reducing financing costs
4) The use of a % based on a ema average price could be changed – perhaps utilise other variables such as ATR, yesterdays price etc etc
Let me know your thoughts, many thanks.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889DEFPARAM CumulateOrders = false//DAX - 15Msl=0.004*exponentialaverage[100]//80tp=0.016*exponentialaverage[100]//150p=18d=20m=1.5Rg = 0.5ONCE Januaryl = 1ONCE Februaryl = 2ONCE Marchl = 3ONCE Aprill = 1ONCE Mayl = 1ONCE Junel = 2ONCE Julyl = 3ONCE Augustl = 1ONCE Septemberl = 1ONCE Octoberl = 1ONCE Novemberl =2ONCE Decemberl = 2ONCE Monday = 2ONCE Tuesday = 2ONCE Wednesday = 1Once Thursday = 1Once Friday = 1Once Saturday = 1Once Sunday = 1If Opendayofweek = 1 thenDayMult = MondayElsIf Opendayofweek = 2 thenDayMult = TuesdayElsIf Opendayofweek = 3 thenDayMult = WednesdayElsIf Opendayofweek = 4 thenDayMult = ThursdayElsIf Opendayofweek = 5 thenDayMult = FridayElsIf Opendayofweek = 6 thenDayMult = SaturdayElsIf Opendayofweek = 7 thenDayMult = SundayEndif// saisonal pattern long positionIF CurrentMonth = 1 THENsaisonalPatternMultiplierl = JanuarylELSIF CurrentMonth = 2 THENsaisonalPatternMultiplierl = FebruarylELSIF CurrentMonth = 3 THENsaisonalPatternMultiplierl = MarchlELSIF CurrentMonth = 4 THENsaisonalPatternMultiplierl = AprillELSIF CurrentMonth = 5 THENsaisonalPatternMultiplierl = MaylELSIF CurrentMonth = 6 THENsaisonalPatternMultiplierl = JunelELSIF CurrentMonth = 7 THENsaisonalPatternMultiplierl = JulylELSIF CurrentMonth = 8 THENsaisonalPatternMultiplierl = AugustlELSIF CurrentMonth = 9 THENsaisonalPatternMultiplierl = SeptemberlELSIF CurrentMonth = 10 THENsaisonalPatternMultiplierl = OctoberlELSIF CurrentMonth = 11 THENsaisonalPatternMultiplierl = NovemberlELSIF CurrentMonth = 12 THENsaisonalPatternMultiplierl = DecemberlENDIFaMax = Highest[d](High)aMin = Lowest[d](Low)SupTnd = SuperTrend[m,p]RngOk = (High-Low)/(aMax-aMin)<RgEquity = 10000+StrategyProfitRisk = 0.015n = Max(1,Equity*Risk/Sl/PipValue*SQRT(DayMult*saisonalPatternMultiplierl))//min(1,)//n=1cBuy = aMin[1]<aMin[2] And High<aMax[1] And Close>Open And RngOk And Close>SupTndIf cBuy ThenBuy n Shares at MarketEndIfSET STOP ploss slSET TARGET pPROFIT tp03/07/2017 at 4:11 PM #2755403/08/2017 at 8:18 PM #2783403/08/2017 at 9:01 PM #27850Hi CN – I would only be confident in the Dax and Cac 1-4H System 3 so far. The rest of the ones we tested in this thread have not produced better or less riskier results in my opinion. The Daymult % one above is currently being tested by me in Live and Demo so I will report on that when I have enough results.
However, given that even the System 3 code is still new, I would suggest amending the code and starting with a much lower risk just to make sure you gain confidence in the results after a few months of trades, you can then adjust and increase your risk thereafter.
Attached is the Dax 1-4H System 3 as requested. It should be run on 1H timeframe and please note that if you are in Europe you need to adjust the times in the code by +1hr. Enjoy !
03/14/2017 at 8:41 AM #2847503/14/2017 at 10:29 PM #2856903/15/2017 at 7:37 AM #28576 -
AuthorPosts
Find exclusive trading pro-tools on