你好,之前发的函数我没在意漏了几行,请帮忙再抽空给改成博弈合适的函数,非常感谢 [博易POBO]
咨询内容:
你好,之前发的函数我没在意漏了几行,请帮忙再抽空给改成博弈合适的函数,非常感谢
VAR15:=ZIGZAG(C,0.23,1) < REF(ZIGZAG(C,0.23,1),1) AND REF(ZIGZAG(C,0.23,1),1) > REF(ZIGZAG(C,0.23,1),2);
VAR16:=ZIGZAG(C,0.23,1) > REF(ZIGZAG(C,0.23,1),1) AND REF(ZIGZAG(C,0.23,1),1) < REF(ZIGZAG(C,0.23,1),2);
DRAWCOLORKLINE(BARSLAST(VAR15)>BARSLAST(VAR16),COLORRED,0);
DRAWCOLORKLINE(BARSLAST(VAR15)<BARSLAST(VAR16),COLORBLUE,0);
DRAWNUMBER1(BARSLAST(VAR15)>BARSLAST(VAR16)&&ISLASTBAR,H,C,0),COLORRED,ALIGN0;
DRAWNUMBER1(BARSLAST(VAR15)<BARSLAST(VAR16)&&ISLASTBAR,H,C,0),COLORBLUE,ALIGN0;
BUY1:=ZIGZAG(C,1,1);
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空');
VAR16:=ZIG(C,0.23,1) > REF(ZIG(C,0.23,1),1) AND REF(ZIG(C,0.23,1),1) < REF(ZIG(C,0.23,1),2);
DRAWKLINEEX(BARSLAST(VAR15)>BARSLAST(VAR16),H,O,L,C),COLORRED;
DRAWKLINEEX(BARSLAST(VAR15)<BARSLAST(VAR16),H,O,L,C),COLORBLUE;
DRAWNUMBER(BARSLAST(VAR15)>BARSLAST(VAR16)&&ISLASTBAR,H,C,0),COLORRED,ALIGN0;
DRAWNUMBER(BARSLAST(VAR15)<BARSLAST(VAR16)&&ISLASTBAR,H,C,0),COLORBLUE,ALIGN0;
BUY1:=ZIG(C,1,1);
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空'); 谢谢 来源 程序化久久网
VAR15:=ZIGZAG(C,0.23,1) < REF(ZIGZAG(C,0.23,1),1) AND REF(ZIGZAG(C,0.23,1),1) > REF(ZIGZAG(C,0.23,1),2);
VAR16:=ZIGZAG(C,0.23,1) > REF(ZIGZAG(C,0.23,1),1) AND REF(ZIGZAG(C,0.23,1),1) < REF(ZIGZAG(C,0.23,1),2);
DRAWCOLORKLINE(BARSLAST(VAR15)>BARSLAST(VAR16),COLORRED,0);
DRAWCOLORKLINE(BARSLAST(VAR15)<BARSLAST(VAR16),COLORBLUE,0);
DRAWNUMBER1(BARSLAST(VAR15)>BARSLAST(VAR16)&&ISLASTBAR,H,C,0),COLORRED,ALIGN0;
DRAWNUMBER1(BARSLAST(VAR15)<BARSLAST(VAR16)&&ISLASTBAR,H,C,0),COLORBLUE,ALIGN0;
BUY1:=ZIGZAG(C,1,1);
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空');
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: VAR15:=ZIG(C,0.23,1) < REF(ZIG(C,0.23,1),1) AND REF(ZIG(C,0.23,1),1) > REF(ZIG(C,0.23,1),2);VAR16:=ZIG(C,0.23,1) > REF(ZIG(C,0.23,1),1) AND REF(ZIG(C,0.23,1),1) < REF(ZIG(C,0.23,1),2);
DRAWKLINEEX(BARSLAST(VAR15)>BARSLAST(VAR16),H,O,L,C),COLORRED;
DRAWKLINEEX(BARSLAST(VAR15)<BARSLAST(VAR16),H,O,L,C),COLORBLUE;
DRAWNUMBER(BARSLAST(VAR15)>BARSLAST(VAR16)&&ISLASTBAR,H,C,0),COLORRED,ALIGN0;
DRAWNUMBER(BARSLAST(VAR15)<BARSLAST(VAR16)&&ISLASTBAR,H,C,0),COLORBLUE,ALIGN0;
BUY1:=ZIG(C,1,1);
SELL1:=MA(BUY1,2);
DRAWTEXT(CROSS(BUY1,SELL1),L-0.1,'多'),VALIGN0;
DRAWTEXT(CROSS(SELL1,BUY1),H+0.1,'空'); 谢谢 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容