操盘密码线战法——选股条件?

发布网友 发布时间:2022-04-25 14:48

我来回答

4个回答

热心网友 时间:2023-10-09 22:33

{操盘王N:1-100-2;M:1-100-3;}


X:=C-REF(MA(C,20),11);

LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,50,0); 

WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X; 

WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100; 

WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X; 

BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5; 

BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5; 

BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5; 

S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X; 

S2:=EMA(S1,3); 

S3:=ABS(BIAS1-BIAS3); 

SX:=(S1+S3)/2; 

XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50; 

CCC:=XC1+SX; 

ZJZ:=IF( LGL>0 AND CCC<0,200,0)*X; 

LXL:=IF(SX<0 AND C=LLV(C,5) AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,-50,0); 

JBJ:=IF(CCC<0 AND LXL=-50,100,0)*X; 

MA3:= MA(C,3); 

C0:=REF(C,2)*0.865; 

C1:=REF(C,13)*0.772; 

BOT:=MIN(C0,C1); 

HSL:=100*VOL/CAPITAL*X; 

MA13:=MA(C,13)*X; 

CXC:=IF((C-BOT)/C<3/100 AND SUM(HSL,5)/5<1.8,1,0); 

VMC:=IF(CXC>0 AND (LXL<0 OR LGL>0),10,0); 

满仓:IF((VMC>0),60,0),COLORRED; 

半仓:IF(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902)) OR (((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) AND VMC<10 ,50,0); 

V93:=(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) ; 

V90:=((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902)); 

买一点:IF((V93 OR V90),10,0); 

VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3); 

神奇线:= MA((CLOSE-VAR2Q)/VAR2Q,1); 

买二点:IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 AND ((C-REF(C,2))/C)>0.06,20,0); 

YY:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1);

YT:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);

ST:=IF(CROSS(YT,YY),30,0);

VAR5PT:=(HIGH+LOW+CLOSE)/3;

VAR6PT:=(VAR5PT-MA(VAR5PT,14))/(0.015*AVEDEV(VAR5PT,14));

VAR7PT:=(VAR5PT-MA(VAR5PT,85))/(0.015*AVEDEV(VAR5PT,85));

SA:=IF(VAR7PT>=200 AND VAR6PT>=150,10,0);

VAR3QQ:=REF(CLOSE,1);

VAR4QQ:=SMA(MAX(CLOSE-VAR3QQ,0),6,1)/SMA(ABS(CLOSE-VAR3QQ),6,1)*100;

SM:=IF(CROSS(80,VAR4QQ),30,0);

卖点:IF((SM AND (SA OR ST)),30,0);






{买卖点 卖出指标参考 副图}

{N 1 100 2   M 1 100 3}

{以下设置逃顶指标"MACD卖出"}

VAR11:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;

DRAWICON(CROSS(82,VAR11),40,2);

VAR12:=REF(C,1);

VAR13:=SMA(MAX(C-VAR12,0),6,1)/SMA(ABS(C-VAR12),6,1)*100;

DRAWTEXT(CROSS(84,VAR13),50,'S'),COLORGREEN ;


{以下设置"精确卖出"}

{N 1 100 2   M 1 100 3}

VAR2:=1;

VAR3:=REF(HIGH,1)*1.1;

VAR4:=HIGH*1.1;

VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;

VAR6:=REF(LOW,1)*0.9;

VAR7:=LOW*0.9;

VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;

VAR9:=EMA(VAR8,30);

VARA:=EMA(VAR5,30);

VARB:=VARA-2;

VARC:=IF(CLOSE<=VAR9,VARB,VARA);

VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;

买点: STICKLINE(VARC-VARB=0 AND VAR2 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),30,0,2,0),COLORRED;

写字: DRAWTEXT(FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),4),45,'B'),COLORRED;

VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;

卖出线:=SMA(SMA(VARE,3,1),3,1);

买入线:=3*SMA(VARE,3,1)-2*卖出线;

DRAWICON(CROSS(90,买入线),25,2);


{以下设置"买卖点"的买点}

VAR4A:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

VAR5A:=SMA(VAR4A,13,8);

VAR8A:=EMA(C,5);

VAR9A:=MA((LLV(C,9))*1.1,14);

VAR10A:=2*VAR9A-VAR8A-C*0.1;

VAR11A:=IF(((VAR8A-VAR10A)*5>0),(POW((VAR8A-VAR10A)*5,2))/10,(-1*(POW((VAR8A-VAR10A)*

(5),2)))/(10));

VAR12A:=IF((VAR11A>0),VAR11A-0,12);

VAR13A:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100; 

趋势:=CEILING(SMA(VAR5A,13,8)),LINETHICK2,COLOR0000FF;

STICKLINE(FILTER(CROSS(趋势,VAR12A)AND 趋势>REF(C,1) OR 趋势>REF(趋势,1)AND 趋势<35

AND C>REF(C,1),5),0,20,1,0),COLORMAGENTA;

DRAWTEXT(FILTER(CROSS(趋势,VAR12A)AND 趋势>REF(C,1) OR 趋势>REF(趋势,1)AND 趋势<35

AND C>REF(C,1),5),35,'B'),COLORRED;


{以下设置"追涨买入"的买点}

空:=EMA(C,5);

均衡:=EMA(空,5);

中轨:=HHV(MA(H,13),13);

追涨买入:IF(FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11),45,0),COLORWHITE;

DRAWTEXT(FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11),60,'追涨'),COLORWHITE;


{以下设置"筹码突破点"的突破点}

主筹估算:=EMA(WINNER(C)*70,3);

散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);

筹码突破见高卖:CROSS(主筹估算,散筹估算),COLORGREEN;

STICKLINE(CROSS(主筹估算,散筹估算),0,50,0.5,0),COLORGREEN;

DRAWTEXT(CROSS(主筹估算,散筹估算),70,'S'),COLORGREEN;

DRAWTEXT(CROSS(主筹估算,散筹估算),65,' /T+0'),COLORRED;

看看是不是有你要看的结果

追问1、当前K线涨幅大于N%,且当前K线最高价高于最近3根K线的最高价,且当前K线最低点高于前2根K线最低点
2、前第一根K线涨跌幅小于当前第2根K线,且最低点高于前1根K线
3、前第二根K线涨幅大于N%
例如:2021年1月的月线600392,连续3根K线是2020年11月34%,12月的0%,今年1月的81%,就是大小大形态
注:N是可调参数,默认=5
你能写一个这样的选股条件吗

热心网友 时间:2023-10-09 22:34

操盘密码线战法——选

热心网友 时间:2023-10-09 22:34

想法挺好。战略不对。

热心网友 时间:2023-10-09 22:35

你已经得到股票的真谛了,接下去就是准备好银行卡装钱吧
祝你心想事成

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com