您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

量柱副图指标公式(某宝短线狙击的指标公式)[通达信公式]

相关标签:通达信短线王副图指标 、 通达信倍量柱指标公式 、 通达信四量图指标公式 、 通达信超短线指标公式 、 通达信黄金柱指标公式 、 黄金量柱副图指标公式 、 量柱3121副图指标公式 、 量学量柱副图指标公式 、 通达信短线主图指标 、 通达信量柱买卖指标 、 倍量柱主图通达信公式 、 通达信主图指标公式 、 通达信短线走势副图 、 通达信短线卖出副图 、 短线狙击针指标公式 、

 

{公式名称: 量柱副图副图用法注释:看图说明:黄色为倍量柱,白色为并肩平量柱,紫色为缩倍柱,绿色为10天低量柱,蓝色为50天低量柱,灰色为百日低量柱,高量柱容易看无标记,!为长阴短柱, 内有红实线为假阴柱。红色箭头(的前三天)为黄金柱。次黄金柱难判,不标公式源码:}

 

 

原理解析:


 

 来源:程序化99( WWW.CXH99.COM )

源码:

 

 

 

DRAWGBK(CLOSE>0,RGB(1,1,1),RGB(1,1,1),0,0,1);VAR1:=10;VAR2:=0;VAR3:=2;VAR4:=50;VAR5:=60;VAR6:=0.1*HHV(VOL,240);VAR7:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);VAR8:=黛蛾背驰主图.下轨#DAY=0;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VAR7,0,1,(-1)),COLOR00C0C0;壹德编制:DRAWNULL,COLORCCCCCC;量:IF(VAR8,VOL,0),VOLSTICK,COLORLIGRAY;VAR9:=量*10000/FINANCE(7);全换手周期:SUMBARS(量,CAPITAL),NODRAW,COLORCYAN;VAR10:=量/10000;VAR11:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));VAR12:=MOD(FROMOPEN,VAR11);VAR13:=IF(VAR12<0.5,VAR11,VAR12);VAR14:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND DYNAINFO(8)>1,VOL*VAR11/VAR13/10000,DRAWNULL);VAR15:=IF(CURRBARSCOUNT=1 AND PERIOD<=5,VAR14,VAR10);量比:VAR15/REF(MA(VAR15,5),1),NODRAW,COLORBROWN;几倍:量/REF(VOL,1),NODRAW,COLORYELLOW;VAR16:=1.9;倍量:量>=REF(VOL,1)*VAR16 AND IF(CLOSE<OPEN,CLOSE>REF(CLOSE,1),1),NODRAW,COLORYELLOW;倍缩:REF(VOL,1)>=量*VAR16,NODRAW,COLORMAGENTA;VAR17:=COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;价涨量缩:VAR17,COLORGREEN;地量:量=LLV(VOL,VAR5) AND BARSCOUNT(VOL)>=VAR5,NODRAW,COLORYELLOW;VAR18:=量*0.95;VAR19:=量*0.85;STICKLINE(倍量,0,VAR18,1,0),COLORYELLOW;STICKLINE(地量,0,VAR19*0.66,2.5,0),COLORYELLOW;STICKLINE(倍缩,0,VOL*0.45,1,0),COLORMAGENTA;STICKLINE(CLOSE<OPEN AND CLOSE>REF(CLOSE,1),0,VAR18,0,0),COLORRED;VAR20:=CLOSE>OPEN OR CLOSE>REF(CLOSE,1);VAR21:=REF(VAR20,3);VAR22:=REF(倍量,3);VAR23:=REF(VOL,3)>=HHV(VOL,7);VAR24:=LLV(CLOSE,3)>=REF(LOW,3);VAR25:=COUNT(CLOSE>=REF(CLOSE,1),3)=3;VAR26:=COUNT(VOL<=REF(VOL,1),3)=3;VAR27:=COUNT(VAR20,3)=3;VAR28:=VAR22 AND VAR24 AND VAR21;VAR29:=VAR23 AND VAR24 AND VAR21;VAR30:=VAR28 OR VAR29;VAR31:=VAR30 AND VAR25 AND VAR26 AND VAR27;STICKLINE(VAR31,0.3*VOL,0.7*VOL,1,0),COLORRED;VAR32:=VOL>=1.3*REF(VOL,1) OR VOL>=1.3*REFX(VOL,1);VAR33:=IF(VAR3>=1,1,0);VAR34:=VAR3=2 AND VAR32;STICKLINE(VAR34,VOL*1/3,VOL*1/3,VAR33,0),COLORGRAY;STICKLINE(VAR34 OR (VAR3=1 AND VAR32),VOL*1/2,VOL*1/2,VAR33,0),COLORGRAY;STICKLINE(VAR34,VOL*2/3,VOL*2/3,VAR33,0),COLORGRAY;VAR35:=量;VAR36:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR37:=SMA(VAR36,3,1);VAR38:=REF(VAR37>45,1);VAR39:=CLOSE>OPEN AND CLOSE>REF(CLOSE,1);VAR40:=CLOSE<OPEN AND CLOSE<REF(CLOSE,1);VAR41:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);VAR42:=REF(VAR39,1) AND VAR40;VAR43:=VAR42 AND 量>REF(VOL,1) AND VAR38;VAR44:=VAR42 AND BETWEEN(量/REF(VOL,1),0.97,1.03) AND VAR38;VAR45:=VAR40 AND 量/REF(VOL,1)>=1.95 AND VAR38;三阴:VAR43 OR VAR44 OR VAR45,NODRAW,COLORGREEN;IF(三阴,VOL*1.1,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK4;VAR46:=5;VAR47:=REF(量,VAR46)=HHV(量,2*VAR46+1);VAR48:=FILTER(VAR47,VAR46);VAR49:=BACKSET(VAR48,VAR46+1);VAR50:=FILTER(VAR49,VAR46);VAR51:=REF(HIGH,BARSLAST(VAR50));VAR52:=REF(MAX(量,REF(量,1)),VAR46)=HHV(MAX(量,REF(量,1)),2*VAR46+1);VAR53:=FILTER(VAR52,VAR46);VAR54:=BACKSET(VAR53,VAR46+1);VAR55:=FILTER(VAR54,VAR46);VAR56:=REF(MAX(VOL,REF(VOL,1)),BARSLAST(VAR55));VAR57:=REF(VOL,VAR46)=LLV(VOL,2*VAR46+1);VAR58:=FILTER(VAR57,VAR46);VAR59:=BACKSET(VAR58,VAR46+1);VAR60:=FILTER(VAR59,VAR46);VAR61:=REF(VOL,BARSLAST(VAR60));VAR62:=REF(MIN(VOL,REF(VOL,1)),VAR46)=LLV(MIN(VOL,REF(VOL,1)),2*VAR46+1);VAR63:=FILTER(VAR62,VAR46);VAR64:=BACKSET(VAR63,VAR46+1);VAR65:=FILTER(VAR64,VAR46);VAR66:=REF(MIN(量,REF(量,1)),BARSLAST(VAR65));VAR67:=IF(0,VAR51,VAR56);VAR68:=IF(0,VAR61,VAR66);STICKLINE(VAR67=REF(VAR67,1) OR REF(VAR67,1)=REF(VAR67,2),VAR67,VAR67,4,0),COLORLICYAN;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容