ANGEL:=EMA(CLOSE,2);
DEVIL:=EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);
RMA10:=MA(CLOSE,10);
RMA20:=MA(CLOSE,20);
RMA40:=MA(CLOSE,40);
RMA60:=MA(CLOSE,60);
RMA120:=MA(CLOSE,120);
RANGEL:=EMA(CLOSE,2);
RDEVIL:=EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);
LBUY:=crOSS(ANGEL,DEVIL);
N:=7;
M:=5;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
B:=SMA(VAR1,N,1);
VAR2:=SMA(B,M,1);
MAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
MAR2:=LLV(LOW,34);
MAR3:=HHV(HIGH,34);
SK:=EMA((MAR1-MAR2)/(MAR3-MAR2)*100,13);
LDB:=B<=10 AND SK<=10 AND B>REF(B,1) AND SK>REF(SK,1);
龙抬头:LBUY AND LDB COLORMAGENTA;