


策略模型如下,望大家批评指正。
--------------------------------------------------------------------
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;
}
คำชี้แจง (Disclaimer) : เนื้อหาข้างต้นเป็นเพียงมุมมองของผู้เขียนแต่เพียงผู้เดียว และไม่ได้แสดงหรือสะท้อนถึงจุดยืนอย่างเป็นทางการของ Followme แต่อย่างใด Followme ไม่รับผิดชอบต่อความถูกต้อง ความครบถ้วน หรือความน่าเชื่อถือของข้อมูลที่ปรากฏ และจะไม่รับผิดชอบต่อการดำเนินการใด ๆ ที่เกิดขึ้นจากเนื้อหานั้น เว้นแต่จะมีการระบุไว้เป็นลายลักษณ์อักษรอย่างชัดเจน
ชอบบทความนี้ไหม? แสดงความขอบคุณโดยการส่งทิปให้ผู้เขียน

เขียนข้อความของคุณตอนนี้