Type/to search

Simple Momentum Strategy Based on SMA, EMA and Volume

Cryptocurrency
Created: 2023-12-08 11:15:30
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This is a simple intraday momentum strategy that only goes long and does not short. It utilizes SMA, EMA and volume indicators to attempt entering the market at the optimal timing when both price and momentum are trending up. Its advantage is being simple while having some trend recognition capability.

Strategy Principle

The entry signal logic is: when SMA is higher than EMA, and there is a consecutive 3-bar or 4-bar uptrend pattern, with the lowest price of the middle bars being higher than the open price of the starter uptrend bar, an entry signal is generated.

The exit signal logic is: when SMA crosses below EMA, an exit signal is generated.

This strategy only goes long and does not short. Its entry and exit logic has some capability in recognizing persistent uptrends.

Advantage Analysis

The advantages of this strategy:

  1. The logic is simple and easy to understand and implement;

  2. Utilizes common technical indicators like SMA, EMA and volume for flexibility in parameter tuning;

  3. Has some capability in catching some opportunities during persistent uptrends.

Risk Analysis

The risks of this strategy:

  1. Inability to detect downtrends or consolidation markets, leading to large drawdowns;

  2. Inability to utilize shorting opportunities, unable to hedge against downtrends, missing good profit chances;

  3. Volume indicator does not work well on high frequency data, parameters need adjustment;

  4. Can use stop loss to control risks.

Optimization Directions

This strategy can be optimized in the following aspects:

  1. Adding shorting capability for mean reversion opportunities;

  2. Using more advanced indicators like MACD and RSI for better trend detection;

  3. Optimizing stop loss logic to reduce drawdowns;

  4. Tuning parameters and testing different timeframes to find optimal parameter sets.

Conclusion

In summary this is a very simple trend following strategy utilizing SMA, EMA and volume for entry timing. Its advantage is being simple and easy to implement, good for beginners to learn, but it cannot detect consolidation or downtrends and has risks. Improvements can be made by introducing shorting, optimizing indicators and stop loss etc.

Source
Pine
/*backtest
start: 2023-11-07 00:00:00
end: 2023-12-02 00:00:00
period: 2h
basePeriod: 15m
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/
// © slip_stream

//@version=4
Strategy parameters
Strategy parameters
SMA (small length)
EMA (large length)
Volume Trigger
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)