当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:波段稳健盈利,筹码分析仪,强势买进狙击

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、波段稳健盈利

这个公式稳健波段盈利,简单明了,实用性高,只要有耐心低吸可以稳健盈利以及抓大波段吃大肉!

 {波段稳健盈利}

 
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=(REF(LOW,1));
VAR3:=(((SMA(ABS((LOW - VAR2)),3,1) / SMA(MAX((LOW - VAR2),0),3,1)) * 100));
VAR4:=(EMA(IF((CLOSE * 1.3),(VAR3 * 10),(VAR3 / 10)),3));
VAR5:=(LLV(LOW,30));
VAR6:=(HHV(VAR4,30));
VAR7:=(IF(MA(CLOSE,58),1,0));
VAR8:=(((EMA(IF((LOW <= VAR5),((VAR4 + (VAR6 * 2)) / 2),0),3) / 618) * VAR7));
VAR9:=(IF((VAR8 > 100),100,VAR8));
吸筹:=(VAR9 > -(150));
底部吸筹指标:=((((CLOSE - MA(CLOSE,20)) / MA(CLOSE,20)) * 100));
IF(底部吸筹指标 < 0,(底部吸筹指标 * 4),0),COLORGREEN;
抄底:=IF(CROSS(底部吸筹指标,-(24)),1,0);
先知:=((((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100));
STICKLINE(((((VAR9 > REF(VAR9,1)) && (VAR9 > -(150))))),0,VAR9,2,0),COLORBLUE;
STICKLINE((((((VAR9 = REF(VAR9,1)) && (VAR9 > -(150))) && (VAR8 > 100)) )),0,VAR9,2,0),COLORBLUE;
STICKLINE(((((VAR9 < REF(VAR9,1)) && (VAR9 > -(150))))),0,VAR9,2,0),COLORGREEN;
A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
A2:=SMA(A1,3.1,1);
A3:=SMA(A2,3.1,1);
高位:=110,COLOR007700,LINETHICK2;
底部:=0,COLORRED;
强弱:=50,DOTLINE,COLORLIGRAY;
出击:=3*A2-2*A3,COLORYELLOW,LINETHICK2;
阻力:=3*A3-2*A2,COLORFF8800,LINETHICK1;
XG:CROSS(出击,5);
DRAWICON(CROSS(出击,5),5,25);
 


2、筹码分析仪

{筹码分析仪}

VAR1:=1;
VAR55:=LLV(LOW,8);
VAR66:=HHV(HIGH,8);
VAR77:=(VAR66-VAR55)/10;
VAR88:=SMA((CLOSE-VAR55)/VAR77,20,1);
VARA:=3*VAR88-2*SMA(VAR88,15,1);
散户筹码集中度: (10-VARA)*VAR1*6,COLORGREEN,LINETHICK2;
机构筹码集中度:EMA(WINNER(C)*70,3),LINETHICK2,COLORRED;
主力筹码: 10*WINNER(CLOSE*0.9)*8, COLORCYAN;
十天主力筹码:EMA(主力筹码,10),LINETHICK2,COLORYELLOW;
VAR100:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(10);
增减力度:VAR100*6,COLORMAGENTA,LINETHICK2;
70,COLORGREEN ;
0,COLORYELLOW ;
X4:=EMA(C,6);
斜率6:(X4-REF(X4,1))/REF(X4,1)*100,LINETHICK0;
X5:=EMA(C,12);
斜率12:(X5-REF(X5,1))/REF(X5,1)*100,LINETHICK0;
X6:=EMA(C,18);
斜率18:(X6-REF(X6,1))/REF(X6,1)*100,LINETHICK0;



3、强势买进狙击

是通道类的主图公式( 顶尖 财经 股票学院: http://www.58188.com )

有进,出,加仓 信号

{强势买进狙击}
M2:=7;
MA05:MA(C,5)LINETHICK3,COLOR00CCFF;
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
VARF1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VARF2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VARF3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
五日乖离率:=(C-MA05)/MA05*100;
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;
IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN;
三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;
DRAWICON(CROSS(VARF2,MA(VARF3,6)),(LOW * 0.998),1);
DRAWICON(CROSS(MA(VARF3,6),VARF1),(HIGH * 1.013),2);
DRAWTEXT(CROSS(VARF2,MA(VARF3,6)),(LOW * 0.984),'进 '),COLOR3AFF00;
DRAWTEXT(CROSS(MA(VARF3,6),VARF1),(HIGH * 1.035),'出 '),COLOR3AFF00;
VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);
BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;
强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,
1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;
清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30)
AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10);
DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;
JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;
减仓:=FILTER(JC,10);
分界线:MA(CLOSE,21),COLORBLUE;
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,
1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;
买入:=FILTER(MR,10);
DRAWTEXT(减仓,HIGH*1.02,'←风险'),COLORCYAN;
DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;
DRAWTEXT(清仓 ,HIGH*1.02,'←清仓'),COLORGREEN;
DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORYELLOW;
STICKLINE(C>=分界线 AND C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=分界线 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=分界线 AND C<O,C,O,5,1),COLORRED;
STICKLINE(C>=分界线 AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=分界线 AND C<O,C,L,0,0),COLORRED;
STICKLINE(C<分界线 AND C>O,C,O,5,1),COLORFFFF00;
STICKLINE(C<分界线 AND C<=O,C,O,5,1),COLORFFFF00;
STICKLINE(C<分界线 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<分界线 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<分界线 AND C>O,O,L,0,1),COLORFFFF00;
VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
WWW58188COM:=(2*CLOSE+HIGH+LOW)/4;
MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;
压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;

上一篇:通达信源码:金手指,MACD神器抓妖股,量学金城白

下一篇:通达信源码:智能MACD,新一脚临门 ,绝对底部