Need Code for Exit

  1. Stop Loss shall be previous 2 candle’s low

  2. Stop Loss shall be previous 2 candle’s high

you can use
for previous 2 candle’s low

LAST<REF(LOW,2) AND LAST <REF(LOW,1)

previous 2 candle’s high

LAST>REF(HIGH,2) AND LAST >REF(HIGH,1)

1 Like