0%

波段抓牛副图及选股

今天分享的是:波段抓牛,公式为副图及选股,公式无未来函数,信号比较频,请与其它指标印证使用。

副图源码:

SG1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
SG2:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
SG3:=BARSLAST(CROSS(30,SG1))<2 AND BARSLAST(CROSS(SG1,50))<2;
SG4:=BARSLAST(CROSS(SG2,SG1))<2 AND SG1>SG2;
SG5:=SG1>60 AND SG2>70;
SG6:=BARSLAST(CROSS(50,SG1))<3 AND BARSLAST(CROSS(SG1,50))<3;
SG7:=BARSLAST(CROSS(SG2,SG1))<2 AND SG1>SG2;
SG8:=SG6 AND SG7 AND MA(C,60)>REF(MA(C,60),1);
SG9:=MA(C,10)>REF(MA(C,10),1) AND C>O AND REF(C<O,1);
SG0:=REF(C<O,2) AND MA(C,5)>REF(MA(C,5),1) AND C/REF(C,1)>1.03 AND H/C<1.01;
波段抓牛:=SG3 AND SG4 AND SG5 OR SG8 AND SG9 AND SG0;
DRAWTEXT_FIX(C>O,0.01,1.0,0,’SGZBK.TOP’),COLORWHITE;
STICKLINE(波段抓牛,45,0,4,0),COLORRED;
DRAWTEXT(波段抓牛,22,’—波段抓牛’),COLORRED;
STICKLINE(波段抓牛,40,25,1,0),COLORYELLOW;
STICKLINE(波段抓牛,25,10,2,0),COLOR00FF00;
STICKLINE(波段抓牛,10,0,2,0),COLORBLUE;
STICKLINE(波段抓牛,25,15,0.5,0),COLORRED;
STICKLINE(波段抓牛,15,6,1,0),COLOR00FF00;
STICKLINE(波段抓牛,6,0,2,0),COLORBLUE;

选股源码:

SG1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
SG2:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
SG3:=BARSLAST(CROSS(30,SG1))<2 AND BARSLAST(CROSS(SG1,50))<2;
SG4:=BARSLAST(CROSS(SG2,SG1))<2 AND SG1>SG2;
SG5:=SG1>60 AND SG2>70;
SG6:=BARSLAST(CROSS(50,SG1))<3 AND BARSLAST(CROSS(SG1,50))<3;
SG7:=BARSLAST(CROSS(SG2,SG1))<2 AND SG1>SG2;
SG8:=SG6 AND SG7 AND MA(C,60)>REF(MA(C,60),1);
SG9:=MA(C,10)>REF(MA(C,10),1) AND C>O AND REF(C<O,1);
SG0:=REF(C<O,2) AND MA(C,5)>REF(MA(C,5),1) AND C/REF(C,1)>1.03 AND H/C<1.01;
波段抓牛:SG3 AND SG4 AND SG5 OR SG8 AND SG9 AND SG0;

指标仅供参考,不作投资依据。

-------------本文结束感谢您的阅读-------------
您的支持,是我创作的动力,感谢!
  • 本文作者: shuige
  • 本文链接: http://sgzbk.top/posts/54910/
  • 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!