首页 > 编程语言 >通达信黑马量柱指标公式源码副图

通达信黑马量柱指标公式源码副图

时间:2024-02-09 15:00:48浏览次数:34  
标签:VOL SUM COLORCYAN 通达信 源码 HJZ REF LLJX 量柱

{ 股票指标 }

M1:=3;
{预估成交量}
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
预估成交量:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),vol*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
stICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),预估成交量,0,-1,-1),COLOR00C0C0;
VOL,VOLSTICK;
T:=DYNAINFO(8)>0;
VO:=VOL=LLV(VOL,100) AND T;
地量柱:T AND VO,COLORBLUE;
STICKLINE(地量柱,0,V,1,0),COLORBLUE;
DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;
AMOV:=VOL*(OPEN+CLOSE)/2;
AMV1:SUM(AMOV,M1)/SUM(VOL,M1)COLORWHITE;
梯量柱:VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND AMV1>REF(AMV1,1) AND C/REF(C,1)>1.01 AND CLOSE>OPEN,COLORYELLOW;
DRAWTEXT(梯量柱,VOL*0.1,'↖梯柱'),COLORYELLOW;
BLZ:=VOL>REF(V,1)*1.9;
BLZ1:=VOL<ref(llv(vol,13),1);
BLZ2:=VOL<ref(llv(vol,55),1); <br=""> 倍量柱:BLZ,COLORRED;
DRAWTEXT(倍量柱,VOL*0.9,'倍'),COLORYELLOW;
二倍量:=VOL>=REF(VOL,1)*3 AND VOL<ref(vol,1)*4;
STICKLINE(二倍量,0,VOL,0.1,0),COLORYELLOW;
DRAWTEXT(二倍量,VOL,'二倍'),COLORmaGENTA;
四倍量:=VOL>=REF(VOL,1)*4;
STICKLINE(四倍量,0,VOL,0.1,0),COLORYELLOW;
DRAWTEXT(四倍量,VOL,'四倍量以上'),COLORMAGENTA;
{量能}
QJJ:=V/((H-L)*2-Abs(C-O));
HSL:=IF(C!=O,QJJ*(C-O),0)/100;
LNGJ:=HSL*0.5+REF(HSL,1)*0.3+REF(HSL,2)*0.2;
LLJX:=EMA(LNGJ,3);
B:=0,POINTDOT,COLORWHITE;
B1:=SUM(LLJX,1),COLORCYAN;
B2:=SUM(LLJX,2),COLORCYAN;
B3:=SUM(LLJX,3),COLORCYAN;
B4:=SUM(LLJX,4),COLORCYAN;
B5:=SUM(LLJX,5),COLORCYAN;
B6:=SUM(LLJX,6),COLORCYAN;
B7:=SUM(LLJX,7),COLORCYAN;
B8:=SUM(LLJX,8),COLORCYAN;
B9:=SUM(LLJX,9),COLORCYAN;
B10:=SUM(LLJX,10),COLORCYAN;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
XG0:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND B10;
XG1:=COUNT(crOSS(MA(C,5),MA(C,20)),3)=1;
XG2:=C>PEAK(1,5,1) AND REF(C,1)<peak(1,5,1); <br=""> XG3:=V>REF(V,1)*1.9 AND C>O AND J<90 AND K<80;
XG4:=COUNT(V>REF(V,1)*1.9 AND C>REF(C,1)*1.04,3)=1 AND C<ref(c,1)*0.96 and="" v<ref(v,1)*0.6;<br=""> XG:=(XG0 OR XG1 OR XG2) AND XG3;
HH:=HHV(B10,120);
DRAWTEXT(XG AND XG0,VOL*1.15,'量'),COLORRED;
STICKLINE(XG AND XG0,0,V*2.5/3,2,0)COLORRED;
量缩涨:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<ref(vol,1),2)=2,colorgreen; <br=""> STICKLINE(量缩涨,0,V,1,0),COLORGREEN;
{DRAWTEXT(量缩涨,VOL*1.05,'量缩涨'),COLORGREEN; }
HJZ:=(3*C+H+L+O)/6;
HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
黑马黄金柱:FILTER(HJZ3,5),COLORYELLOW,NODRAW;
{DRAWTEXT(黑马黄金柱,V*1.25,'◆黄'),COLORYELLOW;}
STICKLINE(黑马黄金柱,0,V,3.3,1),COLORRED;
STICKLINE(黑马黄金柱,0,V*2.5/3,2,0)COLORRED;
STICKLINE(倍量柱,0,VOL,0.1,0),COLORYELLOW;
{DRAWLINE(V<= LLV(V,20),VOL,VOL>=HHV(V,20) ,HHV(V,3),0),,COLORRED,LINETHICK2;
DRAWLINE(V>=HHV(V,20),V,V<=LLV(V,3),HHV(V,3),0),COLORCYAN,LINETHICK2;};

 

标签:VOL,SUM,COLORCYAN,通达信,源码,HJZ,REF,LLJX,量柱
From: https://www.cnblogs.com/zhibiao/p/18012477

