C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- FL:MA(CLOSE,13)+ABS(MA(CLOSE,13)-REF(MA(CLOSE,13),1));
- FS:MA(CLOSE,13)+MA(CLOSE,13)-REF(MA(CLOSE,13),1);
- CG:IF(MA(CLOSE,13)<FS,FS,MA(CLOSE,13)),COLORF4E202,LINETHICK2;
- A:CG-(EMA(C,3)-CG),COLORFF8080;
- K1:=BACKSET(CG>REF(CG,1),2);
- IF(K1,CG,DRAWNULL),COLOR00FFFF,LINETHICK2;
- C2:=REF(C,1);
- 涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
- STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
- 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
- STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
- STICKLINE(跌停,H,L,0,1),COLORGREEN;