大智慧股价趋势指标公式

DRAWGBK(c>0),color000000;

均价:=sum(AMOUNT,1)/sum(v,1)/100;

均价差:=(均价-ref(均价,1))/ref(均价,1)*1000;

SMA1:=sma(均价差,3,1);

sma2:=sma(均价差,8,1);

stICKLINE(sma1>20,sma1,20,6,0),colorff00FF;

STICKLINE(sma1<-20,sma1,-20,6,0),colorFF0000;

趋势:ma((sma1+sma2+均价差)/3,3), COLORFFFFFF,linethick1,LAYER0;

PARTLINE(0,趋势>=0,RGB(255,0,0),趋势<0,RGB(0,255,255)),LINETHICK1;

回调确认:-6,COLOR00FF00;