彩带为红色:
DIF55:=(EMA(CLOSE,30)-EMA(CLOSE,100));
DEA55:=(EMA(DIF55,45));
xg1:DIF55>DEA55 ;
绿带变小:
N:=5{参数可调,这里暂定5天}
DIF55:=(EMA(CLOSE,30)-EMA(CLOSE,100));
DEA55:=(EMA(DIF55,45));
xg2:EVERY(DEA55<REF(DEA55,1),N) and EVERY(DIF55>REF(DIF55,1),N);
65399469.jpg
|