请老师帮忙改成博易大师可用 [博易POBO]
咨询内容:
收盘价:C,NODRAW;
N:=12;
MA10:=MA(C,10);
MID乾坤:=MA(CLOSE,N),RGB(255,255,255);
MID :=IF(DATE<900101,MID乾坤,0),NODRAW;
T1:=IF(MID>REF(MID,1),1,0 ),NODRAW;
S1:= IF(MA10>MID AND T1=0,MID,NULL),RGB(255,255,0),LINETHICK2;
S2:= IF(MA10<MID AND T1=1,MID,NULL),RGB(255,255,0),LINETHICK2;
A:=CROSS(MA10>MID AND MID>REF(MID,1),0.5)&&REFX(EVERY(NOT(MA10<MID AND T1=0),6),5);
B:=CROSS(MA10<MID AND T1=0,0.5)&&REFX(EVERY(NOT(MA10>MID AND MID>REF(MID,1)),6),5);
DRAWLINE3(A,LLV(L,BARSLAST(B)+1),LLVBARS(L,BARSLAST(B)+1),B,HHV(H,BARSLAST(A)+1),HHVBARS(H,BARSLAST(A)+1),0),COLORRED;
DRAWLINE3(B,HHV(H,BARSLAST(A)+1),HHVBARS(H,BARSLAST(A)+1),A,LLV(L,BARSLAST(B)+1),LLVBARS(L,BARSLAST(B)+1),0),COLORGREEN;
DRAWLINE3(ISLASTBAR,L,0,ISLASTBAR&&BARSLAST(B)<BARSLAST(A),REF(HHV(H,BARSLAST(A)+1),BARSLAST(B)+1),BARSLAST(B)+VALUEWHEN(B,HHVBARS(H,BARSLAST(A)+1)),0),COLORGREEN;
DRAWLINE3(ISLASTBAR,H,0,ISLASTBAR&&BARSLAST(B)>BARSLAST(A),REF(LLV(L,BARSLAST(B)+1),BARSLAST(A)+1),BARSLAST(A)+VALUEWHEN(A,LLVBARS(L,BARSLAST(B)+1)),0),COLORRED;
O1:=BACKSET(ISLASTBAR&&BARSLAST(B)<BARSLAST(A),BARSLAST(B)+VALUEWHEN(B,HHVBARS(H,BARSLAST(A)+1))+1),NODRAW;
O2:=BACKSET(ISLASTBAR&&BARSLAST(B)>BARSLAST(A),BARSLAST(A)+VALUEWHEN(A,LLVBARS(L,BARSLAST(B)+1))+1),NODRAW;
AA:=BACKSET(A,LLVBARS(L,BARSLAST(B)+1));
BB:=BACKSET(B,HHVBARS(H,BARSLAST(A)+1));
HX:=BACKSET(REFX(CROSS(BB=1,0.5),1),BARSLAST(CROSS(AA=1,0.5))+1);
LX:=BACKSET(REFX(CROSS(AA=1,0.5),1),BARSLAST(CROSS(BB=1,0.5))+1);
DRAWSL(O2||HX,O,0,-0.35,0,COLORRED),LINETHICK2;
DRAWSL(O2||HX,C,0,0.35,0,COLORRED),LINETHICK2;
DRAWLINE(O2||HX,L,O2||HX,H,COLORRED),LINETHICK2;
DRAWSL(O1||LX,O,0,-0.35,0,COLORGREEN),LINETHICK2;
DRAWSL(O1||LX,C,0,0.35,0,COLORGREEN),LINETHICK2;
DRAWLINE(O1||LX,L,O1||LX,H,COLORGREEN),LINETHICK2;
收盘价:C,NODRAW;
N:=12;
MA10:=MA(C,10);
MID乾坤:=MA(CLOSE,N),RGB(255,255,255);
MID:=IF(DATE<900101,MID乾坤,0),NODRAW;
T1:=IF(MID>REF(MID,1),1,0),NODRAW;
S1:=IF(MA10>MIDANDT1=0,MID,NULL),RGB(255,255,0),LINETHICK2;
S2:=IF(MA10<MIDANDT1=1,MID,NULL),RGB(255,255,0),LINETHICK2;
A:=CROSS(MA10>MIDANDMID>REF(MID,1),0.5)&&REFX(EVERY(NOT(MA10<MIDANDT1=0),6),5);
B:=CROSS(MA10<MIDANDT1=0,0.5)&&REFX(EVERY(NOT(MA10>MIDANDMID>REF(MID,1)),6),5);
DRAWLINE3(A,LLV(L,BARSLAST(B)+1),LLVBARS(L,BARSLAST(B)+1),B,HHV(H,BARSLAST(A)+1),HHVBARS(H,BARSLAST(A)+1),0),COLORRED;
DRAWLINE3(B,HHV(H,BARSLAST(A)+1),HHVBARS(H,BARSLAST(A)+1),A,LLV(L,BARSLAST(B)+1),LLVBARS(L,BARSLAST(B)+1),0),COLORGREEN;
那这个指标可以修改吗 来源 程序化久久网
请老师帮忙改成博易大师可用
OPEN,BAMBOOLINE;收盘价:C,NODRAW;
N:=12;
MA10:=MA(C,10);
MID乾坤:=MA(CLOSE,N),RGB(255,255,255);
MID :=IF(DATE<900101,MID乾坤,0),NODRAW;
T1:=IF(MID>REF(MID,1),1,0 ),NODRAW;
S1:= IF(MA10>MID AND T1=0,MID,NULL),RGB(255,255,0),LINETHICK2;
S2:= IF(MA10<MID AND T1=1,MID,NULL),RGB(255,255,0),LINETHICK2;
A:=CROSS(MA10>MID AND MID>REF(MID,1),0.5)&&REFX(EVERY(NOT(MA10<MID AND T1=0),6),5);
B:=CROSS(MA10<MID AND T1=0,0.5)&&REFX(EVERY(NOT(MA10>MID AND MID>REF(MID,1)),6),5);
DRAWLINE3(A,LLV(L,BARSLAST(B)+1),LLVBARS(L,BARSLAST(B)+1),B,HHV(H,BARSLAST(A)+1),HHVBARS(H,BARSLAST(A)+1),0),COLORRED;
DRAWLINE3(B,HHV(H,BARSLAST(A)+1),HHVBARS(H,BARSLAST(A)+1),A,LLV(L,BARSLAST(B)+1),LLVBARS(L,BARSLAST(B)+1),0),COLORGREEN;
DRAWLINE3(ISLASTBAR,L,0,ISLASTBAR&&BARSLAST(B)<BARSLAST(A),REF(HHV(H,BARSLAST(A)+1),BARSLAST(B)+1),BARSLAST(B)+VALUEWHEN(B,HHVBARS(H,BARSLAST(A)+1)),0),COLORGREEN;
DRAWLINE3(ISLASTBAR,H,0,ISLASTBAR&&BARSLAST(B)>BARSLAST(A),REF(LLV(L,BARSLAST(B)+1),BARSLAST(A)+1),BARSLAST(A)+VALUEWHEN(A,LLVBARS(L,BARSLAST(B)+1)),0),COLORRED;
O1:=BACKSET(ISLASTBAR&&BARSLAST(B)<BARSLAST(A),BARSLAST(B)+VALUEWHEN(B,HHVBARS(H,BARSLAST(A)+1))+1),NODRAW;
O2:=BACKSET(ISLASTBAR&&BARSLAST(B)>BARSLAST(A),BARSLAST(A)+VALUEWHEN(A,LLVBARS(L,BARSLAST(B)+1))+1),NODRAW;
AA:=BACKSET(A,LLVBARS(L,BARSLAST(B)+1));
BB:=BACKSET(B,HHVBARS(H,BARSLAST(A)+1));
HX:=BACKSET(REFX(CROSS(BB=1,0.5),1),BARSLAST(CROSS(AA=1,0.5))+1);
LX:=BACKSET(REFX(CROSS(AA=1,0.5),1),BARSLAST(CROSS(BB=1,0.5))+1);
DRAWSL(O2||HX,O,0,-0.35,0,COLORRED),LINETHICK2;
DRAWSL(O2||HX,C,0,0.35,0,COLORRED),LINETHICK2;
DRAWLINE(O2||HX,L,O2||HX,H,COLORRED),LINETHICK2;
DRAWSL(O1||LX,O,0,-0.35,0,COLORGREEN),LINETHICK2;
DRAWSL(O1||LX,C,0,0.35,0,COLORGREEN),LINETHICK2;
DRAWLINE(O1||LX,L,O1||LX,H,COLORGREEN),LINETHICK2;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 很多函数无法匹配,所以不能修改。 OPEN,BAMBOOLINE;收盘价:C,NODRAW;
N:=12;
MA10:=MA(C,10);
MID乾坤:=MA(CLOSE,N),RGB(255,255,255);
MID:=IF(DATE<900101,MID乾坤,0),NODRAW;
T1:=IF(MID>REF(MID,1),1,0),NODRAW;
S1:=IF(MA10>MIDANDT1=0,MID,NULL),RGB(255,255,0),LINETHICK2;
S2:=IF(MA10<MIDANDT1=1,MID,NULL),RGB(255,255,0),LINETHICK2;
A:=CROSS(MA10>MIDANDMID>REF(MID,1),0.5)&&REFX(EVERY(NOT(MA10<MIDANDT1=0),6),5);
B:=CROSS(MA10<MIDANDT1=0,0.5)&&REFX(EVERY(NOT(MA10>MIDANDMID>REF(MID,1)),6),5);
DRAWLINE3(A,LLV(L,BARSLAST(B)+1),LLVBARS(L,BARSLAST(B)+1),B,HHV(H,BARSLAST(A)+1),HHVBARS(H,BARSLAST(A)+1),0),COLORRED;
DRAWLINE3(B,HHV(H,BARSLAST(A)+1),HHVBARS(H,BARSLAST(A)+1),A,LLV(L,BARSLAST(B)+1),LLVBARS(L,BARSLAST(B)+1),0),COLORGREEN;
那这个指标可以修改吗 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容