九毛八公式指标
条件公式一: 昨收:= REF(C,1); RSI:SMA(MAX(C-昨收,0),6,1)/SMA(ABS(C-昨收),6,1)*100; WR:=-100*(HHV(HIGH,14)-C)/(HHV(HIGH,14)-LLV(LOW,14)); WR反向:(0-WR)-100; RSI买点:=RSI<20 and rsi>REF(RSI,1); WR反向买点:=WR反向>-70 AND WR反向12; T1:=C=LLV(C,12); T2:=RSI>LLV(RSI,12); T3:=RSI<25; TRSI:=T0 AND T1 AND T2 AND T3 AND C/HHV(C,120)<0.7; RSI成W底:IF(REF(TRSI,1) AND C>REF(C,1),100,0),STICK; 要求提取这里面的“选股”及“RSI成W底”这两个条件 条件公式二: CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; AA:=IF(CROSS(2-100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)),-90),-50,-100)=-50 AND IF((EMA(CS,2))*2>REF((EMA(CS,2))*2,1) AND REF((EMA(CS,2))*2,1)2.0*(MAX(O,C)-L); XG:AA AND 倒转锤头; 条件公式三: BIAS1:=(C-MA(C,6))/MA(C,6)*100; BIAS2:=(C-MA(C,12))/MA(C,12)*100; BIAS3:=(C-MA(C,24))/MA(C,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖离:=MA(BIAS,3); CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; VAR1J:=REF("WR.WR1"(10,6),1)>REF("WR.WR1"(10,6),2); VAR2J:=REF("WR.WR1"(10,6),1)>98; VAR3J:="WR.WR1"(10,6)REF((EMA(CS,2))*2,1) AND REF((EMA(CS,2))*2,1)
公式模块:
昨收:=
REF(C,1);
rsi:=SMA(MAX(C-昨收,0),6,1)/SMA(ABS(C-昨收),6,1)*100;
wr:=-100*(HHV(HIGH,14)-C)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:=(0-WR)-100;
RSI买点:=RSI<20
AND RSI>REF(RSI,1);
WR反向买点:=WR反向>-70 AND
WR反向<REF(WR反向,1);
选股:=RSI买点 AND
WR反向买点;
T0:=BARSCOUNT(C)>12;
T1:=C=LLV(C,12);
T2:=RSI>LLV(RSI,12);
T3:=RSI<25;
TRSI:=T0
AND T1 AND T2 AND T3 AND C/HHV(C,120)<0.7;
RSI成W底:=REF(TRSI,1) AND
C>REF(C,1);
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
AA:=IF(crOSS(2-100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)),-90),-50,-100)=-50
AND IF((EMA(CS,2))*2>REF((EMA(CS,2))*2,1) AND
REF((EMA(CS,2))*2,1)<REF((EMA(CS,2))*2,2) AND
(EMA(CS,2))*2<26,50,0);
倒转锤头:=MIN(O,C)=L AND
(H-L)>2.0*(MAX(O,C)-L);
XG:=AA AND
倒转锤头;
bias1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
VAR1J:=REF("WR.WR1"(10,6),1)>REF("WR.WR1"(10,6),2);
VAR2J:=REF("WR.WR1"(10,6),1)>98;
VAR3J:="WR.WR1"(10,6)<REF("WR.WR1"(10,6),1);
A:=CROSS(BIAS,乖离) AND
乖离<-10;
B:=IF(CROSS(2-100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)),-90),-50,-100)=-50
AND IF((EMA(CS,2))*2>REF((EMA(CS,2))*2,1) AND
REF((EMA(CS,2))*2,1)<REF((EMA(CS,2))*2,2) AND
(EMA(CS,2))*2<26,50,0)=50;
D:=VAR1J AND VAR2J AND VAR3J;
A AND B
AND D AND XG AND 选股 AND RSI成w底;
20>