


策略模型如下,望大家批评指正。
--------------------------------------------------------------------
Tested on EURUSD, H4, 15.02.2009 - 13.02.2019
Spread: 2.0, Slippage: 0.0, Min distance of stop from price: 5.0
--------------------------------------------------------------------
====================================================================
== Entry conditions
====================================================================
LongEntryCondition = (EMA(73) < SMA(94))
ShortEntryCondition = (EMA(73) > SMA(94))
====================================================================
== Entry orders
====================================================================
-- Long entry
if LongEntryCondition is true {
if No position is open then Buy at SMA(67) + (0.2 * ATR(78)) Stop;
Stop/Limit order expires after 1 bars.
Stop Loss = (0.6 * ATR(29)) pips;
// Stop trailing (on close)
Move Stop to (SMA(94) + (0.6) * ATR(68))) on bar close;
}
-- Short entry
if ShortEntryCondition is true {
if No position is open then Sell at SMA(67) + (-0.2 * ATR(78)) Stop;
Stop/Limit order expires after 1 bars.
Stop Loss = (0.6 * ATR(29)) pips;
// Stop trailing (on close)
Move Stop to (SMA(94) + (-0.6) * ATR(68))) on bar close;
}
면책 조항: 본 게시글에 표현된 견해는 전적으로 작성자의 견해이며 Followme의 공식 입장을 대변하지 않습니다. Followme는 제공된 정보의 정확성, 완전성 또는 신뢰성에 대해 책임을 지지 않으며, 서면으로 명시적으로 언급되지 않는 한 해당 내용을 기반으로 취해진 어떠한 조치에 대해서도 책임을 지지 않습니다.
이 글이 마음에 드시나요? 작성자에게 팁을 보내 감사의 마음을 전하세요.

더 오래된 의견은 없습니다. 소파를 가장 먼저 잡으십시오.