老师您好,下面的指标只有买入的提示,有没有同等条件下的高位卖出呢?麻烦老师完善一下。 [博易POBO]
咨询内容:
ZD1:=EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED;
ZD2:=EMA(ZD1,25),LINETHICK2;
DRAWKLINE(H,O,L,C);
VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=ZD1>HIGH AND 回调买 AND L<=ZD1;
DRAWTEXT(XG,L,'买入'),COLORRED;
ZD1:=EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED;
ZD2:=EMA(ZD1,25),LINETHICK2;
DRAWKLINE(H,O,L,C);
VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7)ANDCOUNT(VAR23>0,2)ANDCROSS(VAR23,MA(VAR23,2));
XG:=ZD1>HIGHAND回调买ANDL<=ZD1;
DRAWTEXT(XG,L,'买入'),COLORRED;
回调买1:=HHV(VAR23,2)=HHV(VAR23,10)ANDCOUNT(VAR23>0,5)ANDCROSS(MA(VAR23,5),VAR23);
XG1:=ZD1<HIGHAND回调买1ANDH>=ZD1;
DRAWTEXT(XG1,H,'卖出'),COLORGREEN; 来源 程序化久久网
老师您好,下面的指标只有买入的提示,有没有同等条件下的高位卖出呢?麻烦老师完善一下。
ZK1:=(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1+EMA(EMA(H,25),25),COLORBLUE;ZD1:=EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED;
ZD2:=EMA(ZD1,25),LINETHICK2;
DRAWKLINE(H,O,L,C);
VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=ZD1>HIGH AND 回调买 AND L<=ZD1;
DRAWTEXT(XG,L,'买入'),COLORRED;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 特别感谢您。 ZK1:=(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1+EMA(EMA(H,25),25),COLORBLUE;ZD1:=EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED;
ZD2:=EMA(ZD1,25),LINETHICK2;
DRAWKLINE(H,O,L,C);
VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7)ANDCOUNT(VAR23>0,2)ANDCROSS(VAR23,MA(VAR23,2));
XG:=ZD1>HIGHAND回调买ANDL<=ZD1;
DRAWTEXT(XG,L,'买入'),COLORRED;
回调买1:=HHV(VAR23,2)=HHV(VAR23,10)ANDCOUNT(VAR23>0,5)ANDCROSS(MA(VAR23,5),VAR23);
XG1:=ZD1<HIGHAND回调买1ANDH>=ZD1;
DRAWTEXT(XG1,H,'卖出'),COLORGREEN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容