pj:=7;
dq:=1;
DT:=IF(CLOSE>REF(CLOSE,1),0.6*VOL,0.4*VOL);
KT:=IF(CLOSE<REF(CLOSE,1),0.6*VOL,0.4*VOL);
DZSH:=SUM(DT,PJ);
DFSH:=SUM(KT,PJ);
ZF:=(CLOSE-REF(CLOSE,1))/CLOSE;
PJZF:=MA(ZF,PJ);
DXD:=100*(ZF*POW(ABS(ZF),2)+PJZF*PJ)*DZSH/DFSH;
短期趋势:MA(MA(DXD,DQ),3),COLORRED;
短期防线:MA(短期趋势,3);
短期极限:MA(短期防线,3);
(短期趋势-短期极限)*3,COLORSTICK;
多空分界:0,COLORRED;
202108211150.jpg
|