大智慧三丰礼物主图指标
源码
{三丰礼物3 MACD、日周KDJ同图显示组合主图指标}
MA10:MA(C,10);
MA30:MA(C,30);
MA60:MA(C,60);
MA90:MA(C,90);
MA120:MA(C,120) ,colorgreen;
MACD:="MACD.MACD"(20,5,10);
K20:="SLOWKD.K"(20,5,5,5);
D20:="SLOWKD.D"(20,5,5,5);
周开:="SLOWKD.K#WEEK"(5,3,3,3);
周滴:="SLOWKD.D#WEEK"(5,3,3,3);
L000:=(K20>=D20 AND MACD>=0) OR (周开>=周滴
AND MACD>=0) OR (周开>=周滴 AND K20>=D20);
L001:=K20>=D20 AND 周开>=周滴 AND MACD>=0;
STICKLINE(L001=0,C,O,6,0), COLORff8888;
STICKLINE(L001=0,H,L,0,0), COLORff8888;
STICKLINE(L000>0,C,O,6,0), COLORyellow;
STICKLINE(L000>0,H,L,0,0), COLORyellow;
STICKLINE(L001>0,C,O,6,0), COLORred;
STICKLINE(L001>0,H,L,0,0), COLORred;
STICKLINE(C<=REF(C,1) AND L001>0,C,O,6,0), COLORgreen;
STICKLINE(C<=REF(C,1) AND L001>0,H,L,0,0), COLORgreen;