博弈VOL MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 中轴:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210; 上轨:=中轴+4*STD(中轴,21); 强轨:=中轴+2*STD(中轴,21); 弱轨:=中轴-2*STD(中轴,21); 下轨:=中轴-4*STD(中轴,21); 宽度:上轨/下轨,linethick0; 成交额:AMOUNT/100000000,LINETHICK0,colorred,PRECIS2; T日:=if(CURRENTTIME>93000 and CURRENTTIME<150000, if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200), if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600),7200)),14400); T60:=if(MOD(T日,3600)=0,3600,MOD(T日,3600)); T30:=if(MOD(T日,1800)=0,1800,MOD(T日,1800)); T15:=if(MOD(T日,900)=0,900,MOD(T日,900)); T5:=if(MOD(T日,300)=0,300,MOD(T日,300)); T1:=if(MOD(T日,60)=0,60,MOD(T日,60)); TT:=if(DATATYPE=8,vol*14400/ T日, if(DATATYPE=7,vol*3600/T60, if(DATATYPE=6,vol*1800/T30, if(DATATYPE=5,vol*900/T15, if(DATATYPE=4,vol*300/T5, if(DATATYPE=4,vol*60/T1,0)))))); 预测成交量:=IF(BARSTATUS=2,TT,0); STICKLINE(BARSTATUS=2,预测成交量,VOL,6,01),COLOR00FFFF,DOTLINE,LAYER7; 量_价:=1;CTKG:=1; W:=量_价; EPSL:=0.0001; ZZ:=(C+H+L)/3; TJA:=ZZ>=MAX(C,O) AND CTKG=1;{倒锤头}; TJB:=ZZ<=MIN(C,O) AND CTKG=1;{正锤头}; ZF:=IF(TJA,1,IF(TJB,-1,0));{正负数}; TJ0:=TJA OR TJB; TJ1:=H=L AND C>REF(C,1);{一字涨停}; TJ2:=H=L AND C<REF(C,1);{一字跌停}; TJ3:=H=L AND C=REF(C,1);{连续一字涨、跌停}; 量_价:=IF(W=1,VOL,AMOUNT);{平盘量,白色} {以下4句组合属核心公式,版权属于JIPGEMLING.见凌见} EE:=IF(TJ1,EPSL,IF(TJ2,-EPSL,0)); ZL:=2*(H-L)+ABS(C-O)+3*IF(TJ3,EPSL,ABS(EE)); JGL_DX:=(IF(TJ0,2/3*(2*C-H-L)+ZF*ABS(C-O),(C-O))+EE)/ZL; 买卖差:=JGL_DX*量_价; DXx:JGL_DX*100,COLORGREEN,linethick0; D连红:last(DXx>0),precis0,linethick0,COLORB468FF; 买盘:=量_价*(1+JGL_DX)/2; 卖盘:=量_价*(1-JGL_DX)/2; VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)); {因为可能会出现卖出量为0的BUG,所以放在最后参考} VAR2:=HIGH-LOW; VAR3:=ABS(OPEN-CLOSE); VAR4:=HIGH-(IF(CLOSE>OPEN,CLOSE,OPEN)); VAR5:=(IF(CLOSE>OPEN,OPEN,CLOSE))-LOW; VAR6:=VAR3/VAR2*VOL; VAR7:=VAR4/VAR2*VOL; VAR8:=VAR5/VAR2*VOL; VAR9:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100)))); VARA:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; VARB:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,30)>MA(CLOSE,60); VARC:=MA(CLOSE,5)<MA(CLOSE,10) AND MA(CLOSE,10)<MA(CLOSE,30); DRAWTEXT(VAR9>2 AND VOL<MA(VOL,5)/2,VOL,'地量'),COLORRED; DRAWTEXT(VAR7>VAR6 AND VARA>2 AND VAR7>VAR8 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,30) AND HIGH>MA(CLOSE,60) AND VOL>MA(VOL,5) AND VAR7>=MA(VOL,5),VOL,'逢高出货'),COLORRED; DRAWTEXT(VAR8>VAR6 AND VAR8>VAR7 AND VARA<-2 AND CLOSE<MA(CLOSE,30) AND VAR8<MA(VOL,5)/2 AND MA(VOL,5)<MA(VOL,10),VOL,'逢低跟进'),COLORGREEN; DRAWTEXT(VAR6>MA(VOL,5)*2 AND VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN OR VOL>MA(VOL,5)*3 AND VARB,VOL,'强势参与'),COLORCC99CC; DRAWTEXT(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN AND VAR6/VOL>0.7 AND VARC AND VAR6>MA(VOL,5),VOL,'空头释放'),COLORFF00FF; 净量:=主动买盘+主动卖盘; STICKLINE(C<O ,0,VOL,7.0,0),COLORFF1100; STICKLINE(C<O ,0,VOL,6.0,0),COLORFF3300; STICKLINE(C<O ,0,VOL,5.2,0),COLORFF5500; STICKLINE(C<O ,0,VOL,4.0,0),COLORFF7700; STICKLINE(C<O ,0,VOL,2.8,0),COLORFF9900; STICKLINE(C<O ,0,VOL,1.6,0),COLORFFBB00; STICKLINE(C=O AND C<REF(C,1),0,VOL,7.0,0),COLOR006000; STICKLINE(C=O AND C<REF(C,1),0,VOL,6.0,0),COLOR007500; STICKLINE(C=O AND C<REF(C,1),0,VOL,5.2,0),COLOR009100; STICKLINE(C=O AND C<REF(C,1),0,VOL,4.0,0),COLOR00A600; STICKLINE(C=O AND C<REF(C,1),0,VOL,2.8,0),COLOR00BB00; STICKLINE(C=O AND C<REF(C,1),0,VOL,1.6,0),COLOR00CC00; STICKLINE(C=O AND C>REF(C,1),0,VOL,7.0,0),COLOR555555; STICKLINE(C=O AND C>REF(C,1),0,VOL,6.0,0),COLOR777777; STICKLINE(C=O AND C>REF(C,1),0,VOL,5.2,0),COLOR999999; STICKLINE(C=O AND C>REF(C,1),0,VOL,4.0,0),COLORBBBBBB; STICKLINE(C=O AND C>REF(C,1),0,VOL,2.8,0),COLORDDDDDD; STICKLINE(C=O AND C>REF(C,1),0,VOL,1.6,0),COLORFFFFFF; STICKLINE(C>O,0,VOL,7.0,0),COLORFF11FF; STICKLINE(C>O,0,VOL,6.0,0),COLORFF33FF; STICKLINE(C>O,0,VOL,5.2,0),COLORFF55FF; STICKLINE(C>O,0,VOL,4.0,0),COLORFF77FF; STICKLINE(C>O,0,VOL,2.8,0),COLORFF99FF; STICKLINE(C>O,0,VOL,1.6,0),COLORFFBBFF; 资金异动:=VOL/MA(VOL,55)*100; STICKLINE(主动买盘>0,0,主动买盘,7.0,0),COLOR000055; STICKLINE(主动买盘>0,0,主动买盘,6.0,0),COLOR000077; STICKLINE(主动买盘>0,0,主动买盘,5.2,0),COLOR000099; STICKLINE(主动买盘>0,0,主动买盘,4.0,0),COLOR0000BB; STICKLINE(主动买盘>0,0,主动买盘,2.8,0),COLOR0000DD; STICKLINE(主动买盘>0,0,主动买盘,1.6,0),COLOR0000FF; STICKLINE(主动卖盘<0,0,主动卖盘,7.0,0),COLOR006000; STICKLINE(主动卖盘<0,0,主动卖盘,6.0,0),COLOR007500; STICKLINE(主动卖盘<0,0,主动卖盘,5.2,0),COLOR009100; STICKLINE(主动卖盘<0,0,主动卖盘,4.0,0),COLOR00A600; STICKLINE(主动卖盘<0,0,主动卖盘,2.8,0),COLOR00BB00; STICKLINE(主动卖盘<0,0,主动卖盘,1.6,0),COLOR00CC00; STICKLINE(资金异动>100 ,0,VOL,2.5,0),COLORYELLOW; DDX:=买盘-卖盘; MADDX:=MA(DDX,5)*15; DDX1:SMA(MADDX,3,1),COLORRED,LINETHICK1; DDX2:SMA(DDX1,3,1),COLORGREEN,LINETHICK1; DDX3:SMA(DDX2,3,1),COLORYELLOW,LINETHICK1; DRAWICON(CROSS(DDX2,DDX1) AND DDX3>V,DDX2,2); HHV(V,21),COLORRED; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!