同花顺量线分级副图源码

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(高量类别,低量类别),高量类别,'终');




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图