通达信红线横盘指标公式

通达信主升浪波段买入主图指标公式

通达信红线横盘指标公式:

日:=200;昨前:=7;

高1:=REF(HHV(H,日),昨前);

低1:=REF(LLV(L,日),昨前);

H1:=高1-(高1-低1)*0.5;

上轨:REFDATE(高1,DATE),COLORGREEN,crOSSDOT,LINETHICK2;

中轨:REFDATE(H1,DATE),COLORRED,LINETHICK2;

下轨:REFDATE(低1,DATE),COLORRED,CROSSDOT,LINETHICK2;

B1:=MA(C,1);

B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);

SMA2:=MA(B2,3);

A13:=EMA(CLOSE,55);

A14:=MA(CLOSE,75);

A15:=EMA(A14,3);

A16:=EMA(A15,3);

A17:=(HIGH + LOW) / 5;

A18:=(MA(A17,4)) - (MA(A17,34));

A19:=CROSS(A18,0);

A20:=CROSS(0,A18);

A21:=BArslAst(A19);

A22:=BARSLAST(A20);

A23:=REF(A19,1);

A24:=REF(A20,1);

A25:=BARSLAST(A23);

A26:=BARSLAST(A24);

A27:=IF((A25 < A26),(REF((HHV(HIGH,2)),A25)),(REF((LLV(LOW,2)),A26)));

A28:=(((REF(CLOSE,1)) <= (REF(A27,1))) AND (CLOSE > A27)) AND (A21 < A22);

A29:=(((REF(CLOSE,1)) >= (REF(A27,1))) AND (CLOSE < A27)) AND (A22 < A21);

A30:=A28 AND ((COUNT(A28,A21)) = 1);

A31:=A29 AND ((COUNT(A29,A22)) = 1);

A32:=A30 AND ((REF(BARSLAST(A31),1)) < (REF(BARSLAST(A30),1)));

A33:=A31 AND ((REF(BARSLAST(A31),1)) > (REF(BARSLAST(A30),1)));

DRAWTEXT(A32,SMA2*0.99,'←追啊'),COLORGREEN;

AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),vol*C,0),0);

AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);

AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);

B1万元:=VOL*CLOSE/100;

B2万元:=VOL*CLOSE/100;

B2比:=B2万元/REF(B2万元,1);

净流入万元:=(AAA2-AAA3-0.5*AAA4);

PM:=MA(净流入万元,1);

PMA:=PM/REF(PM,1)>1;

PMB:=REF(PMA,1)<1 AND PMA;

密码:=(EMA(MA(B1万元,2),2))/100000;

二日比:=密码/REF(密码,1);

选股:=PMB AND 密码>REF(密码,1) AND 二日比>1 ;

均价线Q:=AMOUNT/V/100;

均价线2:=MA(均价线Q,3);

突破:=C>均价线2 AND 均价线2<REF(均价线2,1) AND REF(均价线2,1)<REF(均价线2,2)

AND REF(均价线2,2)<REF(均价线2,3) AND 选股;

STICKLINE(突破,O,C,1.3,0),LINETHICK1,COLORYELLOW;

DRAWICON(突破,(H+L)/2,7);

A7:=C-REF(C,1);

A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(Abs(A7),6),6);

买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));

DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖跟我冲'),COLORYELLOW;

DRAWTEXT_FIX(1,0.4,1,0,'股价运行在下框或上框时,

通达信牛熊分道+主散筹码+庄家控盘+行情主升浪主图指标公式

底线是买点,顶线是卖点!'),COLORGREEN;

通达信牛出栏选股指标公式