九毛八公式指标
公式模块:
求量能组合公式中量柱变为蓝色时选股
成交量:V,COLOR00ffff;//线性不输出
STICKLINE(C>=O,0,V,8,0),COLOR0000ff;
STICKLINE(C<O,0,V,8,0),COLOR00ff00;
RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(RSV,7,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(crOSS(J,7.6),HHV(V,20),0,4,0),colorwhite;
AT:=IF(CAPITAL=0,AMOUNT/1000000,vol/CAPITAL*100);
ATM1:=EMA(AT,5);
ATM2:=MA(AT,13);
阶段地量:=AT<REF(LLV(AT,25),1) AND ATM1<ATM2;
STICKLINE(阶段地量,0,V,8,0),COLORff5500;
BB:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
买:=OUTVOL;
卖:=INVOL;
主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主买:主动买/10000,colorred;//线性不输出
主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));
主卖:-主动卖/10000,colorgreen;//线性不输出
参与度:主买/(主买+主卖),colorffff00;//线性不输出
WW:=VOL/REF(VOL,1)>2;
GG:=C>O;
STICKLINE ((WW AND GG) OR (C>REF(C,1) AND C=O AND WW),0,VOL,3,0),colorffff00;
QQ:=C<O;
STICKLINE ((WW AND QQ) OR (C<REF(C,1) AND C=O AND WW),0,VOL,3,0),color009fff;
l0:0.45,colorred;
AT:=IF(CAPITAL=0,AMOUNT/1000000,VOL/CAPITAL*100);
ATM1:=EMA(AT,5);
ATM2:=MA(AT,13);
AT<REF(LLV(AT,25),1) AND ATM1<ATM2;