请老师帮修改个公式 [博易POBO]
咨询内容:
请老师帮修改个公式
//支撑压力位
走势线:ZIG(3,3);colorgreen,LINETHICK2;
G:=MA(走势线,2);
DRAWTEXT(CROSS(走势线,G),L,'买'),colorred;
DRAWTEXT(CROSS(G,走势线),H,'卖' ),colorgreen;
支撑位:IF((走势线-REF(走势线,1))/REF(走势线,1)*100>=0,
REF(走势线,BARSLAST(CROSS((走势线-REF(走势线,1))/REF(走势线,1)*100,0))+1),DRAWNULL),colorred,LINETHICK2;
阻力位:IF((走势线-REF(走势线,1))/REF(走势线,1)*100<0,
REF(走势线,BARSLAST(CROSS(0,(走势线-REF(走势线,1))/REF(走势线,1)*100))+1),DRAWNULL),colorliblue,LINETHICK2;
买卖价格位:MA(C,3);
头部:=PEAKBARS(3,3,1)=0;
底部:=TROUGHBARS(3,3,1)=0;
DRAWTEXT(头部,H,'有阻力 '),colorgreen;
DRAWTEXT(底部,L,'有支撑 '),colorred;
走势线:ZIG(3,3);COLORGREEN,LINETHICK2;
G:=MA(走势线,2);
DRAWTEXT(CROSS(走势线,G),L,'买'),COLORRED;
DRAWTEXT(CROSS(G,走势线),H,'卖' ),COLORGREEN;
支撑位:IF((走势线-REF(走势线,1))/REF(走势线,1)*100>=0,
REF(走势线,BARSLAST(CROSS((走势线-REF(走势线,1))/REF(走势线,1)*100,0))+1),DRAWNULL),COLORRED,LINETHICK2;
阻力位:IF((走势线-REF(走势线,1))/REF(走势线,1)*100<0,
REF(走势线,BARSLAST(CROSS(0,(走势线-REF(走势线,1))/REF(走势线,1)*100))+1),DRAWNULL),COLOR00FF00,LINETHICK2;
买卖价格位:MA(C,3);
头部:=PEAKBARS(3,3,1)=0;
底部:=TROUGHBARS(3,3,1)=0;
DRAWTEXT(头部,H,'有阻力 '),COLORGREEN;
DRAWTEXT(底部,L,'有支撑 '),COLORRED;
来源 程序化久久网
走势线:ZIG(3,3);colorgreen,LINETHICK2;
G:=MA(走势线,2);
DRAWTEXT(CROSS(走势线,G),L,'买'),colorred;
DRAWTEXT(CROSS(G,走势线),H,'卖' ),colorgreen;
支撑位:IF((走势线-REF(走势线,1))/REF(走势线,1)*100>=0,
REF(走势线,BARSLAST(CROSS((走势线-REF(走势线,1))/REF(走势线,1)*100,0))+1),DRAWNULL),colorred,LINETHICK2;
阻力位:IF((走势线-REF(走势线,1))/REF(走势线,1)*100<0,
REF(走势线,BARSLAST(CROSS(0,(走势线-REF(走势线,1))/REF(走势线,1)*100))+1),DRAWNULL),colorliblue,LINETHICK2;
买卖价格位:MA(C,3);
头部:=PEAKBARS(3,3,1)=0;
底部:=TROUGHBARS(3,3,1)=0;
DRAWTEXT(头部,H,'有阻力 '),colorgreen;
DRAWTEXT(底部,L,'有支撑 '),colorred;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: //支撑压力位走势线:ZIG(3,3);COLORGREEN,LINETHICK2;
G:=MA(走势线,2);
DRAWTEXT(CROSS(走势线,G),L,'买'),COLORRED;
DRAWTEXT(CROSS(G,走势线),H,'卖' ),COLORGREEN;
支撑位:IF((走势线-REF(走势线,1))/REF(走势线,1)*100>=0,
REF(走势线,BARSLAST(CROSS((走势线-REF(走势线,1))/REF(走势线,1)*100,0))+1),DRAWNULL),COLORRED,LINETHICK2;
阻力位:IF((走势线-REF(走势线,1))/REF(走势线,1)*100<0,
REF(走势线,BARSLAST(CROSS(0,(走势线-REF(走势线,1))/REF(走势线,1)*100))+1),DRAWNULL),COLOR00FF00,LINETHICK2;
买卖价格位:MA(C,3);
头部:=PEAKBARS(3,3,1)=0;
底部:=TROUGHBARS(3,3,1)=0;
DRAWTEXT(头部,H,'有阻力 '),COLORGREEN;
DRAWTEXT(底部,L,'有支撑 '),COLORRED;
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容