DRAWICON(CROSS(预警线,30) AND CROSS(AA3Q,500),0,5);
DRAWTEXT(CROSS(预警线,50) AND CROSS(AA3Q,500) ,MACD*0.001,'介必升'),colorred;
XYZ1:=CROSS(ZIG(3,10),REF(ZIG(3,10),1)) AND DEA
AZ1:=BARSLAST(REF(XYZ1,1));
底背离:=CROSS(ZIG(3,10),REF(ZIG(3,10),1))AND LOW REF(LOW,AZ1+1) AND DIFF REF(DIFF,AZ1+1);
DRAWLINE(AZ1=0, LLV(DIFF,10),底背离, LLV(DIFF,5),0),colorred,LINETHICK2;
DRAWTEXT(底背离,DIFF*1.4,' 底背离'),colorred;
XYZ2:=CROSS(REF(ZIG(3,10),1),ZIG(3,10)) AND DEA
AZ2:=BARSLAST(REF(XYZ2,1));
顶背离:=CROSS(REF(ZIG(3,10),1),ZIG(3,10))AND HIGH REF(HIGH,AZ2+1)AND DIFF REF(DIFF,AZ2+1);
DRAWLINE(AZ2=0,HHV(DIFF,5),顶背离,HHV(DIFF,10),0),colorgreen,LINETHICK2;
DRAWTEXT(顶背离,DIFF*1.4,' 顶背离'),colorgreen;
{DRAWGBK(CLOSE 0,STRIP(RGB(0,150,130),RGB(0,0,0),0));}
点击下载老介MACD 发出 介必升 信号绝对涨 同花顺指标 源码 贴图