求助论坛老师帮助写个博易大师软件的指标,先谢谢老师 [博易POBO]
咨询内容:
<!-- 咨询内容:
A1:=STKCALC('',8,'ref(h,1)');
A2:=STKCALC('',8,'ref(l,1)');
DRAWSL(A AND MONTH=MONTHOFDATE(CURRENTDATE) AND YEAR=YEAROFDATE(CURRENTDATE),A1,0,0,0),COLORRED;
DRAWSL(A AND MONTH=MONTHOFDATE(CURRENTDATE) AND YEAR=YEAROFDATE(CURRENTDATE),A2,0,0,0),COLORGREEN;
DRAWSL(A AND MONTH=MONTHOFDATE(CURRENTDATE) AND YEAR=YEAROFDATE(CURRENTDATE),(A1+A2)/2,0,0,0),COLORYELLOW; A:=DAY<REF(DAY,1)ANDDAY<REFX(DAY,1);
A1:=STKCALC('',8,'h');
A2:=STKCALC('',8,'l');
A11:=H>=STKCALC('',8,'h');
A22:=L<=STKCALC('',8,'l');
DRAWSL(A11ANDMONTH=MONTHOFDATE(CURRENTDATE)-1ANDYEAR=YEAROFDATE(CURRENTDATE),A1,0,0,0),COLORRED;
DRAWSL(A22ANDMONTH=MONTHOFDATE(CURRENTDATE)-1ANDYEAR=YEAROFDATE(CURRENTDATE),A2,0,0,0),COLORGREEN;
DRAWSL(AANDMONTH=MONTHOFDATE(CURRENTDATE)ANDYEAR=YEAROFDATE(CURRENTDATE),(STKCALC('',8,'ref(h,1)')+STKCALC('',8,'ref(l,1)'))/2,0,0,0),COLORYELLOW;
AA:=STKCALC('',8,'ref(h,1)');
AAA:=STKCALC('',8,'ref(l,1)');
A3:=(STKCALC('',8,'ref(h,1)')+STKCALC('',8,'ref(l,1)'))/2;
DRAWTEXT(ISLASTBAR,AA*1.003,' '+NUMTOSTR(AA,0));
DRAWTEXT(ISLASTBAR,AAA*1.003,' '+NUMTOSTR(AAA,0));
DRAWTEXT(ISLASTBAR,A3*1.003,' '+NUMTOSTR(A3,0));
您可以调节最后三行1.003的大小来控制数字的显示位置 来源 程序化久久网
求助论坛老师帮助写个博易大师软件的指标,先谢谢老师
在日k线图上显示前个月K线高低半分位延伸线到右边框, 标数字的指标公式,只显示前个月K线的,一前的都不要显示<!-- 咨询内容:
附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: A:=DAY<REF(DAY,1) AND DAY<REFX(DAY,1);A1:=STKCALC('',8,'ref(h,1)');
A2:=STKCALC('',8,'ref(l,1)');
DRAWSL(A AND MONTH=MONTHOFDATE(CURRENTDATE) AND YEAR=YEAROFDATE(CURRENTDATE),A1,0,0,0),COLORRED;
DRAWSL(A AND MONTH=MONTHOFDATE(CURRENTDATE) AND YEAR=YEAROFDATE(CURRENTDATE),A2,0,0,0),COLORGREEN;
DRAWSL(A AND MONTH=MONTHOFDATE(CURRENTDATE) AND YEAR=YEAROFDATE(CURRENTDATE),(A1+A2)/2,0,0,0),COLORYELLOW; A:=DAY<REF(DAY,1)ANDDAY<REFX(DAY,1);
A1:=STKCALC('',8,'h');
A2:=STKCALC('',8,'l');
A11:=H>=STKCALC('',8,'h');
A22:=L<=STKCALC('',8,'l');
DRAWSL(A11ANDMONTH=MONTHOFDATE(CURRENTDATE)-1ANDYEAR=YEAROFDATE(CURRENTDATE),A1,0,0,0),COLORRED;
DRAWSL(A22ANDMONTH=MONTHOFDATE(CURRENTDATE)-1ANDYEAR=YEAROFDATE(CURRENTDATE),A2,0,0,0),COLORGREEN;
DRAWSL(AANDMONTH=MONTHOFDATE(CURRENTDATE)ANDYEAR=YEAROFDATE(CURRENTDATE),(STKCALC('',8,'ref(h,1)')+STKCALC('',8,'ref(l,1)'))/2,0,0,0),COLORYELLOW;
AA:=STKCALC('',8,'ref(h,1)');
AAA:=STKCALC('',8,'ref(l,1)');
A3:=(STKCALC('',8,'ref(h,1)')+STKCALC('',8,'ref(l,1)'))/2;
DRAWTEXT(ISLASTBAR,AA*1.003,' '+NUMTOSTR(AA,0));
DRAWTEXT(ISLASTBAR,AAA*1.003,' '+NUMTOSTR(AAA,0));
DRAWTEXT(ISLASTBAR,A3*1.003,' '+NUMTOSTR(A3,0));
您可以调节最后三行1.003的大小来控制数字的显示位置 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容