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

通达信源码:冠军1号完美分时,波段王指标,多空副图

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

冠军1号完美分时:

用于K线趋势

 
1、正T:股价低开,但不破均线时,大概率会回踩10或20日均线,此时指标结合K线确认买入是最佳买点,在股价上升过程中,哪个提示的卖出点卖出都是对的。不要老幻想卖在最高点,有T做就好,细水长流。(反T同理)
2、保守党最好是等砸出黄金坑介入,激进的可以一个黄金坑介入,保守党可以等2个黄金坑出现介入。
 
 
DRAWGBK(C>0, 
RGB(50,60,250),RGB(17,21,89),0,'11',0);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,COLORGREEN;
支撑:=L1+P1*0.5/8,COLORRED;
中线:=(支撑+阻力)/2,COLORWHITE,POINTDOT;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:EMA(V11,3),LINETHICK2,COLORLIMAGENTA;
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备买入:STICKLINE(趋势线<11,趋势线,11,5,0),COLORYELLOW;
AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线;
BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线;
BB1:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11);
BB2:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6);
BB3:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3);
BB4:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1);
BB5:=REF(趋势线,1)<0 AND CROSS(趋势线,0);
BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1;
下单买入:STICKLINE(BB=1 AND C<中线,11,50,5,0),COLORRED;
DRAWICON(BB=1 AND C<中线,55,1);
DRAWTEXT(BB0,60,'★买'),COLORRED;
DRAWTEXT(AA,16,'准备买入'),COLORYELLOW;
准备卖出:STICKLINE(趋势线>89,趋势线,89,5,0),COLORWHITE;
CC:=(趋势线>89) AND FILTER((趋势线>89),15) AND C>中线;
DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线;
DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线);
DD2:=REF(趋势线,1)>94 AND REF(趋势线,1)<97 AND CROSS(94,趋势线);
DD3:=REF(趋势线,1)>97 AND REF(趋势线,1)>99 AND CROSS(97,趋势线);
DD4:=REF(趋势线,1)>99 AND REF(趋势线,1)<100 AND CROSS(99,趋势线);
DD5:=REF(趋势线,1)>100 AND CROSS(100,趋势线);
DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;
下单卖出:STICKLINE(DD=1 AND C>中线,89,50,5,0),COLORGREEN;
DRAWICON(DD=1 AND C>中线,45,2);
DRAWTEXT(DD0,40,'★卖'),COLORGREEN;
DRAWTEXT (CC,84,'准备卖出'),COLORWHITE;
冠军1号:=524864829;
顶:89,COLORGREEN;
底:11,COLORRED;
中:50,POINTDOT,COLORWHITE; 
DRAWTEXT(ISLASTBAR,顶,'顶'),COLORGREEN;
DRAWTEXT(ISLASTBAR,底,'底'),COLORRED;
DRAWTEXT(ISLASTBAR,中,'中'),COLORWHITE;



波段王指标:

这是升级版本
 
波段王指标,专门用来做 上升波段的( 顶尖财经 股票学院: http://www.58188.com )

VAR1:=(CLOSE+HIGH+LOW+OPEN)/4; 
VAR2:=SUMBARS(VOL,CAPITAL); 
VAR3:=HHV(VAR1,VAR2); 
VAR4:=LLV(VAR1,VAR2); 
VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4); 
VAR6:=(VAR1-VAR4)/(VAR3-VAR4); 
VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60); 
VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30); 
VAR9:=EMA(VAR8,7); 
VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100; 
VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; 
VARC:=HHV(HIGH,9)-LLV(LOW,9); 
VARD:=HHV(HIGH,9)-CLOSE; 
VARE:=CLOSE-LLV(LOW,9); 
VARF:=VARD/VARC*100-70; 
VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; 
VAR11:=(2*CLOSE+HIGH+LOW)/4; 
VAR12:=SMA(VARE/VARC*100,3,1); 
VAR13:=LLV(LOW,34); 
VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1); 
VAR15:=IF(VAR14>100,VAR14-100,0); 
VAR16:=HHV(HIGH,34); 
VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8); 
VAR18:=EMA(VAR17,5); 
 
STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1), ,COLORRED ; 
STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1), ,COLORGREEN ; 




多空,位置形态,可做波段:

有未来函数。

 
VARF1:=TROUGHBARS(3,15,1)<4;
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),NODRAW;
STICKLINE(FILTER(VARF1=1,5) AND 多空<-10,100,0,1,0),COLORAA00BB;
DRAWTEXT(STICKLINE(FILTER(VARF1=1,5) AND 多空<-10,100,0,1,0),93,'多空'),COLORAA00BB;

上一篇:通达信源码:小白龙,量价潜伏,股海必买

下一篇:通达信源码:短线无敌 短线王 底部吸筹组合,买卖点提示三合一指标