当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是通达信大盘牛熊时段主图源码(无源码的请下载附件导入)
通达信大盘牛熊时段主图源码
C/C++ Code复制内容到剪贴板
- {大盘牛熊时段}
- N:=MA(C,120);
- M:=MA(C,250);
- {浅蓝注意}
- STICKLINE(CLOSE>=0,H,L,0,0),COLORFFFF00;
- STICKLINE((CLOSE>=0 AND (C>=O)),O,C,3,1),COLORFFFF00;
- STICKLINE((CLOSE>=0 AND (C<=O)),O,C,3,0),COLORFFFF00;
- {红色上升}
- STICKLINE(CLOSE>N AND N>REF(N,1),H,L,0,0),COLOR0000A8;
- STICKLINE((CLOSE>N AND N>REF(N,1) AND (C>=O)),O,C,3,1),COLOR0000A8;
- STICKLINE((CLOSE>N AND N>REF(N,1) AND (C<=O)),O,C,3,0),COLOR0000A8;
- {绿色调整}
- STICKLINE(CLOSE<N AND CLOSE>M,H,L,0,0),COLOR00A800;
- STICKLINE((CLOSE<N AND CLOSE>M AND (C>=O)),O,C,3,1),COLOR00A800;
- STICKLINE((CLOSE<N AND CLOSE>M AND (C<=O)),O,C,3,0),COLOR00A800;
- {蓝色下跌}
- STICKLINE(CLOSE<M,H,L,0,0),COLORA80000;
- STICKLINE((CLOSE<M AND (C>=O)),O,C,3,1),COLORA80000;
- STICKLINE((CLOSE<M AND (C<=O)),O,C,3,0),COLORA80000;
- {黄色震荡}
- STICKLINE(CLOSE>N AND N<M,H,L,0,0),COLOR54FCFC;
- STICKLINE((CLOSE>N AND N<M AND (C>=O)),O,C,3,1),COLOR54FCFC;
- STICKLINE((CLOSE>N AND N<M AND (C<=O)),O,C,3,0),COLOR54FCFC;
{公式在线提供:www.gszx.com.cn}
上一篇:通达信数据与通达信完美结合模板 下一篇:通达信牛股波段公式