您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:副图MACD红绿灯 副图源码

副图MACD红绿灯 副图源码


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-05-24 09:22:00
公式简介:

副图MACD红绿灯(原码 贴图)
交通法规上有红灯停绿灯行,现反其道而行之。注意红绿球有未来函数

原码公式
MACD红绿灯
MACD红绿灯副图:红绿球,有ZIG
DIFF:(EMA(C,12)-EMA(C,26))*10,COLORRED,LINETHICK3;
IF(DIFF>REF(DIFF,1),DIFF,DRAWNULL),COLORRED,LINETHICK3;
IF(DIFF=REF(DIFF,1),DIFF,DRAWNULL),COLORYELLOW,LINETHICK3;
IF(DIFF<REF(DIFF,1),DIFF,DRAWNULL),COLORGREEN,LINETHICK3;
IF(DIFF>=REF(DIFF,1),10,DRAWNULL),COLORRED,LINETHICK9;{红灯}
IF(DIFF<=REF(DIFF,1),10,DRAWNULL),COLORGREEN,LINETHICK9;{绿灯}
DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK3;
MACD:=3*(DIFF-DEA),COLORSTICK;
DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,0,13);{红球进,有ZIG}
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,0,14);{绿球出,有ZIG}
0,LINETHICK2;



[url=http://www.goodgupiao.com/gupiaogongshi/20439.html][B]副图MACD红绿灯 副图源码[/B][/url]