请老师改成博弈指标 [博易POBO]
咨询内容:
B:=MAX(BARSLAST(C>MA20),BARSLAST(C<MA20));
//DRAWCOLORLINE(C>MA20&&B,MA20,COLORRED,COLORGREEN),LINETHICK2;
IF(C>MA20&&BACKSET(ISLASTBAR,B),MA20,NULL),COLORRED,LINETHICK2;
IF(C<MA20&&BACKSET(ISLASTBAR,B),MA20,NULL),COLORGREEN,LINETHICK2;
AA:=IF(BACKSET(ISLASTBAR,B),MA20,NULL),NODRAW;
DRAWHORIZONTALLINE(CROSS(C>AA,0.5),MA20,COLORRED);
DRAWHORIZONTALLINE(CROSS(C<AA,0.5),MA20,COLORGREEN);
B:=MAX(BARSLAST(C>MA20),BARSLAST(C<MA20));
//DRAWCOLORLINE(C>MA20&&B,MA20,COLORRED,COLORGREEN),LINETHICK2;
IF(C>MA20&&BACKSET(ISLASTBAR,B),MA20,DRAWNULL),COLORRED,LINETHICK2;
IF(C<MA20&&BACKSET(ISLASTBAR,B),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
AA:=IF(BACKSET(ISLASTBAR,B),MA20,DRAWNULL),NODRAW;
DRAWSL(CROSS(C>AA,0.5),MA20,0,0,0),COLORRED;
DRAWSL(CROSS(C<AA,0.5),MA20,0,0,0),COLORGREEN; 来源 程序化久久网
请老师改成博弈指标
MA20:=MA(C,20),COLORMAGENTA,NODRAW,NOTEXT;B:=MAX(BARSLAST(C>MA20),BARSLAST(C<MA20));
//DRAWCOLORLINE(C>MA20&&B,MA20,COLORRED,COLORGREEN),LINETHICK2;
IF(C>MA20&&BACKSET(ISLASTBAR,B),MA20,NULL),COLORRED,LINETHICK2;
IF(C<MA20&&BACKSET(ISLASTBAR,B),MA20,NULL),COLORGREEN,LINETHICK2;
AA:=IF(BACKSET(ISLASTBAR,B),MA20,NULL),NODRAW;
DRAWHORIZONTALLINE(CROSS(C>AA,0.5),MA20,COLORRED);
DRAWHORIZONTALLINE(CROSS(C<AA,0.5),MA20,COLORGREEN);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 老师在吗 MA20:=MA(C,20),COLORMAGENTA,NODRAW;B:=MAX(BARSLAST(C>MA20),BARSLAST(C<MA20));
//DRAWCOLORLINE(C>MA20&&B,MA20,COLORRED,COLORGREEN),LINETHICK2;
IF(C>MA20&&BACKSET(ISLASTBAR,B),MA20,DRAWNULL),COLORRED,LINETHICK2;
IF(C<MA20&&BACKSET(ISLASTBAR,B),MA20,DRAWNULL),COLORGREEN,LINETHICK2;
AA:=IF(BACKSET(ISLASTBAR,B),MA20,DRAWNULL),NODRAW;
DRAWSL(CROSS(C>AA,0.5),MA20,0,0,0),COLORRED;
DRAWSL(CROSS(C<AA,0.5),MA20,0,0,0),COLORGREEN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容