通达信生命线源码
生命线:(EMA(CLOSE,60)+EMA(CLOSE,90))/2,LINETHICK2,COLORCC33FF;
高潮线:EMA(CLOSE,21)-1+EMA(VOL,5)/EMA(VOL,40),COLORGRAY;
道中仙:ZIG(3,19),LINETHICK1,COLORGREEN;
DRAWTEXT(CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01,'庄'), ,COLORYELLOW;
DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,'陈'), ,COLORRED;
Var3:=HHVBARS(ZIG(3, 19)>REF(ZIG(3,19),1) AND REF(ZIG(3,19), 1)< REF(ZIG(3,19), 2),0);
时间之窗:STICKLINE(Var3=2 ,l*0.95,l*0.98,12,0),COLOR0000FF;
STICKLINE(Var3=4 ,h*1.05,h*1.02,12,0),COLOR9966FF;
STICKLINE(Var3=7 ,l*0.95,l*0.98,12,0),COLOR00FFFF;
STICKLINE(Var3=12 ,h*1.05,h*1.02,12,0),COLORFF33FF;
STICKLINE(Var3=20 ,l*0.95,l*0.98,12,0),COLOR0066FF;
STICKLINE(Var3=33 ,h*1.05,h*1.02,12,0),COLORFFFF00;
STICKLINE(Var3=54 ,l*0.95,l*0.98,12,0),COLOR006600;
STICKLINE(Var3=88 ,h*1.05,h*1.02,12,0),COLOR00FF00;
STICKLINE(Var3=143 ,l*0.95,l*0.98,12,0),COLORCCFFFF;
STICKLINE(Var3=232 ,h*1.05,h*1.02,12,0),COLORFF0033;
STICKLINE(Var3=376 ,l*0.95,l*0.98,12,0),COLORFF9966
本公式有未来函数
- 上一篇公式:通达信1个趋势主图+2个趋势副图(源码主图1+副图2 贴图)
- 下一篇公式:通达信八仙过海主图源码贴图说明飞狐