Type/to search

Volume Energy Driven Strategy

Common strategy
Created: 2024-01-04 15:38:54
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

The volume energy driven strategy judges the sentiment changes of the market participants by analyzing the changes of trading volume. It divides trading volume into bullish volume and bearish volume, calculates their weighted moving average, generates bullish signals when bullish volume dominates, and generates bearish signals when bearish volume dominates.

Strategy Logic

The strategy first divides the trading volume of each candlestick into bullish volume and bearish volume based on the relationship between the closing price and opening price. If the closing price is greater than the opening price, the entire trading volume of the candlestick is bullish volume. If the closing price is less than the opening price, the bullish volume is calculated according to the ratio of (highest price - opening price) / (highest price - lowest price), and the remaining is bearish volume.

Then it calculates the weighted moving average of bullish and bearish volume of the last n candlesticks respectively. If the moving average of bullish volume is greater than bearish volume, and their difference divided by bullish volume is greater than a preset threshold, a bullish signal is generated. The rule for generating bearish signals is similar.

It also sets a baseline with average trading volume to identify consolidation zones. If there is no significant difference between bullish and bearish volume, it indicates that the market is currently in consolidation.

Advantage Analysis

  • Use volume information to judge market participants' sentiment with theoretical basis
  • Automatically identify consolidation zones to avoid missing important signals
  • Customizable parameters adapt to different trading products and timeframes
  • Can identify bullish and bearish signals separately or follow one side only

Risk Analysis

  • Trading volume data can be manipulated
  • Default parameters may not suit all products, optimization needed
  • Improper consolidation identification parameters may miss signals
  • False signals may occur in short periods

Methods like parameter optimization and combining with other indicators can help reduce risks.

Optimization Directions

  • Test different methods of calculating trading volume
  • Try different types of moving averages, like EMA, SMMA etc
  • Optimize the period of calculating average volume
  • Optimize parameters for identifying consolidation
  • Combine with other technical indicators to filter signals

Summary

The volume energy driven strategy intelligently judges the distribution of bullish and bearish trading volume to determine market sentiment and trend changes. It can be used alone or combined with other strategies. Further improvements on stability and profitability can be achieved through parameter optimization and indicator combination.

Source
Pine
/*backtest
start: 2022-12-28 00:00:00
end: 2024-01-03 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/
// © Shuttle_Club
//@version=5
Strategy parameters
Strategy parameters
Direction
Search_range
Smoothing_for_flat,%
Show background zones
Show each setup in zone
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)