On the chart there is a SMA that is shifted 2bars forward. When Close[1] is above the SMA and Close[2] should still be below SMA, then a condition is met

Last edited by Fred7; 09/14/19 07:37.