I want pi coding following strategy

hallo sir

i want pi coding following strategy

BUY = Buy signal above 3 point when second candle crosses high of first candle in 60 sma line

SELL= Sell signal below 3 point when second candle crosses low of first candle in 60 sma line.

As per the above query it is not possible in tradescript ( troughs error) please verify your condition again

(REF(CLOSE,1)>REF(HIGH,1) AND SMA(CLOSE,60) )+3
1 Like