请老师帮忙修改 [博易POBO]
咨询内容:
N1 :=60;
N2 :=30;
P1 := 60;
P2 := 30;
M:=10;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
MMM:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
GGG:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
IF(GGG>=REF(GGG,1),GGG,NULL),COLORRED,LINETHICK3;
IF(GGG<=REF(GGG,1),GGG,NULL),COLORGREEN,LINETHICK3;
BDGD:=C=HHV(C,P1);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),P2))+1;
GD:REF(H,GDSJ),COLOR00FF00,POINTDOT,LINETHICK1;
TTP:=CROSS(C,REF(GD,1)),COLOR00FFFF,POINTDOT,NODRAW;
STICKLINE(GDSJ<=6,GD,GD,8,0),COLORFF00FF;
BDDD:=C=LLV(C,N1);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),N2))+1;
DDD1:REF(L,DDSJ),COLOR00FFFF,POINTDOT,LINETHICK1;
STICKLINE(DDSJ<=6,DDD1,DDD1,8,0),COLOR00FF00;
XG6:=DDSJ=1;
XG7:=DDD1>REF(DDD1,1) ;
DRAWICON(XG6,L,1);
DRAWICON(XG7,L*0.999,23);
XGT6:=BARSLAST(XG6);
DPD:=C=LLV(C,60);
DPD2:=FILTER(CROSS(0.8,DPD),30) ;
DRAWICON(DPD2,L,1);
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),6,1) / SMA(ABS((CLOSE - VAR1)),6,1)) * 100);
MC:=CROSS(90,VAR2);
DRAWICON(MC,H,2);
N2 :=30;
P1 := 60;
P2 := 30;
M:=10;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
MMM:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
GGG:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
IF(GGG>=REF(GGG,1),GGG,DRAWNULL),COLORRED,LINETHICK3;
IF(GGG<=REF(GGG,1),GGG,DRAWNULL),COLORGREEN,LINETHICK3;
BDGD:=C=HHV(C,P1);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),P2))+1;
GD:REF(H,GDSJ),COLOR00FF00,POINTDOT,LINETHICK1;
TTP:=CROSS(C,REF(GD,1)),COLOR00FFFF,POINTDOT,NODRAW;
STICKLINE(GDSJ<=6,GD,GD,8,0),COLORFF00FF;
BDDD:=C=LLV(C,N1);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),N2))+1;
DDD1:REF(L,DDSJ),COLOR00FFFF,POINTDOT,LINETHICK1;
STICKLINE(DDSJ<=6,DDD1,DDD1,8,0),COLOR00FF00;
XG6:=DDSJ=1;
XG7:=DDD1>REF(DDD1,1) ;
DRAWICON(XG6,L,1);
DRAWICON(XG7,L*0.999,23);
XGT6:=BARSLAST(XG6);
DPD:=C=LLV(C,60);
DPD2:=FILTER(CROSS(0.8,DPD),30) ;
DRAWICON(DPD2,L,1);
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),6,1) / SMA(ABS((CLOSE - VAR1)),6,1)) * 100);
MC:=CROSS(90,VAR2);
DRAWICON(MC,H,2);
来源 程序化久久网
请老师帮忙修改
N1 :=60;
N2 :=30;
P1 := 60;
P2 := 30;
M:=10;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
MMM:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
GGG:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
IF(GGG>=REF(GGG,1),GGG,NULL),COLORRED,LINETHICK3;
IF(GGG<=REF(GGG,1),GGG,NULL),COLORGREEN,LINETHICK3;
BDGD:=C=HHV(C,P1);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),P2))+1;
GD:REF(H,GDSJ),COLOR00FF00,POINTDOT,LINETHICK1;
TTP:=CROSS(C,REF(GD,1)),COLOR00FFFF,POINTDOT,NODRAW;
STICKLINE(GDSJ<=6,GD,GD,8,0),COLORFF00FF;
BDDD:=C=LLV(C,N1);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),N2))+1;
DDD1:REF(L,DDSJ),COLOR00FFFF,POINTDOT,LINETHICK1;
STICKLINE(DDSJ<=6,DDD1,DDD1,8,0),COLOR00FF00;
XG6:=DDSJ=1;
XG7:=DDD1>REF(DDD1,1) ;
DRAWICON(XG6,L,1);
DRAWICON(XG7,L*0.999,23);
XGT6:=BARSLAST(XG6);
DPD:=C=LLV(C,60);
DPD2:=FILTER(CROSS(0.8,DPD),30) ;
DRAWICON(DPD2,L,1);
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),6,1) / SMA(ABS((CLOSE - VAR1)),6,1)) * 100);
MC:=CROSS(90,VAR2);
DRAWICON(MC,H,2);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: N1 :=60;N2 :=30;
P1 := 60;
P2 := 30;
M:=10;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
MMM:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
GGG:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
IF(GGG>=REF(GGG,1),GGG,DRAWNULL),COLORRED,LINETHICK3;
IF(GGG<=REF(GGG,1),GGG,DRAWNULL),COLORGREEN,LINETHICK3;
BDGD:=C=HHV(C,P1);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),P2))+1;
GD:REF(H,GDSJ),COLOR00FF00,POINTDOT,LINETHICK1;
TTP:=CROSS(C,REF(GD,1)),COLOR00FFFF,POINTDOT,NODRAW;
STICKLINE(GDSJ<=6,GD,GD,8,0),COLORFF00FF;
BDDD:=C=LLV(C,N1);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),N2))+1;
DDD1:REF(L,DDSJ),COLOR00FFFF,POINTDOT,LINETHICK1;
STICKLINE(DDSJ<=6,DDD1,DDD1,8,0),COLOR00FF00;
XG6:=DDSJ=1;
XG7:=DDD1>REF(DDD1,1) ;
DRAWICON(XG6,L,1);
DRAWICON(XG7,L*0.999,23);
XGT6:=BARSLAST(XG6);
DPD:=C=LLV(C,60);
DPD2:=FILTER(CROSS(0.8,DPD),30) ;
DRAWICON(DPD2,L,1);
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),6,1) / SMA(ABS((CLOSE - VAR1)),6,1)) * 100);
MC:=CROSS(90,VAR2);
DRAWICON(MC,H,2);
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容