通达信分时高抛低吸分时指标公式源码

分享一个分时高抛低吸的主图指标,我自己用着不错,喜欢的可以下载

VAR1:=DAY!=REF(DAY,1);

VAR2:=BARSLAST(VAR1)+1;

均价:=SUM(AMO,VAR2)/SUM(VOL,VAR2)/100,COLORYELLOW;

现价:=C,COLORWHITE,LINETHICK4;

盘整:=IF(HOUR>9 AND RANGE(HHV(C,60)/LLV(C,60),1,1.02),C,DRAWNULL),COLORRED,LINETHICK3;

V1:=EMA(V,1);

HH:=C>REF(C,1) AND V1<REF(V1,1) AND C/均价>(1+0.03);

LL:=C<REF(C,1) AND V1>REF(V1,1) AND C/均价<(1-0.03);

DRAWICON(FILTER(HH,240),C,39);

DRAWICON(FILTER(LL,240),C,38);

SS:=CROSS(SUM(C<=REF(C,1),BARSLAST(HH))=1,0.5);

BB:=CROSS(SUM(C>=REF(C,1),BARSLAST(LL))=1,0.5);

BB2:=CROSS(SUM(BB,0),0.5) ;

SS2:=CROSS(SUM(SS,0),0.5) ;

CB2:CONST(SUM(IF(BB2,REF(C,1),DRAWNULL),0)),COLORRED,LINETHICK2;

CS2:CONST(SUM(IF(SS2,REF(C,1),DRAWNULL),0)),COLORGREEN,LINETHICK2;

BB3:=IF(CROSS(SUM(CROSS(BB AND C/CB2<0.95,0.5),0),0.5) AND SUM(BB,0)>1,1,0);

SS3:=IF(CROSS(SUM(CROSS(SS AND C/CS2>1.05,0.5),0),0.5) AND SUM(SS,0)>1,1,0);

CB3:CONST(SUM(IF(BB3,REF(C,1),DRAWNULL),0)),COLORRED;

CS3:CONST(SUM(IF(SS3,REF(C,1),DRAWNULL),0)),COLORGREEN;

DRAWTEXT(BB2,REF(C,1)*0.99,'低吸1'),COLORRED;

DRAWTEXT(SS2,REF(C,1)*1.01,'高抛1'),COLORGREEN;

DRAWTEXT(BB3,REF(C,1)*0.99,'低吸2'),COLORRED;

DRAWTEXT(SS3,REF(C,1)*1.01,'高抛2'),COLORGREEN;

DRAWICON(BB2 OR BB3,REF(C,1)*0.99,1);

DRAWICON(SS2 OR SS3,REF(C,1)*1.01,2);

MA30:=EMA(CLOSE,30);

强弱:=EMA(CLOSE,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;

DRAWTEXT(LONGCROSS(支撑,现价,2),现价*1.001,'★B'),COLORYELLOW;{吸}

DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),COLORRED;{抛};

 




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

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

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