20,POINTDOT;
80,POINTDOT;
volUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
STICKLINE(MAVOL1>=MAVOL2,0,-6,4,0),COLORFF00FF;
STICKLINE (MAVOL1<MAVOL2,0,-6,4,0),COLOR00FFFF;
成交量叉:MAVOL1>MAVOL2,POINTDOT;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2,COLORSTICK;
STICKLINE (DIF>=DEA,-8,-14,4,0),COLORFF00FF;
STICKLINE (DIF<DEA,-8,-14,4,0),COLOR00FFFF;
MacD叉:DIF>DEA,POINTDOT;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE (K>=D,-16,-22,4,0),COLORFF00FF;
STICKLINE (K<D,-16,-22,4,0),COLOR00FFFF;
kdj叉:K>D POINTDOT;
AA:-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100,COLORRED;
BB:EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLOR00FFFF;
CC:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100;
STICKLINE(CC>=REF(CC,1),CC+3,CC-3,1,1),COLORFF00FF;
STICKLINE(CC<REF(CC,1),CC+3,CC-3,1,1),COLOR00FFFF;
STICKLINE(AA>=BB,100,106,4,0),COLORRED;
STICKLINE(AA<BB,100,106,4,0),COLOR00FF00;
短中线叉:AA>BB,POINTDOT;
STICKLINE(CC>=REF(CC,1),108,114,4,0),COLORRED;
STICKLINE(CC<REF(CC,1),108,114,4,0),COLOR00FF00;
长线强弱:CC>=REF(CC,1),POINTDOT;
DRAWTEXT(CURRBARSCOUNT=4,-3,’VOL’),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=4,-11,’MACD’),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=4,-19,’kdJ’),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=4,103,’短中线’),COLORFF0000;
DRAWTEXT(CURRBARSCOUNT=4,111,’长期线’),COLORFF0000;
STICKLINE(AA>80 ,93,98,1,1),COLORFFFF00 ;
STICKLINE(AA<20 ,2,7,1,1),COLORFF0099;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。