以下是同花顺超级短线主图指标原创(无源码的请下载附件导入)
MA5:MA(C,5),COLORFF00FF,LINETHICK1;
MA10:MA(C,10),COLOR00FFFF,LINETHICK1;
MA55:MA(C,55),COLORFFFFFF,LINETHICK1;
DRAWBAND(MA5,RGB(180,0,200),MA10,RGB(0,180,180));
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J:= (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D:=MA(J,3);
K:= MA(J,1);
AA:=K>=D ;
BB:=D>K ;
DRAWICON(CROSS(K,D),L-0.1,1);
DRAWICON(CROSS(D,K),H+0.1,2);
STICKLINE(AA,C,O,3,0),COLORRED;
STICKLINE(AA,H,L,0.5,0),COLORRED;
STICKLINE(BB,C,O,3,0),COLOR00FF00;
STICKLINE(BB,H,L,0.5,0),COLOR00FF00;
{红}
STICKLINE(AA,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(AA,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(AA,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORCC66FF;
{蓝}
STICKLINE(BB,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(BB,CLOSE,OPEN,2.2,0),COLORFF9900;
STICKLINE(BB,CLOSE,OPEN,1.5,0),COLORFFBB00;
STICKLINE(BB,CLOSE,OPEN,0.5,0),COLORCYAN;
638588169.jpg
|