请老师改成博弈指标 [博易POBO]
咨询内容:
Q:=BACKSET(ISLASTBAR,NNA);
YS:=GETPRICE('YSETTLE');
O1:=GETPRICE('OPEN');
AAY:=BACKSET(ISLASTBAR,DAYBARPOS);
NS:=BARSLAST(DATE<>REF(DATE,1))+1;
N1:=REF(NS,NS);
DRAWSL(ISLASTBAR,HHV(H,NNA),0,-NNA,0,COLORWHITE),LINETHICK7;
DRAWTEXT(ISLASTBAR,HHV(H,NNA),' 高'),COLORWHITE,VALIGN1,ALIGN0,FONTSIZE20;
DRAWSL(ISLASTBAR,LLV(L,NNA),0,-NNA,0,COLORWHITE),LINETHICK7;
DRAWTEXT(ISLASTBAR,LLV(L,NNA),' 低'),COLORWHITE,VALIGN1,ALIGN0,FONTSIZE20;
DRAWSL(ISLASTBAR,LLV(L,NNA),0,-LLVBARS(L,NNA),0,COLORGREEN),LINETHICK7;
DRAWSL(ISLASTBAR,HHV(H,NNA),0,-HHVBARS(H,NNA),0,COLORRED),LINETHICK7;
NNA:=MIN(DAYBARPOS,BARSLAST(TIME=110000));
Q:=BACKSET(ISLASTBAR,NNA);
YS:=STKCALC('',6,'ref(SETTLEPRICE,1)');
O1:=STKCALC('',6,'open');
AAY:=BACKSET(ISLASTBAR,DAYBARPOS);
NS:=BARSLAST(DATE<>REF(DATE,1))+1;
N1:=REF(NS,NS);
DRAWSL(ISLASTBAR,HHV(H,NNA),0,NNA,1),COLORWHITE,LINETHICK7;
DRAWTEXT(ISLASTBAR,HHV(H,NNA),' 高'),COLORWHITE,VALIGN1,ALIGN0,FONTSIZE20;
DRAWSL(ISLASTBAR,LLV(L,NNA),0,NNA,1),COLORWHITE,LINETHICK7;
DRAWTEXT(ISLASTBAR,LLV(L,NNA),' 低'),COLORWHITE,VALIGN1,ALIGN0,FONTSIZE20;
DRAWSL(ISLASTBAR,LLV(L,NNA),0,LLVBARS(L,NNA),1),COLORGREEN,LINETHICK7;
DRAWSL(ISLASTBAR,HHV(H,NNA),0,HHVBARS(H,NNA),1),COLORRED,LINETHICK7; 谢谢老师 来源 程序化久久网
请老师改成博弈指标
NNA:=MIN(DAYBARPOS,BARSLAST(TIME=0900));Q:=BACKSET(ISLASTBAR,NNA);
YS:=GETPRICE('YSETTLE');
O1:=GETPRICE('OPEN');
AAY:=BACKSET(ISLASTBAR,DAYBARPOS);
NS:=BARSLAST(DATE<>REF(DATE,1))+1;
N1:=REF(NS,NS);
DRAWSL(ISLASTBAR,HHV(H,NNA),0,-NNA,0,COLORWHITE),LINETHICK7;
DRAWTEXT(ISLASTBAR,HHV(H,NNA),' 高'),COLORWHITE,VALIGN1,ALIGN0,FONTSIZE20;
DRAWSL(ISLASTBAR,LLV(L,NNA),0,-NNA,0,COLORWHITE),LINETHICK7;
DRAWTEXT(ISLASTBAR,LLV(L,NNA),' 低'),COLORWHITE,VALIGN1,ALIGN0,FONTSIZE20;
DRAWSL(ISLASTBAR,LLV(L,NNA),0,-LLVBARS(L,NNA),0,COLORGREEN),LINETHICK7;
DRAWSL(ISLASTBAR,HHV(H,NNA),0,-HHVBARS(H,NNA),0,COLORRED),LINETHICK7;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DAYBARPOS:=BARSLAST(REF(HOUR,1)=15 AND HOUR<>15);NNA:=MIN(DAYBARPOS,BARSLAST(TIME=110000));
Q:=BACKSET(ISLASTBAR,NNA);
YS:=STKCALC('',6,'ref(SETTLEPRICE,1)');
O1:=STKCALC('',6,'open');
AAY:=BACKSET(ISLASTBAR,DAYBARPOS);
NS:=BARSLAST(DATE<>REF(DATE,1))+1;
N1:=REF(NS,NS);
DRAWSL(ISLASTBAR,HHV(H,NNA),0,NNA,1),COLORWHITE,LINETHICK7;
DRAWTEXT(ISLASTBAR,HHV(H,NNA),' 高'),COLORWHITE,VALIGN1,ALIGN0,FONTSIZE20;
DRAWSL(ISLASTBAR,LLV(L,NNA),0,NNA,1),COLORWHITE,LINETHICK7;
DRAWTEXT(ISLASTBAR,LLV(L,NNA),' 低'),COLORWHITE,VALIGN1,ALIGN0,FONTSIZE20;
DRAWSL(ISLASTBAR,LLV(L,NNA),0,LLVBARS(L,NNA),1),COLORGREEN,LINETHICK7;
DRAWSL(ISLASTBAR,HHV(H,NNA),0,HHVBARS(H,NNA),1),COLORRED,LINETHICK7; 谢谢老师 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容