同花顺强势RSI指标公式
2021/2/3 19:21:18
N:=13;
N1:=27;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),coloryellow,LINETHICK1;
背离: IF(VAR1<2,8,0),STICK,colorcyan,LINETHICK6;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
强势区: IF((VARO7<10),110,110) ,COLOR00CCFF,LINETHICK2;
弱势区: IF((VARO7<10),30,30) ,COLOR00CCFF,LINETHICK2;
上涨极强区域: IF((VARO7<10),130,130),COLOR0000FF,LINETHICK6;
下跌极弱区域: IF((VARO7<10),10,10),COLOR0000FF ,LINETHICK6;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-91.5;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
标线:=IF(VAR6A>N1,VAR6A-N1,0),STICK,COLOR0000CC,LINETHICK6;
STICKLINE(REF(标线,1)<标线,标线,REF(标线,1),3,0),colorred;
STICKLINE(REF(标线,1)>标线,标线,REF(标线,1),3,0),COLOR00FF00;
投股票 网 www .tou18.cn
股市公式下载推荐