通达信量价均线副图指标
源码
{量价均线}
TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),26);
TL:=SUM(IF(CLOSE
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26);
【4】量价:100*(TH*2+TQ)/(TL*2+TQ),COLORLIRED;
【5】量价均线:MA(【4】量价,10),COLORRED,LINETHICK2;
量价乖离70%:((【4】量价-【5】量价均线)/【5】量价均线)*100,COLORYELLOW,NODRAW;
100,COLORRED,POINTDOT,LINETHICK2;
250,COLORRED,POINTDOT,LINETHICK2;
{趋势预测}
【6】趋势:C/MA(REF(C,18),18)*200,COLORLIBLUE;
【7】趋势预测:MA(FORCAST(【6】趋势,20),6),COLORBLUE,LINETHICK2;
趋势乖离30%:((【6】趋势-【7】趋势预测)/【7】趋势预测)*100,COLORYELLOW,NODRAW;
200,COLORBLUE,POINTDOT,LINETHICK2;
300,COLORBLUE,POINTDOT,LINETHICK2;
647522301.jpg
|