通达信趋势平衡点主图指标公式

2023-11-22 22:58发布

APX:=(H+L+C)/3;TR0:=MAX(H-L,MAX(A(H-REF(C,1)),ABS(L-REF(C,1))));MF0:=C-REF(C,2);MF1:=REF(MF0,1);MF2:=REF(MF0,2);DIRECT1:=BARSLAST(MF0>MF1 AND MF0>MF2);DIRECT2:=BARSLAST(MF050,MIN(MF0,MF1),MAX(MF0,MF1)),1);:REF(IF(DIRECT0>50,APX*2-L,DRAWNULL),1),NODRAW;多头停损:REF(IF(DIRECT0>50,APX-TR0,DRAWNULL),1),NODRAW;:REF(IF(DIRECT0<-50,APX*2-H,DRAWNULL),1),NODRAW;空头停损:REF(IF(DIRECT0<-50,APX+TR0,DRAWNULL),1),NODRAW;
 解锁全文需 1  财富值,免费注册即送20财富值!