老师帮忙改一下 [博易POBO]
咨询内容:
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
//DRAWLINE1(Z1,Z2,Z3,Z4,0),COLORMAGENTA,LINETHICK2;
//Q_A:TRENDLINES( Z1,Z2 ,Z3 ,Z4 ),NODRAW;
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
//DRAWLINE1(Y1,Y2,Y3,Y4,0),COLORCYAN,LINETHICK2;
//Q_B:TRENDLINES(Y1,Y2,Y3,Y4),NODRAW;
X01:=LLV(Q_2,2)=LLV(Q_2,7);
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
//X4:=REF(Q_B,1)<REF(Q_B,2);
//X5:=Q_A>REF(Q_B,1);
//买进:(X01 AND X2 AND X3) AND X4 AND X5;
//TJ0:=IF(Q_A<REF(Q_A,1) AND Q_B=Q_A,1,0);
//TJ1:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
A:BACKSET(Y3,BARSLAST(Y1)),NODRAW;
B:BACKSET(A=1&&REF(NOT(A),1),BARSLAST(Y3)),NODRAW;
STICKLINE(1,0,23,2,0),COLOR000000;
//持股:IF(B=1,23,0),STICK,COLORLIGHTRED,LINETHICK3;
STICKLINE(REFX(B=1,1),0,23,2,0),COLOR000000;
STICKLINE(A=1,0,35,2,0),COLOR000000;
STICKLINE(REFX(A=1&&REF(NOT(A),1),1),0,60,1,0),COLORCYAN;
X:BACKSET(A=1&&REF(NOT(A),1),BARSLAST(Y3)),NODRAW;
CC:BACKSET(ISLASTBAR,BARSLAST(A=1)+1),NODRAW;
STICKLINE(A=1&&REFX(A,1)=0&&CC<>1||A=1&&REFX(NOT(A),1)&&CC<>1,0,60,1,0),COLORRED;//
STICKLINE(A=0&&REF(A=1,1)&&CC,0,60,1,0),COLORRED;
VVV:BACKSET(ISLASTBAR,BARSLAST(Y1)+1),NODRAW;
STICKLINE(REF(CROSS(VVV,0.5),1)&&REFX(BARSLAST(Y1)<BARSLAST(A=1),DATACOUNT-BARPOS-1),0,60,1,0),COLORCYAN;
//买一绝:IF(REF(TJ1,1)=0 AND TJ1>=1,60,0),STICK,COLORRED,LINETHICK3;//
//堪称卖绝:IF(REF(TJ0,1)=0 AND TJ0>=1,60,0),STICK,COLORCYAN,LINETHICK3;
地狱线:0,COLORGRAY;
地平线:20,COLORGRAY;
天际线:80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
短线:=SMA(RSV,7,1),COLORWHITE;
中线:=SMA(SMA(RSV,7,1),3,1),COLORYELLOW;
长线:=SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA;
财神到:CROSS(短线,20),NODRAW;
DRAWICON((CROSS(短线,20)),10,1);
地狱:(CLOSE/COST(13))<=0.8,NODRAW;
STICKLINE(地狱,-1,0,2,0),COLORGREEN;
地狱重生:地狱<>1 AND REF(地狱=1,1),NODRAW;
DRAWICON(地狱重生,20,23);
<!-- 咨询内容:
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
//DRAWLINE1(Z1,Z2,Z3,Z4,0),COLORMAGENTA,LINETHICK2;
//Q_A:TRENDLINES( Z1,Z2 ,Z3 ,Z4 ),NODRAW;
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
//DRAWLINE1(Y1,Y2,Y3,Y4,0),COLORCYAN,LINETHICK2;
//Q_B:TRENDLINES(Y1,Y2,Y3,Y4),NODRAW;
X01:=LLV(Q_2,2)=LLV(Q_2,7);
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
//X4:=REF(Q_B,1)<REF(Q_B,2);
//X5:=Q_A>REF(Q_B,1);
//买进:(X01 AND X2 AND X3) AND X4 AND X5;
//TJ0:=IF(Q_A<REF(Q_A,1) AND Q_B=Q_A,1,0);
//TJ1:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
A:BACKSET(Y3,BARSLAST(Y1)),NODRAW;
B:BACKSET(A=1&&REF(NOT(A),1),BARSLAST(Y3)),NODRAW;
STICKLINE(1,0,10,2,0),COLOR000000;
//持股:IF(B=1,23,0),STICK,COLORLIGHTRED,LINETHICK3;
STICKLINE(REFX(B=1,1),0,10,2,0),COLOR000000;
STICKLINE(A=1,0,10,2,0),COLOR000000;
STICKLINE(REFX(A=1&&REF(NOT(A),1),1),0,10,1,0),COLORCYAN;
X:BACKSET(A=1&&REF(NOT(A),1),BARSLAST(Y3)),NODRAW;
CC:BACKSET(ISLASTBAR,BARSLAST(A=1)+1),NODRAW;
STICKLINE(A=1&&REFX(A,1)=0&&CC<>1||A=1&&REFX(NOT(A),1)&&CC<>1,0,10,1,0),COLORRED;//
STICKLINE(A=0&&REF(A=1,1)&&CC,0,10,1,0),COLORRED;
VVV:BACKSET(ISLASTBAR,BARSLAST(Y1)+1),NODRAW;
STICKLINE(REF(CROSS(VVV,0.5),1)&&REFX(BARSLAST(Y1)<BARSLAST(A=1),DATACOUNT-BARPOS-1),0,10,1,0),COLORCYAN;
//买一绝:IF(REF(TJ1,1)=0 AND TJ1>=1,60,0),STICK,COLORRED,LINETHICK3;//
//堪称卖绝:IF(REF(TJ0,1)=0 AND TJ0>=1,60,0),STICK,COLORCYAN,LINETHICK3;
地狱线:0,COLORGRAY;
地平线:20,COLORGRAY;
//天际线:80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
短线:=SMA(RSV,7,1),COLORWHITE;
中线:=SMA(SMA(RSV,7,1),3,1),COLORYELLOW;
长线:=SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA;
财神到:CROSS(短线,20),NODRAW;
DRAWICON((CROSS(短线,20)),10,1);
地狱:(CLOSE/COST(13))<=0.8,NODRAW;
STICKLINE(地狱,-1,0,2,0),COLORGREEN;
地狱重生:地狱<>1 AND REF(地狱=1,1),NODRAW;
DRAWICON(地狱重生,20,23); 来源 程序化久久网
老师帮忙改一下
帮忙把画圈的线变短点,中间的短的绿线和红线怎么改成无色?谢谢Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
//DRAWLINE1(Z1,Z2,Z3,Z4,0),COLORMAGENTA,LINETHICK2;
//Q_A:TRENDLINES( Z1,Z2 ,Z3 ,Z4 ),NODRAW;
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
//DRAWLINE1(Y1,Y2,Y3,Y4,0),COLORCYAN,LINETHICK2;
//Q_B:TRENDLINES(Y1,Y2,Y3,Y4),NODRAW;
X01:=LLV(Q_2,2)=LLV(Q_2,7);
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
//X4:=REF(Q_B,1)<REF(Q_B,2);
//X5:=Q_A>REF(Q_B,1);
//买进:(X01 AND X2 AND X3) AND X4 AND X5;
//TJ0:=IF(Q_A<REF(Q_A,1) AND Q_B=Q_A,1,0);
//TJ1:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
A:BACKSET(Y3,BARSLAST(Y1)),NODRAW;
B:BACKSET(A=1&&REF(NOT(A),1),BARSLAST(Y3)),NODRAW;
STICKLINE(1,0,23,2,0),COLOR000000;
//持股:IF(B=1,23,0),STICK,COLORLIGHTRED,LINETHICK3;
STICKLINE(REFX(B=1,1),0,23,2,0),COLOR000000;
STICKLINE(A=1,0,35,2,0),COLOR000000;
STICKLINE(REFX(A=1&&REF(NOT(A),1),1),0,60,1,0),COLORCYAN;
X:BACKSET(A=1&&REF(NOT(A),1),BARSLAST(Y3)),NODRAW;
CC:BACKSET(ISLASTBAR,BARSLAST(A=1)+1),NODRAW;
STICKLINE(A=1&&REFX(A,1)=0&&CC<>1||A=1&&REFX(NOT(A),1)&&CC<>1,0,60,1,0),COLORRED;//
STICKLINE(A=0&&REF(A=1,1)&&CC,0,60,1,0),COLORRED;
VVV:BACKSET(ISLASTBAR,BARSLAST(Y1)+1),NODRAW;
STICKLINE(REF(CROSS(VVV,0.5),1)&&REFX(BARSLAST(Y1)<BARSLAST(A=1),DATACOUNT-BARPOS-1),0,60,1,0),COLORCYAN;
//买一绝:IF(REF(TJ1,1)=0 AND TJ1>=1,60,0),STICK,COLORRED,LINETHICK3;//
//堪称卖绝:IF(REF(TJ0,1)=0 AND TJ0>=1,60,0),STICK,COLORCYAN,LINETHICK3;
地狱线:0,COLORGRAY;
地平线:20,COLORGRAY;
天际线:80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
短线:=SMA(RSV,7,1),COLORWHITE;
中线:=SMA(SMA(RSV,7,1),3,1),COLORYELLOW;
长线:=SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA;
财神到:CROSS(短线,20),NODRAW;
DRAWICON((CROSS(短线,20)),10,1);
地狱:(CLOSE/COST(13))<=0.8,NODRAW;
STICKLINE(地狱,-1,0,2,0),COLORGREEN;
地狱重生:地狱<>1 AND REF(地狱=1,1),NODRAW;
DRAWICON(地狱重生,20,23);
<!-- 咨询内容:
附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: Q_1:=C-REF(C,1);Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
//DRAWLINE1(Z1,Z2,Z3,Z4,0),COLORMAGENTA,LINETHICK2;
//Q_A:TRENDLINES( Z1,Z2 ,Z3 ,Z4 ),NODRAW;
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
//DRAWLINE1(Y1,Y2,Y3,Y4,0),COLORCYAN,LINETHICK2;
//Q_B:TRENDLINES(Y1,Y2,Y3,Y4),NODRAW;
X01:=LLV(Q_2,2)=LLV(Q_2,7);
X2:=COUNT(Q_2<0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
//X4:=REF(Q_B,1)<REF(Q_B,2);
//X5:=Q_A>REF(Q_B,1);
//买进:(X01 AND X2 AND X3) AND X4 AND X5;
//TJ0:=IF(Q_A<REF(Q_A,1) AND Q_B=Q_A,1,0);
//TJ1:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
A:BACKSET(Y3,BARSLAST(Y1)),NODRAW;
B:BACKSET(A=1&&REF(NOT(A),1),BARSLAST(Y3)),NODRAW;
STICKLINE(1,0,10,2,0),COLOR000000;
//持股:IF(B=1,23,0),STICK,COLORLIGHTRED,LINETHICK3;
STICKLINE(REFX(B=1,1),0,10,2,0),COLOR000000;
STICKLINE(A=1,0,10,2,0),COLOR000000;
STICKLINE(REFX(A=1&&REF(NOT(A),1),1),0,10,1,0),COLORCYAN;
X:BACKSET(A=1&&REF(NOT(A),1),BARSLAST(Y3)),NODRAW;
CC:BACKSET(ISLASTBAR,BARSLAST(A=1)+1),NODRAW;
STICKLINE(A=1&&REFX(A,1)=0&&CC<>1||A=1&&REFX(NOT(A),1)&&CC<>1,0,10,1,0),COLORRED;//
STICKLINE(A=0&&REF(A=1,1)&&CC,0,10,1,0),COLORRED;
VVV:BACKSET(ISLASTBAR,BARSLAST(Y1)+1),NODRAW;
STICKLINE(REF(CROSS(VVV,0.5),1)&&REFX(BARSLAST(Y1)<BARSLAST(A=1),DATACOUNT-BARPOS-1),0,10,1,0),COLORCYAN;
//买一绝:IF(REF(TJ1,1)=0 AND TJ1>=1,60,0),STICK,COLORRED,LINETHICK3;//
//堪称卖绝:IF(REF(TJ0,1)=0 AND TJ0>=1,60,0),STICK,COLORCYAN,LINETHICK3;
地狱线:0,COLORGRAY;
地平线:20,COLORGRAY;
//天际线:80,COLORGRAY;
RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);
短线:=SMA(RSV,7,1),COLORWHITE;
中线:=SMA(SMA(RSV,7,1),3,1),COLORYELLOW;
长线:=SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA;
财神到:CROSS(短线,20),NODRAW;
DRAWICON((CROSS(短线,20)),10,1);
地狱:(CLOSE/COST(13))<=0.8,NODRAW;
STICKLINE(地狱,-1,0,2,0),COLORGREEN;
地狱重生:地狱<>1 AND REF(地狱=1,1),NODRAW;
DRAWICON(地狱重生,20,23); 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容