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/14/2017 at 1:14 AM #25026
ATR system looks pretty good I’d say. At least there is some decent growth in the first 5 years as opposed to none with most other systems. Draw is is only 10% so not high at all. 20% of trades and profits are zero bar which is again in line with expectations.
Comparison with system 3 below as well. They are pretty much identical results for the first 6yrs and then ATR starts outperforming gradually over the longer term.
02/14/2017 at 1:32 AM #25030And here are the Ibex results – ATR vs System 1. See earlier post for first round results for this index. But in this revised ATR system the risk has certainly been reduced. The draw is now 37% instead of 54% and the no of consecutive losses has dropped to 6 from 9. It makes 30% less trades for the same total gain i.e is more efficient. Only slight negative is that the biggest single loss is 3x greater. But overall the system has definitely made a positive difference to the performance and risk taken.
02/14/2017 at 8:56 AM #25045I have tried to include as a condition of purchase that ATR is above 20. And on the other hand the condition that ATR is below 20, to see if in the DAX it is significant that this indicator signals us or not. I see that both this below and above 20, the system is a winner, I do not think that in this case ATR is a determining factor in which the operation wins or loses. Adding condition c111 or c1111
screenshot 1
1If d1 And t1 and c1 and c11 and c12 and c13 and c111 THENscreenshot 2
1If d1 And t1 and c1 and c11 and c12 and c13 and c1111 THEN02/14/2017 at 8:28 PM #2508602/14/2017 at 8:34 PM #2508902/14/2017 at 8:57 PM #25090According to the conditions it has to operate from Tuesday at 9am until Thursday at 6pm. That is, tonight or tomorrow could also operate. Yes, it is more beneficial with great volume, but I see that with little volume does not come out negative, there are no losses, I see that these last years has increased the volume as we said. But I do not see that there is a negative result in any case. I will try with some other condition to see if I can refine it, but I certainly see good expectations for this robot in both dax and cac. You could look to see 60 put take to see if they change much the results and get a little more in each operation
02/14/2017 at 9:21 PM #25098Yes, I agree, that’s my conclusion as well. The way it is works is pretty good for now (hence my decision to take it into live). The main thing is that in unprofitable or slow periods it is not losing any big money and that is what our testing over the last few days has shown. So I’m happy with that. This means like I said earlier, you just have to be patient and implement this over a long time horizon. We could try alternate periods but I don’t want to overfit. Maybe we could look at that at a later stage when the system is performing well.
Re. your comment – Are you sure about more entry trades possible tom/thurs ? I interpret the code as saying that entry is only on Day 2 and exit can be anytime up until Day 4/5 5pm.
1234567891011121314151617181920212223If d1 And t1 and c1 and c11 and c12 and c13 THENif not onmarket thenIF c1 THENIF PositionPerf(1) < 0 THENOrderSize = OrderSize*2if ordersize<1 thenordersize=1ENDIFELSIF PositionPerf(1) > 0 THENOrderSize = 1if ordersize<1 thenordersize=1ENDIFendifbuy ordersize+n Contract At MarketEndifIf d2 and t2 thensell at marketendifendifendif02/14/2017 at 9:27 PM #2509902/14/2017 at 9:39 PM #25100Ok, no problem. I did some testing early on to change the days to other days of the week to see what the effect was but apart from a couple of cases in some instruments, for some reason Tuesday looked like being the best day for this system.
02/14/2017 at 10:31 PM #2510302/15/2017 at 12:13 AM #25109to try…
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990DEFPARAM CumulateOrders = trueonce ordersize=1// ConditionsMA1 = Average [1]MA2 = Average [2]c1 = Ma1>MA2t1 = time >= 090000t2 = time = 180000d1 = dayofweek = 2d2 = dayofweek = 4if strategyprofit<=30000 thenif ordersize>16 thenordersize=16endifendifif strategyprofit>30000 thenif ordersize>64 thenordersize=64endifendif// buyindicator13 = MACD[12,26,9](close)c13 = (indicator13 < 30)indicator11 = ExponentialAverage[20](close)c11 = (close >= indicator11)indicator1 = MACDline[12,26,9](close)indicator2 = ExponentialAverage[12](indicator1)c12 = (indicator1 > indicator2)//sellindicator1111 = ExponentialAverage[20](close)c1111 = (close <= indicator1111)indicator111 = MACDline[12,26,9](close)indicator2111 = ExponentialAverage[9](indicator111)c1211 = (indicator111 < indicator2111)if not onmarket thenIf d1 And t1 and c1 and c11 and c12 and c13 THENIF PositionPerf(1) < 0 THENOrderSize = OrderSize*2if ordersize<1 thenordersize=1ENDIFELSIF PositionPerf(1) > 0 THENOrderSize = 1if ordersize<1 thenordersize=1ENDIFendifbuy ordersize Contract At MarketEndifIf d1 And t1 and c1 and c1111 and c1211 THENIF PositionPerf(1) < 0 THENOrderSize = OrderSize*2if ordersize<1 thenordersize=1ENDIFELSIF PositionPerf(1) > 0 THENOrderSize = 1if ordersize<1 thenordersize=1ENDIFendifsellshort ordersize Contract At MarketEndifendifIf d2 and t2 thenexitshort at marketendifSet Stop Ploss 50 // from TradeSet Target PProfit 50 // from Trade02/15/2017 at 1:12 AM #2511002/15/2017 at 1:39 AM #2511102/15/2017 at 1:43 AM #25114With regards to the ATR I suppose there may be some value in testing to see if linking the take profit/loss to the ATR produces better results. Maybe it could improve performance in the earlier years as well where the signal is correct but the take profits are too high.
02/15/2017 at 8:36 AM #25123Manel – I think the results are great! The only problem is that it only works in bulltrend. You have to be convinced that the market is in a bulltrend if you´re going to start it.
-
AuthorPosts
Find exclusive trading pro-tools on