量线分级 量能线指标 通达信选股公式副图 源码 贴图
指标简介:
用法和效果见附件图片。
指标源码:
MV5:=IF(BARSCOUNT(CLOSE)<5,MA(V,BARSCOUNT(CLOSE)),MA(V,5));
MV13:=IF(BARSCOUNT(CLOSE)<13,MA(V,BARSCOUNT(CLOSE)),MA(V,13));
MV21:=IF(BARSCOUNT(CLOSE)<21,MA(V,BARSCOUNT(CLOSE)),MA(V,21));
MV34:=IF(BARSCOUNT(CLOSE)<34,MA(V,BARSCOUNT(CLOSE)),MA(V,34));
MV55:=IF(BARSCOUNT(CLOSE)<55,MA(V,BARSCOUNT(CLOSE)),MA(V,55));
MV89:=IF(BARSCOUNT(CLOSE)<89,MA(V,BARSCOUNT(CLOSE)),MA(V,89));
MV144:=IF(BARSCOUNT(CLOSE)<144,MA(V,BARSCOUNT(CLOSE)),MA(V,144));
MV233:=IF(BARSCOUNT(CLOSE)<233,MA(V,BARSCOUNT(CLOSE)),MA(V,233));
GL1:=IF(VOL>MV5*2,1,0);
GL2:=IF(VOL>MV13*2,1,0);
GL3:=IF(VOL>MV21*2,1,0);
GL4:=IF(VOL>MV34*2,1,0);
GL5:=IF(VOL>MV55*2,1,0);
GL6:=IF(VOL>MV89*2,1,0);
GL7:=IF(VOL>MV144*2,1,0);
GL8:=IF(VOL>MV233*2,1,0);
DL1:=IF(VOL<MV5/2,1,0);
DL2:=IF(VOL<MV13/2,1,0);
DL3:=IF(VOL<MV21/2,1,0);
DL4:=IF(VOL<MV34/2,1,0);
DL5:=IF(VOL<MV55/2,1,0);
DL6:=IF(VOL<MV89/2,1,0);
DL7:=IF(VOL<MV144/2,1,0);
DL8:=IF(VOL<MV233/2,1,0);
GL:=GL1+GL2+GL3+GL4+GL5+GL6+GL7+GL8;
DL:=DL1+DL2+DL3+DL4+DL5+DL6+DL7+DL8;
分界线:5;
高量类别:GL;
低量类别:DL;
DRAWTEXT(CROSS(低量类别,高量类别),低量类别,'始');
DRAWTEXT(CROSS(高量类别,低量类别),高量类别,'终');
郑重声明:股市具有不确定性,个股走势是无法预测的。公式软件描述中的案例截图仅代表过去,仅供参考学习研究之用,不构成投资建议或未来保证,也并不能代表未来,依此操作,责任自负。股市有风险,入市需谨慎。
指标公式评论
(量线分级 量能线指标 通达信选股公式副图 源码 贴图)