I want to check if the candle is over or crossed study line like SMA, EMA?
I tried using position and cross. But not strategy never entered.
With cross function, I tried to use close and ema. But in the notification log first one is a single value and 2nd one is an array.
Got the issue resolved. close must be used inside position, so the condition should be
Position ( CLOSE ( Symbol ( Instrument Name ())) > Position (EMA( CLOSE ( Symbol ( Instrument Name ()))
sorry close must always be referring to symbol like Heikin_Ashi, CLOSE(symbol()) is not correct.
proper symbol has to be selected, else condition will not be executed.