PI Code for the following
Close of Last Bar > Close of Prev Bar > 20 EMA > 50 EMA > 100 EMA
PI Code for the following
Close of Last Bar > Close of Prev Bar > 20 EMA > 50 EMA > 100 EMA
For the above condition
RREF(CLOSE,1)>REF(CLOSE,2) AND EMA(CLOSE,20)>EMA(CLOSE,50) AND EMA(CLOSE,50)>EMA(CLOSE,100)