以下是通达信ST刘芳神线主图源码
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,15);
MA3:MA(CLOSE,25),COLORAA6666;
L1:MA3*1.10,COLORAA6666;
L2:MA3*0.90,COLORAA6666;
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;
DRAWICON(CROSS(MA1,MA2),MA1,3);