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

你好,老师,给改成文化的; [文华财经]

  • 咨询内容:  高低点:=1;STEP:=8;FILTERD:=COUNT(REFX(ISLASTBAR,STEP/0),0)=0;HH:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP), STEP) AND FILTERD, STEP), H, 0);LL:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP), STEP) AND FILTERD, STEP), L, 0);DRAWICON(HH, HH,5),ALIGN2, VALIGN1,COLOR00FFFF;DRAWICON(LL, LL,4),ALIGN2, VALIGN1,COLOR00FFFF;高低点1:=1;STEP1:=60;FILTERD1:=COUNT(REFX(ISLASTBAR,STEP1/0),0)=0;HH1:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP1), STEP1) AND FILTERD1, STEP1), H, 0);LL1:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP1), STEP1) AND FILTERD1, STEP1), L, 0);DRAWTEXT(HH1, HH1,'S'),ALIGN1, VALIGN2,COLOR00FFFF;DRAWTEXT(LL1, LL1,'B'),ALIGN1, VALIGN0,COLOR00FFFF;高低点2:=1;STEP2:=240;FILTERD2:=COUNT(REFX(ISLASTBAR,STEP2/0),0)=0;HH2:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP2), STEP2) AND FILTERD2, STEP2), H, 0);LL2:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP2), STEP2) AND FILTERD2, STEP2), L, 0);DRAWTEXT(HH2, HH2,'空'),ALIGN0, VALIGN2,COLOR00FFFF;DRAWTEXT(LL2, LL2,'多'),ALIGN0, VALIGN0,COLOR00FFFF;BDGD:=CROSS(0.8,H=HHV(H,8));GDSJ:=BARSLAST(BDGD)+1;波峰:=REF(H,GDSJ),COLOR1EFF1E;BDDD:=CROSS(0.8,L=LLV(L,8));DDSJ:=BARSLAST(BDDD)+1;波谷:=REF(L,DDSJ),COLOR7400E8;STICKLINE(GDSJ<=15,波峰,波峰,4,0),COLOR00FF00;STICKLINE(DDSJ<=15,波谷,波谷,4,0),COLOR0000FF;

      

     

  • 文华技术人员:

    参考:

     

     

    高低点:=1;
    STEP:=8;
    FILTERD:=COUNT(REFX(ISLASTBAR,STEP/0),0)=0;
    HH:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP), STEP) AND FILTERD, STEP), H, 0);
    LL:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP), STEP) AND FILTERD, STEP), L, 0);
    DRAWICON(HH, HH,5),ALIGN2, VALIGN1,COLOR00FFFF;
    DRAWICON(LL, LL,4),ALIGN2, VALIGN1,COLOR00FFFF;
    高低点1:=1;
    STEP1:=60;
    FILTERD1:=COUNT(REFX(ISLASTBAR,STEP1/0),0)=0;
    HH1:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP1), STEP1) AND FILTERD1, STEP1), H, 0);
    LL1:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP1), STEP1) AND FILTERD1, STEP1), L, 0);
    DRAWTEXT(HH1, HH1,'S'),ALIGN1, VALIGN2,COLOR00FFFF;
    DRAWTEXT(LL1, LL1,'B'),ALIGN1, VALIGN0,COLOR00FFFF;
    高低点2:=1;
    STEP2:=240;
    FILTERD2:=COUNT(REFX(ISLASTBAR,STEP2/0),0)=0;
    HH2:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP2), STEP2) AND FILTERD2, STEP2), H, 0);
    LL2:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP2), STEP2) AND FILTERD2, STEP2), L, 0);
    DRAWTEXT(HH2, HH2,'空'),ALIGN0, VALIGN2,COLOR00FFFF;
    DRAWTEXT(LL2, LL2,'多'),ALIGN0, VALIGN0,COLOR00FFFF;
    BDGD:=CROSS(0.8,H=HHV(H,8));
    GDSJ:=BARSLAST(BDGD)+1;
    波峰:=REF(H,GDSJ),COLOR1EFF1E;
    BDDD:=CROSS(0.8,L=LLV(L,8));
    DDSJ:=BARSLAST(BDDD)+1;
    波谷:=REF(L,DDSJ),COLOR7400E8;
    STICKLINE1(GDSJ<=15,波峰,波峰,4,0),COLOR00FF00;
    STICKLINE1(DDSJ<=15,波谷,波谷,4,0),COLOR0000FF;

     

     

  • 文华客服:  怎样弄,显示箭头就行;买卖

    此主题相关图片如下:qq图片20160322085217.png

     

  • 网友回复:

    参考:

     

     

    高低点:=1;
    STEP:=8;
    FILTERD:=COUNT(REFX(ISLASTBAR,STEP/0),0)=0;
    HH: IF(FILTER(H+0.001 > REFX(HHV(H,STEP), STEP) AND FILTERD, STEP), H, 0),NODRAW;
    LL: IF(FILTER(L-0.001 < REFX(LLV(L,STEP), STEP) AND FILTERD, STEP), L, 0),NODRAW;
    DRAWICON(HH>0, H,'ICO5'),COLOR00FFFF;
    DRAWICON(LL>0, L,'ICO4'),COLOR00FFFF;
    高低点1:=1;
    STEP1:=60;
    FILTERD1:=COUNT(REFX(ISLASTBAR,STEP1/0),0)=0;
    HH1:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP1), STEP1) AND FILTERD1, STEP1), H, 0);
    LL1:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP1), STEP1) AND FILTERD1, STEP1), L, 0);
    DRAWTEXT(HH1, HH1,'S'),ALIGN1, VALIGN2,COLOR00FFFF;
    DRAWTEXT(LL1, LL1,'B'),ALIGN1, VALIGN0,COLOR00FFFF;
    高低点2:=1;
    STEP2:=240;
    FILTERD2:=COUNT(REFX(ISLASTBAR,STEP2/0),0)=0;
    HH2:= IF(FILTER(H+0.001 > REFX(HHV(H,STEP2), STEP2) AND FILTERD2, STEP2), H, 0);
    LL2:= IF(FILTER(L-0.001 < REFX(LLV(L,STEP2), STEP2) AND FILTERD2, STEP2), L, 0);
    DRAWTEXT(HH2, HH2,'空'),ALIGN0, VALIGN2,COLOR00FFFF;
    DRAWTEXT(LL2, LL2,'多'),ALIGN0, VALIGN0,COLOR00FFFF;
    BDGD:=CROSS(0.8,H=HHV(H,8));
    GDSJ:=BARSLAST(BDGD)+1;
    波峰:=REF(H,GDSJ),COLOR1EFF1E;
    BDDD:=CROSS(0.8,L=LLV(L,8));
    DDSJ:=BARSLAST(BDDD)+1;
    波谷:=REF(L,DDSJ),COLOR7400E8;
    STICKLINE1(GDSJ<=15,波峰,波峰,4,0),COLOR00FF00;
    STICKLINE1(DDSJ<=15,波谷,波谷,4,0),COLOR0000FF;

 

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

可联系技术人员 QQ: 511411198  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容