通达信主力变色均线副图指标 源码 贴图
MA5:MA(C,5),COLORWHITE,LINETHICK3; IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK3; IF(MA5=REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK3; IF(MA5A:=(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3)/10; B:=DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))); STICKLINE(C>O,C,O,2.8,0),COLORRED; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); XG:=CROSS(C,MA5) AND CROSS(A,B); DRAWICON(XG,L,25); DRAWICON(XG,L*0.98,26); DRAWICON(XG,L*0.96,27); ;
|