国内社区暂时没有人交流过真实策略模型,那么由我来开这个头吧。
策略模型如下,望大家批评指正。
--------------------------------------------------------------------
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: The content above represents only the views of the author or guest. It does not represent any views or positions of FOLLOWME and does not mean that FOLLOWME agrees with its statement or description, nor does it constitute any investment advice. For all actions taken by visitors based on information provided by the FOLLOWME community, the community does not assume any form of liability unless otherwise expressly promised in writing.
FOLLOWME Trading Community Website: https://www.followme.com
If you like, reward to support.
Hot
-THE END-