通达信分时突破前高分时主副图极品指标 源码附图


{分时趋势副图源码如下}


DRAWGBK((CLOSE > 1),RGB(0,0,0),RGB(0,0,2),0,0,0);

成交额:=V*C/100,NODRAW;

A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);

A3:=SUM((IF(((成交额/8>20) AND (CLOSE< (REF(CLOSE,1)))),成交额,0)),0);

A4:=SUM((IF(((成交额/8< 20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);

A5:=SUM((IF(((成交额/8< 20) AND (CLOSE< (REF(CLOSE,1)))),成交额,0)),0);

A6:=((A2+A3)+A4)+A5;

A7:=IF((ISLASTBAR),((100*A2)/A6),0);

A8:=IF((ISLASTBAR),((100*A3)/A6),0);

A9:=IF((ISLASTBAR),((100*A4)/A6),0);

A10:=IF((ISLASTBAR),((100*A5)/A6),0);

机构买:(A2),LINETHICK8,COLORRED;

机构卖:(A3),LINETHICK8,COLORGREEN;

机构进出:机构买-机构卖,NODRAW;

散户买:(A4),COLOR5555FF;

散户卖:(A5),COLOR55FF55;

强势:((100*A2)/A6>50);

DRAWTEXT(机构进出>0 AND 机构进出< 10000000,H*0.98,VARCAT(VAR2STR(机构进出,0),'万')),COLORMAGENTA;

DRAWTEXT(机构进出< 0 AND 机构进出< 10000000,H*0.98,VARCAT(VAR2STR(机构进出,0),'万')),COLORWHITE;

DRAWTEXT(机构进出< 0 AND 机构进出< 10000000,H*0.98,VARCAT(VAR2STR(机构进出,0),'万')),COLORWHITE;

DRAWTEXT(机构进出< 0 AND 机构进出< 10000000,H*0.98,VARCAT(VAR2STR(机构进出,0),'万'))LINETHICK5,COLORWHITE;

拉升:((100*A2)/A6-(100*A3)/A6)>18 AND (100*A2)/A6-(100*A5)/A6>18;

DRAWTEXT(ISLASTBAR=1,机构买*0.95,''),LINETHICK2,COLORRED;

DRAWTEXT(ISLASTBAR=1,机构卖*0.95,''),LINETHICK2,COLORFFFF55;

Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);

Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));

DRAWICON(CROSS((C/Q2),1.03),机构买,34);






{分时突破前高主图源码如下}



均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW;

分时线:=CLOSE;

REFDATE(分时线,DATE),DOTLINE,COLORLIBLUE;

AA1:=REF(HHV(C,0),1);

AA2:=REF(HHV(V,0),1);

AA3:=AA1/DYNAINFO(3)<1.05;

AA4:=CROSS(C,AA1) AND V>AA2 AND AA3;

DRAWICON(AA4,分时线,1);





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

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

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