资金夹角
资金夹角原码
N1:=TRANSACTNUM(1,0)-TRANSACTNUM(2,0);
N2:=2*SUM(N1,0);
N3:=N2/CAPITAL;
N4:=N3*500000;
N5:=ORDERNUM(2,0)-ORDERNUM(1,0);
N6:=SUM(N5,0)/CAPITAL;
N7:=N6*1000000;
N8:=N7+N4;
动量监控:N8/2,LINETHICK3;
N9:=MA(动量监控,5);
N13:=N9+20;
N15:=N9-20;
N18:=REF(动量监控,20)+20;
N20:=REF(动量监控,20)-20;
PARTLINE(动量监控,动量监控>30,RGB(255,0,0),动量监控<-30,RGB(24,255,0),动量监控>N13,RGB(255,0,0),动量监控
-100,DASHLINE,COLOR00FF00;
30,DOTLINE,COLORCCCCCC;
-30,DOTLINE,COLORCCCCCC;