C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- RSI1:SMA(MAX(CLOSE-(REF(CLOSE,1)),0),5,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),5,1)*100;
- RSI5:SMA(MAX(CLOSE-(REF(CLOSE,1)),0),60,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),60,1)*100;
- DRAWBAND(RSI1,RGB(195,125,195),RSI5,RGB(0,130,50));
- 强弱线:50,LINETHICK2,COLOR858585;
- 减仓线:90,COLOR00AA55,LINETHICK2;
- 清仓线:95,COLOR0000AA,LINETHICK2;
- 时机线:20,COLORRED,LINETHICK2;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 增加卖出信号源码如下!
- LC:=REF(CLOSE,1);
- RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
- 顶部:CROSS(80,RSI)*30,LINETHICK2 ,COLORGREEN;
- DRAWTEXT(CROSS(80,RSI),30,'见顶 '),COLORGREEN;
- RSI1:SMA(MAX(CLOSE-(REF(CLOSE,1)),0),5,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),5,1)*100;
- RSI5:SMA(MAX(CLOSE-(REF(CLOSE,1)),0),60,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),60,1)*100;
- DRAWBAND(RSI1,RGB(195,125,195),RSI5,RGB(0,130,50));
- 强弱线:50,LINETHICK2,COLOR858585;
- 减仓线:90,COLOR00AA55,LINETHICK2;
- 清仓线:95,COLOR0000AA,LINETHICK2;
- 时机线:20,COLORRED,LINETHICK2;