logo
Developers

Altered OBV On MACD

Script from: TradingViewSwingTrend followingMomentumVolume

The Altered OBV on MACD strategy combines altered On-Balance Volume, which accounts for closing prices and buying interest, with MACD signals on both the OBV and price. Long positions initiate when both MACDs signal bullish, while short positions are taken when both are bearish. Traders should consider the SMA (21, 50, 90, 200) context for entry timing and market strength assessment. This approach is intended to reinforce decisions for swing traders on the TradingView platform.

KAIA / TetherUS (KAIAUSDT)

+ Altered OBV On MACD

@ 4 h

1.28

Risk Reward

204.39 %

Total ROI

272

Total Trades

Bitcoin Cash / TetherUS (BCHUSDT)

+ Altered OBV On MACD

@ Daily

1.09

Risk Reward

161.95 %

Total ROI

394

Total Trades

Shiba Inu / United States Dollar (SHIBUSD)

+ Altered OBV On MACD

@ Daily

1.07

Risk Reward

150.43 %

Total ROI

201

Total Trades

AR / TetherUS (ARUSDT)

+ Altered OBV On MACD

@ Daily

1.05

Risk Reward

203.39 %

Total ROI

208

Total Trades

Alstom (ALO)

+ Altered OBV On MACD

@ Daily

2.05

Risk Reward

336.91 %

Total ROI

239

Total Trades

CoreWeave, Inc. (CRWV)

+ Altered OBV On MACD

@ 4 h

1.94

Risk Reward

343.63 %

Total ROI

30

Total Trades

XP Inc. (XP)

+ Altered OBV On MACD

@ 4 h

1.30

Risk Reward

272.22 %

Total ROI

272

Total Trades

GENESYS INTL (GENESYS)

+ Altered OBV On MACD

@ 1 h

1.28

Risk Reward

779.76 %

Total ROI

1065

Total Trades

SEALSQ Corp (LAES)

+ Altered OBV On MACD

@ 4 h

1.25

Risk Reward

30.88 %

Total ROI

19

Total Trades

Constellation Brands, Inc. (STZ)

+ Altered OBV On MACD

@ 15 min

1.19

Risk Reward

89.60 %

Total ROI

1329

Total Trades
Create your account for free to see all 39+ backtests

Access filters, details, best timeframes, explore 100K+ backtests and more

Active Trades

Create your account to see on which symbols Altered OBV On MACD is currently trading on.

Guide

How does the Altered OBV On MACD strategy work ?

The Altered OBV on MACD strategy incorporates volume trends and momentum to identify potential entry points for both long and short positions. On Balance Volume (OBV) is adjusted to factor in the day's buying interest when the closing price is higher than the opening price. This alteration enhances the standard OBV by including the direction of the day's trend:

  • When both the altered OBV's MACD and the closing price's MACD are bullish, alluding to increasing volume and momentum, a long entry is signaled.
  • A short entry is indicated when both MACDs suggest a bearish trend with declining volume and momentum.
  • The strategy also advises consulting Simple Moving Averages (SMA) across multiple timeframes (21, 50, 90, 200) to gain additional market context before entering trades.
  • Long positions are generally preferred when prices trend above longer-term SMAs and exhibit rising momentum signals.
  • Conversely, short positions are considered when prices trend below these averages alongside falling momentum indicators.

Executing this strategy requires close observation of both the OBV's behavior influenced by the day's buying sentiment and the MACD signals to time market entries effectively.

How to use the Altered OBV On MACD strategy ?

This trading strategy utilizes multiple moving averages, altered on-balance volume (OBV), and a MACD indicator crossover to signal entry points for long and short positions. Long entries occur when MACD line crosses above the signal line during an uptrend, while short entries happen when MACD line crosses below the signal line during a downtrend.

To trade this strategy manually on TradingView:

  • Set up moving averages: SMA 200 (blue), SMA 50 (maroon), SMA 90 (orange), SMA 21 (olive), and SMA 9 (fuchsia).
  • Calculate the altered OBV by modifying the traditional OBV to use volume with a sign based on whether the current close is greater than the previous close.
  • Set up the MACD indicator with the fast length at 12, slow length at 26, and signal smoothing at 9. Choose between SMA and EMA for oscillator and signal line.
  • Identify the long entry condition: SMA 50 > SMA 90, price above SMA 200, and the MACD line crosses above its signal line during a rising trend confirmed by the rising MACD histogram.
  • Identify the short entry condition: SMA 50 < SMA 90, price below SMA 200, and the MACD line falls below the signal line during a falling trend, with additional confirmation if the MACD histogram is falling.
  • Enter a long position with the "My Long Entry Id" when all long entry conditions are met.
  • Enter a short position with the "My Short Entry Id" when all short entry conditions are met.

