手机端
当前位置:爱约股 > 通达信 > 通达信安全轨迹指标公式

通达信安全轨迹指标公式

N:=12;N2:=14;P1:=-6;
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
MN:=MA(MM,3),COLORRED,LINETHICK1;
STICKLINE((MN<-9),0,-15,2,0 ),COLORCC0033;
STICKLINE((MN<-9),0,-11,2,0 ),COLORFF9966;
趋势B:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
{ 爱约股_最新股票指标公式}
趋势C:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
趋势D:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
趋势A:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
顶:=85;
中:=50;
底:=20;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VARA:=IF(VAR9>100,VAR9-100,0);
VARB:=HHV(HIGH,34);
AA:= VARA*2;
BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CC:SMA(VAR5,20,1),COLORRED;
CC1:SMA(CC,5,1),COLORGREEN;
STICKLINE(CC>CC1,CC,CC1,1,1),COLORRED;
STICKLINE(CC1>CC,CC,CC1,1,1),COLORGREEN;
{跑}
DRAWICON(CC < REF(CC,1) AND REF(CC,1) < REF(CC,2) AND CC > CC1,100,2);
DRAWICON(CROSS(CC1,CC),100,15);
VAR11111:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR22222:=ABS(VAR11111);
VAR33333:=SMA(VAR22222,3,1);
安全轨迹:SMA(VAR33333,5,1),COLORWHITE;
D:=SMA(安全轨迹,8,1),COLORWHITE;
STICKLINE(安全轨迹>D,安全轨迹,D,4,1),COLORYELLOW;
STICKLINE(安全轨迹<D,安全轨迹,D,0,1),COLOR00FF00;
MTM:=C-REF(C,1);
看涨线:60*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6),COLORRED;
XG:(CROSS(趋势B,安全轨迹) AND 安全轨迹<10 AND 看涨线>REF(看涨线,1) OR (安全轨迹>REF(安全轨迹,1) OR 安全轨迹=REF(安全轨迹,1)) AND 趋势B>REF(趋势B,1) AND 安全轨迹<10 )*80;
9;
DD1:=EMA(C,3)-EMA(C,8);
DD2:=EMA(O,3)-EMA(O,8);
AA1:=PLOYLINE(CROSS(DD1,DD2),DD2);
AAB1:=PLOYLINE(CROSS(DD2,DD1),DD1);
理想:=COUNT(CROSS(DD1,DD2),AA1<REF(AA1,3) AND AAB1>REF(AAB1,3));
选股:FILTERX(理想,30)*70;
TYP := (HIGH + LOW + CLOSE)/3;
V1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),N)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),N2);
资金流量:100-(100/(1+V1))*2,COLORYELLOW,LINETHICK2;

 

通达信安全轨迹指标公式

分享至:

相关推荐