请老师改成博易指标 [博易POBO]
咨询内容:
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1);
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),COLORBLUE,1);
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),COLORLIGHTRED,1);
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),COLORLIGHTGREEN,1);
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTGREEN);
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTGREEN);
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,COLORRED,0);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,COLORCYAN,0);
DRAWTEXT(SS,LOW,'买入');
DRAWTEXT(XX,HIGH,'卖出');
X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),8,1),COLORMAGENTA;
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),8,1),COLORBLUE;
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),8,1),COLORRED;
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),8,1),COLORGREEN;
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150)),COLORRED;
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150)),COLORGREEN;
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150)),COLORRED;
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150)),COLORGREEN;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),COLORCYAN;
DRAWTEXT(SS,LOW,'买入');
DRAWTEXT(XX,HIGH,'卖出'); 谢谢老师,请问知道这个上下影线消失是什么原因吗,另外麻烦老师把涨跌的颜色对调以下,谢谢,辛苦 来源 程序化久久网
请老师改成博易指标
S:=CROSS(CLOSE,EMA2(HIGH,30));X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1);
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),COLORBLUE,1);
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),COLORLIGHTRED,1);
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),COLORLIGHTGREEN,1);
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30),COLORMAGENTA);
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),COLORBLUE);
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTGREEN);
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTRED);
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTGREEN);
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,COLORRED,0);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,COLORCYAN,0);
DRAWTEXT(SS,LOW,'买入');
DRAWTEXT(XX,HIGH,'卖出');
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: S:=CROSS(CLOSE,EMA2(HIGH,30));X:=CROSS(EMA2(LOW,30),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),8,1),COLORMAGENTA;
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),8,1),COLORBLUE;
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),8,1),COLORRED;
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),8,1),COLORGREEN;
PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30)),COLORMAGENTA;
PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30)),COLORBLUE;
PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150)),COLORRED;
PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150)),COLORGREEN;
PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150)),COLORRED;
PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150)),COLORGREEN;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),COLORCYAN;
DRAWTEXT(SS,LOW,'买入');
DRAWTEXT(XX,HIGH,'卖出'); 谢谢老师,请问知道这个上下影线消失是什么原因吗,另外麻烦老师把涨跌的颜色对调以下,谢谢,辛苦 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容