同花顺雄海RSI指标公式详解源码
-
相关简介:指标只是股票价钱的速度并不代表什么只供参考谢谢 L8: 80,POINTDOT,LINETHICK2,coloryellow; L2: 20,POINTDOT,LINETHICK2; L4: 40,POINTDOT,LINETHICK1,colorgreen,LINETHICK4; L5: 50,POINTDOT,LINETHICK1,colorred,LINETHICK4; L6: 60,POINTDOT,LINETHICK1,colorred,LINETHICK4; LC:=REF(CLOS
-
文章来源:股海网作者:股海网发布时间:2018-09-23浏览次数:
指标只是股票价钱的速度并不代表什么只供参考谢谢
L8: 80,POINTDOT,LINETHICK2,coloryellow;
L2: 20,POINTDOT,LINETHICK2;
L4: 40,POINTDOT,LINETHICK1,colorgreen,LINETHICK4;
L5: 50,POINTDOT,LINETHICK1,colorred,LINETHICK4;
L6: 60,POINTDOT,LINETHICK1,colorred,LINETHICK4;
LC:=REF(CLOSE,1);
RSI_14: SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,colorlimagenta;
RSI_MA:MA(RSI_14,5),colorliblue;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A7:=(2*C+H+L)/4;
VAR1:=LLV(A7,21);
VAR2:=HHV(A7,21);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
VAR28:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);
PSY:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100;
PSYMA:=MA(PSY,6);
MTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;