通达信分时决策指标公式

MA1:=EMA(C,30);

MA2:=EMA(C,900);

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:L1+P1*7/8,COLOR00DD00;

支撑:L1+P1*0.5/8,COLOR00DD00;

现价:CLOSE,COLORWHITE,LINETHICK0.01;

STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;

DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'低吸'),COLORGREEN;{吸}

DRAWTEXT(LONGCROSS(现价,阻力,2),现价*1,'高抛'),COLORLIMAGENTA;{抛};

止赢:H1,COLORRED,LINETHICK1;

DRAWNUMBER(ISLASTBAR,止赢,止赢),COLORRED;

DRAWTEXT(ISLASTBAR,H1,'               当日止赢价位'),COLORRED,LINETHICK6;

止损:阻力,COLORBLUE,LINETHICK1;

DRAWNUMBER(ISLASTBAR,止损,止损),COLORRED;

DRAWTEXT(ISLASTBAR,阻力,'               高位止损价位'),COLORBLUE,LINETHICK6;

最后止损:支撑,COLORGREEN,LINETHICK1;

DRAWNUMBER(ISLASTBAR,最后止损,最后止损),COLORRED;

DRAWTEXT(ISLASTBAR,支撑,'               低位止损价位'),COLORGREEN,LINETHICK6;

UR:=10;

LR:=10;

中位:(最后止损+止损)/2,COLORFFFFFF,LINETHICK1;

DRAWNUMBER(ISLASTBAR,中位,中位),COLORWHITE;

DRAWTEXT(ISLASTBAR,(最后止损+止损)/2,'                      中位'),COLORWHITE;

最新:C,LINETHICK9,COLORFFFF00;

IF(C>=REF(C,1),C,DRAWNULL),LINETHICK9,COLORRED;

AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));

BB:=BETWEEN(C/AA,C+H,C-H);

DRAWTEXT( ISLASTBAR  AND 最新>REF(最新,1),最新,STRCAT(' 涨▲',CON2STR(最新,2))),COLORMAGENTA;

DRAWTEXT( ISLASTBAR  AND 最新<REF(最新,1),最新,STRCAT(' 跌▼',CON2STR(最新,2))),COLOR00FF00;

MD:=EMA(C,1)-EMA(C,5);

STICKLINE(MD>0,DYNAINFO(3),DYNAINFO(3)+MD*2,0,1),COLOR5151A2;

STICKLINE(MD<=0,DYNAINFO(3),DYNAINFO(3)+MD*2,0,1),COLOR74743A;

分时线:CLOSE,COLORCYAN;

上升:IF(CLOSE>=REF(CLOSE,1),CLOSE,DRAWNULL),COLOR0000C6;

N0:=STRCAT(CON2STR(YEAR,0),' 年 ');

Y:=STRCAT(CON2STR(MONTH,0),' 月 ');

R:=STRCAT(CON2STR(DAY,0),' 日 ');

SJ:=STRCAT(STRCAT(N0,Y), R);

 

 

 

 

A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03; 

DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW;

DRAWICON(C<O AND C>REF(C,1),H,6);

均价5:AMOUNT/VOL/100,NODRAW;

DRAWNUMBER(ISLASTBAR,均价5,均价5),COLORYELLOW;

假阴0:=O>C AND 均价5>REF(C,1);

DRAWTEXT(假阴0,L-0.2,'↖假阴真阳'),COLORE8E8E8;

STICKLINE(假阴0,O,C,1,0),COLORRED;

 

{DRAWTEXT_FIX(C>0,0,0,0,SJ);}

{

DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME)COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,FGBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK),COLORYELLOW;

};

括号中的项目,如果有时间,调整好位置,也是能显示出来的,主要是板块等F10资料




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

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

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