I did it from the strategy builder. and here are the screenshots:
The below condition should check if the current bar is 30 ticks higher than the previous bar then enter a long trade and sell after 10 ticks stop loss should be 15 ticks.
While this condition should check if the current bar is 30 ticks lower than the previous bar then enter a short trade, profit target is 10 ticks and stop loss will be 15 ticks
How can i achieve this through the strategy builder as the code was generated by the actions i made on the builder.
Thanks!

Comment