input:short(12),long(26),m(9),mid(9);
DIFF: EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite;
DEA : EMA(DIFF,M), coloryellow,LINETHICK3;
{www.gUPang.com 股旁网_最新股票指标公式}
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;
202108211219.jpg
|