相关文章

  • 通达信势压托K线主图指标公式源码
    {股票指标}AMV0:=vol*(O+C+H+L)/4;势:Ema(AMV0,21)/EMA(VOL,21);压:6*HHV(势,2)-5*势;托:2*势-压;stICKLINE(CLOSE>0,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(CLOSE>势,OPEN,CLOSE,3,1),COLORRED;STICKLINE(CLOSE=势,OPEN,CLOSE,3,1),COLORRED;STICKLINE(CLOSE>势,LO......
  • 通达信多空助力副图指标公式源码
    {股票指标}M:=34;N:=7;ZX:=MA(CLOSE,M);阻力线:(ZX+N*STD(CLOSE,M)),DOTLINE,LINETHICK1,COLORFFFF20;拉升力:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,47))*0.6*CLOSE;拉升力A:=SMA(拉升力,6.3,1);波峰波谷:=SMA(拉升力A,3,1),COLOR09FFFF;拉升力B:=3*拉升力A-......
  • 通达信龙头二波选股指标公式源码副图
    {股票指标}LC:=REF(CLOSE,1);操作线:=SMA(maX(CLOSE-LC,0),2,1)/SMA(Abs(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;震仓线:=45,COLORMAGENTA;抄底线:=20,COLORGREEN;涨停:=IF(REF(C,1)*1.1-C<0.01,1,0);PP:=操作线<震仓线ANDREF(操作线,1)>震仓线;PP3:=操作线<抄底......
  • 通达信强劲攻势指标公式源码副图
    {股票指标}DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);A1:=(CLOSE-REF(LLV(LOW,15),3))/(REF(HHV(HIGH,15),3)-REF(LLV(LOW,15),3))*100;A2:=SMA(A1,3.1,1);A3:=Sma(A2,3.1,1);出击:(A2*A2+A3*A3)/100,COLORYELLOW,LINETHICK2;特强线:IF(出击>REF(出击,1)*1.01ANDC>R......
  • 通达信游资专用抓牛主图指标公式源码副图
    {股票指标}N:=5;P1:=32;P2:=100;P3:=20;P4:=80;K:=0;K2:=30;K3:=90;AAK:=REF(H,N)=HHV(H,2*N+1);HAN:=DATE<1301230;QY:=BacKSET(AAK,N+1);CC:=FILTER(QY,N)ANDH=HHV(H,N+1);DDD:=BArslAst(CC),NODRAW;GDTS:=IF(CC,CURRBARSCOUNT,0),NODRAW;DINGBUTS:=IF(D......
  • 通达信量化资金波段套装指标 专吃波段 适合上班族 某私募团内部公式 源码文件分享
    {股票指标} 本公式由一个量化波段主图,一个量化资金流幅图,一个量化资金警戒幅图,一个量化资金流选股公式组成使用方法:1、安装好公式后,调用组合好2、看量化资金警戒幅图近期是否有量堆出现,量堆越密集红柱逐个升高为佳3、观察量化资金流幅图是否翻红4、观察量化波段主图是......
  • 通达信横盘启动买点选股指标公式源码副图
    {股票指标}LOWV:=LLV(LOW,15);HIGHV:=HHV(HIGH,15);HIGHVV:=HHV(HIGH,40);V0:=V;V1:=REF(V,1);V2:=REF(V,2);V3:=REF(V,3);HV22:=HHV(V,35);D0U:=C>O;D1U:=REF(C,1)>=REF(C,2);横盘:=((HIGHV-LOWV)/HIGHV)<0.15;放量1:=V0>=(1.8*((V1+V2+V3)/3));放量2:=V0&......
  • 通达信CCI背离抄底指标公式源码副图
    {股票指标}N:=14;TYP:=(HIGH+LOW+CLOSE)/3;cci:(TYP-ma(TYP,N))/(0.015*AVEDEV(TYP,N)),COLOR808000;买入:=C<ref(llv(c,50),1)orl<ref(llv(l,50),1)and=""cci="">REF(LLV(CCI,20),1)ANDCCI<-110ANDREF(LLV(CCI,20),1)<-150;信号:stI......
  • 通达信妖王潜伏选股指标公式源码副图
    {股票指标}XG:REF(CLOSE,1)/REF(CLOSE,2)>1.095AND((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>9.9AND(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100<31AND(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100<40)ANDCLOSE<16ANDREF(vol/CAPITAL*100,1)<25ANDma(CLOS......
  • 通达信凤凰波段倒仓指标公式源码副图
    {股票指标}昨收:DYNAINFO(3),COLORYELLOW,LINETHICK2;{将括号中3改为11则为今日均价,那么此图即可省略分时振荡图}S2:=SMA(C,3,1);S6:=Sma(C,5,1);DK:=16*(S2-S6);stICKLINE(DK>0,昨收,昨收+DK,0,0),COLORYELLOW;STICKLINE(DK<0,昨收,昨收+DK,0,0),COLORGREEN,COLORGRAY;......