公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

通达信四色柱副图公式 经典牛指标

2012-10-4 11:30| 发布者: admin| 查看: 104| 评论: 0

通达信四色柱副图公式 经典牛指标

源码

DRAWGBK(O>C,RGB(50,25,0),RGB(0,25,50),0,"",0);
DIF:=10*(EMA(CLOSE,20)-EMA(CLOSE,120));
DEA:=EMA(DIF,10);
MACD:=(DIF-DEA)*2,COLORSTICK;
A3:=DIF;
STICKLINE(A3>REF(A3,1)AND A3<0,0,A3,-1,0),COLOR003399;
STICKLINE(A3>REF(A3,1)AND A3<0,0,A3,2,0),COLOR0099BB;
STICKLINE(A3>REF(A3,1)AND A3<0,0,A3,1,0),COLOR00AADD;
STICKLINE(A3>REF(A3,1)AND A3<0,0,A3,0.1,0),COLOR00FFFF;
STICKLINE(A3>REF(A3,1)AND A3>0,0,A3,-1,0),COLOR000099;
STICKLINE(A3>REF(A3,1)AND A3>0,0,A3,2,0),COLOR0000BB;
STICKLINE(A3>REF(A3,1)AND A3>0,0,A3,1,0),COLOR0000DD;
STICKLINE(A3>REF(A3,1)AND A3>0,0,A3,0.1,0),COLOR0000FF;
STICKLINE(A3 STICKLINE(A3 STICKLINE(A3 STICKLINE(A3 STICKLINE(A30,0,A3,-1,0),COLOR330099;
STICKLINE(A30,0,A3,2,0),COLOR9900BB;
STICKLINE(A30,0,A3,1,0),COLORBB00DD;
STICKLINE(A30,0,A3,0.1,0),COLORFF00FF;
{DRAWICON(MACD>REF(MACD,1)AND DIF<-20 AND REF(MACD,1) DRAWICON(MACD20 AND REF(MACD,1)>REF(MACD,2),DIF,2)};


鲜花

握手

雷人

路过

鸡蛋
返回顶部