股票论坛

标题: 请老师帮做个选股公式。谢谢!! [打印本页]

作者: 一与    时间: 2016-8-22 15:38
标题: 请老师帮做个选股公式。谢谢!!
编辑2个公式
1、选出关注或抓住大牛的股票
2、选柱抓住大牛的股票
MA3:=MA(CLOSE,5);
MA4:=MA(CLOSE,10);
RSV:= (CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
FASTK:=SMA(RSV,3,2);
K:=SMA(FASTK,9,2);
D:=SMA(K,3,2);
A:=SMA(VOL,3,2);
W11:=-100*(HHV(HHV(A,1),25)-A)/(HHV(HHV(A,1),25)-LLV(LLV(A,1),25));
W22:=-100*(HHV(HHV(A,1),35)-A)/(HHV(HHV(A,1),35)-LLV(LLV(A,1),35));
W33:=-100*(HHV(HHV(A,1),10)-A)/(HHV(HHV(A,1),10)-LLV(LLV(A,1),10));
量:=(W11+W22+W33)/20;
WR:=-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
关注:CROSS(WR,-15) AND CLOSE>MA4 AND MA4>REF(MA4,2) AND K>REF(K,2);
抓住大牛:((CROSS(量,-15)) OR (CROSS(量,-20))) AND ((CROSS(WR,-15)) OR (CROSS(WR,-20))) AND CROSS(CLOSE,MA3) AND CROSS(CLOSE,MA4);
作者: (百川)    时间: 2016-8-22 20:43
{抓住小牛副图,因为抓大牛条件太刻克}
MA3:=MA(CLOSE,5);
MA4:=MA(CLOSE,10);
RSV:= (CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
FASTK:=SMA(RSV,3,2);
K:=SMA(FASTK,9,2);
D:=SMA(K,3,2);
A:=SMA(VOL,3,2);
W11:=-100*(HHV(HHV(A,1),25)-A)/(HHV(HHV(A,1),25)-LLV(LLV(A,1),25));
W22:=-100*(HHV(HHV(A,1),35)-A)/(HHV(HHV(A,1),35)-LLV(LLV(A,1),35));
W33:=-100*(HHV(HHV(A,1),10)-A)/(HHV(HHV(A,1),10)-LLV(LLV(A,1),10));
量:=(W11+W22+W33)/20;
WR:=-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
抓住小牛:((CROSS(量,-10)) OR (CROSS(量,-20))) AND ((CROSS(WR,-10)) OR (CROSS(WR,-20))) AND CROSS(CLOSE,MA3) AND CROSS(CLOSE,MA4),COLORMAGENTA;
DRAWTEXT(抓住小牛,(((CROSS(量,-10)) OR (CROSS(量,-20))) AND ((CROSS(WR,-10)) OR (CROSS(WR,-20))) AND CROSS(CLOSE,MA3) AND CROSS(CLOSE,MA4))*0.38,'抓住小牛'),COLORMAGENTA;
作者: (百川)    时间: 2016-8-22 20:44
{抓住小牛预警}
MA3:=MA(CLOSE,5);
MA4:=MA(CLOSE,10);
RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
FASTK:=SMA(RSV,3,2);
K:=SMA(FASTK,9,2);
D:=SMA(K,3,2);
A:=SMA(VOL,3,2);
W11:=-100*(HHV(HHV(A,1),25)-A)/(HHV(HHV(A,1),25)-LLV(LLV(A,1),25));
W22:=-100*(HHV(HHV(A,1),35)-A)/(HHV(HHV(A,1),35)-LLV(LLV(A,1),35));
W33:=-100*(HHV(HHV(A,1),10)-A)/(HHV(HHV(A,1),10)-LLV(LLV(A,1),10));
量:=(W11+W22+W33)/20;
WR:=-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
抓住小牛:((CROSS(量,-10)) OR (CROSS(量,-20))) AND ((CROSS(WR,-10)) OR (CROSS(WR,-20))) AND CROSS(CLOSE,MA3) AND CROSS(CLOSE,MA4);

作者: (百川)    时间: 2016-8-22 20:57
{关注副图}
MA3:=MA(CLOSE,5);
MA4:=MA(CLOSE,10);
RSV:= (CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
FASTK:=SMA(RSV,3,2);
K:=SMA(FASTK,9,2);
D:=SMA(K,3,2);
A:=SMA(VOL,3,2);
W11:=-100*(HHV(HHV(A,1),25)-A)/(HHV(HHV(A,1),25)-LLV(LLV(A,1),25));
W22:=-100*(HHV(HHV(A,1),35)-A)/(HHV(HHV(A,1),35)-LLV(LLV(A,1),35));
W33:=-100*(HHV(HHV(A,1),10)-A)/(HHV(HHV(A,1),10)-LLV(LLV(A,1),10));
量:=(W11+W22+W33)/20;
WR:=-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
关注:CROSS(WR,-80) AND CLOSE>MA4 AND MA4>REF(MA4,2) AND K>REF(K,2),COLORRED;
DRAWTEXT(关注,(CROSS(WR,-80) AND CLOSE>MA4 AND MA4>REF(MA4,2) AND K>REF(K,2))*0.28,'关注'),COLORRED;
作者: (百川)    时间: 2016-8-22 20:58
{关注预警}
MA3:=MA(CLOSE,5);
MA4:=MA(CLOSE,10);
RSV:= (CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
FASTK:=SMA(RSV,3,2);
K:=SMA(FASTK,9,2);
D:=SMA(K,3,2);
A:=SMA(VOL,3,2);
W11:=-100*(HHV(HHV(A,1),25)-A)/(HHV(HHV(A,1),25)-LLV(LLV(A,1),25));
W22:=-100*(HHV(HHV(A,1),35)-A)/(HHV(HHV(A,1),35)-LLV(LLV(A,1),35));
W33:=-100*(HHV(HHV(A,1),10)-A)/(HHV(HHV(A,1),10)-LLV(LLV(A,1),10));
量:=(W11+W22+W33)/20;
WR:=-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
关注:CROSS(WR,-80) AND CLOSE>MA4 AND MA4>REF(MA4,2) AND K>REF(K,2);





欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2