Fractal breakout intraday Strategy EUR/USD 1H –
Forums › ProRealTime English forum › ProOrder support › Fractal breakout intraday Strategy EUR/USD 1H –
- This topic has 359 replies, 1 voice, and was last updated 1 year ago by RandyG.
-
-
11/16/2018 at 10:25 PM #85071
Not sussed it all yet (one eye on a film doesn’t help! 🙂 ) but it has proven one thing to me … the same code CAN produce vastly different results on CFD from results on UK Spread Bet (SB)!
Trade on attached is the SAME date & time but the trade develops so different on CFD than SB … due to use / misuse of pipsize.
For EURUSD …
Pipsize on UK SB is 1
Pipesize on CFD is 0.0001
11/17/2018 at 6:45 AM #8508011/17/2018 at 9:42 AM #85082Did you have check the box tick ???
can I see your codes for to try understandYes tick by tick box was enabled … first thing I checked also! 🙂
Attached are the 4 versions. Version Ro(3) is a misuse of the pipsize (I think?). I was trying suggestions made by Roberto, but I probably misinterpreted what he said.
Let us know any findings / thoughts please.
11/17/2018 at 9:44 AM #8508711/17/2018 at 10:38 AM #85094- Fractal-BOut-EURUSD-1H-Ro2 is correct with REINVEST=0 (should you set it to 1, you’d have to remove P from the final SETs or change the SL & TP calculations at lines 38-39 by adding * POINTSIZE
- Fractal-BOut-EURUSD-1H-Ro3 is correct in ALL cases, provided you remove the P in the final SETs, since all SL’s & TP’s are now expressed in price difference rather than pips. With REINVEST=0 it is exactly the same as the file above, but after removing P it should be preferred since it will work with ANY instrument
As Nicolas pointed out, POINTSIZE/PIPSIZE is not necessary with instruments where the ratio price to pip is 1 (like Dax), but necessary when it is 10000 (like currencies). To make code ALWAYS work, use POINTSIZE/PIPSIZE whenever possible and let ProOrder do the math.
Have fun GraHal with your toys (you can still use your grandchildren’s, occasionally)!
1 user thanked author for this post.
11/17/2018 at 10:48 AM #85095I prefer TP’s greater than SL’s and found out that changing them to
12TakeProfit = 70 * pipsize //changeStopLoss = 40 * pipsize //changegrants better results.
1 user thanked author for this post.
11/18/2018 at 6:48 AM #85124GraHal,
Thank you for your postings.
In version Ro3 there are multiple trades where it is months in position. In attached overview you see two examples.
In 2011 there is even an example of a position of 7 months (not shown). Due to the overnight costs IG charges i do not think that that is the intention.
11/18/2018 at 9:21 AM #8512611/18/2018 at 10:00 AM #85127In version Ro3 there are multiple trades where it is months in position.
Version Ro3 is flawed for the reasons Roberto states re TGL / TGS etc … this brings the Take Profit down to near zero and so the strategy stays in for weeks / months until it gets back to a small profit. Correct me if I have it wrong and you see it different?
(the downside is that over those weeks / months, trades going the other way may be missed!?)
I did not understand the code / strategy, but I do now after me going to sleep thinking over Roberto explanation. This does help I find as one’s brain works on it overnight and I wake understanding it better. Thank you Roberto for being patient and explaining two ways.
I apologise for confusion due to me … playing with my toys (as Roberto put it! 🙂 🙂 ).
When I can’t get a strategy understood in my head (often due to numerous loop backs in the code? ) then I make a change (logical / semi-logical) and check results difference and try and suss out the reasons why. My trial and error method resulted in version Ro3.
I hope other less than expert coders can learn from the contributors of the last 12 posts or so? If nothing else, my questions have revived this Thread / Strategy and it can be seen as very robust and well worth further tests on different Instruments / Markets and Timeframes.
Many Thanks
1 user thanked author for this post.
11/26/2018 at 10:39 PM #85772Ciao. Recentemente sono passato a ProRealTime da VisualTrader e sto cercando di imparare la programmazione….. Sto studiando il tu Trading System con le originarie modifiche di Elsborgtrading. Chiedevo per favore se qualcuno poteva spiegrami perchè ci sono giorni interi in cui il sistema non entra in posizione e cosa significano queste due righe di codice “Capital = 10000” e “MAXpositionsize=5000
MINpositionsize=1”. Grazie11/26/2018 at 10:44 PM #85774Please speak english on the english forum.
Thanks.
09/09/2019 at 7:25 PM #106998Hi guys, if some of you are still interested here is a backtest of the version 4 of EURUSD 1H, it seems to be plateauing
09/10/2019 at 9:04 AM #107034Hi Morgan, please update your country flag in your profile 🙂
Plateauing, but not losing! It is usually a sign to make a new optimization, because market has changed its behavior in the last periods and it was not expected by how the strategy was designed.
1 user thanked author for this post.
06/12/2020 at 8:45 AM #135673Hi there,
I’m from Taiwan and thanks for all the program you guys provided.
I tried to run the program but can’t find out a best result like yours.
May I confirm what the parameter I need to fine tune?
the value CP, target profit/lossprofit or others?
Thank you!
Mason
07/13/2023 at 4:20 PM #217611Can anyone help with coding a fractal indicator that will draw a horizontal line based on Williams fractal that would help quickly indicate a break of market structure, where a break of market structure is based upon a candle close above the previous fractal? The horizontal line starts at the upper or lower fractal and continues into the future until a future candle closes above or below the respective up or down fractal. This is the first building block to the strategy. The next building block would be an entry below a 50 percent pull back from the break of market structure based upon a candle close past the fractal break of market structure. I have attempted to code such an indicator but new to coding.
Thanks
-
AuthorPosts