同花顺压力支撑主图指标
源码
//掌股专家之三
RSV13=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13=SMA(RSV13,3,1);
D13=SMA(K13,3,1);
J13=3*K13-2*D13;
RSV55=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55=SMA(RSV55,3,1);
D55=SMA(K55,3,1);
J55=3*K55-2*D55;
支撑位:IF(CROSS(J13,J55),LOW,REF(LOW,BARSLAST(CROSS(J13,J55))));
压力位:IF(CROSS(J55,J13),HIGH,REF(HIGH,BARSLAST(CROSS(J55,J13))));
中位:(支撑位+压力位)/2;