以下是通达信反弹+成交量副图源码(无源码的请下载附件导入)
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
AA:=SMA(V3,2,1);
BB:=SMA(AA,2,1);
DRAWBAND(AA,RGB(200,0,200),BB,RGB(200,200,200));
IF(C>0,60,DRAWNULL),COLOR00FF00,LINETHICK6;
IF(AA>=BB,60,DRAWNULL),COLOR0000FF,LINETHICK6;
DRAWICON(CROSS(AA,BB),BB-6,1);
DRAWICON(CROSS(BB,AA),AA+6,2);
IF(AA>=BB,100,120),COLORFF8400;
DRAWICON(AA>=BB,115,1);
DRAWICON(BB>AA,105,2);
STICKLINE(C>0,5,0,2,1),COLOR00FF00;
VAR1:AA;
VAR2:BB,COLORFFFFFF;
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
MAVOL3:=MA(VOLUME,60);
STICKLINE((MAVOL1>=MAVOL2) AND (MAVOL1>=MAVOL3),0,7,4,0),COLOR00FFFF;
STICKLINE((MAVOL1>=MAVOL2) AND (MAVOL1>=MAVOL3),0,11,3,0),COLOR00FFFF;
STICKLINE((MAVOL1>=MAVOL2) AND (MAVOL1>=MAVOL3),0,17,1.5,0),COLOR00FFFF;
VOL1叉:(MAVOL1>= MAVOL2) ,POINTDOT,COLOR00FFFF;
STICKLINE((MAVOL1>MAVOL2),0,5,2,0),COLORAA00AA;
STICKLINE((MAVOL1>MAVOL2),0,9,0.5,0),COLORCC00CC;
73544779.png
|