C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- LC:=REF(CLOSE,1);
- RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
- FF:=EMA(CLOSE,3);
- MA15:=EMA(CLOSE,21);
- 波动回调提示图:MA(CLOSE,10000);
- STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,5,1),LINETHICK2,COLORRED;
- STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,5,1),LINETHICK2,COLORGREEN;
- DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'上拐点');
- DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点');
- DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!');
- 买线:=EMA(C,2);
- 卖线:=EMA(SLOPE(C,21)*20+C,42);
- BU:=CROSS(买线,卖线);
- SEL:=CROSS(卖线,买线);
- {STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),COLORRED;}
- STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;
- STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORGREEN;
- STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0);
- 指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1;
- 界: MA(CLOSE,27),LINETHICK1;