通达信量粉高量看盘主图源码主图


{板块显示}
SBL:=STRCAT(STRCAT(HYBLOCK,DYBLOCK),GNBLOCK);
DRAWTEXT_FIX(1,0.06,0,0,  SBL),COLORGREEN;
DRAWTEXT_FIX(1,0.83,0,0,'红果培训QQ:707712667')COLORLIGRAY;
AA:=(C-REF(C,1))/REF(C,1)*100;
DS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR  NAMELIKE('S')) AND AA<=-4.945;
跌停价:IF(DS,REF(C,1)*0.95,REF(C,1)*0.9),NODRAW,COLORGREEN;
跌停:=C=DTPRICE(REF(C,1),0.1) OR DS;
一字跌停:=REF(C,1)<C*1.0997 AND  H=O AND L=H;
STICKLINE(涨停,O,C,2,0),COLORMAGENTA;
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;

 
均价:AMOUNT/VOL/100 NODRAW;
DRAWTEXT(CURRBARSCOUNT=21, 现价-0.05,'21')COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=89, 现价-0.05,'89')COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=144, 现价-0.05,'144')COLORGREEN;
LDM23:=基准价;
LDM25:=ABS(LOW-LDM23)<=LDM24;
LDM27:=ABS(CLOSE-LDM23)<=LDM24;
LDM29:=LDM25 OR LDM26 OR LDM27 OR LDM28 ;
精准点个数:IF(LDM30>0,LDM30+1,0),NODRAW,COLORMAGENTA;
QB:=MIN(CLOSE,OPEN);
阴顶开盘:=REF(C<O,1) AND 跳空;
顶价:=IF(C>=REF(C,1)*1.03 OR C>O*1.03 OR C<=REF(C,1)*0.97 OR  C<O*0.97 ,MAX(C,O),H);
NOTEXT1:IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,21),1)+1)+1,CONST(REF(顶价,REF(HHVBARS(VOL,21),1)+1)),DRAWNULL),COLORMAGENTA,LINETHICK2;
DRAWTEXT(ISLASTBAR,NOTEXT1*1,CON2STR(NOTEXT1,2)),COLORMAGENTA;
NOTEXT5:IF(CURRBARSCOUNT<=CONST(REF(HHVBARS(VOL,100),1)+1)+1,CONST(REF(顶价,REF(HHVBARS(VOL,100),1)+1)),DRAWNULL),COLORYELLOW DOTLINE;
ZTD:= CONST(REF(BARSLAST(峰高量),1)+1)+1;
{逃顶线}
TD:=CONST(BARSLAST(逃顶高量));
{涨停板防守线}
板底:IF(CURRBARSCOUNT<=CONST(REF(BARSLAST(涨停),1)+1)+1,CONST(REF(L,REF(BARSLAST(涨停),1)+1)),DRAWNULL),COLORLIGREEN DOTLINE ;

 
阴K:=C<REF(C,1) OR C<O OR (C>O AND 均价<REF(C,1));
阴线实体最高价:=REF(MAX(C,O),阴线天数);
阳胜条件:=阴线天数>0 AND C>=阴线实体最高价 AND V>=阴线成交量 AND C>REF(MIN(C,O),阴线天数+1);
单阳胜:=REF(BARSLASTCOUNT(阴K)>0,1) AND C>REF(MAX(C,O),1);
{黄金基柱}
长阳矮柱:=REF(C<O,1) AND C>REF(C,1)*1.03  AND V<REF(HHV(V,5),1);
高阳柱:=(V>REF(V,1) AND V>REFX(V,1)) AND C>REF(C,1); 
{黄金柱}
HJJ2:=C<(REFX(C,3)+REFX(C,2)+REFX(C,1))/3;
价升幅:=(后三日均价/C-1)*100;
HJL1:=V>(REFX(V,1)+REFX(V,2)+REFX(V,3))/3;
后三日均量:=(REFX(V,3)+REFX(V,2)+REFX(V,1));
量升幅:=(后三日均价/V-1)*100;
黄金柱:=(黄金升幅 OR 黄金量) AND 黄金价 AND 黄金基柱;
ZJL2:=C>REF(C,1) AND C>REF(C,2) AND C>O AND C>REF(C,1);
金三:=黄金柱 AND REFX(ZJL3,3);
DRAWICON(黄金柱 OR 金三 OR 跳空黄金柱,L*0.985,23);

 
价涨量缩:=C>REF(C,1) AND V<=REF(V,1);
{腾空阳眼}
STICKLINE(腾空阳眼,C,O,2,0)COLORRED;
{精准眼}
STICKLINE(精准隐眼,C,O,1.5,0)COLORBLUE;
{黄金阴}
STICKLINE(假阴真阳,C,O,1.5,0)COLORRED;
STICKLINE(黄金阴,C,O,2,0)COLORYELLOW;
{黄金阳黄金眼}
STICKLINE(假阳真阴,C,O,1.8,0)COLORCYAN;
STICKLINE(黄金阳,C,O,1.8,0)COLORYELLOW;
{乾坤眼}

 
乾坤眼:=REF(C<O,2) AND REF(C<REF(C,1) AND O<REF(O,1),1) AND C>REF(MIN(C,O),2) AND C>REF(MAX(C,O),1) 
STICKLINE(乾坤眼,C,O,0.8,0)COLORMAGENTA;
STICKLINE(阳盖阴,C,O,0.8,0)COLORRED;
获利比例:=WINNER(C);
启动阳:= REF(阴K,2) AND REF(阴K,1) AND C>REF(MAX(C,O),2)  AND O>REF(C,1)
启动眼:= REF(阴K,2) AND REF(阴K,1) AND C>REF(MAX(C,O),2)  AND O>REF(C,1)
DRAWICON(启动眼,H+0.03,1);
DRAWTEXT(启动眼,L,'启')COLORRED;
MB1:=EMA(WINNER(C)*100,5),COLORYELLOW;
MB3:=EMA(MB2,2),COLORBLUE;
N:=5;
VAR3:=DRAWLINE(VAR2>=HHV(VAR2,N)=1,VAR2,VAR2<=LLV(VAR2,N)=1,VAR2,1);
关注:=VAR2=VAR3 AND VAR2<MB4;
DRAWTEXT(关注,L*0.990,'封')COLORYELLOW;
{主力资金信号}
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*均价,0),0);
AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*均价,0),0);
B1万元:=DVOL*DCLOSE/100;
B2万元:=DVOL*DCLOSE/100;
PM:=MA(净流入万元,1);
PMB:=REF(PMA,1)<1 AND PMA;
二日比:=密码/REF(密码,1);
DRAWICON(主力资金进入,L*0.97,9);

 

 

 
三一位:=O-(O-C)/3,NODRAW,COLORWHITE;
三二位:=O-2*(O-C)/3,NODRAW,COLORWHITE;
STICKLINE(C>=REF(C,1)*1.06  OR C<=REF(C,1)*0.94,三二位,三二位,2.5,0),COLORYELLOW;

 
长阴:=(C<=REF(C,1)*0.97 OR C<=O*0.97) AND H>L ;  
长阴短柱:=长阴 AND 短柱;
平底:=ABS(L-REF(MIN(O,C),1))<=0.03 OR ABS(O-REF(MIN(C,L),1))<=0.03;  
STICKLINE(平底不破,MIN(O,REF(MIN(C,O),1)),MIN(O,REF(MIN(C,O),1)),10,0),COLORCYAN;
CC:=CONST(IF(上引,H,DRAWNULL));
IF(CURRBARSCOUNT<=CONST(QD)+1,CC,DRAWNULL),COLORRED;
DRAWTEXT(ISLASTBAR AND 上引,H*1.01,'2'),COLORYELLOW;

 



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

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

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