C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- LC:=REF(CLOSE,1);
-
- RSI5:SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100,VOLSTICK;
-
- RSI10:SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100,LINETHICK0;
- RSI20:SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100,LINETHICK0;
-
- 快线:MA(RSI5,3);
- 慢线:MA(RSI5,8);
-
- AA:=快线-慢线;
- 能量:IF(快线>慢线 OR 快线<慢线,AA,DRAWNULL),LINETHICK0;
-
-
- HL10:WINNER(C/1.1)*RSI5,LINETHICK0;
- STICKLINE(((C/1.1)*RSI5),HL10,0,0.1,0),COLORRED;
- HL20:WINNER(C/1.2)*RSI5,LINETHICK0;
- STICKLINE(((C/1.2)*RSI5),HL20,0,0.1,0),COLORYELLOW;
- HL30:WINNER(C/1.3)*RSI5,LINETHICK0;
- STICKLINE(((C/1.3)*RSI5),HL30,0,0.1,0),COLORBLUE;