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

更改柱体位置 [文华财经]

  • 咨询内容:  更改柱体位置,如图调整柱体在零轴上下方位置


    文件名:截图.png
    N1:=9;N2:=5;MTM:=C-REF(C,1);主力轨迹:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE;MAZL:=MA(主力轨迹,N2),COLORYELLOW;DRAWCOLORLINE(主力轨迹>MAZL,主力轨迹,COLORRED,COLORGREEN),LINETHICK2;

    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=HHV(HIGH,33);VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
    出货:=IF(VAR51>REF(VAR51,1),VAR51,0),COLORGREEN,NODRAW;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORGREEN;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0),COLORGREEN;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.6,0),COLORGREEN;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.1,0),COLORGREEN;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.5,0),COLORGREEN;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.9,0),COLORGREEN;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0),COLORGREEN;
    洗盘:=IF(VAR5<REF(VAR5,1),VAR5,0),COLORMAGENTA,NODRAW;STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,3,0),COLORMAGENTA;STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,2.6,0),COLORMAGENTA;STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,2.1,0),COLORMAGENTA;STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,1.5,0),COLORMAGENTA;STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,0.9,0),COLORMAGENTA;STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,0.3,0),COLORMAGENTA;
    主力拉升:=IF(VAR51<REF(VAR51,1),VAR51,0),COLORBLUE,NODRAW;STICKLINE1(VAR51<REF(VAR51,1),0,VAR51,3,0),COLORBLUE;STICKLINE1(VAR51<REF(VAR51,1),0,VAR51,2.6,0),COLORBLUE;STICKLINE1(VAR51<REF(VAR51,1),0,VAR51,2.1,0),COLORBLUE;STICKLINE1(VAR51<REF(VAR51,1),0,VAR51,1.5,0),COLORBLUE;STICKLINE1(VAR51<REF(VAR51,1),0,VAR51,0.9,0),COLORBLUE;STICKLINE1(VAR51<REF(VAR51,1),0,VAR51,0.3,0),COLORBLUE;
    主力介入:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;STICKLINE1(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLORRED;STICKLINE1(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLORRED;STICKLINE1(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLORRED;STICKLINE1(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLORRED;STICKLINE1(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLORRED;

     

     

     来源:程序化99

  • 文华技术人员:  参考:
    N1:=9; N2:=5; MTM:=C-REF(C,1); 主力轨迹:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE; MAZL:=MA(主力轨迹,N2),COLORYELLOW; DRAWCOLORLINE(主力轨迹>MAZL,主力轨迹,COLORRED,COLORGREEN),LINETHICK2;

    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1); VAR31:=EMA(VAR21,10); VAR41:=HHV(HIGH,33); VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
    出货:=IF(VAR51>REF(VAR51,1),VAR51,0),COLORGREEN,NODRAW; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,3,0 ),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,3,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,2.6,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,2.1,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,1.5,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,0.9,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,0.3,0),COLORGREEN;
    洗盘:=IF(VAR5<REF(VAR5,1),VAR5,0),COLORMAGENTA,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,3,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,2.6,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,2.1,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,1.5,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,0.9,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,0.3,0),COLORMAGENTA;
    主力拉升:=IF(VAR51<REF(VAR51,1),VAR51,0),COLORBLUE,NODRAW; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,3,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,2.6,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,2.1,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,1.5,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,0.9,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,0.3,0),COLORBLUE;
    主力介入:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,2.6,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,2.1,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,1.5,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,0.9,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,0.3,0 ),COLORRED;

     

     来源: WWW.CXH99.COM

  • 文华客服:  并且更改下红色柱体粗细,看着怎么比别的瘦,调整一下

     

  • 网友回复:  参考:
    N1:=9; N2:=5; MTM:=C-REF(C,1); 主力轨迹:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE; MAZL:=MA(主力轨迹,N2),COLORYELLOW; DRAWCOLORLINE(主力轨迹>MAZL,主力轨迹,COLORRED,COLORGREEN),LINETHICK2;

    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1); VAR31:=EMA(VAR21,10); VAR41:=HHV(HIGH,33); VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
    出货:=IF(VAR51>REF(VAR51,1),VAR51,0),COLORGREEN,NODRAW; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,3,0 ),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,3,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,2.6,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,2.1,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,1.5,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,0.9,0),COLORGREEN; STICKLINE(VAR51>REF(VAR51,1),0,-VAR51,0.3,0),COLORGREEN;
    洗盘:=IF(VAR5<REF(VAR5,1),VAR5,0),COLORMAGENTA,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,3,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,2.6,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,2.1,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,1.5,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,0.9,0),COLORMAGENTA; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,0.3,0),COLORMAGENTA;
    主力拉升:=IF(VAR51<REF(VAR51,1),VAR51,0),COLORBLUE,NODRAW; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,3,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,2.6,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,2.1,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,1.5,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,0.9,0),COLORBLUE; STICKLINE1(VAR51<REF(VAR51,1),0,-VAR51,0.3,0),COLORBLUE;
    主力介入:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,3,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,2.6,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,2.1,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,1.5,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,0.9,0 ),COLORRED; STICKLINE1(VAR5>REF(VAR5,1),0,-VAR5,0.3,0 ),COLORRED;

     

  • 网友回复:  上下对齐,和左右对齐函数 是什么来着   //顶底    [提取趋势升级顶底竖线] RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; RSV11:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 顶底线:=3*SMA(RSV11,5,1)-2*SMA(SMA(RSV11,5,1),3,1); J1:=SMA(RSV1,3,1); J11:=SMA(J1,3,1); DRAWTEXT(顶底线<=10&&顶底线 < REF(顶底线,1),HHV(顶底线,3),'底'),COLORWHITE; DRAWTEXT(顶底线<=10&&顶底线 > REF(顶底线,1),顶底线,'底'),COLORWHITE; DRAWTEXT(CROSS(J11,J1) AND 顶底线 > REF(顶底线,1),顶底线,'顶'),COLORWHITE; DRAWTEXT(CROSS(J11,J1) AND J11>85&&顶底线 < REF(顶底线,1),HHV(顶底线,3),'顶'),COLORWHITE;
    这个顶效果还行  底在零轴上方显示,可以和零轴下方显示,并和柱体对齐吗  

 

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

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

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

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


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

相关文章

    没有相关内容