通达信高胜算联立指标公式
2021/2/19 19:17:10
N1:=5;
N2:=8;
N3:=3;
N4:=3;
N5:=1;
中N1:=13;
中N2:=8;
中N3:=5;
中N4:=5;
中N5:=3;
高N1:=21;
高N2:=13;
高N3:=8;
高N4:=8;
高N5:=5;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
STRSI:= ((RSI1 - LLV( RSI1,N2)) / ( HHV(RSI1, N2) - LLV(RSI1, N2) ))*100 ;
SENAL1:=IF(N5=1,MA(STRSI,N3),EMA(STRSI,N3));
SENAL2:=IF(N5=1,MA(SENAL1,N4),EMA(SENAL1,N4));
SK:SENAL1,NODRAW;
SD:SENAL2,NODRAW;
DRAWBAND(SENAL1,RGB(120,30,30),SENAL2,RGB(80,50,50));
LC中 := REF(CLOSE,1);
RSI1中:=SMA(MAX(CLOSE-LC中,0),中N1,1)/SMA(ABS(CLOSE-LC中),中N1,1)*100;
STRSI中:= ((RSI1中 - LLV( RSI1中,中N2)) / ( HHV(RSI1中,中N2) - LLV(RSI1中,中N2) ))*100 ;
SENAL1中:=IF(中N5=1,MA(STRSI中,中N3),EMA(STRSI中,中N3));
SENAL2中:=IF(中N5=1,MA(SENAL1中,中N4),EMA(SENAL1中,中N4));
SK中8:SENAL1中,NODRAW;
SD中:SENAL2中,NODRAW;
DRAWBAND(SENAL1中,RGB(50,100,0),SENAL2中,RGB(0,100,0));
LC高 := REF(CLOSE,1);
RSI1高:=SMA(MAX(CLOSE-LC高,0),高N1,1)/SMA(ABS(CLOSE-LC高),高N1,1)*100;
STRSI高:= ((RSI1高 - LLV( RSI1高,高N2)) / ( HHV(RSI1高,高N2) - LLV(RSI1高,高N2) ))*100 ;
SENAL1高:=IF(高N5=1,MA(STRSI高,高N3),EMA(STRSI高,高N3));
SENAL2高:=IF(高N5=1,MA(SENAL1高,高N4),EMA(SENAL1高,高N4));
SK高:SENAL1高,NODRAW;
SD高:SENAL2高,NODRAW;
DRAWBAND(SENAL1高,RGB(130,100,50),SENAL2高,RGB(80,80,30));
90,COLORRED,POINTDOT;
62,COLORGRAY,POINTDOT;
38,COLORGRAY,POINTDOT;
10,COLORGREEN,POINTDOT;
投股票 网 www.tou18.c n
股市公式下载推荐