Please code me for my strategy and this is for 30 min candle chart
consider 10.30 to 11 clock candle stick
range = High – low (10.30 to 11 candle)
buy= High of the 10.30 to 11 candle
sell = Low of the 10.30 to 11 candle
Buy Exit(target) = buy + range
Sell exit(target) = sell – range
Buy-
LAST>= REF(HIGH,1)
Buy Exit-
SET A = REF(HIGH,1)
SET B = REF(HIGH-LOW, 1)
SET C = A + B
Sell-
LAST<= REF(LOW,1)
Sell Exit-
SET A= REF(LOW,1)
SET B = REF(HIGH-LOW, 1)
SET C = A -B
2 Likes
it is not possible to do this for particular time/ candle
1030 to 11 is just an example?. question was not very clear
Dear Niranjan,
I am looking for coding for my own strategy could you able to provide