涨停回调后站稳薛氏白线的选股指标
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

解答:

 网友求助:

条件是股价涨停后,第二天跳空高开涨停,必须是跳空高开,不补缺口,接下来回调盘整到薛氏通道的指标的SUP线时起稳时的选股指标,下面是源码,谢谢

 


VAR2:=CLOSE*VOL;
VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)
+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);
VAR4:=EMA(CLOSE,9);
SUP:1.06*VAR3,PRECIS2;
SDN:VAR3*0.94,PRECIS2;
LUP:EMA(VAR4*1.14,5),PRECIS2;
LDN:EMA(VAR4*0.86,5),PRECIS2;
买1:C>O AND REF(C,1)<LDN AND C>LDN,PRECIS0,LINETHICK0;DRAWICON(买1,LDN,10);
买2:O<REF(C,1) AND C>REF(O,1) AND REF(C,1)<REF(O,1) AND REF(((CLOSE/REF(CLOSE,1)-1)*100)<(-3),1) AND REF(C,1)<=SDN AND C>SDN,PRECIS0,LINETHICK0;DRAWICON(买2,SDN,10);
买3:O>SDN AND LOW<LDN,PRECIS0,LINETHICK0;DRAWICON(买3,LDN,10);
买4:C>O AND C<SDN AND REF(count(C<O,3)=3,1) AND (REF(CLOSE,4)-REF(CLOSE,1))>(LUP-SDN),PRECIS0,LINETHICK0;DRAWICON(买4,C,10);
 

 
解答如下:
VAR2:=CLOSE*VOL;
VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);VAR4:=EMA(CLOSE,9);
SUP:1.06*VAR3;
AA:=COUNT(C/REF(C,1)>1.095 AND C=H,2)=2 AND L>REF(H,1);
TT:=BARSLAST(AA);
XG:LLV(C,TT)>SUP AND HHV(C,TT)<REF(C,TT)*1.1 AND C<SUP*1.03 AND TT<=5;
 

 


选股票看什么指标最好 >股票指标网