HP:=HHV(H,9);
LP:=LLV(L,9);
R:=(C-LP)/(HP-LP)*100;
K:SMA(R,3,1),COLORYELLOW;
D:=SMA(K,3,1);
J:3*K-2*D,COLORFF9999;
M:=MA(R,40);
S:=STD(R,40);
高:M+2*S,COLOR0099FF;
中:M,POINTDOT,LINETHICK2,COLORFF00FF;
{股旁网-股票公式网站 www.gupang.com}
低:M-2*S,COLOR00FF00;
DRAWTEXT(CROSS(高,J) ,J,'☆'),COLOR00FFFF;
DRAWTEXT(CROSS(J,低) ,J,'△'),COLORFF00FF;
DRAWTEXT(CROSS(D,K) AND M>80,高,'顶'),COLORYELLOW;
202108211306.jpg
|