通达信单均差量能分析指标公式
通达信单均差量能分析指标公式:
AA:=V/((H-L)*2-ABS(C-O));
BUY2:=IF(C>O,AA*(H-L),IF(C<O,AA*((H-L)-(O-C)),V/2));
SELL2:=(V-BUY2);
STICKLINE(V>0,0,V/10000,2,1);
STICKLINE(BUY2>SELL2,0,BUY2/10000,2,0),COLOR3300CC;
STICKLINE(BUY2>SELL2,0,SELL2/10000,0.8,0),COLOR338800;
STICKLINE(BUY2<SELL2,0,SELL2/10000,2,0),COLOR338800;
STICKLINE(BUY2<SELL2,0,BUY2/10000,0.8,0),COLOR3300CC;
MS:=MA((BUY2-SELL2)/10000,5)*2;
MM:MA(MS,5),COLOR00FFFF,LINETHICK2;
F:=BACKSET(MS>REF(MS,1),2);
E:=BACKSET(MS<REF(MS,1),2);
R:IF(F,MS,DRAWNULL),COLOR8888FF,LINETHICK2;
G:IF(E,MS,DRAWNULL),COLORLIBLUE,LINETHICK2;
通达信单均差量能分析指标公式实例图解:
通达信单均差量能分析指标公式