四边形代码修改 [博易POBO]
咨询内容:
四边形代码修改
VV:=DAY;//框线是什么框线
//1MIN,3MIN,5MIN,10MIN,15MIN,30MIN,1HOUR,2HOUR,3HOUR,4HOUR,DAY,WEEK,MONTH。
XX:=BARSLAST(VV<>REF(VV,1))+1;
SP:=ISLASTBAR||REFX(XX=1,1);
OO:=REF(O,XX-1);
DRAWSL(SP&&C>OO,OO,0,-XX+1,0),COLORRED;
DRAWSL(SP&&C<OO,OO,0,-XX+1,0),COLORBLUE;
DRAWSL(SP&&C=OO,OO,0,-XX+1,0),COLORGRAY;
DRAWSL(SP&&C>OO,C,0,-XX+1,0),COLORRED;
DRAWSL(SP&&C<OO,C,0,-XX+1,0),COLORBLUE;//下边
//DRAWSL(SP&&C=OO,C,0,-XX+1,0),COLORGRAY;
DRAWLINE(SP&&C>OO,C,1,OO),COLORRED;
DRAWLINE(SP&&C>OO,C,XX-1,1,OO,XX-1,0),COLORRED;
//DRAWLINE3(SP&&C>OO,HHV(H,XX),XX/2-1,1,C,XX/2-1,0),COLORRED;
//DRAWLINE3(SP&&C>OO,LLV(L,XX),XX/2-1,1,OO,XX/2-1,0),COLORRED;
DRAWLINE(SP&&C<OO,C,1,OO,COLORBLUE);
DRAWLINE(SP&&C<OO,C,XX-1,1,OO,XX-1,0),COLORBLUE;
//1MIN,3MIN,5MIN,10MIN,15MIN,30MIN,1HOUR,2HOUR,3HOUR,4HOUR,DAY,WEEK,MONTH。
XX:=BARSLAST(VV<>REF(VV,1))+1;
SP:=ISLASTBAR||REFX(XX=1,1);
OO:=REF(O,XX-1);
DRAWSL(SP&&C>OO,OO,0,-XX+1,0),COLORRED;
DRAWSL(SP&&C<OO,OO,0,-XX+1,0),COLORBLUE;
DRAWSL(SP&&C=OO,OO,0,-XX+1,0),COLORGRAY;
DRAWSL(SP&&C>OO,C,0,-XX+1,0),COLORRED;
DRAWSL(SP&&C<OO,C,0,-XX+1,0),COLORBLUE;//下边
//DRAWSL(SP&&C=OO,C,0,-XX+1,0),COLORGRAY;
DRAWLINE(SP&&C>OO,C,1,OO),COLORRED;
DRAWLINE(SP&&C>OO,C,XX-1,1,OO,XX-1,0),COLORRED;
//DRAWLINE3(SP&&C>OO,HHV(H,XX),XX/2-1,1,C,XX/2-1,0),COLORRED;
//DRAWLINE3(SP&&C>OO,LLV(L,XX),XX/2-1,1,OO,XX/2-1,0),COLORRED;
DRAWLINE(SP&&C<OO,C,1,OO,COLORBLUE);
DRAWLINE(SP&&C<OO,C,XX-1,1,OO,XX-1,0),COLORBLUE;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 博易大师的技术员,对发帖子没得回复,文华财经人家做得很好。有贴必复。 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容