筹码无穷线通达信公式 副图 源码附图
P1:=30;
P2:=60;
P3:=120;
JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
DDD:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)));
cyc1:IF(JJJT,0.01*EMA(AMOUNT,P1)/EMA(vol,P1),EMA((HIGH+LOW+CLOSE)/3,P1));
CYC2:IF(JJJT,0.01*EMA(AMOUNT,P2)/EMA(VOL,P2),EMA((HIGH+LOW+CLOSE)/3,P2));
CYC3:IF(JJJT,0.01*EMA(AMOUNT,P3)/EMA(VOL,P3),EMA((HIGH+LOW+CLOSE)/3,P3));
CYC∞:IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA((HIGH+LOW+CLOSE)/3,120));
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
P1赋值:30
P2赋值:60
P3赋值:120
JJJ赋值:IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3))
DDD赋值:(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01)
JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01) && JJJ>(DYNAINFO(6)-0.01)))
输出CYC1:IF(JJJT,0.01*成交额的P1日指数移动平均/成交量的P1日指数移动平均,EMA((最高价+最低价+收盘价)/3,P1))
输出CYC2:IF(JJJT,0.01*成交额的P2日指数移动平均/成交量的P2日指数移动平均,EMA((最高价+最低价+收盘价)/3,P2))
输出CYC3:IF(JJJT,0.01*成交额的P3日指数移动平均/成交量的P3日指数移动平均,EMA((最高价+最低价+收盘价)/3,P3))
输出CYC∞:IF(JJJT,DMA(成交额/(100*成交量),100*成交量/FINANCE(7)),EMA((最高价+最低价+收盘价)/3,120))