Will this work Buy=LastValue(BarCount,1);
the above syntax correct to define the LTP or last value, but
if you want to generate signal on current price you can say close>LastValue() or cross(close, LastValue())
if you want to refer with close
Will this work Buy=LastValue(BarCount,1);
the above syntax correct to define the LTP or last value, but
if you want to generate signal on current price you can say close>LastValue() or cross(close, LastValue())
if you want to refer with close