通达信大盘牛熊时段红色上升持股主图指标公式
- 指标类别: 通达信指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 趋势
- 画线方法: 主图
- 日期:2021-05-05 来源:互联网
通达信大盘牛熊时段红色上升持股主图指标公式:
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;
通达信大盘牛熊时段红色上升持股主图指标公式实例图解:
通达信大盘牛熊时段红色上升持股主图指标公式