您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

为什么不变色 [文华财经]

  • 咨询内容:  
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+2*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+2*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+3*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+3*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+4*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+4*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+5*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+5*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+6*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+6*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+7*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+7*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+8*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+8*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+9*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+9*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+10*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+10*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+11*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+11*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+12*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+12*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+13*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+13*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+14*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+14*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+15*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+15*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+16*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+16*RR,9999),NULL),COLORRED,COLORGREEN);

     

     来源:程序化99

  • 文华技术人员:  
    DRAWCOLORLINE(C>=昨天减1,昨天减1,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减2,昨天减2,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减3,昨天减3,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减4,昨天减4,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减5,昨天减5,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减6,昨天减6,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减7,昨天减7,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减8,昨天减8,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减9,昨天减9,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减10,昨天减10,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减11,昨天减11,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减12,昨天减12,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减13,昨天减13,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减14,昨天减14,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减15,昨天减15,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减16,昨天减16,COLORRED,COLORGREEN);

     

     来源: WWW.CXH99.COM

  • 文华客服:  提供完整源码给您分析看下

     

  • 网友回复:  


    清风18002350335:C,COLORYELLOW;
    轻仓建仓:MA(L,3),COLORCYAN,LINETHICK3;
    建底仓:MA(L,6),COLORWHITE,LINETHICK3;
    趋势加仓:MA(L,18),COLORYELLOW,LINETHICK3;
    波段加仓:MA(L,108),COLORRED,LINETHICK3;
    止盈:MA(H,3),COLORGREEN,LINETHICK3;
    建仓:MA(H,6),COLORWHITE,LINETHICK3;
    加仓:MA(H,18),COLORYELLOW,LINETHICK3;
    持仓:MA(H,108),COLORRED,LINETHICK3;
    A:BACKSET(ISLASTBAR,10),NODRAW;
    FILLRGN(轻仓建仓>建底仓,止盈,建仓,COLORRED);
    FILLRGN(止盈<建仓,止盈,建仓,COLORGREEN);

    FILLRGN(轻仓建仓>建底仓,轻仓建仓,建底仓,COLORRED);
    FILLRGN(止盈<建仓,轻仓建仓,建底仓,COLORGREEN);

    DRAWTEXT(轻仓建仓>建底仓||止盈>REF(止盈,1)&&轻仓建仓>建底仓&&C>建底仓,建底仓,'仓',ALIGN0,COLORRED,FONTSIZE20;
    DRAWTEXT(止盈<建仓||轻仓建仓<REF(轻仓建仓,1)&&C<建仓,建仓,'仓',ALIGN0,COLORGREEN,FONTSIZE20;

    FILLRGN(建底仓>趋势加仓&&C>趋势加仓,加仓,趋势加仓,COLORYELLOW);
    FILLRGN(建仓<加仓,加仓,趋势加仓,COLORGREEN);
    DRAWTEXT(建底仓>趋势加仓,趋势加仓,'段持仓',ALIGN0,COLORRED,FONTSIZE20;
    DRAWTEXT(建仓<加仓&&止盈<建仓&&C<加仓,加仓,'段空仓',ALIGN0,COLORGREEN,FONTSIZE20;
    IF(A,REFX1(REF(轻仓建仓,DAYBARPOS),9999),NULL),COLORCYAN,LINETHICK5;
    IF(A,REFX1(REF(建底仓,DAYBARPOS),9999),NULL),COLORWHITE,LINETHICK5;
    IF(A,REFX1(REF(趋势加仓,DAYBARPOS),9999),NULL),COLORYELLOW,LINETHICK5;
    IF(A,REFX1(REF(波段加仓,DAYBARPOS),9999),NULL),COLORRED,LINETHICK5;
    IF(A,REFX1(REF(止盈,DAYBARPOS),9999),NULL),COLORGREEN,LINETHICK5;
    IF(A,REFX1(REF(建仓,DAYBARPOS),9999),NULL),COLORWHITE,LINETHICK5;
    IF(A,REFX1(REF(加仓,DAYBARPOS),9999),NULL),COLORYELLOW,LINETHICK5;
    IF(A,REFX1(REF(持仓,DAYBARPOS),9999),NULL),COLORRED,LINETHICK5;
    DRAWTEXT(ISLASTBAR,IF(A,REFX1(REF(轻仓建仓,DAYBARPOS),9999),NULL),'仓建仓趋势线突破进跌破出',ALIGN2,COLORWHITE,FONTSIZE20;
    DRAWTEXT(ISLASTBAR,IF(A,REFX1(REF(建底仓,DAYBARPOS),9999),NULL),'底仓趋势线突破进跌破出',ALIGN2,COLORWHITE,FONTSIZE20;
    DRAWTEXT(ISLASTBAR,IF(A,REFX1(REF(趋势加仓,DAYBARPOS),9999),NULL),'势加仓趋势线突破进跌破出',ALIGN2,COLORYELLOW,FONTSIZE20;
    DRAWTEXT(ISLASTBAR,IF(A,REFX1(REF(波段加仓,DAYBARPOS),9999),NULL),'段加仓趋势线突破进跌破出',ALIGN2,COLORRED,FONTSIZE20;
    DRAWTEXT(ISLASTBAR,IF(A,REFX1(REF(止盈,DAYBARPOS),9999),NULL),'盈趋势线突破进跌破出',ALIGN2,COLORGREEN,FONTSIZE20;
    DRAWTEXT(ISLASTBAR,IF(A,REFX1(REF(建仓,DAYBARPOS),9999),NULL),'仓趋势线突破进跌破出',ALIGN2,COLORWHITE,FONTSIZE20;
    DRAWTEXT(ISLASTBAR,IF(A,REFX1(REF(加仓,DAYBARPOS),9999),NULL),'仓趋势线突破进跌破出',ALIGN2,COLORYELLOW,FONTSIZE20;
    DRAWTEXT(ISLASTBAR,IF(A,REFX1(REF(持仓,DAYBARPOS),9999),NULL),'仓趋势线突破进跌破出',ALIGN2,COLORRED,FONTSIZE20;
    突破建仓:建底仓,COLORWHITE,NODRAW;
    突破加仓:趋势加仓,COLORYELLOW,NODRAW;
    突破波段持股:波段加仓,COLORRED,NODRAW;
    跌破止盈高抛:止盈,COLORBLUE,NODRAW;
    跌破减仓:建仓,COLORGREEN,NODRAW;
    跌破波段减仓:加仓,COLORGREEN,NODRAW;
    跌破波段空仓:持仓,COLORGREEN,NODRAW;
    突破做多:建底仓,COLORYELLOW,NODRAW;
    跌破做空:建仓,COLORGREEN,NODRAW;
    FILLRGN((轻仓建仓>建底仓),轻仓建仓,建底仓,COLORRED),NODRAW;
    FILLRGN((轻仓建仓<建底仓),轻仓建仓,建底仓,COLORGREEN),NODRAW;
    昨天最高价:IF(A,REFX1(REF(H,DAYBARPOS),9999),NULL),COLORBLUE,LINETHICK3;
    昨天最低价:IF(A,REFX1(REF(L,DAYBARPOS),9999),NULL),COLORBLUE,LINETHICK3;
    DRAWSL(CROSS(A,0.5),REFX1(昨天最低价,1000),0,1,2,COLORBLUE),NODRAW;
    DRAWTEXT(ISLASTBAR,昨天最低价,'天最低价趋势线突破进跌破出',ALIGN2,COLORBLUE,FONTSIZE20;
    DRAWSL(CROSS(A,0.5),REFX1(昨天最高价,1000),0,1,2,COLORBLUE),NODRAW;
    DRAWTEXT(ISLASTBAR,昨天最高价,'天最高价趋势线突破进跌破出',ALIGN2,COLORBLUE,FONTSIZE20;
    昨天开盘价:IF(A,REFX1(REF(O,DAYBARPOS),9999),NULL),COLORBLUE,LINETHICK3;
    DRAWSL(CROSS(A,0.5),REFX1(昨天开盘价,1000),0,1,2,COLORBLUE),NODRAW,COLORBLUE,LINETHICK3;
    DRAWTEXT(ISLASTBAR,昨天开盘价,'天开盘价趋势线突破进跌破出',COLORBLUE,ALIGN2,FONTSIZE20;
    昨天收盘价:IF(A,REFX1(REF(C,DAYBARPOS),9999),NULL),COLORBLUE,LINETHICK3;
    DRAWSL(CROSS(A,0.5),REFX1(昨天收盘价,1000),0,1,2,COLORBLUE),COLORBLUE,LINETHICK3;
    DRAWTEXT(ISLASTBAR,昨天收盘价,'天收盘价趋势线突破进跌破出',COLORBLUE,ALIGN2,FONTSIZE20;
    PLAYSOUND(止盈< REF(止盈,DAYBARPOS)&&REF(止盈,DAYBARPOS)<REF(REF(止盈,DAYBARPOS),DAYBARPOS),'';
    DRAWICON(止盈< REF(止盈,DAYBARPOS)&&REF(止盈,DAYBARPOS)<REF(REF(止盈,DAYBARPOS),DAYBARPOS),H,'CO86';
    PLAYSOUND(轻仓建仓>REF(轻仓建仓,DAYBARPOS)&&REF(轻仓建仓,DAYBARPOS)>REF(REF(轻仓建仓,DAYBARPOS),DAYBARPOS),'';
    DRAWICON(轻仓建仓>REF(轻仓建仓,DAYBARPOS)&&REF(轻仓建仓,DAYBARPOS)>REF(REF(轻仓建仓,DAYBARPOS),DAYBARPOS),L,'CO79';
    PLAYSOUND(止盈< REF(止盈,DAYBARPOS)&&REF(止盈,DAYBARPOS)<REF(REF(止盈,DAYBARPOS),DAYBARPOS),'';
    DRAWICON(止盈< REF(止盈,DAYBARPOS)&&REF(止盈,DAYBARPOS)<REF(REF(止盈,DAYBARPOS),DAYBARPOS),H,'CO86';
    PLAYSOUND(轻仓建仓>REF(轻仓建仓,DAYBARPOS)&&REF(轻仓建仓,DAYBARPOS)>REF(REF(轻仓建仓,DAYBARPOS),DAYBARPOS),'';
    DRAWICON(轻仓建仓>REF(轻仓建仓,DAYBARPOS)&&REF(轻仓建仓,DAYBARPOS)>REF(REF(轻仓建仓,DAYBARPOS),DAYBARPOS),L,'CO79';
    FILLRGN(止盈/建仓<1&&轻仓建仓/建底仓<1,轻仓建仓,建底仓,COLORGREEN);
    FILLRGN(止盈/建仓<1&&轻仓建仓/建底仓<1,止盈,建仓,COLORGREEN);
    FILLRGN(止盈/建仓>1&&轻仓建仓/建底仓>1,轻仓建仓,建底仓,COLORRED);
    FILLRGN(止盈/建仓>1&&轻仓建仓/建底仓>1,止盈,建仓,COLORRED);
    FILLRGN(止盈/建仓>1&&止盈/建仓<1.0003,止盈,建仓,COLORRED);
    FILLRGN((轻仓建仓/建底仓>1&&轻仓建仓/建底仓<1.0003)||(轻仓建仓/建底仓>1&&轻仓建仓/建底仓<1.0003),止盈,建仓,COLORYELLOW);
    FILLRGN(轻仓建仓=建底仓,止盈,建仓,COLORGREEN);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓,轻仓建仓,建底仓,COLORRED);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&CROSSDOWN(C,止盈),止盈,建仓,COLORYELLOW);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&CROSSDOWN(C,建仓),止盈,建仓,COLORYELLOW);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&CROSSDOWN(C,加仓),止盈,建仓,COLORYELLOW);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&CROSSDOWN(C,持仓),止盈,建仓,COLORYELLOW);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&C<止盈,止盈,H,COLORBLUE);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&C<止盈&&CROSSDOWN(C,止盈),止盈,建仓,COLORGREEN);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&C<止盈&&CROSSDOWN(C,建仓),止盈,建仓,COLORGREEN);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&C<止盈&&CROSSDOWN(C,加仓),止盈,建仓,COLORGREEN);
    FILLRGN(C>轻仓建仓&&轻仓建仓>建底仓&&C<止盈&&CROSSDOWN(C,持仓),止盈,建仓,COLORGREEN);
    FILLRGN(C>轻仓建仓&&轻仓建仓<建底仓,轻仓建仓,建底仓,COLORBLUE);
    FILLRGN(C>轻仓建仓&&轻仓建仓<建底仓&&C<建仓,建仓,止盈,COLORGREEN);
    FILLRGN(C<轻仓建仓&&轻仓建仓<建底仓,轻仓建仓,建底仓,COLORGREEN);
    PLAYSOUND(止盈/建仓<1&&轻仓建仓/建底仓<1,'';
    PLAYSOUND(止盈/建仓>1&&轻仓建仓/建底仓>1,'';
    PLAYSOUND(止盈/建仓>1&&轻仓建仓/建底仓>1,'';
    PLAYSOUND(止盈/建仓>1&&轻仓建仓/建底仓>1,'';
    PLAYSOUND(止盈/建仓<1&&轻仓建仓/建底仓<1,'';
    PLAYSOUND(止盈/建仓<1&&轻仓建仓/建底仓<1,'';
    PLAYSOUND((止盈/建仓<1&&轻仓建仓/建底仓<1),'';
    PLAYSOUND((止盈/建仓>1&&轻仓建仓/建底仓>1),'';
    PLAYSOUND((止盈/建仓>1&&轻仓建仓/建底仓>1),'';
    PLAYSOUND((止盈/建仓>1&&轻仓建仓/建底仓>1),'';
    PLAYSOUND((止盈/建仓<1&&轻仓建仓/建底仓<1),'';
    PLAYSOUND((止盈/建仓<1&&轻仓建仓/建底仓<1),'';
    PLAYSOUND(轻仓建仓<REF(轻仓建仓,1),'';
    PLAYSOUND(止盈>REF(止盈,1),'';


    R1R:=REFX1(REF(HHV(H,DAYBARPOS),DAYBARPOS)-REF(LLV(L,DAYBARPOS),DAYBARPOS),10000),NODRAW;
    IF(A,REFX1(REF(持仓,DAYBARPOS),9999),NULL),LINETHICK5;
    IF(A,REFX1(REF(波段加仓,DAYBARPOS),9999),NULL),LINETHICK5;
    RR:=IF(A,REFX1(REF(持仓,DAYBARPOS),9999),NULL)-IF(A,REFX1(REF(波段加仓,DAYBARPOS),9999),NULL);
    昨天0:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0*RR,9999),NULL),COLORGREEN;
    昨天1:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1*RR,9999),NULL),COLORGREEN;
    昨天1.191:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1.191*RR,9999),NULL);
    昨天1.382:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1.382*RR,9999),NULL);
    昨天1.618:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1.618*RR,9999),NULL);
    昨天1.5:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1.5*RR,9999),NULL);
    昨天1.809:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1.809*RR,9999),NULL);
    昨天2:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+2*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天2.191:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+2.191*RR,9999),NULL);
    昨天2.382:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+2.382*RR,9999),NULL);
    昨天2.618:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+2.618*RR,9999),NULL);
    昨天3:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+3*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天4:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+4*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天5:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+5*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天6:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+6*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天7:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+7*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天8:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+8*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天9:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+9*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天10:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+10*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天11:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+11*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天12:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+12*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天13:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+13*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天14:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+14*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天15:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+15*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天16:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+16*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天0.191:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0.191*RR,9999),NULL);
    昨天0.382:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0.382*RR,9999),NULL);
    昨天0.618:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0.618*RR,9999),NULL);
    昨天0.5:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0.5*RR,9999),NULL);
    昨天0.809:IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0.809*RR,9999),NULL);
    昨天减1.191:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-1.191*RR,9999),NULL);
    昨天减1.382:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-1.382*RR,9999),NULL);
    昨天减1.618:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-1.618*RR,9999),NULL);
    昨天减1.5:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-1.5*RR,9999),NULL);
    昨天减1.809:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-1.809*RR,9999),NULL);
    昨天减2:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-2*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减2.191:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-2.191*RR,9999),NULL);
    昨天减2.382:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-2.382*RR,9999),NULL);
    昨天减2.618:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-2.618*RR,9999),NULL);
    昨天减3:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-3*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减4:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-4*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减5:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-5*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减6:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-6*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减7:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-7*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减8:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-8*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减9:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-9*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减10:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-10*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减11:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-11*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减12:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-12*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减13:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-13*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减14:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-14*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减15:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-15*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减16:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-16*RR,9999),NULL),COLORGREEN,LINETHICK5;
    昨天减0.191:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-0.191*RR,9999),NULL);
    昨天减0.382:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-0.382*RR,9999),NULL);
    昨天减0.618:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-0.618*RR,9999),NULL);
    昨天减0.5:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-0.5*RR,9999),NULL);
    昨天减0.809:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-0.809*RR,9999),NULL);
    昨天减1:IF(A,REFX1(REF(波段加仓,DAYBARPOS)-1*RR,9999),NULL),COLORGREEN,LINETHICK5;
    PLAYSOUND(CROSS(C,昨天1.191)||CROSS(C,昨天1.382)||CROSS(C,昨天1.5)||CROSS(C,昨天1.809)||CROSS(C,昨天1.618)||CROSS(C,昨天2)||CROSS(C,昨天2.191)||CROSS(C,昨天2.382),'';
    PLAYSOUND(CROSS(C,昨天2.618)||CROSS(C,昨天3)||CROSS(C,昨天0.191)||CROSS(C,昨天0.382)||CROSS(C,昨天0.618)||CROSS(C,昨天0.5)||CROSS(C,昨天0.809),'';
    PLAYSOUND(CROSS(C,昨天4)||CROSS(C,昨天5)||CROSS(C,昨天6)||CROSS(C,昨天7)||CROSS(C,昨天8)||CROSS(C,昨天9)||CROSS(C,昨天10),'';
    PLAYSOUND(CROSS(C,昨天11)||CROSS(C,昨天12)||CROSS(C,昨天13)||CROSS(C,昨天14)||CROSS(C,昨天15)||CROSS(C,昨天16),'';
    PLAYSOUND(CROSSDOWN(C,昨天1.191)||CROSSDOWN(C,昨天1.382)||CROSSDOWN(C,昨天1.5)||CROSSDOWN(C,昨天1.809)||CROSSDOWN(C,昨天1.618)||CROSSDOWN(C,昨天2)||CROSS(C,昨天2.191)||CROSSDOWN(C,昨天2.382),'';
    PLAYSOUND(CROSSDOWN(C,昨天2.618)||CROSSDOWN(C,昨天3)||CROSSDOWN(C,昨天0.191)||CROSSDOWN(C,昨天0.382)||CROSSDOWN(C,昨天0.618)||CROSSDOWN(C,昨天0.5)||CROSSDOWN(C,昨天0.809),'';
    PLAYSOUND(CROSSDOWN(C,昨天4)||CROSSDOWN(C,昨天5)||CROSSDOWN(C,昨天6)||CROSSDOWN(C,昨天7)||CROSSDOWN(C,昨天8)||CROSSDOWN(C,昨天9)||CROSSDOWN(C,昨天10),'';
    PLAYSOUND(CROSSDOWN(C,昨天11)||CROSSDOWN(C,昨天12)||CROSSDOWN(C,昨天13)||CROSSDOWN(C,昨天14)||CROSSDOWN(C,昨天15)||CROSSDOWN(C,昨天16),'';
    DRAWICON(CROSS(C,昨天1.191)||CROSS(C,昨天1.382)||CROSS(C,昨天1.5)||CROSS(C,昨天1.809)||CROSS(C,昨天1.618)||CROSS(C,昨天2)||CROSS(C,昨天2.191)||CROSS(C,昨天2.382),H,'CO79';
    DRAWICON(CROSS(C,昨天2.618)||CROSS(C,昨天3)||CROSS(C,昨天0.191)||CROSS(C,昨天0.382)||CROSS(C,昨天0.618)||CROSS(C,昨天0.5)||CROSS(C,昨天0.809),H,'CO79';
    DRAWICON(CROSS(C,昨天4)||CROSS(C,昨天5)||CROSS(C,昨天6)||CROSS(C,昨天7)||CROSS(C,昨天8)||CROSS(C,昨天9)||CROSS(C,昨天10),H,'CO79';
    DRAWICON(CROSS(C,昨天11)||CROSS(C,昨天12)||CROSS(C,昨天13)||CROSS(C,昨天14)||CROSS(C,昨天15)||CROSS(C,昨天16),H,'CO79';
    DRAWICON(CROSSDOWN(C,昨天1.191)||CROSSDOWN(C,昨天1.382)||CROSSDOWN(C,昨天1.5)||CROSSDOWN(C,昨天1.809)||CROSSDOWN(C,昨天1.618)||CROSSDOWN(C,昨天2)||CROSS(C,昨天2.191)||CROSSDOWN(C,昨天2.382),L,'CO80';
    DRAWICON(CROSSDOWN(C,昨天2.618)||CROSSDOWN(C,昨天3)||CROSSDOWN(C,昨天0.191)||CROSSDOWN(C,昨天0.382)||CROSSDOWN(C,昨天0.618)||CROSSDOWN(C,昨天0.5)||CROSSDOWN(C,昨天0.809),L,'CO80';
    DRAWICON(CROSSDOWN(C,昨天4)||CROSSDOWN(C,昨天5)||CROSSDOWN(C,昨天6)||CROSSDOWN(C,昨天7)||CROSSDOWN(C,昨天8)||CROSSDOWN(C,昨天9)||CROSSDOWN(C,昨天10),L,'CO80';
    DRAWICON(CROSSDOWN(C,昨天11)||CROSSDOWN(C,昨天12)||CROSSDOWN(C,昨天13)||CROSSDOWN(C,昨天14)||CROSSDOWN(C,昨天15)||CROSSDOWN(C,昨天16),L,'CO80';
    PLAYSOUND(CROSS(C,昨天减1.191)||CROSS(C,昨天减1.382)||CROSS(C,昨天减1.5)||CROSS(C,昨天减1.809)||CROSS(C,昨天减1.618)||CROSS(C,昨天减2)||CROSS(C,昨天减2.191)||CROSS(C,昨天减2.382),'';
    PLAYSOUND(CROSS(C,昨天减2.618)||CROSS(C,昨天减3)||CROSS(C,昨天减0.191)||CROSS(C,昨天减0.382)||CROSS(C,昨天减0.618)||CROSS(C,昨天减0.5)||CROSS(C,昨天减0.809),'';
    PLAYSOUND(CROSS(C,昨天减4)||CROSS(C,昨天减5)||CROSS(C,昨天减6)||CROSS(C,昨天减7)||CROSS(C,昨天减8)||CROSS(C,昨天减9)||CROSS(C,昨天减10),'';
    PLAYSOUND(CROSS(C,昨天减11)||CROSS(C,昨天减12)||CROSS(C,昨天减13)||CROSS(C,昨天减14)||CROSS(C,昨天减15)||CROSS(C,昨天减16),'';
    PLAYSOUND(CROSSDOWN(C,昨天减1.191)||CROSSDOWN(C,昨天减1.382)||CROSSDOWN(C,昨天减1.5)||CROSSDOWN(C,昨天减1.809)||CROSSDOWN(C,昨天减1.618)||CROSSDOWN(C,昨天减2)||CROSS(C,昨天减2.191)||CROSSDOWN(C,昨天减2.382),'';
    PLAYSOUND(CROSSDOWN(C,昨天减2.618)||CROSSDOWN(C,昨天减3)||CROSSDOWN(C,昨天减0.191)||CROSSDOWN(C,昨天减0.382)||CROSSDOWN(C,昨天减0.618)||CROSSDOWN(C,昨天减0.5)||CROSSDOWN(C,昨天减0.809),'';
    PLAYSOUND(CROSSDOWN(C,昨天减4)||CROSSDOWN(C,昨天减5)||CROSSDOWN(C,昨天减6)||CROSSDOWN(C,昨天减7)||CROSSDOWN(C,昨天减8)||CROSSDOWN(C,昨天减9)||CROSSDOWN(C,昨天减10),'';
    PLAYSOUND(CROSSDOWN(C,昨天减11)||CROSSDOWN(C,昨天减12)||CROSSDOWN(C,昨天减13)||CROSSDOWN(C,昨天减14)||CROSSDOWN(C,昨天减15)||CROSSDOWN(C,昨天减16),'';
    DRAWICON(CROSS(C,昨天减1.191)||CROSS(C,昨天减1.382)||CROSS(C,昨天减1.5)||CROSS(C,昨天减1.809)||CROSS(C,昨天减1.618)||CROSS(C,昨天减2)||CROSS(C,昨天减2.191)||CROSS(C,昨天减2.382),H,'CO79';
    DRAWICON(CROSS(C,昨天减2.618)||CROSS(C,昨天减3)||CROSS(C,昨天减0.191)||CROSS(C,昨天减0.382)||CROSS(C,昨天减0.618)||CROSS(C,昨天减0.5)||CROSS(C,昨天减0.809),H,'CO79';
    DRAWICON(CROSS(C,昨天减4)||CROSS(C,昨天减5)||CROSS(C,昨天减6)||CROSS(C,昨天减7)||CROSS(C,昨天减8)||CROSS(C,昨天减9)||CROSS(C,昨天减10),H,'CO79';
    DRAWICON(CROSS(C,昨天减11)||CROSS(C,昨天减12)||CROSS(C,昨天减13)||CROSS(C,昨天减14)||CROSS(C,昨天减15)||CROSS(C,昨天减16),H,'CO79';
    DRAWICON(CROSSDOWN(C,昨天减1.191)||CROSSDOWN(C,昨天减1.382)||CROSSDOWN(C,昨天减1.5)||CROSSDOWN(C,昨天减1.809)||CROSSDOWN(C,昨天减1.618)||CROSSDOWN(C,昨天减2)||CROSS(C,昨天减2.191)||CROSSDOWN(C,昨天减2.382),L,'CO80';
    DRAWICON(CROSSDOWN(C,昨天减2.618)||CROSSDOWN(C,昨天减3)||CROSSDOWN(C,昨天减0.191)||CROSSDOWN(C,昨天减0.382)||CROSSDOWN(C,昨天减0.618)||CROSSDOWN(C,昨天减0.5)||CROSSDOWN(C,昨天减0.809),L,'CO80';
    DRAWICON(CROSSDOWN(C,昨天减4)||CROSSDOWN(C,昨天减5)||CROSSDOWN(C,昨天减6)||CROSSDOWN(C,昨天减7)||CROSSDOWN(C,昨天减8)||CROSSDOWN(C,昨天减9)||CROSSDOWN(C,昨天减10),L,'CO80';
    DRAWICON(CROSSDOWN(C,昨天减11)||CROSSDOWN(C,昨天减12)||CROSSDOWN(C,昨天减13)||CROSSDOWN(C,昨天减14)||CROSSDOWN(C,昨天减15)||CROSSDOWN(C,昨天减16),L,'CO80';
    DRAWTEXT(ISLASTBAR,昨天1.191,Ƈ191',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天1.382,Ƈ382',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天1.618,Ƈ618',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天1.5,Ƈ5',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天1.809,Ƈ809',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天1.191,Ƈ191',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天2.191,ƈ191',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天2.382,ƈ382',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天2.618,ƈ618',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天1,Ƈ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天0,Ƈ体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天1,Ƈ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天2,ƈ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天3,Ɖ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天4,Ɗ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天5,Ƌ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天6,ƌ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天7,ƍ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天8,Ǝ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天9,Ə体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天10,ཆ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天11,ཇ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天12,཈体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天13,ཉ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天14,ཊ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天15,ཋ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天16,ཌ体顶部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORGREEN;
    DRAWTEXT(ISLASTBAR,昨天0.191,Ɔ191',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天0.382,Ɔ382',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天0.618,Ɔ618',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天0.5,Ɔ5',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天0.809,Ɔ809',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减1.191,'1.191',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减1.382,'1.382',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减1.618,'1.618',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减1.5,'1.5',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减1.809,'1.809',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减1.191,'1.191',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减2.191,'2.191',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减2.382,'2.382',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减2.618,'2.618',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减1,'1箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减2,'2箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减3,'3箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减4,'4箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减5,'5箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减6,'6箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减7,'7箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减8,'8箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减9,'9箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减10,'10箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减11,'11箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减12,'12箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减13,'13箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减14,'14箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减15,'15箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减16,'16箱体底部突破进跌破出',ALIGN2,NODRAW,FONTSIZE20,COLORRED;
    DRAWTEXT(ISLASTBAR,昨天减0.191,'0.191',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减0.382,'0.382',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减0.618,'0.618',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减0.5,'0.5',ALIGN2,NODRAW;
    DRAWTEXT(ISLASTBAR,昨天减0.809,'0.809',ALIGN2,NODRAW;

    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+0*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+1*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+2*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+2*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+3*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+3*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+4*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+4*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+5*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+5*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+6*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+6*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+7*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+7*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+8*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+8*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+9*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+9*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+10*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+10*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+11*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+11*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+12*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+12*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+13*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+13*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+14*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+14*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+15*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+15*RR,9999),NULL),COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=IF(A,REFX1(REF(波段加仓,DAYBARPOS)+16*RR,9999),NULL),IF(A,REFX1(REF(波段加仓,DAYBARPOS)+16*RR,9999),NULL),COLORRED,COLORGREEN);

    DRAWCOLORLINE(C>=昨天减1,昨天减1,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减2,昨天减2,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减3,昨天减3,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减4,昨天减4,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减5,昨天减5,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减6,昨天减6,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减7,昨天减7,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减8,昨天减8,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减9,昨天减9,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减10,昨天减10,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减11,昨天减11,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减12,昨天减12,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减13,昨天减13,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减14,昨天减14,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减15,昨天减15,COLORRED,COLORGREEN);
    DRAWCOLORLINE(C>=昨天减16,昨天减16,COLORRED,COLORGREEN);

     

  • 网友回复:  
     下载信息  [文件大小:   下载次数: ]文件名:买卖参考.zip
      

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容