今天给大家分享一款某机构经典私密MACD...

今天给大家分享一款某机构经典私密MACD指标,效果一流,我也是拖了朋友才拿到的!不会的,可以评论解答!

F1:=ZIG(3,5);
N:=21;M:=11;
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA1:=EMA(DIFF1,9);
MACD:=2*(DIFF1-DEA1),STICK;
DRAWBAND(DIFF1,RGB(200,50,55),DEA1,RGB(0,100,50));
DIFF:DIFF1,COLOR33FF33;
DEA:DEA1,COLORYELLOW;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.9,0),COLORFF8B00;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.3,0),COLORFFAB00;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.9,0),COLOR0000DD;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.3,0),COLOR0000FF;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.9,0),COLORDDDDDD;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.3,0),COLORFFFFFF;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.9,0),COLORFF8B00;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.3,0),COLORFFAB00;
STICKLINE(MACD>=0 OR MACD<=0,0,0,50,2),COLORWHITE;
金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
DRAWICON(金叉,DEA,23);
DRAWTEXT(金叉,DEA,' 低金'),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(二金,DEA*1.04,13) ;
DRAWTEXT(二金,-0.1,' 二金'),COLORFF00FF;
AA:=REF(HHV(HIGH,N),1);
BB:=REF(LLV(LOW,N),1);
GG:=(AA+BB)/2;
TJ1:=(AA-BB)/GG<(M/100);
TJ2:=C>REF(HHV(HIGH,N),1);
XG:=TJ1 AND TJ2;
LB:=V/REF(V,1)>2;
W88:=金叉 AND XG AND LB;
STICKLINE(W88,0,0.2,3,0),COLOR00FFFF;

(0)

相关推荐