I would like to ask you for help, I want to set into my strategy some code,which is described in 4 steps below, for better understand ,please look on the picture in the attached.
1.
After that, what the Price cross above the EMA with period 20,
the strategy should wait for one clean Range Bar
2.
And than from open price on the second Range Bar,
it will start position to short
3.
After that, what the Price cross over the EMA with period 20,
should wait for one clean Range Bar
4.
And than from open price on the second Range Bar,
the strategy close the short position and start the new position to long.
Note:I using timeframe RB=8
Please, is somebody who can help you with this?
(I tried to set the offset for exactly 4ticks after crossing..but NT sometimes made 1tick,sometimes 3 or 5tickcs...and I don't think so why?)
Thank you a lot for helping.
Best regards
j.halena
Comment