稳定赚钱,信号发出比较少!美丽显示----花仙女作品 ☆美丽花仙女☆花仙女投资:STRLEFT('〖花仙女原创作品---MACD战法〗',38),coloryellow; DIFF : EMA(CLOSE,12) - EMA(CLOSE,26); DEA : EMA(DIFF,9); MACD := 2*(DIFF-DEA); Zero : 0; MA$1:=MA(CLOSE, 3); MA$2:=MA(CLOSE, 21); STICKLINE(MACD>0 ,MACD ,Zero ,0.8,1); STICKLINE(MACD<0 ,MACD ,Zero ,0.8,1); STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,0.8,1); STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,8,0),colorFFBB11; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,7,0),colorFFCC22; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,5,0),colorFFDD33; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,3,0),colorFFEE44; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,1,0),colorFFFF55; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,10,0),color338FDD; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,8,0),colorFF00FF; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,1,0),color00DDFF; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,8,0),color00AAFF; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,6.6,0),color00BBFF; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,4.4,0),color00CCFF; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,3.3,0),color00DDFF; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,2.2,0),color00EEFF; STICKLINE(DIFF>DEA AND MA$1>MA$2,DIFF,DEA,1,0),color00FFFF; 买线:2*(DIFF-DEA),colorwhite; 卖线:0,colorblue; 买卖差:=买线-卖线; STICKLINE(买卖差>=0,(买线-买卖差*0.05),(买线-买卖差*0.15),5,0),color00ffff; STICKLINE(买卖差>=0,(买线-买卖差*0.2),(买线-买卖差*0.35),5,0),color00ccff; STICKLINE(买卖差>=0,(买线-买卖差*0.4),(买线-买卖差*0.55),5,0),color0099ff; STICKLINE(买卖差>=0,(买线-买卖差*0.6),(买线-买卖差*0.75),5,0),color0066ff; STICKLINE(买卖差>=0,(买线-买卖差*0.8),(买线-买卖差*0.95),5,0),color0000cc; STICKLINE(买卖差<0,(卖线+买卖差*0.05),(卖线+买卖差*0.15),5,0),color006600; STICKLINE(买卖差<0,(卖线+买卖差*0.2),(卖线+买卖差*0.35),5,0),color009900; STICKLINE(买卖差<0,(卖线+买卖差*0.4),(卖线+买卖差*0.55),5,0),color00cc00; STICKLINE(买卖差<0,(卖线+买卖差*0.6),(卖线+买卖差*0.75),5,0),color00ff00; STICKLINE(买卖差<0,(卖线+买卖差*0.8),(卖线+买卖差*0.95),5,0),color66ff00; STICKLINE(DIFF<DEA ,DIFF,DEA,6,0),COLOR555500; STICKLINE(DIFF<DEA ,DIFF,DEA,5,0),COLOR888800; STICKLINE(DIFF<DEA ,DIFF,DEA,4,0),COLORAAAA00; STICKLINE(DIFF<DEA ,DIFF,DEA,3,0),COLORCCCC00; STICKLINE(DIFF<DEA ,DIFF,DEA,2,0),COLOREEEE00; STICKLINE(DIFF<DEA ,DIFF,DEA,1,0),COLORFFFF00; STICKLINE(DIFF<DEA ,DIFF,DEA,6,0),COLOR000055; STICKLINE(DIFF<DEA ,DIFF,DEA,5,0),COLOR000088; STICKLINE(DIFF<DEA ,DIFF,DEA,4,0),COLOR0000AA; STICKLINE(DIFF<DEA ,DIFF,DEA,3,0),COLOR0000CC; STICKLINE(DIFF<DEA ,DIFF,DEA,2,0),COLOR0000EE; STICKLINE(DIFF<DEA ,DIFF,DEA,1,0),COLOR0000FF; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,6,0),COLOR555500; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,5,0),COLOR888800; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,4,0),COLORAAAA00; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,3,0),COLORCCCC00; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,2,0),COLOREEEE00; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,1,0),COLORFFFF00; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,6,0),COLOR000055; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,5,0),COLOR000088; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,4,0),COLOR0000AA; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,3,0),COLOR0000CC; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,2,0),COLOR0000EE; STICKLINE(DIFF>DEA AND MA$1<MA$2 ,DIFF,DEA,1,0),COLOR0000FF; |
