DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
DEA12:=EMA(DIF12,9);
KDIF12:=3*(DIF12-DEA12);
KDEA12:=SMA(KDIF12,5,2);
短线操盘系统2:0,LINETHICK0;
买卖力道:2*(KDIF12-KDEA12),LINETHICK0,color80FF;
相对DIF:=DIF12;
相对DEA:=DEA12;
微分DIF:=KDIF12;
微分DEA:=KDEA12;
STICKLINE(买卖力道>0,买卖力道,0,8,1),color80FF;
STICKLINE(买卖力道<0,买卖力道,0,8,1),colorFFFF00;
上升趋势重仓:STICKLINE(CROSS(微分DIF,0),0,-50,6,0),colorFF;
小反弹轻仓:STICKLINE(CROSS(买卖力道,0),0,-25,6,0),colorFFFF;
下降趋势空仓:STICKLINE(CROSS(0,微分DIF),0,50,6,0),colorFF0000;
短线回调减仓:STICKLINE(CROSS(0,买卖力道),0,25,6,0),colorFF00;