通达信活跃资金副图 分析强势多空 有用法说明 源码附图



VAR1:=(EMA(CLOSE,1));
VAR2:=(EMA(CLOSE,5));
VAR3:=(EMA(CLOSE,10));
VAR4:=(EMA(CLOSE,20));
VAR5:=(EMA(CLOSE,30));
VAR6:=(EMA(CLOSE,60));
VAR7:=(IF(VAR1-VAR2>=0,1,0));
VAR8:=(IF(VAR1-VAR3>=0,1,0));
VAR9:=(IF(VAR1-VAR4>=0,1,0));
VAR10:=(IF(VAR1-VAR5>=0,1,0));
VAR11:=(IF(VAR1-VAR6>=0,1,0));
VAR13:=(VAR7+VAR8+VAR9+VAR10+VAR11);
VAR12:=(VAR1-VAR6);
短线:(VAR1);
中线:(VAR6);
热度:(VAR13),NODRAW;
IF(VAR13=0,短线,DRAWNULL),COLOR006600;
IF(VAR13=1,短线,DRAWNULL),COLOR00C800;
IF(VAR13=2,短线,DRAWNULL),COLOR00F400;
IF(VAR13=3,短线,DRAWNULL),COLORBLUE;
IF(VAR13=4,短线,DRAWNULL),COLORRED;
IF(VAR13=5,短线,DRAWNULL),COLORMAGENTA;
IF(VAR13=0,中线,DRAWNULL),COLOR006600;
IF(VAR13=1,中线,DRAWNULL),COLOR00C800;
IF(VAR13=2,中线,DRAWNULL),COLOR00F400;
IF(VAR13=3,中线,DRAWNULL),COLORBLUE;
IF(VAR13=4,中线,DRAWNULL),COLORRED;
IF(VAR13=5,中线,DRAWNULL),COLORMAGENTA;
STICKLINE(VAR13=0 AND 短线>=中线,中线*1.01,短线*0.99,2,0),COLOR006600;
STICKLINE(VAR13=0 AND 短线<中线,短线*1.01,中线*0.99,2,0),COLOR006600;
STICKLINE(VAR13=1 AND 短线>=中线,中线*1.01,短线-VAR12*0.47,2,0),COLOR00C800;
STICKLINE(VAR13=1 AND 短线>=中线,短线-VAR12*0.53,短线*0.99,2,0),COLOR006600;
STICKLINE(VAR13=1 AND 短线<中线,短线*1.01,短线-VAR12*0.47,2,0),COLOR00C800;
STICKLINE(VAR13=1 AND 短线<中线,短线-VAR12*0.53,中线*0.99,2,0),COLOR006600;
STICKLINE(VAR13=2 AND 短线>=中线,中线*1.01,短线-VAR12*0.47,2,0),COLOR00F400;
STICKLINE(VAR13=2 AND 短线>=中线,短线-VAR12*0.53,短线*0.99,2,0),COLOR00C800;
STICKLINE(VAR13=2 AND 短线<中线,短线*1.01,短线-VAR12*0.47,2,0),COLOR00F400;
STICKLINE(VAR13=2 AND 短线<中线,短线-VAR12*0.53,中线*0.99,2,0),COLOR00C800;
STICKLINE(VAR13=3 AND 短线>=中线,中线*1.01,短线-VAR12*0.47,2,0),COLORBLUE;
STICKLINE(VAR13=3 AND 短线>=中线,短线-VAR12*0.53,短线*0.99,2,0),COLOR00F400;
STICKLINE(VAR13=3 AND 短线<中线,短线*1.01,短线-VAR12*0.47,2,0),COLORBLUE;
STICKLINE(VAR13=3 AND 短线<中线,短线-VAR12*0.53,中线*0.99,2,0),COLOR00F400;
STICKLINE(VAR13=4 AND 短线>=中线,中线*1.01,短线-VAR12*0.47,2,0),COLORRED;
STICKLINE(VAR13=4 AND 短线>=中线,短线-VAR12*0.53,短线*0.99,2,0),COLORBLUE;
STICKLINE(VAR13=4 AND 短线<中线,短线*1.01,短线-VAR12*0.47,2,0),COLORRED;
STICKLINE(VAR13=4 AND 短线<中线,短线-VAR12*0.53,中线*0.99,2,0),COLORBLUE;
STICKLINE(VAR13=5 AND 短线>=中线,中线*1.01,短线*0.99,2,0),COLORMAGENTA;
STICKLINE(VAR13=5 AND 短线<中线,短线*1.01,中线*0.99,2,0),COLORMAGENTA;
STICKLINE(VAR13=5 AND 短线<中线,短线*1.01,中线*0.99,7.5,0),COLORMAGENTA;
DRAWICON(CROSS(VAR1,VAR6) AND NOT(REF(VAR13=5,1)) AND VAR13=5,中线,9);


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

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

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

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