请老师简单的案例编写 [文华财经]
-
咨询内容:
您好,老师。
我设置一条均线轨道。需要前面有根K线先上穿均线上轨,之后的行情要上穿满足条件的K线最高价,开多该怎么写呢。空单反之。
文件名:qq图片20200413145420.png来源:程序化99
-
文华技术人员:
参考
CROSS(C,VALUEWHEN(CROSS(C,上轨),H)),BK;
CROSSDOWN(C,VALUEWHEN(CROSSDOWN(C,下轨),L)),SK;来源: WWW.CXH99.COM
-
文华客服:
L1S:MA(H,N1);
L1X:MA(L,N1);
CROSS(C,VALUEWHEN(CROSS(C,L1S),H)),BPK;
CROSSDOWN(C,VALUEWHEN(CROSSDOWN(C,L1X),L)),SPK;
MULTSIG(0,0,1,0);
AUTOFILTER;
文件名:360截图167302287710095.jpg
图中,箭头处,为什么开了空又开多了呢。好像是满足了BPK,但是我不需要这,我思路是 既然开了空,就应该等到下一个上穿上轨的K线出来后再穿越它的最高价翻多 -
网友回复:
参考
L1S:MA(H,N1);
L1X:MA(L,N1);
CROSS(C,VALUEWHEN(CROSS(C,L1S),H))&&BARSLAST(CROSS(C,L1S))<BARSLAST(CROSSDOWN(C,L1X)),BPK;
CROSSDOWN(C,VALUEWHEN(CROSSDOWN(C,L1X),L))&&BARSLAST(CROSS(C,L1S))>BARSLAST(CROSSDOWN(C,L1X)),SPK;
MULTSIG(0,0,1,0);
AUTOFILTER; - 网友回复:
- 网友回复:CROSS(C,VALUEWHEN(CROSS(C,L1S),H))这句是上穿已满足条件的最高价;
- 网友回复:老师,请帮我讲下,
- 网友回复:BARSLAST(CROSS(C,L1S))<BARSLAST(CROSSDOWN(C,L1X)) 这句的意思,没有理解。谢谢<!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6Ijk1MTktMTU4Njc4NTEyMzcxMiIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJiYWNrLWNvbG9yIjoiIiwicGFkZGluZyI6IiIsImluZGVudCI6MCwidGV4dC1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zIjp7ImZvbnQtZmFtaWx5IjoiU2ltSGVpIiwiZm9udC1zaXplIjoxOH19LHsiY2hhciI6IlciLCJzdHlsZXMiOnsiZm9udC1mYW1pbHkiOiJTaW1IZWkiLCJmb250LXNpemUiOjE4fX0seyJjaGFyIjoiTiIsInN0eWxlcyI6eyJmb250LWZhbWlseSI6IlNpbUhlaSIsImZvbnQtc2l6ZSI6MTh9fSx7ImNoYXIiOiIoIiwic3R5bGVzIjp7ImZvbnQtZmFtaWx5IjoiU2ltSGVpIiwiZm9udC1zaXplIjoxOH19LHsiY2hhciI6IkMiLCJzdHlsZXMiOnsiZm9udC1mYW1pbHkiOiJTaW1IZWkiLCJmb250LXNpemUiOjE4fX0seyJjaGFyIjoiLCIsInN0eWxlcyI6eyJmb250LWZhbWlseSI6IlNpbUhlaSIsImZvbnQtc2l6ZSI6MTh9fSx7ImNoYXIiOiJMIiwic3R5bGVzIjp7ImZvbnQtZmFtaWx5IjoiU2ltSGVpIiwiZm9udC1zaXplIjoxOH19LHsiY2hhciI6IjEiLCJzdHlsZXMiOnsiZm9udC1mYW1pbHkiOiJTaW1IZWkiLCJmb250LXNpemUiOjE4fX0seyJjaGFyIjoiWCIsInN0eWxlcyI6eyJmb250LWZhbWlseSI6IlNpbUhlaSIsImZvbnQtc2l6ZSI6MTh9fSx7ImNoYXIiOiIpIiwic3R5bGVzIjp7ImZvbnQtZmFtaWx5IjoiU2ltSGVpIiwiZm9udC1zaXplIjoxOH19LHsiY2hhciI6IikiLCJzdHlsZXMiOnsiZm9udC1mYW1pbHkiOiJTaW1IZWkiLCJmb250LXNpemUiOjE4fX1dLCJpc1JpY2hUZXh0Ijp0cnVlLCJrZWVwTGluZUJyZWFrIjp0cnVlfX1d-->
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容