飞狐凤翔三重MACD副图指标
rn
源码
rn
{《凤翔三重MACD》}
rnDIFF8 := EMA(CLOSE,25) – EMA(CLOSE,65),POINTDOT,LINETHICK2;
rnDEA8
rnMACD8 := 2*(DIFF8-DEA8), COLORSTICK;
rnFILLRGN(diff8>=dea8,diff8,dea8),Color006CCC;
rnFILLRGN(diff8<dea8,diff8,dea8)colorblue;
rnFILLRGN(diff8<ref(diff8,1) and macd8>0,diff8,dea8),Color003C76;
rnDIFF :=EMA(CLOSE,12) – EMA(CLOSE,26),coloryellow,linethick2;
rnDEA
rnMACD : 2*(DIFF-DEA), COLORSTICK,linethick1;
rnstickline(macd<ref(macd,1) and diff>dea,macd,0,1,0),Colorred;
rnstickline(macd>ref(macd,1) and diff>dea,macd,0,7,0),COLORRED;
rnstickline(macd>ref(macd,1) and diff>dea,macd,0,1,0),coloryellow;
rnstickline(DIFF>DEA and
rnstickline(DIFF>DEA and macd<ref(macd,1),macd,0,1,0),Coloryellow;
rnstickline(DIFF<DEA ,macd,0,5,0),Color005B0C;
rnstickline(DIFF<DEA ,macd,0,1,0),Color848284;
rnstickline(DIFF<DEA and
rnstickline(DIFF<DEA and macd>ref(macd,1),macd,0,1,0),Colordddddd;
rnDIFFs : EMA(CLOSE,5) – EMA(CLOSE,12)colorwhite,linethick1;
rnDEAs
rnMACDs := 2*(DIFFs-DEAs), COLORSTICK,linethick1;
rndrawicon(cross(dea8,diff8),dea8,3);
rndrawicon(cross(diff8,dea8),dea8,1);
rnDRAWTEXT(cross(diff,dea) and macd8>0 and diffs>deas,dea,’–卧槽马’)colorgreen;
rn{猎豹出击}
rna2:=(CLOSE/REF(CLOSE,1)-1)*100;
rna3:=AMOUNT/FINANCE(7)/1000;
rn{a2/a3;}
rna4:=INDEXC/ref(indexc,1);
rndrawtext(a2/a4>9.5,DIFF8,’–猎豹出击’),coloryellow;
rn{猎鹰出击}
rn出击:=((C-O)/REF(C,1)),colormagenta;
rndrawtext(cross(出击,0.09) or 出击>0.09,dea8,’–猎鹰出击’)coloryellow;;
rn





















暂无评论内容