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

[求助]帮忙写条件 [文华财经]

  • 咨询内容:  SJ:=IFELSE(DATE+20000000<20290428,1,0);VAR1:=(HHV(HIGH,13)-LLV(LOW,13))*SJ;VAR2:=(HHV(HIGH,13)-CLOSE);VAR3:=(CLOSE-LLV(LOW,13));VAR4:=(((VAR2/VAR1)*100)-70);VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);VAR7:=SMA(((VAR3/VAR1)*100),3,1);VAR8:=LLV(LOW,34);VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1));VAR10:=IF((VAR9>100),(VAR9-100),0);VAR11:=HHV(HIGH,34);VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),55);VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);STICKLINE(((VAR12-VAR13)>0),VAR12,VAR13,COLORRED,0);STICKLINE(((VAR12-VAR13)<0),VAR12,VAR13,COLORBLUE,0);MA888:EMA(VAR13,5) *SJ;IF((VAR12-VAR13)>0&&VAR13>MA888,MA888,NULL)*SJ,COLORRED,LINETHICK2;IF((VAR12-VAR13)<0&&VAR12<MA888,MA888,NULL)*SJ,COLORBLUE,LINETHICK2;
    DRAWTEXT(CROSS((VAR12-VAR13)>0&&VAR13>MA888,0.5),MA888,'';DRAWTEXT(CROSS((VAR12-VAR13)<0&&VAR12<MA888,0.5),MA888,''; 加开仓条件红色BPK,蓝色SPK

     

     来源:程序化99

  • 文华技术人员:  参考:
     SJ:=IFELSE(DATE+20000000<20290428,1,0); VAR1:=(HHV(HIGH,13)-LLV(LOW,13))*SJ; VAR2:=(HHV(HIGH,13)-CLOSE); VAR3:=(CLOSE-LLV(LOW,13)); VAR4:=(((VAR2/VAR1)*100)-70); VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100); VAR6:=((((2*CLOSE)+HIGH)+LOW)/4); VAR7:=SMA(((VAR3/VAR1)*100),3,1); VAR8:=LLV(LOW,34); VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1)); VAR10:=IF((VAR9>100),(VAR9-100),0); VAR11:=HHV(HIGH,34); VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),55); VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2); STICKLINE(((VAR12-VAR13)>0),VAR12,VAR13,COLORRED,0); STICKLINE(((VAR12-VAR13)<0),VAR12,VAR13,COLORBLUE,0); MA888:EMA(VAR13,5) *SJ; IF((VAR12-VAR13)>0&&VAR13>MA888,MA888,NULL)*SJ,COLORRED,LINETHICK2; IF((VAR12-VAR13)<0&&VAR12<MA888,MA888,NULL)*SJ,COLORBLUE,LINETHICK2;
    DRAWTEXT(CROSS((VAR12-VAR13)>0&&VAR13>MA888,0.5),MA888,''; DRAWTEXT(CROSS((VAR12-VAR13)<0&&VAR12<MA888,0.5),MA888,''; CROSS((VAR12-VAR13)>0&&VAR13>MA888,0.5),BPK; CROSS((VAR12-VAR13)<0&&VAR12<MA888,0.5),SPK; AUTOFILTER;

     

     来源: WWW.CXH99.COM

  • 文华客服:  谢谢老师,麻烦帮我给这个也写个开仓条件 HH:=HHV(HIGH,10); LL:=LLV(LOW,10); HH1:=BARSLAST((HH > REF(HH,1))); LL1:=BARSLAST((LL < REF(LL,1))); STICKLINE((HH1 < LL1),O,C,COLORRED,0); STICKLINE1((HH1 < LL1),C,H,0,1),COLORRED; STICKLINE1((HH1 < LL1),O,L,0,1),COLORRED; STICKLINE((HH1 > LL1),O,C,COLORCYAN,0); STICKLINE1((HH1 > LL1),H,C,0,1),COLORCYAN; STICKLINE1((HH1 > LL1),O,L,0,1),COLORCYAN; DRAWTEXT(CROSS(HH1,LL1),HH,'-----线下空-逢高空-',COLORGREEN; DRAWTEXT(CROSS(LL1,HH1),LL,'-----线上多-逢低多',COLORRED;

     

  • 网友回复:   HH:=HHV(HIGH,10); LL:=LLV(LOW,10); HH1:=BARSLAST((HH > REF(HH,1))); LL1:=BARSLAST((LL < REF(LL,1))); STICKLINE((HH1 < LL1),O,C,COLORRED,0); STICKLINE1((HH1 < LL1),C,H,0,1),COLORRED; STICKLINE1((HH1 < LL1),O,L,0,1),COLORRED; STICKLINE((HH1 > LL1),O,C,COLORCYAN,0); STICKLINE1((HH1 > LL1),H,C,0,1),COLORCYAN; STICKLINE1((HH1 > LL1),O,L,0,1),COLORCYAN; DRAWTEXT(CROSS(HH1,LL1),HH,'-----线下空-逢高空-',COLORGREEN; DRAWTEXT(CROSS(LL1,HH1),LL,'-----线上多-逢低多',COLORRED; CROSS(HH1,LL1),SPK; CROSS(LL1,HH1),BPK; AUTOFILTER;

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


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

相关文章

    没有相关内容