双MACD指标 (源码)
趋势:((eMA(C,4)+eMA(C,18))/2-(eMA(C,14)+eMA(C,42))/2),COLORWHITE,LINETHICK2;
中:eMA(趋势,8),COLOR00bb00,LINETHICK2;
PARTLINE(趋势>=REF(趋势,1),趋势),COLORRED,LINETHICK2;
MACD2:2*(趋势-中),LINETHICK;
MACD1:=MACD2;
MACD3:=REF(MACD2,1);
STICKLINE(MACD1>MACD3 AND MACD1>0,0,MACD1,6,0),COLOR000055;
STICKLINE(MACD1>MACD3 AND MACD1>0,0,MACD1,4,0),COLOR000077;
STICKLINE(MACD1>MACD3 AND MACD1>0,0,MACD1,3,0),COLOR000099;
STICKLINE(MACD1>MACD3 AND MACD1>0,0,MACD1,1.5,0),COLOR0000BB;
STICKLINE(MACD1>MACD3 AND MACD1>0,0,MACD1,0.9,0),COLOR0000DD;
STICKLINE(MACD1>MACD3 AND MACD1>0,0,MACD1,0.3,0),COLOR0000FF;
STICKLINE(MACD1>MACD3 AND MACD1<0,0,MACD1,5,0),COLOR555555;
STICKLINE(MACD1>MACD3 AND MACD1<0,0,MACD1,4,0),COLOR777777;
STICKLINE(MACD1>MACD3 AND MACD1<0,0,MACD1,3,0),COLOR999999;
STICKLINE(MACD1>MACD3 AND MACD1<0,0,MACD1,1.5,0),COLORBBBBBB;
STICKLINE(MACD1>MACD3 AND MACD1<0,0,MACD1,0.9,0),COLORDDDDDD;
STICKLINE(MACD1>MACD3 AND MACD1<0,0,MACD1,0.3,0),COLORFFFFFF;
{www.gpxiazai.com 股票软件下载网_最新股票指标公式}
STICKLINE(MACD1<MACD3,0,MACD1,5,0),COLORB20000;
STICKLINE(MACD1<MACD3,0,MACD1,4,0),COLOREC0000;
STICKLINE(MACD1<MACD3,0,MACD1,3,0),COLORFF4600;
STICKLINE(MACD1<MACD3,0,MACD1,1.5,0),COLORFF6300;
STICKLINE(MACD1<MACD3,0,MACD1,0.9,0),COLORFF8B00;
STICKLINE(MACD1<MACD3,0,MACD1,0.3,0),COLORFFAB00;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;
∑MACD:SUM(MACD2,0)/10,Linethick;
PARTLINE(∑MACD>REF(∑MACD,1),∑MACD),COLORYELLOW,Linethick2;
PARTLINE(∑MACD<REF(∑MACD,1),∑MACD),color18A4FF,Linethick2;
Am:=(eMA(C,4)+eMA(C,18))/2;Bm:=(eMA(C,14)+eMA(C,42))/2;
DIF:(2*Am-EMA(Am,12))-(2*Bm-EMA(Bm,26)),COLOR9900FF;
DEA:2*EMA(DIF,5) - EMA(EMA(DIF,5),5),ColorFFAA00;
MACD:3*(DIF-DEA)COLORSTICK,LINETHICK2;
- 上一篇公式:波浪+趋势+智能切线主图指标 (源码)
- 下一篇公式:走势力度差指标 (源码)