老师请改成博弈大师 [博易POBO]
咨询内容:
低1:=REF(LLV(L,150),3);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶点:REFDATE(高1,DATE),COLORWHITE;
疯牛:REFDATE(H1,DATE),COLORYELLOW;
突破:REFDATE(H2,DATE),COLORYELLOW;
平衡:REFDATE(H3,DATE),COLORWHITE;
回落:REFDATE(H4,DATE),COLORYELLOW;
安全:REFDATE(H5,DATE),COLORYELLOW;
低点:REFDATE(低1,DATE),COLORWHITE,LINETHICK2;
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;
DRAWTEXT(ISLASTBAR,疯牛,'疯牛19.8'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,突破,'突破38.2'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,平衡,'平衡50'),COLORRED;
DRAWTEXT(ISLASTBAR,回落,'回落61.8'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,安全,'安全80.9'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;
突破0:REF(EMA(C,14),1),COLORMAGENTA,LINETHICK2;
A1X:=(EMA(C,14)-突破0)/突破0*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORRED,LINETHICK2;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(A1X>=0,出击,突破,0,-1),COLORRED;
STICKLINE(A1X<0,休假,突破0,0,-1),COLORGREEN;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLORGREEN;
※:IF(A1X<0,突破0,DRAWNULL),COLORGREEN,LINETHICK2;
DP:=REF(EMA(INDEXC,14),1);
DPX:=(EMA(INDEXC,14)-DP)/DP*100;
STICKLINE(DPX>=0 AND A1X>=0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1),COLORRED;
STICKLINE(DPX<0 AND A1X<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1),COLORGREEN;
STICKLINE(NOT(DPX>=0 AND A1X>=0) AND NOT(DPX<0 AND A1X<0),REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1),COLORYELLOW;
图中圆圈处 来源 程序化久久网
老师请改成博弈大师
高1:=REF(HHV(H,150),3);低1:=REF(LLV(L,150),3);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶点:REFDATE(高1,DATE),COLORWHITE;
疯牛:REFDATE(H1,DATE),COLORYELLOW;
突破:REFDATE(H2,DATE),COLORYELLOW;
平衡:REFDATE(H3,DATE),COLORWHITE;
回落:REFDATE(H4,DATE),COLORYELLOW;
安全:REFDATE(H5,DATE),COLORYELLOW;
低点:REFDATE(低1,DATE),COLORWHITE,LINETHICK2;
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;
DRAWTEXT(ISLASTBAR,疯牛,'疯牛19.8'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,突破,'突破38.2'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,平衡,'平衡50'),COLORRED;
DRAWTEXT(ISLASTBAR,回落,'回落61.8'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,安全,'安全80.9'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;
突破0:REF(EMA(C,14),1),COLORMAGENTA,LINETHICK2;
A1X:=(EMA(C,14)-突破0)/突破0*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORRED,LINETHICK2;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(A1X>=0,出击,突破,0,-1),COLORRED;
STICKLINE(A1X<0,休假,突破0,0,-1),COLORGREEN;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLORGREEN;
※:IF(A1X<0,突破0,DRAWNULL),COLORGREEN,LINETHICK2;
DP:=REF(EMA(INDEXC,14),1);
DPX:=(EMA(INDEXC,14)-DP)/DP*100;
STICKLINE(DPX>=0 AND A1X>=0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1),COLORRED;
STICKLINE(DPX<0 AND A1X<0,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1),COLORGREEN;
STICKLINE(NOT(DPX>=0 AND A1X>=0) AND NOT(DPX<0 AND A1X<0),REFDATE(低1,DATE),REFDATE(低1,DATE)*0.98,2,1),COLORYELLOW;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 您好,这个公式可以使用,请问有什么问题? 这个指标中的斜线能去掉吗图中圆圈处 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容