通达信简单反k线 副图源码
C1:=REVERSE(C),COLORFFFFFF,POINTDOT,LINETHICK0;
O1:=REVERSE(O);
H1:=REVERSE(L);
L1:=REVERSE(H);
MA1:MA(C1,5);
MA2:EMA(SLOPE(C1,21)*20+C1,36);
MA3:MA(C1,30);
MA4:MA(C1,120);
STICKLINE(C1<=O1,O1,C1,2,0),COLOR00FF00;
STICKLINE(C1<=O1,H1,L1,0,0),COLOR00FF00;
{GREEN}
STICKLINE(C1<=O1,H1,L1,0,0 ),COLORFF7700;
STICKLINE(C1<=O1,O1,C1,3,0),COLORFF7700;
STICKLINE(C1<=O1,O1,C1,2.2,0),COLORFF9900;
STICKLINE(C1<=O1,O1,C1,1.5,0),COLORFFBB00;
STICKLINE(C1<=O1,O1,C1,0.5,0),COLORCYAN;
{RED}
STICKLINE(C1>O1,O1,C1,3,0),COLOR000099;
STICKLINE(C1>O1,O1,C1,2.2,0),COLOR0000CC;
STICKLINE(C1>O1,O1,C1,1.5,0),COLOR0000FF;
STICKLINE(C1>O1,O1,C1,0.5,0),COLORCC66FF;
STICKLINE(C1>O1,H1,L1,0,0),COLORRED;
{BUY}
DRAWICON(CROSS(MA2,MA1),L1*1.1,7);
DRAWICON(CROSS(MA3,MA1),L1*1.02,1);
DRAWICON(CROSS(MA1,MA2),L1*1.02,8);
- 上一篇公式:通达信抄底副图指标(源码 贴图)
- 下一篇公式:通达信红帆小燕资金指标 源码