输入/搜索内容

The Genesis Crossover Trading Strategy

通用策略
创建日期: 2023-09-10 21:38:32
最后修改: 3 年前
复制: 1
点击次数: 854
1
关注
1830
关注者

The Genesis trading strategy is a trend following strategy that uses a crossover of two exponential moving averages (EMAs) to generate trade signals.

How it Works

The strategy uses a faster EMA (default 20 periods) and a slower EMA (default 50 periods). When the faster EMA crosses above the slower EMA, a long position is taken. When the faster EMA crosses below the slower EMA, a short position is taken.

The crossovers aim to capture the start of short-term and long-term trends. The longer EMA provides trend direction and the shorter EMA gives signal sensitivity.

Benefits

The main advantages of this strategy are:

Simple and easy to implement
Captures momentum from trend continuations
Long and short signals for flexibility
Customizable EMA lengths
Risks

Some potential risks and drawbacks include:

Whipsaws possible during range-bound markets
Lagging signals in quickly reversing markets
No stop loss defined, can lead to large drawdowns
The Genesis strategy works well when strong directional trends occur. Sideways choppy markets may trigger false signals and stop outs. Using proper risk management is advised.

策略源码
Pine
/*backtest
start: 2023-01-01 00:00:00
end: 2023-06-15 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © genesisjgonzalezh

//@version=5
评论
全部评论 (0)
暂无数据
暂无数据
  • 1
社区
回测系统
APP 下载
iPhone 下载
© 2015 - ∞ INVENTOR PTE LTD (SG)