About the Detrended Synthetic Price Bars indicator
The Detrended Synthetic Price Bars indicator for MT4 analyzes price behavior directly in the main trading window by replacing standard bars with color-coded synthetic bars.
These bars reflect directional bias rather than raw price noise, helping traders quickly recognize trending and ranging conditions.
Green bars signal bullish price movement, while red bars signal bearish movement.
When no colored bars appear, the market is likely consolidating or lacking directional momentum.
For proper display, charts must be set to bar mode rather than candlesticks, with all bar colors set to black.
This setup ensures the synthetic bars stand out clearly against price action.
Free Download
Download the “Detrended_Synthetic_Price_dbarsf.mq4” MT4 indicator
Key Features
- Green bars indicate upward trend conditions.
- Red bars indicate downward trend conditions.
- Blank zones highlight range-bound markets.
- Supports multiple trading styles and holding periods.
Indicator Chart
The image below shows the Detrended Synthetic Price Bars indicator applied to price bars.
Green bars appear during bullish phases, red bars during bearish phases, and gaps between colors signal consolidation.
Traders use these visual shifts to time entries, manage exits, and avoid low-momentum environments.
Guide to Trade with Detrended Synthetic Price Bars
Buy Rules
- Wait for the first green synthetic bar to appear.
- Enter a buy trade at the close of that bar.
- Avoid entries during blank or mixed bar zones.
- Focus on consecutive green bars for follow-through.
Sell Rules
- Wait for the first red synthetic bar to appear.
- Enter a sell trade at the close of that bar.
- Avoid entries during range-bound blank areas.
- Prefer trades with multiple red bars forming.
Stop Loss
- For buy trades, place the stop loss below the nearest support level.
- For sell trades, place the stop loss above the nearest resistance level.
- Use higher timeframe levels for wider setups.
Take Profit
- Close trades when the opposite colored bar appears.
- Take partial profits after extended same-color runs.
- Exit fully if blank bars begin to form.
- Use fixed reward targets for consistency.
Detrended Synthetic Price Bars and Triple Exponential Moving Average MT4 Strategy
This MT4 strategy combines momentum signals with trend direction using the Detrended Synthetic Price Bars Indicator and the Triple Exponential Moving Average Indicator.
The Detrended Synthetic Price Bars provide green bars for buy signals and red bars for sell signals.
The Triple Exponential Moving Average shows trend direction with a green line for bullish trends and a red line for bearish trends.
By combining these indicators, traders can enter trades that align with both momentum and trend, making it suitable for M5 and M15 intraday trading.
Buy Entry Rules
- Ensure the Triple Exponential Moving Average line is green, confirming a bullish trend.
- Wait for a green bar from the Detrended Synthetic Price Bars indicator.
- Enter a buy trade at the close of the candle where the green bar appears.
- Place a stop loss below the recent swing low or the moving average line.
- Take profit when a red bar appears or when the trend shows signs of weakening.
Sell Entry Rules
- Ensure the Triple Exponential Moving Average line is red, confirming a bearish trend.
- Wait for a red bar from the Detrended Synthetic Price Bars indicator.
- Enter a sell trade at the close of the candle where the red bar appears.
- Place a stop loss above the recent swing high or the moving average line.
- Take profit when a green bar appears or the trend shows signs of reversing.
Advantages
- Combines trend and momentum signals for higher probability trades.
- Detrended Price Bars give clear entry timing.
- Triple EMA provides a continuous trend direction reference.
- Works on multiple timeframes for intraday and swing trading.
- Helps avoid trades against the main Forex trend.
Drawbacks
- Requires attention to candle closes to confirm bar signals.
- Signal frequency can be limited if trend and momentum conditions are strict.
- Active monitoring is needed on fast timeframes like M5.
Example Case Study 1
On EURCAD M5, the Triple EMA line was green, indicating a bullish trend.
A green bar appeared on the Detrended Synthetic Price Bars, signaling a buy.
The trade was entered at candle close with a stop loss below the moving average.
Price moved upward steadily and the trade was closed when a red bar appeared, resulting in a 21 pip gain.
Example Case Study 2
On AUDJPY M15, the Triple EMA line was red, confirming a bearish trend.
A red bar appeared from the Detrended Synthetic Price Bars indicator.
A sell trade was entered at candle close with a stop loss above the moving average.
Price moved slowly lower, and the trade was closed when a green bar appeared, making a 41 pip profit.
Strategy Tips
- Trade only in the direction of the Triple EMA trend line to avoid countertrend setups.
- Use M5 for scalping and M15 for more controlled intraday trades.
- Consider partial profit-taking for conservative management, but rely on bar color change as the main exit.
- Adjust stop loss based on recent swing highs or lows to manage risk effectively.
- Keep consistent position sizing due to rapid price movements on short timeframes.
- Be patient and enter trades only when both momentum and trend conditions are satisfied.
Download Now
Download the “Detrended_Synthetic_Price_dbarsf.mq4” Metatrader 4 indicator
FAQ
Why does the indicator require bar charts instead of candlesticks?
The synthetic bars are designed to overlay standard MT4 price bars.
Candlesticks interfere with proper alignment and visibility.
What do blank areas between bars mean?
Blank zones signal reduced momentum or consolidation, where trend-based entries are less reliable.
Can this indicator be used for longer-term trades?
Yes, it adapts well to higher timeframes and can support swing and position trading strategies.
Summary
The Detrended Synthetic Price Bars indicator simplifies trend analysis by transforming price action into color-coded trading phases.
It helps traders stay aligned with directional movement while filtering out sideways conditions.
By focusing on bar color transitions, traders can improve timing, reduce overtrading, and manage trades more decisively.
Flexible across timeframes and trading styles, it offers a practical approach for traders who prefer direct, price-based signals within MT4.

