九毛八公式指标
指标: DIFF:=EMA(CLOSE,9)-EMA(CLOSE,13); DEA:=EMA(DIFF,5); A1:=DIFF>DEA; RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K2:=SMA(RSV1,3,1); D2:=SMA(K2,3,1); A2:=K2>D2; LC:=REF(CLOSE,1); RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100; RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100; A3:=RSI1>RSI2; RSV2:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100; LWR1:=SMA(RSV2,3,1); LWR2:=SMA(LWR1,3,1); A4:=LWR1>LWR2; BBI:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,9)+MA(CLOSE,13))/4; A5:=CLOSE>BBI; MTM:=CLOSE-REF(CLOSE,1); MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3); MMM:=100*EMA(EMA(MTM,13),9)/EMA(EMA(ABS(MTM),13),9); A6:=MMS>MMM; BIAS:=(C-MA(C,5))/MA(C,5); DIF:=(BIAS-REF(BIAS,16)); DBCD:=SMA(DIF,76,1); MM:=MA(DBCD,5); A7:=DBCD>MM; 持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0,COLORRED; 支撑:=LLV(持股,3),LINETHICK0,COLOR00FFFF; 下跌:=MA(持股,12),COLOR6B8E23,LINETHICK0; 转向:=CROSS(持股,下跌){ AND 下跌<30}; MA1:=MA(持股,5); 向下:=CROSS(MA1,持股) AND MA1>80; A8:=持股>下跌; MTMV:=C-REF(C,1); ZLGJ:=100*EMA(EMA(MTMV,9),9)/EMA(EMA(ABS(MTMV),9),9); MAZL:=MA(ZLGJ,5); A9:=ZLGJ>MAZL; PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); JJ2:=REF(EMA(PJJ,3),1); QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE
公式模块:
DIFF:=EMA(CLOSE,9)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5); A1:=DIFF>DEA; RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K2:=SMA(RSV1,3,1); D2:=SMA(K2,3,1); A2:=K2>D2; LC:=REF(CLOSE,1); rsi1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100; RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100; A3:=RSI1>RSI2; RSV2:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100; Lwr1:=SMA(RSV2,3,1); LWR2:=SMA(LWR1,3,1); A4:=LWR1>LWR2; bbi:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,9)+MA(CLOSE,13))/4; A5:=CLOSE>BBI; mtm:=CLOSE-REF(CLOSE,1); mms:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3); MMM:=100*EMA(EMA(MTM,13),9)/EMA(EMA(ABS(MTM),13),9); A6:=MMS>MMM; bias:=(C-MA(C,5))/MA(C,5); DIF:=(BIAS-REF(BIAS,16)); DBCD:=SMA(DIF,76,1); MM:=MA(DBCD,5); A7:=DBCD>MM; 持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0,COLORRED; 下跌:=MA(持股,12),COLOR6B8E23,LINETHICK0; A8:=持股>下跌; MTMV:=C-REF(C,1); ZLGJ:=100*EMA(EMA(MTMV,9),9)/EMA(EMA(ABS(MTMV),9),9); MAZL:=MA(ZLGJ,5); A9:=ZLGJ>MAZL; QJJ:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)); HSL:=(XVL/20)/1.15; 攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); LLJX:=EMA(攻击流量,3); 资金流量:=LLJX; A10:=资金流量>0; 指导线:=(A1+A2+A3+A4+A5+A6+A7+A8+A9+A10); 冲入:=IF(指导线 >6,10,0); {《1》 日线第一个黄点选出: } 冲入>=1 AND REF(冲入,1)<1; {《2》 日线第一个黄点选出 and 指导线≤7:} 冲入>=1 AND REF(冲入,1)<1 AND 指导线<=7;