通达信突破平台加仓选股指标公式

通达信星辰线主图指标公式

通达信突破平台加仓选股指标公式:

RSV:=((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)))*(100);

Lwr1:=SMA(RSV,3,1);

LWR2:=SMA(LWR1,5,1);

VAR1AA:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);

VAR2AA:=vol;

上升价格线:=(SUM((VAR1AA)*(VAR2AA),8))/(SUM(VAR2AA,8));

下降价格线:=LLV(上升价格线,8);

VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);

VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);

VAR1:=REF(CLOSE,1);

VAR2:=MA(CLOSE,5);

VAR3:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(Abs(CLOSE-VAR1),6,1)*100;

VAR4:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100;

VAR5:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),24,1)*100;

VAR6:=IF(crOSS(VAR3,VAR5),LOW,REF(LOW,BArslAst(CROSS(VAR3,VAR5))));

VAR7:=IF(CROSS(VAR5,VAR3),HIGH,REF(HIGH,BARSLAST(CROSS(VAR5,VAR3))));

VAR8:=IF(CLOSE>=MA(CLOSE,20),80,50);

VAR9:=IF(CLOSE>=MA(CLOSE,20),50,20);

VARA:=IF(VAR3<VAR8 AND REF(VAR3,1)>=VAR8,HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8 AND REF(VAR3,1)<VAR8)-1),REF(HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8 AND REF(VAR3,1)<VAR8)-1),BARSLAST(VAR3<VAR8 AND REF(VAR3,1))));

VARB:=IF(HIGH>VARA,LOW,REF(LOW,BARSLAST(HIGH>VARA)));

VARC:=IF(HIGH>VARA,VAR3,REF(VAR3,BARSLAST(HIGH>VARA)));

VARD:=IF(HIGH>VARB AND VAR3<VARC AND VAR3<VAR5,HIGH,REF(HIGH,BARSLAST(HIGH>VARB AND VAR3<VARC AND VAR3<VAR5)));

VARE:=IF(VAR3>VAR9 AND REF(VAR3,1)<=VAR9,LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9 AND REF(VAR3,1)>VAR9)-1),REF(LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9 AND REF(VAR3,1)>VAR9)-1),BARSLAST(VAR3>VAR9 AND REF(VAR3,1))));

VARF:=IF(LOW<VARE,HIGH,REF(HIGH,BARSLAST(LOW<VARE)));

VAR10:=IF(LOW<VARE,VAR3,REF(VAR3,BARSLAST(LOW<VARE)));

VAR11:=IF(LOW<VARF AND VAR3>VAR10 AND VAR3>VAR5,LOW,REF(LOW,BARSLAST(LOW<VARF AND VAR3>VAR10 AND VAR3>VAR5)));

压力线:= VAR11,COLORFF00FF ,LINETHICK2 ;

A:=C/REF(C,1)>1.095 AND H=O AND L=H;

去除ST和停牌:=NOT(NAMELIKE('S') OR NAMELIKE('*S')) AND DYNAINFO(4)>0;

XG:FILTER((VAR4AA>90),34) AND 上升价格线>下降价格线 AND O>=REF(C,1) AND C>REF(C,1) AND LOW>=压力线 AND NOT(A) AND 去除ST和停牌;

通达信七星阵指标公式