C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 强弱线买卖主图
- 趋势线:MA(CLOSE,18)COLORGREEN,LINETHICK2;
- 强势线:MA(CLOSE,3)COLORRED,LINETHICK2;
- TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
- TT1:=REF(EMA(TT2,9),1);
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- J:=3*K-2*D;
- LC:=REF(CLOSE,1);
- DRAWTEXT(CROSS(CLOSE,TT1)AND J<55,LOW,'买'),COLORYELLOW;
- RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
- FF:=EMA(CLOSE,3);
- DRAWTEXT(CROSS(88,RSI),HIGH * 1.02,'卖'),COLORGREEN;
- 上线:EMA(CLOSE,144),POINTDOT,COLORWHITE;
- 下线:EMA(C,318);
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 强弱买点选股
- TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
- TT1:=REF(EMA(TT2,3),1);
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- J:=3*K-2*D;
- 买:CROSS(CLOSE,TT1)AND J<55;