《通达信趋势无敌波段买卖指标公式.docx》由会员分享,可在线阅读,更多相关《通达信趋势无敌波段买卖指标公式.docx(10页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、通达信趋势无敌波段买卖指标公式_正点财经TYP:=(HIGH+LOW+CLOSE)/3;CC1:=(TYP-MA(TYP,M)/(0.015*AVEDEV(TYP,M),COLORFF00FF;C1:=SMA(CC1,3,1);C2:=SMA(C1,3,1);C3:=3*C1-2*C2;CB1:=EMA(C3,5);CB2:=REF(CB1,1);DRAWBAND(CC1,RGB(220,50,100),100,RGB(100,150,72);DRAWBAND(CC1,RGB(220,50,100),100,RGB(100,80,220);STICKLINE(C1,100,-100,5,0),
2、COLORGRAY;CCI:CC1,COLORFF00FF;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;RSI:(RSI1-50)*5,LINETHICK2,COLORYELLOW;R1:=SMA(RSI,3,1);D1:=SMA(R1,3,1);J1:=3*R1-2*D1;RR1:=EMA(J1,5);RR2:=REF(RR1,1);RR:=RR1RSV:=(CLOSE-LLV(LOW,N)/(HHV(HIGH,N)-LLV(LOW,N)*100;K:=SMA(RSV,3,1);K1
3、:(K-50)*5,COLORFFFF00;K2:=SMA(K1,3,1);D2:=SMA(K2,3,1);J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);买入:=RRANDNOT(REF(RR,1)AND(RR1-100ANDBB1-100)ANDCB1-100;DRAWICON(买入,-200,1);卖出:=REF(RR,1)=1ANDNOT(RR)ANDCB1DRAWICON(卖出,200,2);LC1:=REF(CLOSE,1);RSI5:=(SMA(MAX(CLOSE-LC1),0),5,1)/SMA(ABS(CLOSE-LC1),5,0)*
4、100);TRR:=SUM(MAX(MAX(HIGH-LOW),ABS(HIGH-REF(CLOSE,1),ABS(LOW-REF(CLOSE,1),10);HD:=(HIGH-REF(HIGH,1);LD:=(REF(LOW,1)-LOW);DMP:=SUM(IF(HD0)AND(HDLD),HD,0),10);DMM:=SUM(IF(LD0)AND(LDHD),LD,0),10);PDI:=(DMP*100)/TRR);MDI:=(DMM*100)/TRR);ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100),5);AV:=(RSI5+ADX);DXR:=(ADX+RE
5、F(ADX,5)/2)+RSI5);0,COLORFF00FF;WR10:=(100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10);NEWVOL:=(RSI5-WR10);阶段底部:=(AV+NEWVOL);STICKLINE(阶段底部=0),0,阶段底部,0.3,1),LINETHICK2,COLORCC6600;STICKLINE(阶段底部0),0,阶段底部,0.8,1),LINETHICK6,COLORRED;趋势线:LLV(阶段底部,1),COLORFFFFFF;STICKLINE(趋势线230),250,趋势线,0.8,1),LINET
6、HICK6,COLORGREEN;230,COLORFFFFFF;VAR1:=(HIGH+LOW+CLOSE)/3;VAR2:=(VAR1-MA(VAR1,14)/(0.015*AVEDEV(VAR1,14);150,COLORBLUE;100;0;-100;-150;BB:EMA(VAR2,2),LINETHICK2,COLORWHITE;VAR3:=MA(VOL,5);VAR4:=MA(VOL,10);VAR5:=MA(VOL,60);VAR6:=MA(CLOSE,5);VAR7:=MA(CLOSE,8);VAR8:=MA(CLOSE,25);VAR9:=MA(CLOSE,60);VARA
7、:=CROSS(VAR2,BB)ANDVAR280ANDVOLVAR3ANDVOLVAR4ANDVOLVAR5ANDVAR6VAR9ANDVAR7VAR9ANDVAR8VAR9ANDOPENVAR6ANDCLOSEVAR6;DRAWTEXT(VARA,5,拉升!),COLORYELLOW;STICKLINE(VARA,5,-100,3,0),COLORRED;底部:=CROSS(BB,-100);DRAWICON(底部,-100,1);顶部:=CROSS(150,BB);DRAWICON(顶部,150,2);VAR11:=3;VAR21:=(3)*(SMA(CLOSE-LLV(LOW,27)/
8、(HHV(HIGH,27)-LLV(LOW,27)*(100),5,1)-(2)*(SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*(100),5,1),3,1);股价准备启动:IF(CROSS(VAR21,VAR11),100,0),COLORRED,LINETHICK2;主力线:3*SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*100,5,1)-2*SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*100,5,1),3,1),LIN
9、ETHICK1,POINTDOT;超短线:2*(主力线-LLV(主力线,21)/(HHV(主力线,21)-LLV(主力线,21)*(4)*(25),LINETHICK2,COLORMAGENTA;STICKLINE(主力线REF(主力线,1),主力线,REF(主力线,1),3,0),COLORFF00FF;STICKLINE(主力线=REF(主力线,1),主力线,REF(主力线,1),3,0),COLORGREEN;V1:=(C*2+H+L)/4*1;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;庄家秘密撤:IF(V4=0,
10、V4,0),COLOR00FF00,LINETHICK2;庄家秘密进:IF(V4=0,V4,0),COLORRED,LINETHICK2;BIAS1:=MA(CLOSE-MA(CLOSE,13)/MA(CLOSE,13),3)*2,COLORWHITE;BIAS3:=MA(CLOSE-MA(CLOSE,27)/MA(CLOSE,27),3)*2,COLORFF00FF,LINETHICK2;见底:IF(BIAS3-15,10,0),LINETHICK2,COLORRED;短线:(CLOSE-MA(CLOSE,13)/MA(CLOSE,13)*500,LINETHICK0,COLORYELLOW
11、;中线:(CLOSE-MA(CLOSE,4)/MA(CLOSE,4)*500,LINETHICK0,COLORWHITE;红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;蓝柱:SMA(中线,3,1),COLORSTICK,COLORFFFF00;红柱STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1,1),COLORCYAN;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1,1),COLORRED;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,1,0),COLOR00FFFF;蓝柱STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1,0),COLORLIRED;STICKLINE(红柱REF(红柱,1)AND红柱0,0,红柱,1,1),COLORGREEN;STICKLINE(蓝柱REF(蓝柱,1)AND蓝柱0,0,蓝柱,1,0),COLORRED;通达信趋势无敌波段买卖指标公式实例图解:通达信趋势无敌波段买卖指标公式
限制150内