首页 > 股票公式 > 股票箱体整理指标 带源码

股票箱体整理指标 带源码

资料语言:简体中文

下载次数:

资料类别:股票公式

资料大小:3.87 KB

更新时间:2019-06-14 17:30:19

相关内容:箱体震荡

  • 软件介绍

  • 网友评论
  • 下载地址

先给大家普及下股票箱体震荡整理的相关知识:

箱体震荡就是在一个范围内价格上下波动,不会大涨也不会大跌,在一个箱体内震荡,一段时间的K线图就像一个长方体的箱子。股票价格一段时间在一定范围内震荡,上为箱顶,下为箱底。

箱体本身不能作为起涨信号,一定要等到股价放量突破上边线的时候,才能买入。


    箱体指标截图:


    箱体指标截图.png


    箱体公式截图.png


    箱体指标源码:


    X1:=20;

    DRAWTEXT_FIX(1,0.00,0.1.00,0,'小白公式提供,更多公式登陆 157110.COM 下载'),COLORRED;

    HH:=FINDHIGH(H,0,X1,1);

    LL:=FINDLOW(L,0,X1,1);

    HH1:=FINDHIGH(H,20,X1,1);

    LL1:=FINDLOW(L,20,X1,1);

    HH2:=FINDHIGH(H,40,X1,1);

    LL2:=FINDLOW(L,40,X1,1);

    HH3:=FINDHIGH(H,60,X1,1);

    LL3:=FINDLOW(L,60,X1,1);

    HH4:=FINDHIGH(H,80,X1,1);

    LL4:=FINDLOW(L,80,X1,1);

    HH5:=FINDHIGH(H,100,X1,1);

    LL5:=FINDLOW(L,100,X1,1);

    STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,CONST(HH),CONST(HH),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,CONST(LL),CONST(LL),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,(CONST(HH)+CONST(LL))/2,(CONST(HH)+CONST(LL))/2,8,-1)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT=20 OR CURRBARSCOUNT=1 ,CONST(HH),CONST(LL),0,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21 ,CONST(HH1),CONST(HH1),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21,CONST(LL1),CONST(LL1),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21 ,(CONST(HH1)+CONST(LL1))/2,(CONST(HH1)+CONST(LL1))/2,8,-1)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT=40 OR CURRBARSCOUNT=21 ,CONST(HH1),CONST(LL1),0,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41,CONST(HH2),CONST(HH2),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41,CONST(LL2),CONST(LL2),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41 ,(CONST(HH2)+CONST(LL2))/2,(CONST(HH2)+CONST(LL2))/2,8,-1)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT=60 OR CURRBARSCOUNT=41,CONST(HH2),CONST(LL2),0,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61,CONST(HH3),CONST(HH3),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61,CONST(LL3),CONST(LL3),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61 ,(CONST(HH3)+CONST(LL3))/2,(CONST(HH3)+CONST(LL3))/2,8,-1)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT=80 OR CURRBARSCOUNT=61,CONST(HH3),CONST(LL3),0,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81,CONST(HH4),CONST(HH4),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81,CONST(LL4),CONST(LL4),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81 ,(CONST(HH4)+CONST(LL4))/2,(CONST(HH4)+CONST(LL4))/2,8,-1)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT=100 OR CURRBARSCOUNT=81,CONST(HH4),CONST(LL4),0,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101,CONST(HH5),CONST(HH5),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101,CONST(LL5),CONST(LL5),8,0)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101 ,(CONST(HH5)+CONST(LL5))/2,(CONST(HH5)+CONST(LL5))/2,8,-1)COLORYELLOW;

    STICKLINE(CURRBARSCOUNT=120 OR CURRBARSCOUNT=101,CONST(HH5),CONST(LL5),0,0)COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=20,0.9,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=20,0.9,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=40,0.7,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH1,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=40,0.7,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL1,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=60,0.55,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH2,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=60,0.55,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL2,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=80,0.38,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH3,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=80,0.38,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL3,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=100,0.22,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH4,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=100,0.22,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL4,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=120,0.101,0.005,0,STRCAT(STRCAT('最高价:',VAR2STR(HH5,2)),'元'))COLORYELLOW;

    DRAWTEXT_FIX(CURRBARSCOUNT=120,0.101,1.9,0,STRCAT(STRCAT('最低价:',VAR2STR(LL5,2)),'元'))COLORYELLOW;


    相关资料
    • 股票箱体整理指标 带源码  下载地址

    猜你喜欢
    • 热门标签