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

通达信源码:T进 T出,经传流动资金,窥视顶底买卖指标

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

T进 T出:

预警指标“T进”和“T出”

{公式名称: T进}
 
VAR1:=IF(BARSCOUNT(CLOSE)<30,MA(HIGH-OPEN,BARSCOUNT(CLOSE)),MA(HIGH-OPEN,30));
VAR2:=IF(BARSCOUNT(CLOSE)<30,MA(OPEN-LOW,BARSCOUNT(CLOSE)),MA(OPEN-LOW,30));
VAR3:=DYNAINFO(11);
VAR4:=(CLOSE/VAR3-1)*100;
VAR5:=DYNAINFO(13)*100;
VAR6:=IF(FROMOPEN<30 AND CLOSE>OPEN-VAR1,1,IF(VAR5<5,VAR3*(1+VAR5/200),VAR3*1.03));
VAR7:=IF(FROMOPEN<30 AND CLOSE<OPEN-VAR2,1,IF(VAR5<5,VAR3*(1-VAR5/200),VAR3*1.03));
CROSS(VAR7,CLOSE);
 

{公式名称: T出}
 
VAR1:=IF(BARSCOUNT(CLOSE)<30,MA(HIGH-OPEN,BARSCOUNT(CLOSE)),MA(HIGH-OPEN,30));
VAR2:=IF(BARSCOUNT(CLOSE)<30,MA(OPEN-LOW,BARSCOUNT(CLOSE)),MA(OPEN-LOW,30));
VAR3:=DYNAINFO(11);
VAR4:=(CLOSE/VAR3-1)*100;
VAR5:=DYNAINFO(13)*100;
VAR6:=IF(FROMOPEN<30 AND CLOSE>OPEN-VAR1,1,IF(VAR5<5,VAR3*(1+VAR5/200),VAR3*1.03));
VAR7:=IF(FROMOPEN<30 AND CLOSE<OPEN-VAR2,1,IF(VAR5<5,VAR3*(1-VAR5/200),VAR3*1.03));
CROSS(CLOSE,VAR6);
 


经传流动资金:

波段好帮手

VAR1:=SMA(AMOUNT/10,10,1)/10000;

 VAR2:=REF(VAR1,1);

资金运转: STICKLINE(VAR1>VAR2,VAR1,VAR2,2,0),COLORRED;

资金流失: STICKLINE(VAR1< VAR2,VAR1,VAR2,2,0),COLORGREEN;

流动资金: IF(VAR1>VAR2,VAR1,DRAWNULL),COLORRED,LINETHICK2; 




窥视顶底买卖指标:

●窥视顶底买卖指标用于做中短线较好;

●短线出击指标出现,次日即可买入;( 顶尖财经 股票学院: http://www.58188.com )
●买入趋势处于平行震荡及上升为佳;
●拉升后出现下箭头时即可出货,也可参照其他顶底指标选择出货,无需等到紫色箭头出现,因为有时等到需要几个月甚至更久,才会出现大顶出货提示。
 
 
选股指标:目前只提供短线出击选股,可结合上升趋势及平行震荡参考买入。
 
 
{窥视顶底买卖}
VAR2A:=LLV(LOW,10);
VAR3A:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VAR2A)/(VAR3A-VAR2A)*4,4);
趋势:MA(动力线,2);
IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORRED;
IF(趋势<REF(趋势,1),趋势,DRAWNULL),COLORBLUE;
STICKLINE(趋势>REF(趋势,1) ,趋势 ,REF(趋势,1),1,0),COLORRED;
STICKLINE(趋势<=REF(趋势,1) ,趋势 ,REF(趋势,1),1,0),COLOR00FF00;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS)/6;
指标:=MACD.DIF>MACD.DEA AND MACD.DIF<0.2 AND MACD.DIF>0;
短线出击:IF(CROSS(短线买点,1) AND (短线买点<30) AND 指标,1,0);
短线出击=30;
X:=MA(AMOUNT,5)/MA(V,5)/100;
VAR13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
VAR14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
VAR15A:=C/MA(C,60)-1;
大底:IF(CROSS(-5,VAR14A) AND VAR13A<-0.4,-0.01,-1);
中底:IF(CROSS(-5,VAR14A) AND VAR13A<-0.25 AND VAR13A>-0.4,-0.3,-1);
小底:IF(CROSS(-5,VAR14A) AND VAR13A<-0.15 AND VAR13A>-0.25,-0.6,-1);
减仓:IF(CROSS(VAR14A,-95) AND VAR15A<0.2 AND VAR15A>=0.1,0.6,1);
中顶:IF(CROSS(VAR14A,-95) AND VAR15A<0.35 AND VAR15A>=0.2,0.3,1),COLORYELLOW;
大顶:IF(CROSS(VAR14A,-95) AND VAR15A>=0.35,0,1)COLORRED;

上一篇:通达信源码:地量买入,火神进场,背线一战

下一篇:通达信源码:新短线无敌,分时攻击力度,回踩25日均线