I need help in coding a simple strategy in PI for back testing.
its a 10 mins Breakout strategy,
1)Buy when Break days high and short when break the days low.
2)Stop loss is day’s high for short sell and day’s low for Buy.
3)1st Target is 50% difference between high and low .
and the Final Target is entire difference between high and low .
I tried it doing myself .Please look into this is that correct ?I have not tested my code yet as I need help for coding target. Please help !
Stop Loss for BUY entry,
Stop Loss for SELL entry,