请老师帮忙修改 [博易POBO]
咨询内容:
LL:=LLV(L,DAYBARPOS);
MM:=MOD(BARPOS,2);
A1:=BACKSET(MM=1&&REFX1(DAYBARPOS=1,1)||MM=1&&ISLASTBAR,HHVBARS(H,DAYBARPOS)+1);
B1:=BACKSET(MM=1&&REFX1(DAYBARPOS=1,1)||MM=1&&ISLASTBAR,LLVBARS(L,DAYBARPOS)+1);
DRAWTEXT(CROSS(A1,0.5),H,'卖'),COLORRED,VALIGN2,FONTSIZE20;
DRAWTEXT(CROSS(B1,0.5),L,'买'),COLORGREEN,VALIGN0,FONTSIZE20;
A2:=BACKSET(MM=0&&REFX1(DAYBARPOS=1,1)||MM=0&&ISLASTBAR,HHVBARS(H,DAYBARPOS)+1);
B2:=BACKSET(MM=0&&REFX1(DAYBARPOS=1,1)||MM=0&&ISLASTBAR,LLVBARS(L,DAYBARPOS)+1);
DRAWTEXT(CROSS(A2,0.5),H,'▼'),COLORWHITE,VALIGN2,FONTSIZE22;
DRAWTEXT(CROSS(B2,0.5),L,'▲'),COLORYELLOW,VALIGN0,FONTSIZE22;
HH:=HHV(H,DAYBARPOS);
LL:=LLV(L,DAYBARPOS);
MM:=MOD(BARPOS,2);
A1:=BACKSET(MM=1&&REFX(DAYBARPOS=1,1)||MM=1&&ISLASTBAR,HHVBARS(H,DAYBARPOS)+1);
B1:=BACKSET(MM=1&&REFX(DAYBARPOS=1,1)||MM=1&&ISLASTBAR,LLVBARS(L,DAYBARPOS)+1);
DRAWTEXT(CROSS(A1,0.5),H,'卖'),COLORRED,VALIGN2,FONTSIZE20;
DRAWTEXT(CROSS(B1,0.5),L,'买'),COLORGREEN,VALIGN0,FONTSIZE20;
A2:=BACKSET(MM=0&&REFX(DAYBARPOS=1,1)||MM=0&&ISLASTBAR,HHVBARS(H,DAYBARPOS)+1);
B2:=BACKSET(MM=0&&REFX(DAYBARPOS=1,1)||MM=0&&ISLASTBAR,LLVBARS(L,DAYBARPOS)+1);
DRAWTEXT(CROSS(A2,0.5),H,'▼'),COLORWHITE,VALIGN2,FONTSIZE22;
DRAWTEXT(CROSS(B2,0.5),L,'▲'),COLORYELLOW,VALIGN0,FONTSIZE22; 来源 程序化久久网
请老师帮忙修改
HH:=HHV(H,DAYBARPOS);LL:=LLV(L,DAYBARPOS);
MM:=MOD(BARPOS,2);
A1:=BACKSET(MM=1&&REFX1(DAYBARPOS=1,1)||MM=1&&ISLASTBAR,HHVBARS(H,DAYBARPOS)+1);
B1:=BACKSET(MM=1&&REFX1(DAYBARPOS=1,1)||MM=1&&ISLASTBAR,LLVBARS(L,DAYBARPOS)+1);
DRAWTEXT(CROSS(A1,0.5),H,'卖'),COLORRED,VALIGN2,FONTSIZE20;
DRAWTEXT(CROSS(B1,0.5),L,'买'),COLORGREEN,VALIGN0,FONTSIZE20;
A2:=BACKSET(MM=0&&REFX1(DAYBARPOS=1,1)||MM=0&&ISLASTBAR,HHVBARS(H,DAYBARPOS)+1);
B2:=BACKSET(MM=0&&REFX1(DAYBARPOS=1,1)||MM=0&&ISLASTBAR,LLVBARS(L,DAYBARPOS)+1);
DRAWTEXT(CROSS(A2,0.5),H,'▼'),COLORWHITE,VALIGN2,FONTSIZE22;
DRAWTEXT(CROSS(B2,0.5),L,'▲'),COLORYELLOW,VALIGN0,FONTSIZE22;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: DAYBARPOS:=BARSLAST(REF(HOUR,1)=15 AND HOUR<>15)-1;HH:=HHV(H,DAYBARPOS);
LL:=LLV(L,DAYBARPOS);
MM:=MOD(BARPOS,2);
A1:=BACKSET(MM=1&&REFX(DAYBARPOS=1,1)||MM=1&&ISLASTBAR,HHVBARS(H,DAYBARPOS)+1);
B1:=BACKSET(MM=1&&REFX(DAYBARPOS=1,1)||MM=1&&ISLASTBAR,LLVBARS(L,DAYBARPOS)+1);
DRAWTEXT(CROSS(A1,0.5),H,'卖'),COLORRED,VALIGN2,FONTSIZE20;
DRAWTEXT(CROSS(B1,0.5),L,'买'),COLORGREEN,VALIGN0,FONTSIZE20;
A2:=BACKSET(MM=0&&REFX(DAYBARPOS=1,1)||MM=0&&ISLASTBAR,HHVBARS(H,DAYBARPOS)+1);
B2:=BACKSET(MM=0&&REFX(DAYBARPOS=1,1)||MM=0&&ISLASTBAR,LLVBARS(L,DAYBARPOS)+1);
DRAWTEXT(CROSS(A2,0.5),H,'▼'),COLORWHITE,VALIGN2,FONTSIZE22;
DRAWTEXT(CROSS(B2,0.5),L,'▲'),COLORYELLOW,VALIGN0,FONTSIZE22; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容