C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- R:=RSI;
- MAR:=MA(R,3);
- F:=100*(C-REF(C,1))/REF(C,1);
- HHH:=EMA(R,25)+6,COLORBLUE;
- JIN:STICKLINE(REF(R,2)>REF(R,3) AND REF(R,2)>REF(R,1) AND R>REF(R,1)
- AND MAR>REF(MAR,1)+1 AND REF(MAR,2)-REF(MAR,1)>-1
- AND REF(R,1)<REF(MAR,1) AND REF(R,2)-REF(MAR,2)>-3
- AND REF(R,1)<38 AND R<HHH AND F<8,O,C,1,0);
- 正0%:IF(BARSLAST(JIN)>0 AND BARSLAST(JIN)<8,REF(C,BARSLAST(JIN)),DRAWNULL);
- 正5%:IF(BARSLAST(JIN)>0 AND BARSLAST(JIN)<8,REF(C,BARSLAST(JIN))*1.05,DRAWNULL);
- 负2%:IF(BARSLAST(JIN)>0 AND BARSLAST(JIN)<8,REF(C,BARSLAST(JIN))*0.98,DRAWNULL);