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

多开,空开,多平,空平字加在立柱上面 [文华财经]

  • 咨询内容:  AA:=IFELSE(C=REF(C,1)&&OPI>REF(OPI,1),1,0),NODRAW;BB:=IFELSE(C=REF(C,1)&&OPI<REF(OPI,1),1,0),NODRAW;多头增仓:=IF(C>REF(C,1)&&OPI>REF(OPI,1) || AA,1,NULL),NODRAW;空头减仓:=IF(C>REF(C,1)&&OPI<REF(OPI,1) || BB,1,NULL),NODRAW;空头增仓:=IF(C<REF(C,1)&&OPI>REF(OPI,1),1,NULL),NODRAW;多头减仓:=IF(C<REF(C,1)&&OPI<REF(OPI,1),1,NULL),NODRAW;STICKLINE1(空头增仓,0,-ABS(OPI-REF(OPI,1)),4,0),COLORBLUE;STICKLINE1(多头增仓,0,ABS(OPI-REF(OPI,1)),4,0),COLORRED;STICKLINE1(空头减仓,0,ABS(OPI-REF(OPI,1)),4,0),COLORGREEN;STICKLINE1(多头减仓,0,-ABS(OPI-REF(OPI,1)),4,0),COLORYELLOW;
  • 老师把这个多开,空开,多平,空平字加在立柱上面 

     

     来源:程序化99

  • 文华技术人员: 参考:
    AA:=IFELSE(C=REF(C,1)&&OPI>REF(OPI,1),1,0),NODRAW;BB:=IFELSE(C=REF(C,1)&&OPI<REF(OPI,1),1,0),NODRAW;多头增仓:=IF(C>REF(C,1)&&OPI>REF(OPI,1) || AA,1,NULL),NODRAW;空头减仓:=IF(C>REF(C,1)&&OPI<REF(OPI,1) || BB,1,NULL),NODRAW;空头增仓:=IF(C<REF(C,1)&&OPI>REF(OPI,1),1,NULL),NODRAW;多头减仓:=IF(C<REF(C,1)&&OPI<REF(OPI,1),1,NULL),NODRAW;STICKLINE1(空头增仓,0,-ABS(OPI-REF(OPI,1)),4,0),COLORBLUE;STICKLINE1(多头增仓,0,ABS(OPI-REF(OPI,1)),4,0),COLORRED;STICKLINE1(空头减仓,0,ABS(OPI-REF(OPI,1)),4,0),COLORGREEN;STICKLINE1(多头减仓,0,-ABS(OPI-REF(OPI,1)),4,0),COLORYELLOW;DRAWTEXT(空头增仓,-ABS(OPI-REF(OPI,1)),'开',VALIGN0,COLORBLUE;DRAWTEXT(多头减仓,-ABS(OPI-REF(OPI,1)),'平',VALIGN0,COLORYELLOW;DRAWTEXT(多头增仓,ABS(OPI-REF(OPI,1)),'开',COLORRED;DRAWTEXT(空头减仓,ABS(OPI-REF(OPI,1)),'平',COLORGREEN;

     

     来源: WWW.CXH99.COM

  • 文华客服:  老师空开的字可不可以换个颜色,看不清蓝色

     

  • 网友回复: 参考:
    AA:=IFELSE(C=REF(C,1)&&OPI>REF(OPI,1),1,0),NODRAW;BB:=IFELSE(C=REF(C,1)&&OPI<REF(OPI,1),1,0),NODRAW;多头增仓:=IF(C>REF(C,1)&&OPI>REF(OPI,1) || AA,1,NULL),NODRAW;空头减仓:=IF(C>REF(C,1)&&OPI<REF(OPI,1) || BB,1,NULL),NODRAW;空头增仓:=IF(C<REF(C,1)&&OPI>REF(OPI,1),1,NULL),NODRAW;多头减仓:=IF(C<REF(C,1)&&OPI<REF(OPI,1),1,NULL),NODRAW;STICKLINE1(空头增仓,0,-ABS(OPI-REF(OPI,1)),4,0),COLORBLUE;STICKLINE1(多头增仓,0,ABS(OPI-REF(OPI,1)),4,0),COLORRED;STICKLINE1(空头减仓,0,ABS(OPI-REF(OPI,1)),4,0),COLORGREEN;STICKLINE1(多头减仓,0,-ABS(OPI-REF(OPI,1)),4,0),COLORYELLOW;DRAWTEXT(空头增仓,-ABS(OPI-REF(OPI,1)),'开',VALIGN0,COLORWHITE;DRAWTEXT(多头减仓,-ABS(OPI-REF(OPI,1)),'平',VALIGN0,COLORYELLOW;DRAWTEXT(多头增仓,ABS(OPI-REF(OPI,1)),'开',COLORRED;DRAWTEXT(空头减仓,ABS(OPI-REF(OPI,1)),'平',COLORGREEN;

     

  • 网友回复:  空平  就是空头减仓?

 

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

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

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

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


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

相关文章

    没有相关内容