通達信極品RSI指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2023-03-24 來源:互聯網
通達信極品RSI指標公式:
N1:=5;N2:=10;
LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLOR9900FF;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLORYELLOW;
強弱分界:50,COLORFFFFCC;
坐標線:0,COLORFFFF33;20,COLOR00FF00; 80,COLOR0000FF;100,COLORFFFF33;
{趨勢買賣}
V1:=LLV(LOW,10);
V2:=HHV(H,25);
價位線:=EMA((C-V1)/(V2-V1)*4,4);
買入:STICKLINE(CROSS(價位線,0.3),50,5,2,0),COLOR00CCFF,LINETHICK1;
STICKLINE(CROSS(價位線,0.3),30,5,2,0),COLORRED,LINETHICK1;
賣出:STICKLINE(CROSS(3.5,價位線),60,100,2,0),COLORRED,LINETHICK1;
STICKLINE(CROSS(3.5,價位線),80,100,2,0),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(價位線,0.3),45,' 買'),COLORFFAA66;
DRAWTEXT(CROSS(3.5,價位線),75,' 賣'),COLORFFFFCC;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;
VAR9Q:=IF(VAR8Q>100,100,VAR8Q);
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走勢:=CEILING(SMA(AA5,13,8));
AA6:=SMA(AA3,21,8);
通達信極品RSI指標公式實例圖解:
通達信極品RSI指標公式