N:=4; N1:=25; VAR0:=EMA(EMA(EMA(CLOSE,N),N),N); 买入线: VAR0-REF(VAR0,1)+VAR0; 卖出线: MA(买入线,N1); STICKLINE(买入线>卖出线,卖出线,买入线,0.1,1); STICKLINE(卖出线>买入线,买入线,卖出线,0.1,1); DRAWTEXT(CROSS(卖出线,买入线),买入线*1.01,'↓降'), , colorgreen; DRAWTEXT(CROSS(买入线,卖出线),卖出线*0.99,'↑升'), , coloryellow;
看 股吧公式 www.k anguba.com