More confusion ! Here is the code piece for Exit Long
SET SL = REF(LOW, 1)
SET profit = REF(HIGH, 1) + ((REF(HIGH, 1) + REF(LOW, 1)) * 2)
SET A = SL
SET A = IF(LOW < A, SL, A)
CROSSOVER(A, LOW) = TRUE OR
CROSSOVER(HIGH, profit) = TRUE
1. In the…
Oops. Let me explain a bit more. The above code is basically belong to exit long.
I want to keep my SL at the low of previous bar for the longs which I entered at the current bar.
I want to exit at profit when the price crosses 2 times t…