How to optimize the Altered OBV On MACD trading strategy ?

Improving a strategy such as 'Altered OBV On MACD' in manual trading can involve enhancing entry criteria, implementing risk management, tuning exit signals, and adapting to market context. Here's a plan to refine the strategy:

  • Refine Entry Criteria: Instead of solely relying on MACD crossovers on the altered OBV, consider additional indicators for trend confirmation, like the Relative Strength Index (RSI) or the Average Directional Index (ADX). An RSI overbought or oversold condition can prevent entering trades during extreme market conditions. The ADX can be used to filter out low momentum trades.
  • Adapt to Market Volatility: In highly volatile markets, expand your moving average period to smooth out the noise or switch to exponential moving averages for greater sensitivity to recent price changes. Moving average convergence throughout different time frames can also be a sign of emerging trends, providing another layer of trade validation.
  • Improve Risk Management: Employ a trailing stop-loss to protect profits and adjust position sizes based on the volatility – use the Average True Range (ATR) for dynamic stop-loss and take-profit levels. Position sizing should vary with trade confidence, which can be gauged by the number of confirming indicators.
  • Enhance Exit Strategy: Define clearer exit signals such as a specific risk-reward ratio, or the reversal patterns in OBV divergences from price. Additionally, consider closing out positions when the MACD line re-crosses the signal line, or when the price crosses back over a crucial moving average.
  • Incorporate Price Action: Use candlestick patterns and support/resistance zones for pinpointing entry and exit points. This can be particularly effective with the OBV, as volume can validate the strength of these zones and patterns.
  • Tune to Different Time Frames: Apply the strategy across various time frames to identify the best fit for your trading style, whether it be for quick scalps on a shorter time frame or longer swing trades. Cross time-frame analysis can also add another layer of confirmation for both entries and exits.
  • Backtest Rigorously: Test the strategy using historical data for different market conditions to understand its robustness. Analyze performance across bull and bear markets and during periods of consolidation, adjusting parameters accordingly.
  • Continuous Learning: Keep abreast of market news and events that may influence trading volume and price action. Incorporating a fundamental analysis perspective can help to anticipate potential breakout or breakdown moments.

For which kind of traders is the Altered OBV On MACD strategy suitable ?

This trading strategy is designed for swing traders who seek to capitalize on momentum shifts over a medium-term horizon. It relies on technical indicators, specifically the MACD applied to an altered OBV and price action, making it suitable for those who are comfortable with both volume analysis and trend-following techniques. The integration of multiple time frame Simple Moving Averages (SMAs) suggests it is for traders who take a methodical approach to validate their trade entries and exits against broader market trends.

  • Swing Traders: Best for those aiming to capture gains from price movements within a few days to several weeks.
  • Technical Analysts: Tailored for traders who base decisions on the analysis of chart patterns and technical indicators.
  • Versatile Risk Profiles: Appropriate for traders with varying risk appetites, as it involves both an aggressive momentum aspect and a conservative trend validation.
  • Active Market Participants: Ideal for individuals who can actively monitor the market, adapt to changing conditions, and manage trades as per predefined rules.

Key Takeaways of Altered OBV On MACD

  • Strategy Essence: Combines altered OBV with MACD and SMA indicators for swing trading.
  • How It Works: Signals generated from MACD crossovers on altered OBV and price, validated against multiple SMAs.
  • Usage: Automate with alerts on TradingView or integrate alerts with manual analysis for entry and exit precision.
  • Manual Trading: Add indicators on TradingView, use calculated OBV and MACD settings, and follow SMA and crossover rules.
  • Optimization: Improve by incorporating additional trend confirmation tools, adjusting to market volatility, and backtesting.
  • Risk Management: Use trailing stops and adjust position sizes based on volatility using ATR for dynamic strategies.
  • Trader Suitability: Ideal for methodical swing traders comfortable with technical analysis and risk variance.
Explore the best Trading & TradingView strategies

Stop trading blindly. Explore the best strategies among 100K+ backtests and improve your trading skills with data.

Start for free