请老师改写指标 [博易POBO]
咨询内容:
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,'卖出');
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),10,1),COLORMAGENTA;
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),10,1),COLORBLUE;
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),10,1),COLORRED;
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),10,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,10,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,10,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),10,1),COLORMAGENTA;
STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),10,1),COLORBLUE;
STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),10,1),COLORRED;
STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),10,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,10,0),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,10,0),COLORCYAN;
DRAWTEXT(SS,LOW,'买入');
DRAWTEXT(XX,HIGH,'卖出'); 谢谢老师!! 来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容