大智慧累计DDX副图指标
源码
N:=9;
JJ:=(OPEN+HIGH+LOW+CLOSE)/4;
AA:=IF(BETWEEN(C,JJ,H) OR C=O,vol,0);
BB:=IF(BETWEEN(C,JJ,L),vol,0);
CC:=IF(AA and BB,0,vol/3);
P3:=10*(AA-(BB+CC));
P4:=P3/IF(CAPITAL<1,SUM(vol,13),CAPITAL);
P55:=SUM(P4,55);
累加55日:FORCAST(P55,5),LINETHICK0;
累加五日:SUM(P4,5),color3d;
五日回归:FORCAST(累加五日,5);
partline(五日回归,五日回归>=ref(五日回归,1),rgb(255,0,0),五日回归;