大智慧黄金卖点主图指标
源码
黄金卖点:EMA(c+(h-l)*0.618,3),coloryellow,LINETHICK1;
黄金买点:EMA((o+h+l)/3,4),colorccffff,LINETHICK0;
红粉佳人:EMA(SLOPE(C,21)*20+C,42),COLORred,LINETHICK0;
DRAWTEXTREL(700,20,'黄金卖点:'+NUMTOSTRN(黄金卖点,2 )),LINETHICK2,coloryellow;
DRAWTEXTREL(400,20,'黄金买点:'+NUMTOSTRN(黄金买点,2 )),LINETHICK2,coloryellow;
PARTLINE(黄金买点,c>=黄金买点,RGB(255,0,255),1,RGB(0,0,0)),LINETHICK1;
PARTLINE(红粉佳人,c>=黄金买点 and 红粉佳人>=ref(红粉佳人,1),RGB(255,0,0),红粉佳人>=ref(红粉佳人,1),RGB(255,255,255),c>=黄金买点 and 红粉佳人<ref(红粉佳人,1),RGB(0,0,255),1,RGB(0,255,0)),LINETHICK2;
预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
DRAWTEXTREL(360,100,'昨测今日买点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),LINETHICK2,colorwhite;
预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-黄金买点)*0.618;
DRAWTEXTREL(670,100,'昨测今日卖点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),LINETHICK2,colorwhite;