(李雨清的指标+选股公式源码)
李雨青的指标
R1:=EMA(HHV(HIGH,500),21);
R2:=EMA(HHV(HIGH,250),21);
R3:=EMA(HHV(HIGH,90),21);
R4:=EMA(LLV(LOW,500),21);
R5:=EMA(LLV(LOW,250),21);
R6:=EMA(LLV(LOW,90),21);
R7:=EMA((R4*0.96+R5*0.96+R6*0.96+R1*0.558+R2*0.558+R3*0.558)/6,21);
R8:=EMA((R4*1.25+R5*1.23+R6*1.2+R1*0.55+R2*0.55+R3*0.65)/6,21);
R9:=EMA((R4*1.3+R5*1.3+R6*1.3+R1*0.68+R2*0.68+R3*0.68)/6,21);
RA:=EMA((R7*3+R8*2+R9)/6*1.738,21);
RB:=REF(LOW,1);
RC:=SMA(ABS(LOW-RB),3,1)/SMA(MAX(LOW-RB,0),3,1)*100;
RD:=EMA(IF(CLOSE*1.35<=RA,RC*10,RC/10),3);
RE:=LLV(LOW,30);
RF:=HHV(RD,30);
R10:=IF(MA(CLOSE,58),1,0);
主力建仓:EMA(IF(LOW<=RE,(RD+RF*2)/2,0),3)/618*R10,COLORSTICK;
V1:=MA(V,5);
V2:=MA(V,10);
W1:=REF(ABS(V1-V2)/V2,1) ;
W9:=W1<0.05 AND REF(C,1)>REF(O,2);
W2:=REF(C,2)>REF(O,3);
W3:=C<O;
W4:=REF(V,2)<REF(V,1);
搭下阳:W9 AND W2 AND W3 AND W4 AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1);
W5:=ABS(V1-V2)/V2<0.05 AND V2>V1;
W6:=W5 AND C<O;
W7:=REF(W5,1) AND C<O;
W8:=REF(V,1)<V;
上叉阴:W5 AND W6 AND W7 AND W8 AND MA(C,5)<REF(MA(C,5),1) AND MA(C,10)<REF(MA(C,10),1) AND MA(C,20)<REF(MA(C,20),1);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
YHD:=COUNT(REF(MA10<MA20,3),16)>=15 AND COUNT(MA5>MA10,3)>2;
小金角:YHD AND CROSS(MA10,MA20)AND MA20>REF(MA20,1);
MA62:=MA(C,62);
V3:=V>REF(V,1);
大金角:CROSS(MA20,MA62)AND MA62>REF(MA62,1) AND COUNT(V3,3)>2;
MA4:=MA(C,4);
L1:=V>REF(V,1);
V4:=COUNT(CROSS(MA10,MA20),15);
V5:=C<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2);
V6:=V4=1 AND V5 AND MA10>C AND C>MA20 AND SLOPE(MA20,4)>0 AND SLOPE(MA10,3)>0;
小金边:REF(V6,2)=1 AND MA4>REF(MA4,1) AND L1;
V7:=V>REF(V,1);
DJJ:=CROSS(MA20,MA62)AND MA62>REF(MA62,1) AND COUNT(V7,3)>2;
大金边:COUNT(DJJ,30)>0 AND C<MA20 AND C>MA62 AND MA62>REF(MA62,1);
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA), COLORSTICK,LINETHICK2;
MACD骑墙: DIF>=0 AND CROSS(DIF,DEA) AND V/MA(V,5)>1.5;
MA60:=MA(C,60);
半山水库:CROSS(MA20,MA60) AND MA60>REF(MA60,1);
A1:=BARSLAST(REF(CROSS(DIF,DEA),1) AND MACD<0);
隔谷底背:REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA) AND MACD>0;
W10:=MA10>REF(MA10,1);
W11:=MA20>=REF(MA20,1);
W12:=V>MA(V,5);
金足底:(MA4<MA20 AND MA4>=REF(MA4,1) AND C>MA4 AND W10 AND W11 AND W12);
M5:=MA(CLOSE,5);
M4:=MA(CLOSE,4);
MA3:=MA(CLOSE,3);
VOL5:=MA(VOL,5);
雨青抄底:M5>M4 AND SLOPE(M5,5)<0 AND SLOPE(M4,4)<0 AND SLOPE(MA3,3) AND REF(M4>MA3,1) AND CROSS(MA3,M4) AND VOL>VOL5;
VAR1:=SLOPE(MA20,3)>0;
VAR2:=ABS(SLOPE(MA62,3))<0.19;
VAR3:=SLOPE(MA62,3)>REF(SLOPE(MA62,3),1);
V8:=MA62<MA20;
V9:=COUNT(CROSS(MA20,MA62),10);
海豚欲张嘴:C>MA62 AND C<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND VAR1 AND VAR2 AND VAR3 AND V8 AND V9=1;
A4:=MA(C,4);
A20:=MA(C,20);
A62:=MA(C,62);
海豚张嘴1:CROSS(A20,A62)AND A20>REF(A20,1)AND COUNT(A4/A20>1.05,10)>5 AND ABS(A4/A20-1)<0.02 AND V/MA(V,5)>1.5;
AR1:=EMA(CLOSE,12)-EMA(CLOSE,26);
AR2:=EMA(AR1,9);
AR3:=AR1-AR2;
AR4:=MA(CLOSE,4);
AR5:=MA(CLOSE,20);
AR6:=MA(CLOSE,62);
AR7:=LLVBARS(AR4,4);
AR8:=LLVBARS(AR6,30);
AR9:=COUNT(AR7=1,10);
海豚张嘴2:3<AR8<29 AND AR7=1 AND AR4>AR5 AND AR5>AR6 AND AR3>-0.022 AND AR9=1 AND SLOPE(AR6,5)<0.035;
李雨青的选股公式源码
1.小金角技巧
即10日均价线与20日均价线走出圆弧底,10日均价线上叉20日均价线,并且20日
均价线也是要勾头向上的,股价在交叉点上方附近,甚至交叉点下方,10日均价
线与20日均价线向上开口角度越陡,后势上涨的潜力越大。
mA5:=MA(C,5);
mA10:=MA(C,10);
mA20:=MA(C,20);
yhd:=COUNT(ref(mA10<mA20,3),16)>=15 and count(mA5>mA10,3)>2;
xg:yhd AND CROSS(mA10,mA20)AND mA20>REF(mA20,1);
2.大金角技巧:
就是20日均价线向上,上叉62日均价线,并且62日均价线也是要勾头向上的,这
样20日和62日都是开口向上的,其是底部阳量放大的那些股票,并且开的角度越陡
后期就越猛。
mA20:=MA(C,20);
mA62:=MA(C,62);
v1:=v>ref(v,1);
CROSS(mA20,mA62)AND mA62>REF(mA62,1) and count(v1,3)>2;
3.小金边技巧
10日与20日均价线均向上运行,二者距离相差不大角度越陡越好;股价从10日线
上方跌破10日线,接近20日均价线,最好4日线也跌破10日线;62日与133日均价
线,没有反作用力最好;随后产生的成交阳量越大越好;MACD指标图形为空中加
油技巧最好.小金边技巧第一次出现是最有效的,可重点寻找那些股价回落到小金
边里面,4日线与20日线接近的股票小金边技巧(4死叉10配62)选股。
ma4:=ma(c,4);
ma10:=ma(close,10);
ma20:=ma(close,20);
l1:=v>ref(v,1);
v1:=count(cross(ma10,ma20),15);
v2:=c<ref(close,1) and ref(close,1)<ref(close,2);
xjb:v1=1 and v2 and ma10>c and c>ma20 and SLOPE(MA20,4)>0 AND SLOPE(MA10,3)>0;
xg:ref(xjb,2)=1 and ma4>ref(ma4,1) and l1
4.大金边技巧:
当股价出现金角以后,股价会经过一段时间的上涨,股价第一次回落,跌破20日
线,跌到20日和62日夹角里就是大金边!
mA20:=MA(C,20);
mA62:=MA(C,62);
v1:=v>ref(v,1);
djj:=CROSS(mA20,mA62)AND mA62>REF(mA62,1) and count(v1,3)>2;
xg:count(djj,30)>0 and C<mA20 AND C>mA62 AND mA62>REF(mA62,1)
5.MACD骑墙技巧:
股价刚上涨时如DIF线已跨上0轴,而MACD线(或称DEA线)即将跨上但还未跨上0轴时,一旦成交放量,则上涨有望加速。
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
DIF>=0 AND cross(dif,dea) AND V/MA(V,5)>1.5;
6.半山水库技巧:
当20线上穿60线,并且60线的趋势向上,则该均线粘合点为买入点
MA20:=MA(C,20);
MA60:=MA(C,60);
xg:cross(ma20,ma60) and ma60>ref(ma60,1)
7.隔谷底背离技巧:
当股价第一次下跌到一定程度时,然后反弹拉升,上升到一定程度时,又开始第
二次下跌,并且第二次下跌比第一次更深;同时,第一次下跌时最低点对应的
MACD指标为绿色柱状,而第二次下跌时最低点对应的MACD指标为红色柱状。这样
,同时满足以上四个条件,第二次下跌时的最低点即为买入的最佳点
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA), COLORSTICK,LINETHICK2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1) and macd<0);
底背离:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS
(DIFF,DEA) and macd>0;
8.海豚张嘴技巧:
20日线上穿62日线,20日线趋势向上;且4日线在经过一个小幅拉高回调盘整后,
于20日,62日粘合;并在交叉点上放量,且超过5日甚至10均量;后市就容易形成
多头排列,快速拉升。 {股票公式www.fxjgsw.com}
网上已有现成的,下面是两个,请选用
一,
MA62:=MA(CLOSE,62);
MA20:=MA(CLOSE,20);
var1:=slope(ma20,3)>0;
var2:=abs(slope(ma62,3))<0.19;
var3:=slope(ma62,3)>ref(slope(ma62,3),1);
v1:=ma62<ma20;
v2:=count(cross(ma20,ma62),10);
|