EURUSD Morning Entry V1
Forums › ProRealTime English forum › ProOrder support › EURUSD Morning Entry V1
- This topic has 67 replies, 20 voices, and was last updated 4 years ago by Vonasi.
-
-
06/11/2019 at 9:03 AM #100356
A strategy build on an idea posted by imokdesign
EuroUSD mini with 5 contracts
Timeframe 15 minutes
Spread 1
It’s setup for 15 minutes, works also from 1 minute to 30 minutes.
(timezone UTC+2.00 Europe/Amsterdam Central European Summer Time)
1 user thanked author for this post.
06/11/2019 at 9:08 AM #10040306/12/2019 at 2:57 AM #100468Yeah something went wrong. Happens quickly 🙂
1234567891011121314151617181920212223242526//EURUSD 15M Morning Entry//15 MINDEFPARAM CUMULATEORDERS = falseDEFPARAM FLATBEFORE = 100000DEFPARAM FLATAFTER = 140000if time=140000 thenlevel=high[1]endifc1= close < dopen(0)c2= high < dhigh(1)c3= level > dlow(1)c4= level > dlow(2)bu= BollingerUp[20](close)bd= BollingerDown[20](close)ba= (bu+bd)/2c5= ba<ba[1] or high > buif c1 and c2 and c3 and c4 and c5 THENsellshort 5 contract at marketendifSET STOP %LOSS 0.506/12/2019 at 7:25 AM #100472This is very interesting! The results looks more even on 30 min, but theres less max drawdown and more profit on 15 min so i guessing thats what im gonna run this one on 🙂
- How you came up with this? Is it all by urself or is it from the internet/ a book?
2. Im mainly wondering about the time (10:00 and 14:00) because You cant optimize these values, did you just guess them or whats the thinking behind them?
3. Why is there no long trades? Whats the reasoning behind this?
The results look robust and good, 1000 trades, 8 years backtesT, very few degrees of freedom.
Im running this in demo a month or 2 then im gonna run it live for sure.
Interesting results: If you remove all conditions and only keep C1, you get a pretty good result just from that 😛
You could actually remove C1 as well, just use like “close > 0” and you will still get 54% and every year = green.
So the Time when you can trade is basicly 90% of the strategy. The rest of the filters do remove about 1150 trades (u get 2K trades if u take the trade using only “close > 0”)
So i guess the “where did you get the code / why use 10:00 and 14:00?” Is a pretty decent question. Its a crazy anomaly thats for sure.
06/12/2019 at 8:02 AM #100473Would also like to add that it also looks fairly nice for other EUR/XXX markets. Like eur/NOK, eur/GBP, eur/SGD. Not saying im going to trade it on all those but the results are profitable (without spread at least) which is giving the backtest some more robustness at least for me.
The strategy is not a huge fan of other currencies that do not include the EURO, which im guessing is mainly because of the 10:00 – 14:00 setting.
Im a fan of this strategy thats for sure. I think its funny to see how its mainly the time that “makes the trade” profitable and good. The filters are for sure doing some work as well but i think its possible to find different filters as well but i like how your filters have no degrees of freedom, meaning theres no variables to optimize. Just using daily high/low and high/low of the candle is a good thing in my book.. Less optimizing = less chance of curvefitting…
One thing that i dont like so far is the downwards sloping trend in the EQ if you look at quarterly or monthly bars in the detailed report. It can be just random of course so its no biggie but its a tiny red flag, for me at least.
12345678910111213//EURUSD 15M Morning Entry//15 MINDEFPARAM CUMULATEORDERS = falseDEFPARAM FLATBEFORE = 100000DEFPARAM FLATAFTER = 140000c1= close > 0if c1 THENsellshort 1 contract at marketendifSET STOP %LOSS 0.5Try this one on 1h timeframe on eur/SGD or eur/NOK (no spreads)
Looks kinda crazy good.. On eur/USD its profitable only after 2005.. Not sure what to make of that
06/12/2019 at 10:44 AM #100483To answer a few questions Jebus89;
- The idea was posted by Imokdesign who found the idea on internet.
- Optimising only time confirmed the findings from the original idea.
- Basically up to now I just looked at the short trades and tried to make the equity curve and drawdown better.
I started blank as you did above.
Then added simple optimised filters i.e.
12345678910111213141516171819If v3=1 thenv13=openelsif v3=2 thenv13=highelsif v3=3 thenv13=lowelsif v3=4 thenv13=closeendifIf v2=1 thenv12=dopen(1)elsif v2=2 thenv12=dhigh(1)elsif v2=3 thenv12=dlow(1)elsif v2=4 thenv12=dclose(1)endifto find a good combination and to reduce the number of trades, so optimised v2/v3 in range 1-4 and tried i.e. v13>v12
Because the code is so simple, it goes quick.
To improve btw, you can add to only enter before 12u or 13u.
Besides that I found that
1level=highest[2](low)[1]added better results too.
Thanks for the finding of other markets! I didn’t have a look before but indeed something as eurNOK looks great!
I’am curious what other kind of filters spring to mind!
06/12/2019 at 12:03 PM #100485Very interesting system indeed, thanks Paul!
Trying to shred some ligth to the logic of the system I have to say that there are studies about the contrarian effect in the currencys of their markethour. In this case, in the Eur/Usd, the price tend to go down in the morning and up in the afternoon. I am trying to attach here a paper about this effect, I don´t know if it´s possible. Actually I developed myself a strategy based in this effect. So I guess this effect is working for this strategy additionally to its other entry conditions.
06/12/2019 at 7:36 PM #100504seems to be a very robust strategy, thanks for sharing!
tried a few filters, but none really improved the backtest so far, except for one.
My filter idea was that if the day before, the currency jumped a lot, than you shouldn’t short it. I tried first with 1%, but after optimisation on 200k I settled on 0.65%
1c5= (dclose(1)-dopen(1))/dopen(1)*100<0.6506/12/2019 at 8:29 PM #100506I don’t get results anywhere near like Paul’s image above.
I’ve tried be subtracting 1 hour off the times (Paul in Netherlands is 1 hour ahead of me in UK) and also it is better on 10 min TF but still nowhere near as good as Paul’s.
Attached are my results, any comments appreciated.
I know I’ll try it on the eurusd mini, nut I wouldn’t have thought it made that much difference?
I’ll report back
EDIT/PS
Results are worse still on eurusd mini on CFD … same as you guys … see Image 2
06/12/2019 at 9:21 PM #100510I changed a bit the logic to let run winners.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071//EURUSD 15M Morning Entry//15 MINDEFPARAM CUMULATEORDERS = falseDEFPARAM FLATBEFORE = 100000DEFPARAM FLATAFTER = 200000positionsize=3if time=140000 thenlevel=highest[2](low)[1]endif//c1= close < dopen(0)c2= high < dhigh(1)c3= level > dlow(1) and level > dlow(2)c4= (dclose(1)-dopen(1))/dopen(1)*100<0.65ba= average[20](close)dst = STD[20](close)Bu = ba + (2 * dst)c5= ba<ba[1] or high > buif c1 and c2 and c3 and c4 and c5 and time<130000 THENsellshort positionsize contract at marketendifif shortonmarket and time=141500 and positionperf(0)*100<0.3 thenexitshort at marketelseenableBreakeven=1 // mettre à 1 pour activer le breakeven, sinon 0BESG = 0.25// % break even stop gainBESL = 0 // % break even stop levelunderlaying=0.01if enableBreakeven thenif not onmarket thennewsl=0endifif ((longonmarket and shortonmarket[1]) or (longonmarket[1] and shortonmarket)) thennewsl=0endifif longonmarket thenif close-tradeprice(1)>=(((tradeprice(1)/100)*BESG)/(underlaying/100))*pointsize thennewsl=tradeprice(1)+(((tradeprice(1)/100)*BESL)/(underlaying/100))*pointsizeendifendifif shortonmarket thenif tradeprice(1)-close>=(((tradeprice(1)/100)*BESG)/(underlaying/100))*pointsize thennewsl=tradeprice(1)-(((tradeprice(1)/100)*BESL)/(underlaying/100))*pointsizeendifendifif longonmarket and newsl>0 thensell at newsl stopendifif shortonmarket and newsl>0 thenexitshort at newsl stopendifendifendifSET STOP %LOSS 0.4SET TARGET %profit 106/12/2019 at 9:32 PM #10051206/12/2019 at 9:36 PM #10051306/12/2019 at 9:57 PM #10051506/13/2019 at 11:07 AM #10052906/13/2019 at 11:54 AM #100531One could conclude that the eurusd data changed overnight as I now get a better curve (lower curve in attached image) with Paul’s original code than Stefou’s code.
Spread = 1 in each version and both with times set for UTC +1.
Anybody else seeing similar differences today??
-
AuthorPosts
Find exclusive trading pro-tools on