最强选股战法推荐:
源码正文:
n:=10{XG51};
f:=25{XG51};
Var1:=HHV(HIGH,9)-LLV(LOW,9){XG51};
Var2:=HHV(HIGH,9)-CLOSE{XG51};
Var3:=CLOSE-LLV(LOW,9){XG51};
Var4:=Var2/Var1*100-70{XG51};
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100{XG51};
Var6:=(high+low+open+close)/4{XG51};
Var7:=SMA(Var3/Var1*100,3,1){XG51};
Var8:=LLV(LOW,34){XG51};
Var9:=Sma(Var7,3,1)-SMA(Var4,9,1){XG51};
VarA:=IF(Var9>100,Var9-100,0){XG51};
VarB:=HHV(HIGH,34){XG51};
VarC:=ema((Var6-Var8)/(VarB-Var8)*100,13){XG51};
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2){XG51};
VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(Abs(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25{XG51};
VarF:=MA(VarE,3){XG51};
Var10:=REF(VarF,1){XG51};
生命线:EMA(VarD,N), colorFFAA00{XG51};
Var11:=(CLOSE-LLV(LOW,F))/(HHV(HIGH,F)-LLV(LOW,F))*100{XG51};
K:=SMA(Var11,3,1){XG51};
D:=SMA(K,3,1){XG51};
红灯亮买: stICKLINE(crOSS(VarC,VarD) AND VarC>VarD AND VarC<18,36,0,1,0), colorred{XG51};
见红:IF(VarC>18,0,IF(CROSS(VarC,VarD) AND VarC>VarD AND VarC<18,37,0)),COLOR3355FF{XG51};
fillrgn(0,25,CROSS(VarC,VarD) AND VarC>VarD AND VarC<18),color0000FF{XG51};
PARTLINE(38,CROSS(VarC,VarD) AND VarC>VarD AND VarC<18),POINTDOT,LINETHICK7,color0000ff{XG51};
PARTLINE(38,CROSS(VarC,VarD) AND VarC>VarD AND VarC<18),POINTDOT,LINETHICK4,colorffffff{XG51};
浪尖: STICKLINE(CROSS(VarD,VarC) AND VarC<VarD AND VarC>60,90,100,12,1),colorblue{XG51};
IF(VarC<79,100,IF(CROSS(VarD,VarC) AND VarD>79 AND VarC>79,70,100)),COLOR00ff00{XG51};
STICKLINE(VarC-VarD>0,VarC,VarD,8,1),COLOR0000FF{XG51};
STICKLINE(VarC-VarD<0,VarC,VarD,8,0),COLOR00FF00{XG51};
kar1:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1){XG51};
kar2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100{XG51};
kar3:=SMA(SMA(kar2,3,1),3,1){XG51};
kar4:=EMA(kar3,5){XG51};
kar5:=LLV(LOW,26){XG51};
kar6:=HHV(HIGH,34){XG51};
kar7:=EMA((CLOSE-kar5)/(kar6-kar5)*4,4)*25{XG51};
kar8:=100-kar1{XG51};
kar9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100{XG51};
kar10:=SMA(kar9,3,1){XG51};
kar11:=SMA(kar10,3,1){XG51};
kar12:=EMA(3*kar10-2*kar11,3){XG51};
kar13:=(-1)*(EMA(kar8,1)-50)+50{XG51};
kar14:=EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6){XG51};
底部:STICKLINE(CROSS(kar4,10) AND kar4>10,50,0,10,0),coloryellow{XG51};
建仓: IF((kar7<10),18,0), colorcc00ff{X_G~5-1_C_N_{};
源码正文:
R1:=ma(CLOSE,1){XG51};
R2:=MA(CLOSE,3){XG51};
R3:=(MA(R2,1)*1){XG51};
R4:=(MA(R2,3)*1){XG51};
DRAWTEXT(crOSS(R3,R4),(LOW-0.1),'B'),colorBDB76B{XG51};
X1:=(C+L+H)/3{XG51};
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1){XG51};
LC:=REF(CLOSE,1){XG51};
rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) * 100){XG51};
FF:=ema(CLOSE,3){XG51};
MA15:=EMA(CLOSE,21){XG51};
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'S'),colorGREEN{XG51};
双线持币:HHV(MA(HIGH,(3)),2),LINETHICK2,color00FF00{XG51};
单线持股:LLV(MA(HIGH,(3)),1),LINETHICK2,color0000FF{XG51};
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20{XG51};
VAR12:=(HIGH+LOW+CLOSE)/3{XG51};
VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)){XG51};
VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)){XG51};
VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0){XG51};
VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15){XG51};
VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100{XG51};
VAR18:=100-ABS(VAR17){XG51};
VAR19:=IF(VAR18<90,VAR18,100){XG51};
VAR1A:=IF(VARE>0,VARE,0){XG51};
VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60{XG51};
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100{XG51};
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,HIGH*1.02,'大笔出货'),LINETHICK1,COLORFFCC66{XG51};
AA1:=AMOUNT/V{XG51};
BB1:=L<AA1*0.9{XG51};
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2{XG51};
DD1:=L<MA(C,5)*0.921{XG51};
EE1:=V<MA(V,5)*1.5{XG51};
老鼠仓:BB1 AND CC1 AND DD1 AND EE1,linethick0{XG51};
DRAWTEXT(老鼠仓,(LOW* 0.99),'老鼠仓'),Color40CCFF{XG51};
A74:=MA(CLOSE,20){XG51};
A75:=(CLOSE > MA(CLOSE,5)){XG51};
A76:=(MA(CLOSE,5) > MA(CLOSE,10)){XG51};
A77:=(CLOSE > MA(CLOSE,10)){XG51};
A78:=(MA(CLOSE,5) > MA(CLOSE,20)){XG51};
A79:=(CLOSE > MA(CLOSE,20)){XG51};
A710:=REF(A74,1){XG51};
A711:=(A74 > A710){XG51};
AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10))) + IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10))){XG51};
DSLX:=(CLOSE / INDEXC){XG51};
DSLX1:=MA(DSLX,5){XG51};
DSLX2:=MA(DSLX,10){XG51};
V1:=MA(vol,5){XG51};
V2:=MA(VOL,10);T := BArslAst(DISPSTATUS=1)+1{XG51};
T := BARSLAST(DISPSTATUS=1)+1{XG51};
HHg := HHV(H, T){XG51};
ddg := LLV(L, T){XG51};
IF BARSTATUS=2 and c<200 and ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THEN
DRAWTEXTABS(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 '),color0000FF,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((CROSS(AVX,1) AND (V1 < V2)) AND (DSLX >= DSLX1)) THEN
DRAWTEXTABS(32,100,'该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 '),color0000FF,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((CROSS(AVX,1) AND (V1 > V2)) AND (DSLX < DSLX1)) THEN
DRAWTEXTABS(20,100,'该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 '),color0000FF,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((CROSS(AVX,1) AND (V1 <= V2)) AND (DSLX < DSLX1)) THEN
DRAWTEXTABS(32,100,'该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 '),color0000FF,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THEN
DRAWTEXTABS(32,100,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 '),color00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX >= DSLX1)) THEN
DRAWTEXTABS(32,100,'该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。 '),color00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((CROSS(1,AVX) AND (V1 >= V2)) AND (DSLX < DSLX1)) THEN
DRAWTEXTABS(32,100,'该股放量下跌,走势明显偏弱,离场观望。 '),color00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((CROSS(1,AVX) AND (V1 < V2)) AND (DSLX < DSLX1)) THEN
DRAWTEXTABS(32,100,'该股缩量下跌,走势偏弱,离场观望。 '),color00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THEN
DRAWTEXTABS(32,100,'该股形态良好,强势明显,量能充足,可以继续持有。 '),color00FFFF,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)) THEN
DRAWTEXTABS(32,100,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 '),color00FFFF,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)) THEN
DRAWTEXTABS(32,100,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 '),color00FFFF,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)) THEN
DRAWTEXTABS(32,100,'该股走势趋弱,量能不足,减持大部分筹码。 '),color00FFFF,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THEN
DRAWTEXTABS(32,100,'该股形态不佳,注意成交量的变化,但目前不适合参与。 '),COLOR00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)) THEN
DRAWTEXTABS(32,100,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 '),COLOR00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)) THEN
DRAWTEXTABS(32,100,'该股有走强迹象,但量能不足,趋势不明,不适合操作。 '),COLOR00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c<200 and ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)) THEN
DRAWTEXTABS(32,100,'该股走势太弱,没有参与价值。 '),COLOR00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (CROSS(AVX,1) AND (V1 >= V2)) THEN
DRAWTEXTABS(32,100,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, '),color0000FF,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (CROSS(AVX,1) AND (V1 >= V2)) THEN
DRAWTEXTABS(32,100,'如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 '),color0000FF,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (CROSS(AVX,1) AND (V1 < V2)) THEN
DRAWTEXTABS(32,100,'大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, '),color0000FF,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (CROSS(AVX,1) AND (V1 < V2)) THEN
DRAWTEXTABS(32,100,'可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 '),color0000FF,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (CROSS(1,AVX) AND (V1 >= V2)) THEN
DRAWTEXTABS(32,100,'大盘形态走坏,重仓者可以减去大部分仓位。 '),color00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (CROSS(1,AVX) AND (V1 < V2)) THEN
DRAWTEXTABS(32,100,'大盘缩量调整,注意风险,短线清仓观望。 '),color00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) THEN
DRAWTEXTABS(32,100,'大盘走势良好,量能理想,可以继续持有强势股。 '),color00FFFF,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) THEN
DRAWTEXTABS(32,100,'大盘形态良好,但量能稍显不足,随时准备减仓。 '),color00FFFF,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) THEN
DRAWTEXTABS(32,100,'大盘趋势不明,注意成交量变化,目前不适宜进场。 '),COLOR00FF00,LINETHICK3{XG51};
IF BARSTATUS=2 and c>200 and (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) THEN
DRAWTEXTABS(32,100,'大盘趋势向下,量能萎缩,不适合进场。 '),COLOR00FF00,LINETHICK3{XG51};
PT := REF(HIGH,1)-REF(LOW,1){XG51};
重心:=(HIGH + LOW + CLOSE)/3{XG51};
压力Ⅰ:= 2*重心-LOW{XG51};
压力Ⅱ:= 重心 + PT{XG51};
支撑Ⅰ:= 2*重心-HIGH{XG51};
支撑Ⅱ:= 重心 - PT{XG51};
DRAWTEXTABS(100,13,' 《逆势操作》'),ColorFFFFFF{XG51};
DRAWTEXTABS(175,13,' 重心:'+重心),Coloryellow{XG51};
DRAWTEXTABS(100,32,' 支 撑'),ColorFFFFFF{XG51};
DRAWTEXTABS(100,49,' '+支撑Ⅰ),ColorFFFFFF{XG51};
DRAWTEXTABS(100,67,' '+支撑Ⅱ),ColorFFFFFF{XG51};
DRAWTEXTABS(100,32,' 压 力'),ColorFFFFFF{XG51};
DRAWTEXTABS(100,49,' '+压力Ⅰ),ColorFFFFFF{XG51};
DRAWTEXTABS(100,67,' '+压力Ⅱ),ColorFFFFFF{XG51};
DRAWTEXTABS(100,10,'│'),Color00FFFF{XG51};
DRAWTEXTABS(100,22,'│'),Color00FFFF{XG51};
DRAWTEXTABS(100,34,'│'),Color00FFFF{XG51};
DRAWTEXTABS(100,46,'│'),Color00FFFF{XG51};
DRAWTEXTABS(100,58,'│'),Color00FFFF{XG51};
DRAWTEXTABS(100,70,'│'),Color00FFFF{XG51};
DRAWTEXTABS(243,10,'│'),Color00FFFF{XG51};
DRAWTEXTABS(243,22,'│'),Color00FFFF{XG51};
DRAWTEXTABS(243,34,'│'),Color00FFFF{XG51};
DRAWTEXTABS(243,46,'│'),Color00FFFF{XG51};
DRAWTEXTABS(243,58,'│'),Color00FFFF{XG51};
DRAWTEXTABS(243,70,'│'),Color00FFFF{XG51};
DRAWTEXTABS(171,30,'│'),Color00FFFF{XG51};
DRAWTEXTABS(171,34,'│'),Color00FFFF{XG51};
DRAWTEXTABS(171,46,'│'),Color00FFFF{XG51};
DRAWTEXTABS(171,58,'│'),Color00FFFF{XG51};
DRAWTEXTABS(171,70,'│'),Color00FFFF{XG51};
DRAWTEXTABS(105,5,'────────────'),Color00FFFF{XG51};
DRAWTEXTABS(105,25,'────────────'),Color00FFFF{XG51};
DRAWTEXTABS(105,42,'────────────'),Color00FFFF{XG51};
DRAWTEXTABS(105,59,'────────────'),Color00FFFF{XG51};
DRAWTEXTABS(105,76,'────────────'),Color00FFFF{X=G*5=1=C=N={};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7