Type/to search

Breakthrough Fair Value Gap Strategy

Cryptocurrency
Created: 2024-02-20 15:47:05
Last modified: 2 years ago
1
Follow
1781
Followers

img

Overview

This is a very simple trend following strategy. It will go long when a bullish FVG appears and close or go short when a bearish FVG appears. It does not perform well in range-bound markets, but can be very profitable in trending markets.

Strategy Logic

The core logic of the strategy is to identify the fair value gap pattern. The so-called "fair value gap" refers to when the highest price today is lower than the lowest price the day before, or when the lowest price today is higher than the highest price the day before, a "breakthrough gap" will be formed. This usually signals a possible trend reversal ahead. Specifically, the rules of the strategy are:

  1. If today's highest price is lower than the lowest price 2 days ago, and the close is lower than the lowest price 2 days ago, a bearish fair value gap is considered to be formed, go short.

  2. If today's lowest price is higher than the highest price 2 days ago, and the close is higher than the highest price 2 days ago, a bullish fair value gap is considered to be formed, go long.

Here 2 lags are used, which is the highest and lowest price of the previous 2 bars to judge the fair value gap. This avoids being affected by false breakouts or short-term pullbacks and improves the reliability and quality of pattern recognition.

Advantages

  1. Identifying proper fair value gap patterns can well predict possible future trend reversals.
  2. The strategy logic and rules are simple, clear and easy to understand and implement.
  3. Can quickly capture new trend opportunities.

Risks

  1. Fair value gap pattern recognition is not completely accurate. False signals may also occur if there is a callback in the short term.
  2. The strategy will incur losses when the trend is reversed, so timely stop losses are needed to hedge risks.
  3. It performs poorly in range-bound markets, with more false signals and small losses.

Optimization Directions

  1. Optimize the stop loss mechanism. Dynamic ATR can be used to achieve dynamic risk control.
  2. Optimize filtering conditions. The reliability of fair value gap breaks can be judged based on factors like volume and moving averages.
  3. Incorporate multifactor models to predict future trend probabilities.

Conclusion

This strategy identifies the formation of fair value gaps to determine if trends may reverse. It belongs to the basic trend-following strategy. The advantage is that it can capture the timing of trend reversals more precisely. But there are also certain false signals. Risks can be controlled through stop losses and filtering. More factors can also be incorporated to improve judgment accuracy. Overall, this is a very simple and practical trend trading strategy that is worth expanding and optimizing.

Source
Pine
/*backtest
start: 2024-01-01 00:00:00
end: 2024-01-31 23:59:59
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Greg_007

//@version=5
Strategy parameters
Strategy parameters
Take only long trades?
REMINDERS
Since this can generate a lot of trades, make sure to fill in the commission (if applicable) for a realistic ROI.
Modify pyramiding orders to increase the amount of trades.
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)