Use it on h1-h4 seperately and different magic numbers.
Also you can try it on JPY and GBP but only in H4.
Do not use swing period higher than 4 (drawdawn gets bigger)
Use trailling stop 5
Trailling step 3
Someone must add break even to this code, if not profits eaten by commissions mostly.
I'm still working on it.
extern bool Break_Even = True;
extern int Break_Even = 13;
And you must be patient on trying this. It tooks days to get profits sometimes.
Attached a new improvement, now with Breakeven function.
UseBreakeven - enable or disable breakeven function
BEStartAt - how many points (plus spread) , from order open price, breakeven will start
BEStep - how many points (plus spread), from order open price, breakeven stop will be placed
Added UseTrailing too, to enable or disable trailing function.
I did not have time to test... i'm running a long optimization in another EA. Someone please run BT and leave a feedback.
Don't forget to adjust the parameters... it's not pre defined.
Attachments
Last edited: