麻烦老师修改成博弈大师上面,谢谢。 [博易POBO]
咨询内容:
95,COLORGREEN;
50,COLORWHITE;
20,COLORYELLOW,LINETHICK2;
80,COLORRED,LINETHICK2;
V1:=HHV(HIGH,9)-LLV(LOW,9);
V2:=HHV(HIGH,9)-CLOSE;
V3:=CLOSE-LLV(LOW,9);
V4:=V2/V1*100-70;
V5:=6<MONTH AND 1>2016;
V6:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
V7:=(2*CLOSE+HIGH+LOW)/4;
V8:=SMA(V3/V1*100,3,1);
V9:=LLV(LOW,30);
V10:=IF(V5,0,V9);
V11:=SMA(V8,3,1)-SMA(V4,9,1);
V12:=IF(V11>100,V11-100,0);
V13:=HHV(HIGH,30);
V14:=EMA((V7-V10)/(V13-V10)*100,6);
V15:=FORCAST(V14,12);
PARTLINE1(V15/REF(V15,1)<1,V15),RGB(0,255,64),LINETHICK3;
PARTLINE1(V15/REF(V15,1)<1 AND V15<20,V15),COLORBLUE,LINETHICK3;
PARTLINE1(V15/REF(V15,1)>=1,V15),COLORRED,LINETHICK3;
PARTLINE1(V15/REF(V15,1)>=1 AND V15>80,V15),RGB(255,0,255),LINETHICK3;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
V17:=IF(J<0,10,0);
STICKLINE1(CROSS(9.9,V17),V15*0.97,V15*1.03,12,0),COLORWHITE;
STICKLINE1(CROSS(9.9,V17) AND V15<25,V15*0.87,V15*1.2,22,0),COLORYELLOW;
VARA:=YEAR>2019;
VARC:=HHV(HIGH,9)-LLV(LOW,9);
VARD:=HHV(HIGH,9)-CLOSE;
VARE:=CLOSE-LLV(LOW,9);
VARF:=VARD/VARC*100-70;
VARG:=YEAR>2019 AND 6<MONTH;
VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR11:=(2*CLOSE+HIGH+LOW)/4;
VAR12:=SMA(VARE/VARC*100,3,1);
VAR13:=LLV(LOW,30);
VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);
VAR15:=IF(VAR14>100,VAR14-100,0);
VAR16:=HHV(HIGH,30);
VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,6);
VAR18:=FORCAST(VAR17,12);
A1:=C>REF(C,4);
NT:=BARSLASTCOUNT(A1);
TJ11:=NT=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
DRAWNUMBER1(AY>0,VAR18*0.9,AY,0),COLORGREEN;
DRAWTEXT(NT=9,VAR18*0.9,' 9'),COLORGREEN;
B1:=C<REF(C,4);
NT0:=BARSLASTCOUNT(B1);
TJ21:=NT0=9 ;
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWNUMBER1(AY1>0,VAR18*1.1,AY1,0),COLORMAGENTA;
DRAWTEXT(NT0=9,VAR18*1.1,' 9'),COLORMAGENTA;
95,COLORGREEN;
50,COLORWHITE;
20,COLORYELLOW,LINETHICK2;
80,COLORRED,LINETHICK2;
V1:=HHV(HIGH,9)-LLV(LOW,9);
V2:=HHV(HIGH,9)-CLOSE;
V3:=CLOSE-LLV(LOW,9);
V4:=V2/V1*100-70;
V5:=6<MONTH AND 1>2016;
V6:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
V7:=(2*CLOSE+HIGH+LOW)/4;
V8:=SMA(V3/V1*100,3,1);
V9:=LLV(LOW,30);
V10:=IF(V5,0,V9);
V11:=SMA(V8,3,1)-SMA(V4,9,1);
V12:=IF(V11>100,V11-100,0);
V13:=HHV(HIGH,30);
V14:=EMA((V7-V10)/(V13-V10)*100,6);
V15:=FORCAST(V14,12);
PARTLINE(V15/REF(V15,1)<1,V15),COLOR0040FF,LINETHICK3;
PARTLINE(V15/REF(V15,1)<1 AND V15<20,V15),COLORBLUE,LINETHICK3;
PARTLINE(V15/REF(V15,1)>=1,V15),COLORRED,LINETHICK3;
PARTLINE(V15/REF(V15,1)>=1 AND V15>80,V15),COLORFF00FF,LINETHICK3;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
V17:=IF(J<0,10,0);
STICKLINE(CROSS(9.9,V17),V15*0.97,V15*1.03,12,0),COLORWHITE;
STICKLINE(CROSS(9.9,V17) AND V15<25,V15*0.87,V15*1.2,22,0),COLORYELLOW;
VARA:=YEAR>2019;
VARC:=HHV(HIGH,9)-LLV(LOW,9);
VARD:=HHV(HIGH,9)-CLOSE;
VARE:=CLOSE-LLV(LOW,9);
VARF:=VARD/VARC*100-70;
VARG:=YEAR>2019 AND 6<MONTH;
VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR11:=(2*CLOSE+HIGH+LOW)/4;
VAR12:=SMA(VARE/VARC*100,3,1);
VAR13:=LLV(LOW,30);
VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);
VAR15:=IF(VAR14>100,VAR14-100,0);
VAR16:=HHV(HIGH,30);
VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,6);
VAR18:=FORCAST(VAR17,12);
A1:=C>REF(C,4);
NT:=BARSLAST(A1);
TJ11:=NT=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
DRAWNUMBER(AY>0,VAR18*0.9,AY,0),COLORGREEN;
DRAWTEXT(NT=9,VAR18*0.9,' 9'),COLORGREEN;
B1:=C<REF(C,4);
NT0:=BARSLAST(B1);
TJ21:=NT0=9 ;
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWNUMBER(AY1>0,VAR18*1.1,AY1,0),COLORMAGENTA;
DRAWTEXT(NT0=9,VAR18*1.1,' 9'),COLORMAGENTA; 来源 程序化久久网
麻烦老师修改成博弈大师上面,谢谢。
8,COLORMAGENTA;95,COLORGREEN;
50,COLORWHITE;
20,COLORYELLOW,LINETHICK2;
80,COLORRED,LINETHICK2;
V1:=HHV(HIGH,9)-LLV(LOW,9);
V2:=HHV(HIGH,9)-CLOSE;
V3:=CLOSE-LLV(LOW,9);
V4:=V2/V1*100-70;
V5:=6<MONTH AND 1>2016;
V6:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
V7:=(2*CLOSE+HIGH+LOW)/4;
V8:=SMA(V3/V1*100,3,1);
V9:=LLV(LOW,30);
V10:=IF(V5,0,V9);
V11:=SMA(V8,3,1)-SMA(V4,9,1);
V12:=IF(V11>100,V11-100,0);
V13:=HHV(HIGH,30);
V14:=EMA((V7-V10)/(V13-V10)*100,6);
V15:=FORCAST(V14,12);
PARTLINE1(V15/REF(V15,1)<1,V15),RGB(0,255,64),LINETHICK3;
PARTLINE1(V15/REF(V15,1)<1 AND V15<20,V15),COLORBLUE,LINETHICK3;
PARTLINE1(V15/REF(V15,1)>=1,V15),COLORRED,LINETHICK3;
PARTLINE1(V15/REF(V15,1)>=1 AND V15>80,V15),RGB(255,0,255),LINETHICK3;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
V17:=IF(J<0,10,0);
STICKLINE1(CROSS(9.9,V17),V15*0.97,V15*1.03,12,0),COLORWHITE;
STICKLINE1(CROSS(9.9,V17) AND V15<25,V15*0.87,V15*1.2,22,0),COLORYELLOW;
VARA:=YEAR>2019;
VARC:=HHV(HIGH,9)-LLV(LOW,9);
VARD:=HHV(HIGH,9)-CLOSE;
VARE:=CLOSE-LLV(LOW,9);
VARF:=VARD/VARC*100-70;
VARG:=YEAR>2019 AND 6<MONTH;
VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR11:=(2*CLOSE+HIGH+LOW)/4;
VAR12:=SMA(VARE/VARC*100,3,1);
VAR13:=LLV(LOW,30);
VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);
VAR15:=IF(VAR14>100,VAR14-100,0);
VAR16:=HHV(HIGH,30);
VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,6);
VAR18:=FORCAST(VAR17,12);
A1:=C>REF(C,4);
NT:=BARSLASTCOUNT(A1);
TJ11:=NT=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
DRAWNUMBER1(AY>0,VAR18*0.9,AY,0),COLORGREEN;
DRAWTEXT(NT=9,VAR18*0.9,' 9'),COLORGREEN;
B1:=C<REF(C,4);
NT0:=BARSLASTCOUNT(B1);
TJ21:=NT0=9 ;
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWNUMBER1(AY1>0,VAR18*1.1,AY1,0),COLORMAGENTA;
DRAWTEXT(NT0=9,VAR18*1.1,' 9'),COLORMAGENTA;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 8,COLORMAGENTA;95,COLORGREEN;
50,COLORWHITE;
20,COLORYELLOW,LINETHICK2;
80,COLORRED,LINETHICK2;
V1:=HHV(HIGH,9)-LLV(LOW,9);
V2:=HHV(HIGH,9)-CLOSE;
V3:=CLOSE-LLV(LOW,9);
V4:=V2/V1*100-70;
V5:=6<MONTH AND 1>2016;
V6:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
V7:=(2*CLOSE+HIGH+LOW)/4;
V8:=SMA(V3/V1*100,3,1);
V9:=LLV(LOW,30);
V10:=IF(V5,0,V9);
V11:=SMA(V8,3,1)-SMA(V4,9,1);
V12:=IF(V11>100,V11-100,0);
V13:=HHV(HIGH,30);
V14:=EMA((V7-V10)/(V13-V10)*100,6);
V15:=FORCAST(V14,12);
PARTLINE(V15/REF(V15,1)<1,V15),COLOR0040FF,LINETHICK3;
PARTLINE(V15/REF(V15,1)<1 AND V15<20,V15),COLORBLUE,LINETHICK3;
PARTLINE(V15/REF(V15,1)>=1,V15),COLORRED,LINETHICK3;
PARTLINE(V15/REF(V15,1)>=1 AND V15>80,V15),COLORFF00FF,LINETHICK3;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
V17:=IF(J<0,10,0);
STICKLINE(CROSS(9.9,V17),V15*0.97,V15*1.03,12,0),COLORWHITE;
STICKLINE(CROSS(9.9,V17) AND V15<25,V15*0.87,V15*1.2,22,0),COLORYELLOW;
VARA:=YEAR>2019;
VARC:=HHV(HIGH,9)-LLV(LOW,9);
VARD:=HHV(HIGH,9)-CLOSE;
VARE:=CLOSE-LLV(LOW,9);
VARF:=VARD/VARC*100-70;
VARG:=YEAR>2019 AND 6<MONTH;
VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR11:=(2*CLOSE+HIGH+LOW)/4;
VAR12:=SMA(VARE/VARC*100,3,1);
VAR13:=LLV(LOW,30);
VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);
VAR15:=IF(VAR14>100,VAR14-100,0);
VAR16:=HHV(HIGH,30);
VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,6);
VAR18:=FORCAST(VAR17,12);
A1:=C>REF(C,4);
NT:=BARSLAST(A1);
TJ11:=NT=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
DRAWNUMBER(AY>0,VAR18*0.9,AY,0),COLORGREEN;
DRAWTEXT(NT=9,VAR18*0.9,' 9'),COLORGREEN;
B1:=C<REF(C,4);
NT0:=BARSLAST(B1);
TJ21:=NT0=9 ;
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWNUMBER(AY1>0,VAR18*1.1,AY1,0),COLORMAGENTA;
DRAWTEXT(NT0=9,VAR18*1.1,' 9'),COLORMAGENTA; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容