Current location - Trademark Inquiry Complete Network - Futures platform - Please help, the 5-day moving average is above the 20-day moving average, turning upward.
Please help, the 5-day moving average is above the 20-day moving average, turning upward.

MA5:MA(C,5);

MA20:MA(C,20);

G1:=REF(MA2,1);< /p>

MA60:MA(C,60);

F1:=REF(MA5,1);

XG:=COUNT(MA20>MA60,4) >=3 ?AND ?COUNT(MA5>MA20,5)>=4 AND ?LONGCROSS(MA5,F1,3);

DRAWICON(XG,MA5*0.95,1);

(Tested, see the red arrow in the picture below for what you need)