最新更新 - 网站地图 - 手机版
您的当前位置:爱购股票学习网 > 股票公式 > 公式技巧 > “弱势选股条件”

“弱势选股条件”

来源:网络 点击: 时间:2019-02-21

编写要求:

条件公式一: 昨收:= 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反向 选股:=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) (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) 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) (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底;

标签:

    Copyright 2018- www.igojr.com 爱购股票学习网 版权所有 邮箱:terrylm@qq.com

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top