九毛八公式指标
预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,3.5,-1),COLORRED; JJ:=(HIGH+LOW+CLOSE)/3; QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); 主买2:=ABS(QJ0*(JJ-MIN(CLOSE,OPEN))); STICKLINE(主买2,0,主买2,3.3,0),COLORRED; 主卖2:=ABS(QJ0*(MIN(OPEN,CLOSE)-LOW)); STICKLINE(主卖2,0,-主卖2,3.3,0),COLORGREEN; 散买2:=ABS(QJ0*(HIGH-MAX(OPEN,CLOSE))); STICKLINE(散买2,主买2,主买2+散买2,3.3,0),COLORCBC0FF; 散卖2:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)); STICKLINE(散卖2,-主卖2,-主卖2-散卖2,3.3,0),COLORCD0000; 资金异动:=VOL/MA(VOL,55)*100,COLORYELLOW; STICKLINE(资金异动>100 ,0,主买2+散买2,0.2,0),COLORYELLOW; 主买:主买2,COLORRED,NODRAW; 主卖:-主卖2,COLORGREEN,NODRAW; 散买:散买2,COLORCBC0FF,NODRAW; 散卖:-散卖2,COLORCD0000,NODRAW; FJ:0,COLORRED; VAR1:=VOL/((H-L)*2-ABS(C-O)); 主买1:=IF(C>O,VAR1*(H-L),IF(C
公式模块:
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=vol/IF(HIGH=LOW,4,HIGH-LOW); 主卖2:=ABS(QJ0*(MIN(OPEN,CLOSE)-LOW)); 散卖2:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ)); VAR1:=VOL/((H-L)*2-ABS(C-O)); 主买1:=IF(C>O,VAR1*(H-L),IF(C<O,VAR1*((H-O)+(C-L)),VOL/2)); 主卖1:=IF(C>O,0-VAR1*((H-C)+(O-L)),IF(C<O,0-VAR1*(H-L),0+V/2)); ddx:=主买1+主卖1; DX:=MA(DDX,5)*5; DDX1:=SMA(DX,3,1); DDX2:=SMA(DDX1,3,1); mtm:=C-REF(C,1); DX1:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 买1:=LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND crOSS(DX1,MA(DX1,2)); DDX1>=DDX2 AND 买1=1;