【源码分享】通达信指标跟庄进出指标公式源码
2019-11-17原创 编 辑:掌上指标
电脑版效果展示:
公式源码:
生命线: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;
庄心电: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、指标编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标。
3、指标修改 --- 按照客户“提供的修改要求”,修改技术指标。