改变压力支谢谢 [文华财经]
-
咨询内容:
AA:=REF(H,17)>=REF(HV(H,17),17)&&REF(H,17)>=HHV(H,17);//高点AA1:=REF(L,17)<=REF(LV(L,17),17)&&REF(L,17)<=LLV(L,17);//低点H1:=VALUEWHEN(AA,REF(H,17));H2:=VALUEWHEN(AA,REF(REF(H1,1),17));L1:=VALUEWHEN(AA1,REF(L,17));L2:=VALUEWHEN(AA1,REF(REF(L1,1),17));
DRAWSL1(AA,REF(H,17),0,17,1),LINETHICK2,COLORRED,LINETHICK2;DRAWSL1(AA1,REF(L,17),0,17,1),LINETHICK2,COLORGREEN,LINETHICK2;X:BACKSET(ISLASTBAR,SUMBARS(AA,1)),NODRAW;Y:BACKSET(ISLASTBAR,SUMBARS(AA1,1)),NODRAW;DRAWSL(CROSS(X,0.5)&&AA,REF(H,17),0,1000,0,COLORYELLOW),LINETHICK1;DRAWSL(CROSS(Y,0.5)&&AA1,REF(L,17),0,1000,0,COLORYELLOW),LINETHICK1;
文件名:a5d4a4e3b5dff287759113fed1d09ca.png
好像H1加上均线就可以,谢谢MA1:MA(C,169);来源:程序化99
-
文华技术人员:
AA:=REF(H,17)>=REF(HV(H,17),17)&&REF(H,17)>=HHV(H,17);//高点
AA1:=REF(L,17)<=REF(LV(L,17),17)&&REF(L,17)<=LLV(L,17);//低点
H1:=VALUEWHEN(AA,REF(H,17));
H2:=VALUEWHEN(AA,REF(REF(H1,1),17));
L1:=VALUEWHEN(AA1,REF(L,17));
L2:=VALUEWHEN(AA1,REF(REF(L1,1),17));
DRAWSL1(AA,REF(H,17),0,17,1),LINETHICK2,COLORRED,LINETHICK2;
DRAWSL1(AA1,REF(L,17),0,17,1),LINETHICK2,COLORGREEN,LINETHICK2;
X:BACKSET(ISLASTBAR,SUMBARS(AA,1)),NODRAW;
Y:BACKSET(ISLASTBAR,SUMBARS(AA1,1)),NODRAW;
MA1:MA(C,169); DRAWSL(CROSS(X,0.5)&&AA&&REF(H<MA1,17),REF(H,17),0,1000,0,COLORYELLOW),LINETHICK1; DRAWSL(CROSS(Y,0.5)&&AA1&&REF(L>MA1,17),REF(L,17),0,1000,0,COLORYELLOW),LINETHICK1;
来源: WWW.CXH99.COM
-
文华客服:
逻辑好像不对,现在是这样的,
最后一个高点信号满足小于均线显示,不满足不显示
改成这样的,一直显示最后满足条件的这个高点,直到出了新的高点小于均线的信号,大概这个意思
文件名:396726b840b38fe5c5f3b212d50cd07.png -
网友回复:
AA:=REF(H,17)>=REF(HV(H,17),17)&&REF(H,17)>=HHV(H,17);//高点
AA1:=REF(L,17)<=REF(LV(L,17),17)&&REF(L,17)<=LLV(L,17);//低点
H1:=VALUEWHEN(AA,REF(H,17));
H2:=VALUEWHEN(AA,REF(REF(H1,1),17));
L1:=VALUEWHEN(AA1,REF(L,17));
L2:=VALUEWHEN(AA1,REF(REF(L1,1),17));
DRAWSL1(AA,REF(H,17),0,17,1),LINETHICK2,COLORRED,LINETHICK2;
DRAWSL1(AA1,REF(L,17),0,17,1),LINETHICK2,COLORGREEN,LINETHICK2;
MA1:MA(C,169);
X:BACKSET(ISLASTBAR,SUMBARS(AA&&REF(H<MA1,17),1)),NODRAW; Y:BACKSET(ISLASTBAR,SUMBARS(AA1&&REF(L>MA1,17),1)),NODRAW;
DRAWSL(CROSS(X,0.5),REF(H,17),0,1000,0,COLORYELLOW),LINETHICK1; DRAWSL(CROSS(Y,0.5),REF(L,17),0,1000,0,COLORYELLOW),LINETHICK1;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容