当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:大阳MACD共振,红卖绿卖(同花顺指标 副图 源码 测试图)
软件名称:[B]大阳MACD共振,红卖绿卖(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2023-09-18 00:05:25
软件简介:
大阳MACD共振,红卖绿卖
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
蓝:IF(FILTER(YXF=1,5),20,0),colorliblue,LINETHICK3;
红: IF(FILTER(YXF=1,5),10,0),colorred,LINETHICK2;
黄: IF(FILTER(YXF=1,5),5,0),coloryellow,LINETHICK1;
过渡:IF(BBI,10,DRAWNULL),colorwhite,LINETHICK2;
持股:IF(C>BBI AND BBI>REF(BBI,1),10,DRAWNULL), colorred,LINETHICK2;
持币:IF(C<=BBI AND BBI<=REF(BBI,1),10,DRAWNULL),colorgreen,LINETHICK2;
VAR1:=(2*CLOSE+HIGH+LOW)/3;////分析家公式网www.70822.com
VAR2:=EMA(EMA(EMA(VAR1,3),3),3);
J: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D: MA(J,3);
K: MA(J,1);
DRAWICON(CROSS(K,d),d,'buy');
DRAWICON(CROSS(d,k),k,'sell');
0,COLOR666666;
DIF1:=(EMA(C,6)-EMA(C,13));
DEA1:=EMA(DIF1,6),colorwhite;
MACD1:=(DIF1-DEA1)*2;
MAMACD1:=MA(MACD1,2);
DIF2:=(EMA(C,12)-EMA(C,26));
DEA2:=EMA(DIF2,9),colorwhite;
MACD2:=(DIF2-DEA2)*2;
MAMACD2:=MA(MACD2,2);
DIF3:=(EMA(C,20)-EMA(C,60));
DEA3:=EMA(DIF3,10),colorwhite;
MACD3:=(DIF3-DEA3)*2;
MAMACD3:=MA(MACD3,2);
DIF4:=(EMA(C,60)-EMA(C,120));
DEA4:=EMA(DIF4,10),colorwhite;
MACD4:=(DIF4-DEA4)*2;
MAMACD4:=MA(MACD4,2);
DIF5:=(EMA(C,120)-EMA(C,250));
DEA5:=EMA(DIF5,10),colorwhite;
MACD5:=(DIF5-DEA5)*2;
MAMACD5:=MA(MACD5,2);
DIF6:=(EMA(C,250)-EMA(C,500));
DEA6:=EMA(DIF6,10),colorwhite;
MACD6:=(DIF6-DEA6)*2;
MAMACD6:=MA(MACD6,2);
A1:=DIF1>=REF(DIF1,1);
A2:=DIF2>=REF(DIF2,1);
A3:=DIF3>=REF(DIF3,1);
A4:=DIF4>=REF(DIF4,1);
A5:=DIF5>=REF(DIF5,1);
A6:=DIF6>=REF(DIF6,1);
B1:=DIF1<=REF(DIF1,1);
B2:=DIF2<=REF(DIF2,1);
B3:=DIF3<=REF(DIF3,1);
B4:=DIF4<=REF(DIF4,1);
B5:=DIF5<=REF(DIF5,1);
B6:=DIF6<=REF(DIF6,1);
A7:=DIF6>0 AND DIF6<REF(DIF6,1);
熊市初期A8:=DIF6<0 AND DIF6>REF(DIF6,1);{}
牛市初期A9:=DIF6<0 AND DIF6<REF(DIF6,1);
牛市成长期A10:=DIF6>0 AND DIF6>REF(DIF6,1);
A11:=DIF4<=REF(DIF4,1);
A12:=DIF5<=REF(DIF5,1);
STICKLINE(A6,0,1,3,0),colorblue;
STICKLINE(A5,1,2,3,0),COLORDDDDDD;
STICKLINE(A4,2,3,3,0),colorred;
STICKLINE(A4 AND A3 AND A2,3,4,3,0),colormagenta;
STICKLINE(A4 AND A3 AND A2 AND A1,4,5,3,0),coloryellow;
STICKLINE(B6,0,1,3,0),COLOR333333;
STICKLINE(B5,1,2,3,0),COLOR444444;
STICKLINE(B4,2,3,3,0),COLOR666666;
STICKLINE(A6 OR A5,7.5,8,3,0),COLOR339999;
STICKLINE(A6 OR A5,7.5,8,1,0),COLOR33FFFF;
STICKLINE(B5 OR B6,7.5,8,3,0),COLOR333333;
STICKLINE(B5 OR B6,7.5,8,1,0),COLOR666666;
STICKLINE((A6 OR A5) AND A4 AND A3 AND A2 ,7.5,8,3,0),COLOR993399;
STICKLINE((A6 OR A5) AND A4 AND A3 AND A2 ,7.5,8,1,0),COLORFF00FF;
STICKLINE((B6 OR B5) AND A4 AND A3 AND A2 AND A1,7.5,8,3,0),COLOR666600;
STICKLINE((B6 OR B5) AND A4 AND A3 AND A2 AND A1,7.5,8,1,0),COLORFFFF00
[url=http://www.70822.com/soft/sort013/sort036/down-169273.html]大阳MACD共振,红卖绿卖(同花顺指标 副图 源码 测试图)[/url]