请老师改成博弈指标 [博易POBO]
咨询内容:
HH:=H>HV(H,N);
NH:=BARSLAST(HH)+1;
LL:=L<LV(L,N);
NL:=BARSLAST(LL)+1;
AH:=BACKSET(COUNT(LL,NH)&&LL,NH);
AL:=BACKSET(COUNT(HH,NL)&&HH,NL);
DRAWLINE1(CROSS(AH=1,0.5),H,CROSS(AL=1,0.5),L,0),LINETHICK4,COLORGREEN;
DRAWLINE1(CROSS(AL=1,0.5),L,CROSS(AH=1,0.5),H,0),LINETHICK4,COLORRED;
DRAWSL1(ISLASTBAR&&BARSLAST(CROSS(AL=1,0.5))<BARSLAST(CROSS(AH=1,0.5)),VALUEWHEN(CROSS(AL=1,0.5),L),0,BARSLAST(CROSS(AL=1,0.5)),1),LINETHICK7,COLORFFFF00;
DRAWSL1(ISLASTBAR&&BARSLAST(CROSS(AH=1,0.5))<BARSLAST(CROSS(AL=1,0.5)),VALUEWHEN(CROSS(AH=1,0.5),H),0,BARSLAST(CROSS(AH=1,0.5)),1),LINETHICK7,COLORGREEN;
DRAWNUMBER(ISLASTBAR&&BARSLAST(CROSS(AL=1,0.5))<BARSLAST(CROSS(AH=1,0.5)),VALUEWHEN(CROSS(AL=1,0.5),L),C,2,COLORGREEN),ALIGN0,FONTSIZE30;
DRAWNUMBER(ISLASTBAR&&BARSLAST(CROSS(AH=1,0.5))<BARSLAST(CROSS(AL=1,0.5)),VALUEWHEN(CROSS(AH=1,0.5),H),C,2,COLORGREEN),ALIGN0,FONTSIZE30;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSSDOWN(AH,0.5)||CROSSDOWN(AL,0.5))+1);
VERTLINE1(CROSS(AA,0.5)&&CROSSDOWN(AH,0.5)),COLORGREEN;
VERTLINE1(CROSS(AA,0.5)&&CROSSDOWN(AL,0.5)),COLORRED;
HH:=H>=HHV(H,N);
NH:=BARSLAST(HH)+1;
LL:=L<=LLV(L,N);
NL:=BARSLAST(LL)+1;
AH:=BACKSET(COUNT(LL,NH)&&LL,NH);
AL:=BACKSET(COUNT(HH,NL)&&HH,NL);
DRAWLINE(CROSS(AH=1,0.5),H,CROSS(AL=1,0.5),L,0),LINETHICK4,COLORGREEN;
DRAWLINE(CROSS(AL=1,0.5),L,CROSS(AH=1,0.5),H,0),LINETHICK4,COLORRED;
DRAWSL(ISLASTBAR&&BARSLAST(CROSS(AL=1,0.5))<BARSLAST(CROSS(AH=1,0.5)),VALUEWHEN(CROSS(AL=1,0.5),L),0,BARSLAST(CROSS(AL=1,0.5)),1),LINETHICK7,COLORFFFF00;
DRAWSL(ISLASTBAR&&BARSLAST(CROSS(AH=1,0.5))<BARSLAST(CROSS(AL=1,0.5)),VALUEWHEN(CROSS(AH=1,0.5),H),0,BARSLAST(CROSS(AH=1,0.5)),1),LINETHICK7,COLORGREEN;
DRAWNUMBER(ISLASTBAR&&BARSLAST(CROSS(AL=1,0.5))<BARSLAST(CROSS(AH=1,0.5)),VALUEWHEN(CROSS(AL=1,0.5),L),C,2),COLORGREEN,ALIGN0,FONTSIZE30;
DRAWNUMBER(ISLASTBAR&&BARSLAST(CROSS(AH=1,0.5))<BARSLAST(CROSS(AL=1,0.5)),VALUEWHEN(CROSS(AH=1,0.5),H),C,2),COLORGREEN,ALIGN0,FONTSIZE30;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(0.5,AH)||CROSS(0.5,AL))+1);
VERTLINE(CROSS(AA,0.5)&&CROSS(0.5,AH)),COLORGREEN;
VERTLINE(CROSS(AA,0.5)&&CROSS(0.5,AL)),COLORRED;
谢谢老师,祝老师新年快乐 来源 程序化久久网
请老师改成博弈指标
N:=13;HH:=H>HV(H,N);
NH:=BARSLAST(HH)+1;
LL:=L<LV(L,N);
NL:=BARSLAST(LL)+1;
AH:=BACKSET(COUNT(LL,NH)&&LL,NH);
AL:=BACKSET(COUNT(HH,NL)&&HH,NL);
DRAWLINE1(CROSS(AH=1,0.5),H,CROSS(AL=1,0.5),L,0),LINETHICK4,COLORGREEN;
DRAWLINE1(CROSS(AL=1,0.5),L,CROSS(AH=1,0.5),H,0),LINETHICK4,COLORRED;
DRAWSL1(ISLASTBAR&&BARSLAST(CROSS(AL=1,0.5))<BARSLAST(CROSS(AH=1,0.5)),VALUEWHEN(CROSS(AL=1,0.5),L),0,BARSLAST(CROSS(AL=1,0.5)),1),LINETHICK7,COLORFFFF00;
DRAWSL1(ISLASTBAR&&BARSLAST(CROSS(AH=1,0.5))<BARSLAST(CROSS(AL=1,0.5)),VALUEWHEN(CROSS(AH=1,0.5),H),0,BARSLAST(CROSS(AH=1,0.5)),1),LINETHICK7,COLORGREEN;
DRAWNUMBER(ISLASTBAR&&BARSLAST(CROSS(AL=1,0.5))<BARSLAST(CROSS(AH=1,0.5)),VALUEWHEN(CROSS(AL=1,0.5),L),C,2,COLORGREEN),ALIGN0,FONTSIZE30;
DRAWNUMBER(ISLASTBAR&&BARSLAST(CROSS(AH=1,0.5))<BARSLAST(CROSS(AL=1,0.5)),VALUEWHEN(CROSS(AH=1,0.5),H),C,2,COLORGREEN),ALIGN0,FONTSIZE30;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSSDOWN(AH,0.5)||CROSSDOWN(AL,0.5))+1);
VERTLINE1(CROSS(AA,0.5)&&CROSSDOWN(AH,0.5)),COLORGREEN;
VERTLINE1(CROSS(AA,0.5)&&CROSSDOWN(AL,0.5)),COLORRED;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: N:=13;HH:=H>=HHV(H,N);
NH:=BARSLAST(HH)+1;
LL:=L<=LLV(L,N);
NL:=BARSLAST(LL)+1;
AH:=BACKSET(COUNT(LL,NH)&&LL,NH);
AL:=BACKSET(COUNT(HH,NL)&&HH,NL);
DRAWLINE(CROSS(AH=1,0.5),H,CROSS(AL=1,0.5),L,0),LINETHICK4,COLORGREEN;
DRAWLINE(CROSS(AL=1,0.5),L,CROSS(AH=1,0.5),H,0),LINETHICK4,COLORRED;
DRAWSL(ISLASTBAR&&BARSLAST(CROSS(AL=1,0.5))<BARSLAST(CROSS(AH=1,0.5)),VALUEWHEN(CROSS(AL=1,0.5),L),0,BARSLAST(CROSS(AL=1,0.5)),1),LINETHICK7,COLORFFFF00;
DRAWSL(ISLASTBAR&&BARSLAST(CROSS(AH=1,0.5))<BARSLAST(CROSS(AL=1,0.5)),VALUEWHEN(CROSS(AH=1,0.5),H),0,BARSLAST(CROSS(AH=1,0.5)),1),LINETHICK7,COLORGREEN;
DRAWNUMBER(ISLASTBAR&&BARSLAST(CROSS(AL=1,0.5))<BARSLAST(CROSS(AH=1,0.5)),VALUEWHEN(CROSS(AL=1,0.5),L),C,2),COLORGREEN,ALIGN0,FONTSIZE30;
DRAWNUMBER(ISLASTBAR&&BARSLAST(CROSS(AH=1,0.5))<BARSLAST(CROSS(AL=1,0.5)),VALUEWHEN(CROSS(AH=1,0.5),H),C,2),COLORGREEN,ALIGN0,FONTSIZE30;
AA:=BACKSET(ISLASTBAR,BARSLAST(CROSS(0.5,AH)||CROSS(0.5,AL))+1);
VERTLINE(CROSS(AA,0.5)&&CROSS(0.5,AH)),COLORGREEN;
VERTLINE(CROSS(AA,0.5)&&CROSS(0.5,AL)),COLORRED;
谢谢老师,祝老师新年快乐 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容