C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {YLZCW 主图 即首富压力支撑位 参数N:1,500,13; M:1,500,55}
- RSV13:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
- K13:=SMA(RSV13,3,1);
- D13:=SMA(K13,3,1);
- J13:=3*K13-2*D13;
- RSV55:=(CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100;
- K55:=SMA(RSV55,3,1);
- D55:=SMA(K55,3,1);
- J55:=3*K55-2*D55;
- YLW:IF(CROSS(J55,J13),HIGH,REF(HIGH,BARSLAST(CROSS(J55,J13)))),COLORRED;
- ZCW:IF(CROSS(J13,J55),LOW,REF(LOW,BARSLAST(CROSS(J13,J55)))),COLORBLUE;