源码
Varq1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
Varq2:=SMA(ABS(LOW-Varq1),13,1)/SMA(MAX(LOW-Varq1,0),10,1);
Varq3:=EMA(Varq2,10);
Varq4:=LLV(LOW,33);
Varq5:=EMA(IF(LOW<=Varq4,Varq3,0),3)*100;
主力进场:STICKLINE(Varq5>REF(Varq5,1),0,Varq5,7,0 ),COLORffff00;
Var1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;
Var2:=SMA(Var1,3,1);
Var3:SMA(Var2,3,1)*var1, linethick2,COLORred;
Var4:SMA(Var3,3,1),linethick2,COLORYELLOW;
Var9:=CROSS(Var4,Var3) AND Var3>80;
STICKLINE(Var9,Var3-5,100,1,1),linethick2,COLORYELLOW;
DRAWTEXT(Var9 AND COUNT(Var9,10)=1,Var3-15,'PL'), linethick2,COLORYELLOW;
AA:=SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1);
TP:EMA(IF(L<=LLV(l,30),AA,0),3)*1000,COLORFF00FF,LINETHICK2;