MA5:MA(C,5),COLORWHITE,LINETHICK2;
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60),COLORGREEN;
MA10:MA(CLOSE,10),COLORMAGENTA,LINETHICK2;
JG:=crOSS(MA5,MA10);
GJ:=IF(CROSS(MA10,MA5),0,1);
volUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
NL:=CROSS(MAVOL1,MAVOL2);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2,COLORSTICK;
NA:=CROSS(DIF,DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
DRAWTEXT((JG AND NA) AND J<80,L-0.09,’稳进’),COLORYELLOW;
X:=IF(DIF>0,1,0);
Y:=IF(J<80,1,0);
{DRAWTEXT(IF(X>0 AND Y>0 AND GJ>0,1,0),L+0.09,’★短进’),COLORLIMAGENTA;}
DRAWTEXT(CROSS(DEA,DIF),H+0.09,’★短出’),COLORLIMAGENTA;
{-股票公式网站 }
JH9:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(Abs(C-REF(C,1)),5,1)*100;
DRAWTEXT(CROSS(84,JH9),H+0.09,’★S’),COLORGREEN;
PT:=XMA(H,20);
PAN:=XMA(CLOSE,7),COLORBROWN;
RUO:=MEMA(CLOSE,3),COLORLIBLUE;
DRAWTEXT(LONGCROSS(PAN,RUO,0.25) AND PT>H ,L-0.09,’★短进’),COLORRED;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)