说明:金叉买入,死叉卖出,LON线红色持股,LONMA线蓝色持币。此指标为通达信副图指标。如按此指标操作盈亏自负!
N:=5;
VAR1:=REF(CLOSE,1);
VAR2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
VAR3:=(CLOSE-VAR1)*VAR2;
VAR4:=SUM(VAR3,0);
VAR5:=SMA(VAR4,10,1);
VAR6:=SMA(VAR4,20,1);
LON:VAR5-VAR6;
LONMA:MA(LON,N);
红升:IF(LON>=LONMA,LON,DRAWNULL),COLORRED,LINETHICK2;
蓝降:IF(LON<LONMA,LONMA,DRAWNULL),COLORBLUE,LINETHICK2;