AA:=0.01*expma(AMOUNT,34)/EXPMA(vol,34);
量价强弱:=(AA/REF(AA,1)-1)*100;
STICKLINE(量价强弱>0,0,量价强弱,1,1),COLORLIMAGENTA;
STICKLINE(量价强弱<0,量价强弱,0,1,1),COLORLIBLUE;
均强弱:EMA(EMA(量价强弱,5),3);
月强弱:MA(均强弱,20);
{ Gupang.com 股-旁-网_通达信股票指标公式}
IF(均强弱>0 AND 均强弱>REF(均强弱,1),均强弱,DRAWNULL),COLORRED,LINETHICK2;
底变:量价强弱<-1 AND 量价强弱>REF(量价强弱,1) AND V/REF(V,1)>0.5,COLORRED,LINETHICK0;
顶变:量价强弱>1 AND 量价强弱
STICKLINE(底变,0,量价强弱,1,0),COLORLIMAGENTA;
STICKLINE(顶变,0,量价强弱,1,0),COLORLIBLUE;