梦中仙分时主图(源码 分时主图 通达信 贴图)

[复制链接]
查看94 | 回复0 | 2022-6-27 23:36:41 | 显示全部楼层 |阅读模式
{通达信梦中仙分时主图指标公式}
 
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));

p20161202362434751.jpg

p20161202362434751.jpg

20161202361669556.rar

2.77 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

20161202361669556.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则