请老师加一个冲底 [博易POBO]
咨询内容:
VAR002:=((((2*CLOSE)+HIGH)+LOW) / 4);
高位:90,COLORFFFF00;
低位:20,COLORMAGENTA;
VAR004:=LLV(LOW,5);
VAR005:=HHV(HIGH,4);
C1:(EMA((((VAR002-VAR004)/(VAR005-VAR004))*100),4)*VAR001),COLORFF00FF,NODRAW;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR001),COLORFFFFFF,NODRAW;
H1:IF( CROSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK7,COLORYELLOW;
F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED;
DRAWTEXT(CROSS(C1,C2),REF(C2,1),'多'),COLORRED;
DRAWTEXT(CROSS(C2,C1),REF(C1,1),'空'),COLORGREEN;
H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LINETHICK7,COLORMAGENTA;
F2_:IF(CROSS(C1,C2),C1,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORYELLOW;
DRAWICON(CROSS(C1,C2) AND C2>0,C2,4);
DRAWICON(CROSS(C2,C1) AND C2<-100,C1,5);
DRAWICON(CROSS(C1,C2) AND C2<0,C2,4);
DRAWICON(CROSS(C2,C1) AND C2>-100,C1,5);
条件:=CROSS(C1,C2) AND C1<40;
条件0:=CROSS(C2,C1) AND C1>90;
DRAWTEXT(条件,20,'买'),COLORWHITE;
DRAWTEXT(条件0,85,'卖'),COLORYELLOW;
DRAWTEXT(CROSS(C1,75),70,'冲顶'),COLORWHITE;
VAR002:=((((2*CLOSE)+HIGH)+LOW) / 4);
高位:90,COLORFFFF00;
低位:20,COLORMAGENTA;
VAR004:=LLV(LOW,5);
VAR005:=HHV(HIGH,4);
C1:(EMA((((VAR002-VAR004)/(VAR005-VAR004))*100),4)*VAR001),COLORFF00FF,NODRAW;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR001),COLORFFFFFF,NODRAW;
H1:IF( CROSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK7,COLORYELLOW;
F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED;
DRAWTEXT(CROSS(C1,C2),REF(C2,1),'多'),COLORRED;
DRAWTEXT(CROSS(C2,C1),REF(C1,1),'空'),COLORGREEN;
H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LINETHICK7,COLORMAGENTA;
F2_:IF(CROSS(C1,C2),C1,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORYELLOW;
DRAWICON(CROSS(C1,C2) AND C2>0,C2,4);
DRAWICON(CROSS(C2,C1) AND C2<-100,C1,5);
DRAWICON(CROSS(C1,C2) AND C2<0,C2,4);
DRAWICON(CROSS(C2,C1) AND C2>-100,C1,5);
条件:=CROSS(C1,C2) AND C1<40;
条件0:=CROSS(C2,C1) AND C1>90;
DRAWTEXT(条件,20,'买'),COLORWHITE;
DRAWTEXT(条件0,85,'卖'),COLORYELLOW;
DRAWTEXT(CROSS(C1,75),70,'冲顶'),COLORWHITE;
DRAWTEXT(CROSS(75,C1),30,'冲底'),COLORGREEN; 谢谢老师 来源 程序化久久网
请老师加一个冲底
VAR001:=1;VAR002:=((((2*CLOSE)+HIGH)+LOW) / 4);
高位:90,COLORFFFF00;
低位:20,COLORMAGENTA;
VAR004:=LLV(LOW,5);
VAR005:=HHV(HIGH,4);
C1:(EMA((((VAR002-VAR004)/(VAR005-VAR004))*100),4)*VAR001),COLORFF00FF,NODRAW;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR001),COLORFFFFFF,NODRAW;
H1:IF( CROSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK7,COLORYELLOW;
F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED;
DRAWTEXT(CROSS(C1,C2),REF(C2,1),'多'),COLORRED;
DRAWTEXT(CROSS(C2,C1),REF(C1,1),'空'),COLORGREEN;
H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LINETHICK7,COLORMAGENTA;
F2_:IF(CROSS(C1,C2),C1,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORYELLOW;
DRAWICON(CROSS(C1,C2) AND C2>0,C2,4);
DRAWICON(CROSS(C2,C1) AND C2<-100,C1,5);
DRAWICON(CROSS(C1,C2) AND C2<0,C2,4);
DRAWICON(CROSS(C2,C1) AND C2>-100,C1,5);
条件:=CROSS(C1,C2) AND C1<40;
条件0:=CROSS(C2,C1) AND C1>90;
DRAWTEXT(条件,20,'买'),COLORWHITE;
DRAWTEXT(条件0,85,'卖'),COLORYELLOW;
DRAWTEXT(CROSS(C1,75),70,'冲顶'),COLORWHITE;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: VAR001:=1;VAR002:=((((2*CLOSE)+HIGH)+LOW) / 4);
高位:90,COLORFFFF00;
低位:20,COLORMAGENTA;
VAR004:=LLV(LOW,5);
VAR005:=HHV(HIGH,4);
C1:(EMA((((VAR002-VAR004)/(VAR005-VAR004))*100),4)*VAR001),COLORFF00FF,NODRAW;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR001),COLORFFFFFF,NODRAW;
H1:IF( CROSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK7,COLORYELLOW;
F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED;
DRAWTEXT(CROSS(C1,C2),REF(C2,1),'多'),COLORRED;
DRAWTEXT(CROSS(C2,C1),REF(C1,1),'空'),COLORGREEN;
H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LINETHICK7,COLORMAGENTA;
F2_:IF(CROSS(C1,C2),C1,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORYELLOW;
DRAWICON(CROSS(C1,C2) AND C2>0,C2,4);
DRAWICON(CROSS(C2,C1) AND C2<-100,C1,5);
DRAWICON(CROSS(C1,C2) AND C2<0,C2,4);
DRAWICON(CROSS(C2,C1) AND C2>-100,C1,5);
条件:=CROSS(C1,C2) AND C1<40;
条件0:=CROSS(C2,C1) AND C1>90;
DRAWTEXT(条件,20,'买'),COLORWHITE;
DRAWTEXT(条件0,85,'卖'),COLORYELLOW;
DRAWTEXT(CROSS(C1,75),70,'冲顶'),COLORWHITE;
DRAWTEXT(CROSS(75,C1),30,'冲底'),COLORGREEN; 谢谢老师 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容