通达信主力潜伏指标源码(幅图)
指标源码:
A:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;
B:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;
红柱:=SMA(A,3,1),LINETHICK0,COLOR0000FF;
蓝柱:=SMA(B,3,1),COLORSTICK,COLORFFFF00;
{红柱}
STICKLINE(红柱0,0,红柱,2,0),COLOR888800;
STICKLINE(红柱0,0,红柱,1.5,0),COLORAAAA00;
STICKLINE(红柱0,0,红柱,0.8,0),COLORDDDD00;
STICKLINE(红柱0,0,红柱,0.3,0),COLORFFFF00;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,2,0),COLOR000088;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,1.5,0),COLOR0000AA;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,0.8,0),COLOR0000DD;
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,0.3,0),COLOR0000FF;
STICKLINE(蓝柱0,0,蓝柱,2,0),COLOR008800;
STICKLINE(蓝柱0,0,蓝柱,1,0),COLOR00AA00;
STICKLINE(蓝柱0,0,蓝柱,0.8,0),COLOR00DD00;
STICKLINE(蓝柱0,0,蓝柱,0.3,0),COLOR00FF00;
{蓝柱}{http://WWW.GPXIAZAI.COM}
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLOR880088;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,1.5,0),COLORAA00AA;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,0.8,0),COLORDD00DD;
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,0.3,0),COLORFF00FF;