DIFF : EMA(CLOSE,12) - EMA(CLOSE,26); DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA);
Zero : 0;
DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW* 0.1*(DIFF-DEA),'★绝佳'),LINETHICK2,colorred;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*0.05* EMA(DIFF,9),'★卖');
VAR100:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
买1:=VAR100;
DRAWTEXT(买1>0, LOW*0.09*(DIFF-DEA),'买'),colorred;
|
