通达信梦中仙分时主图公式

源码

SZPOW:=POW(1+0.1,1);
XDPOW:=POW(1-0.1,1);
ZTJ :=DYNAINFO(3)*SZPOW;
DTJ :=DYNAINFO(3)*XDPOW;
IFM010 :=IF(BARSCOUNT(C)<27 ,27,BARSCOUNT(C));
IFHHV0 :=IF(HHV(H ,IFM010)>0,HHV(H ,IFM010),DRAWNULL);
IFLLV0 :=IF(LLV(L ,IFM010)>0,LLV(L ,IFM010),DRAWNULL);
IFHHV :=(ZTJ+IFHHV0*2)/3;
IFLLV :=(DTJ+IFLLV0*2)/3;
HHVV :IF(BARSCOUNT(C)<3,IFHHV,IFHHV0),LINETHICK5;
LLVV :IF(BARSCOUNT(C)<3,IFLLV,IFLLV0),LINETHICK5;
X:=DYNAINFO(3);
DQ:=IF(DYNAINFO(14)<0.06,0,1);
DRAWNUMBER(PERIOD=0 AND ISLASTBAR,HHVV,HHVV-DYNAINFO(7));
DRAWNUMBER(PERIOD=0 AND ISLASTBAR,LLVV,DYNAINFO(7)-LLVV);
DRAWTEXT_FIX (PERIOD=0,0.94 , 1,1,'X = 昨日收盘 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99, 1,1,X);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.89,1,'X * 0.002 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99, 0.89,1,X*0.002);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.83,1,'X * 0.005 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99, 0.83,1,X*0.005);
DRAWTEXT_FIX (PERIOD=0,0.94 , 0.76,1,'X * 0.01 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99, 0.76,1,X*0.01);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.69,1,'X * 0.02 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99 , 0.69,1,X*0.02);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.62,1,'X * 0.03 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99 , 0.62,1,X*0.03);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.55,1,'X * 0.04 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99 , 0.55,1,X*0.04);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.48,1,'X * 0.05 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99 , 0.48,1,X*0.05);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.41,1,'X * 0.06 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99 , 0.41,1,X*0.06);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.34,1,'X * 0.07 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99 , 0.34,1,X*0.07);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.27,1,'X * 0.08 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99 , 0.27,1,X*0.08);
DRAWTEXT_FIX (PERIOD=0,0.94, 0.20,1,'X * 0.09 = ');
DRAWNUMBER_FIX(PERIOD=0,0.99 , 0.20,1,X*0.09);
DRAWTEXT_FIX (PERIOD=0,0.80, 0.89,1,'白粗线= ');
DRAWNUMBER_FIX(PERIOD=0 AND ISLASTBAR,0.83 , 0.89,1,HHVV);
DRAWTEXT_FIX (PERIOD=0,0.80, 1,1,'黄粗线= ');
DRAWNUMBER_FIX(PERIOD=0 AND ISLASTBAR,0.83 , 1,1,LLVV);
DRAWTEXT_FIX (PERIOD=0,0.70, 0.89,1,'今日高价= ');
DRAWNUMBER_FIX(PERIOD=0,0.73 , 0.89,1,DYNAINFO(5));
DRAWTEXT_FIX (PERIOD=0,0.70, 1,1,'今日低价= ');
DRAWNUMBER_FIX(PERIOD=0,0.73 , 1,1,DYNAINFO(6));

 




未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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