单线
单线 灵敏度高
JJ:=(C*2+H+L-O)/3;
E:=IF(L>AMOUNT/100/vol,JJ*V,AMOUNT/100);
A1:=SUM(E,3)/SUM(VOL,3);
A2:=SUM(E,8)/SUM(VOL,8);
A3:=SUM(E,21)/SUM(VOL,21);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
V1:=C-(A1+MA(C,3))/2;
V2:=C-(A2+MA(C,8))/2;
V3:=C-(A3+MA(C,21))/2;
VA1:=(C+V3-V1+MACD);
VA4:=(C+V2-V1+MACD);
DX:=EMA((VA1+VA4)/2,6);
生:DX;
PARTLINE(dx>=ref(dx,1),dx),COLORRED, LINETHICK2;
PARTLINE(dx