input:short(12),long(26),m(9),mid(9);
DIFF: EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite;
DEA : EMA(DIFF,M), coloryellow,LINETHICK3;
{ _最新股票指标公式}
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),linethick4;
macd : 2*(DIFF-DEA), COLORSTICK;
Zero : 0 ;
Var1:=CLOSE/REF(LLV(LOW,35),5)< 1;
短线建仓必买: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,1,-1),COLORred, linethick4;
上线:=SMA(C,6.5,1);
下线:=SMA(C,13.5,1);
上线1:=SMA(C,3,1);
下线1:=SMA(C,8,1);
短线全仓买:crOSS(上线,下线),linethick4;