请老师帮忙修改 [博易POBO]
咨询内容:
YESTERDAY_HIGH:=REFX1(REF(HHV(H,DAYBARPOS),DAYBARPOS),5000),NODRAW;
YESTERDAY_LOW:=REFX1(REF(LLV(L,DAYBARPOS),DAYBARPOS),5000),NODRAW;
R:=YESTERDAY_HIGH - YESTERDAY_LOW;//RANGE
P:(YESTERDAY_HIGH + YESTERDAY_LOW + YESTERDAY_CLOSE)/3,RGB(210,165,6),DASHDOT;
R3: P + (R * 1.000),LINETHICK2,RGB(51,176,251);
R2: P + (R * 0.618),LINETHICK1,RGB(51,176,251);
R1: P + (R * 0.382),LINETHICK1,RGB(51,176,251);
S1: P - (R * 0.382),LINETHICK2,RGB(186,13,200);
A2:= STKCALC('',6,'ref(l,1)');
A3:= STKCALC('',6,'ref(c,1)');
R:=A1 - A2;//RANGE
A:=BARSLAST(REF(HOUR,1)=15 AND HOUR<>15);
P:=(A1 + A2 + A3)/3;
DRAWSL(ISLASTBAR,(A1 + A2 + A3)/3,0,A,1),LINETHICK2,COLOR06A5D2;
DRAWSL(ISLASTBAR,P + (R * 1.000),0,A,1),LINETHICK2,COLORFBB033;
DRAWSL(ISLASTBAR,P + (R * 0.618),0,A,1),LINETHICK1,COLORFBB033;
DRAWSL(ISLASTBAR,P + (R * 0.382),0,A,1),LINETHICK1,COLORFBB033;
DRAWSL(ISLASTBAR,P - (R * 0.382),0,A,1),LINETHICK2,COLORC80DBA; A1:=STKCALC('',6,'ref(h,1)');
A2:=STKCALC('',6,'ref(l,1)');
A3:=STKCALC('',6,'ref(c,1)');
R:=A1-A2;//RANGE
P:(A1+A2+A3)/3,COLOR06A5D2,DASH;
R3:P+(R*1.000),LINETHICK2,COLORFBB033;
R2:P+(R*0.618),LINETHICK1,COLORFBB033;
R1:P+(R*0.382),LINETHICK1,COLORFBB033;
S1:P-(R*0.382),LINETHICK2,COLORC80DBA; 来源 程序化久久网
请老师帮忙修改
YESTERDAY_CLOSE:=REFX1(REF(C,DAYBARPOS),5000),NODRAW;YESTERDAY_HIGH:=REFX1(REF(HHV(H,DAYBARPOS),DAYBARPOS),5000),NODRAW;
YESTERDAY_LOW:=REFX1(REF(LLV(L,DAYBARPOS),DAYBARPOS),5000),NODRAW;
R:=YESTERDAY_HIGH - YESTERDAY_LOW;//RANGE
P:(YESTERDAY_HIGH + YESTERDAY_LOW + YESTERDAY_CLOSE)/3,RGB(210,165,6),DASHDOT;
R3: P + (R * 1.000),LINETHICK2,RGB(51,176,251);
R2: P + (R * 0.618),LINETHICK1,RGB(51,176,251);
R1: P + (R * 0.382),LINETHICK1,RGB(51,176,251);
S1: P - (R * 0.382),LINETHICK2,RGB(186,13,200);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: A1:= STKCALC('',6,'ref(h,1)');A2:= STKCALC('',6,'ref(l,1)');
A3:= STKCALC('',6,'ref(c,1)');
R:=A1 - A2;//RANGE
A:=BARSLAST(REF(HOUR,1)=15 AND HOUR<>15);
P:=(A1 + A2 + A3)/3;
DRAWSL(ISLASTBAR,(A1 + A2 + A3)/3,0,A,1),LINETHICK2,COLOR06A5D2;
DRAWSL(ISLASTBAR,P + (R * 1.000),0,A,1),LINETHICK2,COLORFBB033;
DRAWSL(ISLASTBAR,P + (R * 0.618),0,A,1),LINETHICK1,COLORFBB033;
DRAWSL(ISLASTBAR,P + (R * 0.382),0,A,1),LINETHICK1,COLORFBB033;
DRAWSL(ISLASTBAR,P - (R * 0.382),0,A,1),LINETHICK2,COLORC80DBA; A1:=STKCALC('',6,'ref(h,1)');
A2:=STKCALC('',6,'ref(l,1)');
A3:=STKCALC('',6,'ref(c,1)');
R:=A1-A2;//RANGE
P:(A1+A2+A3)/3,COLOR06A5D2,DASH;
R3:P+(R*1.000),LINETHICK2,COLORFBB033;
R2:P+(R*0.618),LINETHICK1,COLORFBB033;
R1:P+(R*0.382),LINETHICK1,COLORFBB033;
S1:P-(R*0.382),LINETHICK2,COLORC80DBA; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容