求教1125老师, [博易POBO]
咨询内容:
MA5:EMA(C,5),LINETHICK2,COLORWHITE;
MA60:EMA(C,60),LINETHICK2,COLORFF00FF;
MA180:EMA(C,180),LINETHICK3,COLOR0040FF;
A1:=REF(HOUR,1)=15 AND HOUR<>15;
B1:=BARSLAST(A1);
O1:=REF(O,B1);
DRAWSL(ISLASTBAR,O1,0,B1,1);
DRAWNUMBER(ISLASTBAR,O1,O1,0),ALIGN0;
DRAWSL(ISLASTBAR,O1*1.004,0,B1,1),COLORFFFF00;
DRAWNUMBER(ISLASTBAR,O1*1.004,O1*1.004,0),ALIGN0,COLORFFFF00;
DRAWSL(ISLASTBAR,O1*0.996,0,B1,1),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,O1*0.996,O1*0.996,0),ALIGN0,COLOR0000FF;
DRAWSL(ISLASTBAR,O1*1.008,0,B1,1),COLORBLUE;
DRAWNUMBER(ISLASTBAR,O1*1.008,O1*1.008,0),ALIGN0,COLORBLUE;
DRAWSL(ISLASTBAR,O1*0.992,0,B1,1),COLORGREEN;
DRAWNUMBER(ISLASTBAR,O1*0.992,O1*0.992,0),ALIGN0,COLORGREEN;
MA5:EMA(C,5),LINETHICK2,COLORWHITE;
MA60:EMA(C,60),LINETHICK2,COLORFF00FF;
MA180:EMA(C,180),LINETHICK3,COLOR0040FF;
A1:=REF(HOUR,1)=15 AND HOUR<>15;
B1:=BARSLAST(A1);
O1:=REF(O,B1);
DRAWNUMBER(ISLASTBAR,O1,O1,0),ALIGN0;
DRAWNUMBER(ISLASTBAR,O1*1.004,O1*1.004,0),ALIGN0,COLORFFFF00;
DRAWNUMBER(ISLASTBAR,O1*0.996,O1*0.996,0),ALIGN0,COLOR0000FF;
DRAWNUMBER(ISLASTBAR,O1*1.008,O1*1.008,0),ALIGN0,COLORBLUE;
DRAWNUMBER(ISLASTBAR,O1*0.992,O1*0.992,0),ALIGN0,COLORGREEN; 不好意思,好久没进论坛,现帮你改了一下,不知你是否满意;
MA5:EMA(C,5),LINETHICK2,COLORWHITE;
MA60:EMA(C,60),LINETHICK2,COLORFF00FF;
MA180:EMA(C,180),LINETHICK3,COLOR0040FF;
A1:=REFX(STKCALC('',6,'REFX(ISLASTBAR,1)'),1);
B1:=BARSLAST(A1);
O1:=REF(O,B1);
DRAWLINE(B1>0,O1,ISLASTBAR,O1,0);
DRAWNUMBER(ISLASTBAR,O1,O1,0),ALIGN0;
DRAWLINE(B1>0,O1*1.004,ISLASTBAR,O1*1.004,0),COLORFFFF00;
DRAWNUMBER(ISLASTBAR,O1*1.004,O1*1.004,0),ALIGN0,COLORFFFF00;
DRAWLINE(B1>0,O1*0.996,ISLASTBAR,O1*0.996,0),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,O1*0.996,O1*0.996,0),ALIGN0,COLOR0000FF;
DRAWLINE(B1>0,O1*1.008,ISLASTBAR,O1*1.008,0),COLORBLUE;
DRAWNUMBER(ISLASTBAR,O1*1.008,O1*1.008,0),ALIGN0,COLORBLUE;
DRAWLINE(B1>0,O1*0.992,ISLASTBAR,O1*0.992,0),COLORGREEN;
DRAWNUMBER(ISLASTBAR,O1*0.992,O1*0.992,0),ALIGN0,COLORGREEN;
RETURN;
来源 程序化久久网
求教1125老师,
求教1125老师,帮我看看这个公式,当天五档线上午和晚上显示的时间有时有、有时没有。如果实在不行可不可以改成只显示五档数字二不显示线。我的QQ 1094287327MA5:EMA(C,5),LINETHICK2,COLORWHITE;
MA60:EMA(C,60),LINETHICK2,COLORFF00FF;
MA180:EMA(C,180),LINETHICK3,COLOR0040FF;
A1:=REF(HOUR,1)=15 AND HOUR<>15;
B1:=BARSLAST(A1);
O1:=REF(O,B1);
DRAWSL(ISLASTBAR,O1,0,B1,1);
DRAWNUMBER(ISLASTBAR,O1,O1,0),ALIGN0;
DRAWSL(ISLASTBAR,O1*1.004,0,B1,1),COLORFFFF00;
DRAWNUMBER(ISLASTBAR,O1*1.004,O1*1.004,0),ALIGN0,COLORFFFF00;
DRAWSL(ISLASTBAR,O1*0.996,0,B1,1),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,O1*0.996,O1*0.996,0),ALIGN0,COLOR0000FF;
DRAWSL(ISLASTBAR,O1*1.008,0,B1,1),COLORBLUE;
DRAWNUMBER(ISLASTBAR,O1*1.008,O1*1.008,0),ALIGN0,COLORBLUE;
DRAWSL(ISLASTBAR,O1*0.992,0,B1,1),COLORGREEN;
DRAWNUMBER(ISLASTBAR,O1*0.992,O1*0.992,0),ALIGN0,COLORGREEN;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 以下为只显示数字不显示线。MA5:EMA(C,5),LINETHICK2,COLORWHITE;
MA60:EMA(C,60),LINETHICK2,COLORFF00FF;
MA180:EMA(C,180),LINETHICK3,COLOR0040FF;
A1:=REF(HOUR,1)=15 AND HOUR<>15;
B1:=BARSLAST(A1);
O1:=REF(O,B1);
DRAWNUMBER(ISLASTBAR,O1,O1,0),ALIGN0;
DRAWNUMBER(ISLASTBAR,O1*1.004,O1*1.004,0),ALIGN0,COLORFFFF00;
DRAWNUMBER(ISLASTBAR,O1*0.996,O1*0.996,0),ALIGN0,COLOR0000FF;
DRAWNUMBER(ISLASTBAR,O1*1.008,O1*1.008,0),ALIGN0,COLORBLUE;
DRAWNUMBER(ISLASTBAR,O1*0.992,O1*0.992,0),ALIGN0,COLORGREEN; 不好意思,好久没进论坛,现帮你改了一下,不知你是否满意;
MA5:EMA(C,5),LINETHICK2,COLORWHITE;
MA60:EMA(C,60),LINETHICK2,COLORFF00FF;
MA180:EMA(C,180),LINETHICK3,COLOR0040FF;
A1:=REFX(STKCALC('',6,'REFX(ISLASTBAR,1)'),1);
B1:=BARSLAST(A1);
O1:=REF(O,B1);
DRAWLINE(B1>0,O1,ISLASTBAR,O1,0);
DRAWNUMBER(ISLASTBAR,O1,O1,0),ALIGN0;
DRAWLINE(B1>0,O1*1.004,ISLASTBAR,O1*1.004,0),COLORFFFF00;
DRAWNUMBER(ISLASTBAR,O1*1.004,O1*1.004,0),ALIGN0,COLORFFFF00;
DRAWLINE(B1>0,O1*0.996,ISLASTBAR,O1*0.996,0),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,O1*0.996,O1*0.996,0),ALIGN0,COLOR0000FF;
DRAWLINE(B1>0,O1*1.008,ISLASTBAR,O1*1.008,0),COLORBLUE;
DRAWNUMBER(ISLASTBAR,O1*1.008,O1*1.008,0),ALIGN0,COLORBLUE;
DRAWLINE(B1>0,O1*0.992,ISLASTBAR,O1*0.992,0),COLORGREEN;
DRAWNUMBER(ISLASTBAR,O1*0.992,O1*0.992,0),ALIGN0,COLORGREEN;
RETURN;
来源 程序化久久网
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)
相关文章
-
没有相关内容