Order Blocks-[B.Balaei]Order Blocks -
**Description:**
The Order Blocks - indicator is a powerful tool designed to identify and visualize Order Blocks on your chart. Order Blocks are key levels where significant buying or selling activity has occurred, often acting as support or resistance zones. This indicator supports multiple timeframes (MTF), allowing you to analyze Order Blocks from higher timeframes directly on your current chart.
**Key Features:**
1. **Multi-Timeframe Support**: Choose any timeframe (e.g., Daily, Weekly) to display Order Blocks from higher timeframes.
2. **Customizable Sensitivity**: Adjust the sensitivity to detect more or fewer Order Blocks based on market conditions.
3. **Bullish & Bearish Order Blocks**: Clearly distinguishes between bullish (green) and bearish (red) Order Blocks.
4. **Alerts**: Get notified when price enters a Bullish or Bearish Order Block zone.
5. **Customizable Colors**: Personalize the appearance of Order Blocks to match your chart style.
**How to Use:**
1. Add the indicator to your chart.
2. Select your desired timeframe from the "Multi-Timeframe" settings.
3. Adjust the sensitivity and colors as needed.
4. Watch for Order Blocks to form and use them as potential support/resistance levels.
**Ideal For:**
- Swing traders and position traders looking for key levels.
- Traders who use multi-timeframe analysis.
- Anyone interested in understanding market structure through Order Blocks.
**Note:**
This indicator is for educational and informational purposes only. Always conduct your own analysis before making trading decisions.
**Enjoy trading with Order Blocks - !**
Trend Analysis
Pearson Correlation Best MA [victhoreb]Pearson Correlation Best MA is an innovative indicator designed to dynamically select the moving average that best aligns with price action based on the Pearson correlation coefficient. Here’s what it does:
- Multiple MA Evaluation: The indicator computes eight different moving averages — SMA, EMA, DEMA, TEMA, LSMA, RMA, WMA, and VWMA — using a user-defined period.
- Correlation Analysis: For each moving average, it calculates the Pearson correlation with the price (using the average of high and low) over a specified correlation length, then identifies the one with the highest correlation.
- Optional Smoothing: Users can opt to further smooth the selected best moving average for an even more refined signal.
- Visual Cues: The indicator plots the “Best MA” on the chart, colors it based on its direction (bullish or bearish), and also displays the correlation value. Additionally, it can color the price candles to reflect the trend indicated by the best moving average.
- Customizability: All key parameters such as moving average length, correlation length, smoothing options, and color settings are fully customizable.
This tool helps traders by automatically adapting to market conditions—highlighting the moving average that is most in sync with current price trends, potentially improving trade timing and decision-making.
Candle Trend ConfirmationCandle Trend Confirmation Indicator
The "Candle Trend Confirmation" indicator This indicator leverages an Exponential Moving Average (EMA) to visually confirm market trends through dynamic coloring of the EMA line, a shading effect, and candle color changes. It aims to help traders quickly identify strong trends and consolidation phases, enhancing decision-making in various market conditions.
Key Features
Customizable EMA Period:
Traders can adjust the EMA period via an input parameter, with a default setting of 20 periods. This flexibility allows the indicator to adapt to different timeframes and trading strategies.
Pip Threshold for Trend Strength:
A user-defined pip threshold (default set to 0.02) determines the distance from the EMA required to classify a trend as "strong." This parameter can be fine-tuned to suit specific instruments, such as forex pairs, cryptocurrencies, or stocks, where pip values may differ.
Trend Detection Logic:
Strong Uptrend: The closing price must be above the EMA by at least the pip threshold (e.g., 2 pips) and show consistent upward movement over the last three bars (current close > previous close > close two bars ago).
Strong Downtrend: The closing price must be below the EMA by at least the pip threshold and exhibit consistent downward movement over the last three bars.
Consolidation: Any price action that doesn’t meet the strong trend criteria is classified as a consolidation phase.
Dynamic Coloring:
EMA Line: Displayed using the line.new function, the EMA changes color based on trend conditions: green for a strong uptrend, red for a strong downtrend, and purple for consolidation. The line is drawn only for the most recent bar to maintain chart clarity.
Candles: Candlestick colors mirror the trend state—green for strong uptrends, red for strong downtrends, and purple for consolidation—using the barcolor function, providing an immediate visual cue.
Shading Effect: Two dashed lines are drawn above and below the EMA (at half the pip threshold distance) to create a subtle shading zone. These lines adopt a semi-transparent version of the EMA’s color, enhancing the visual representation of the trend’s strength.
How It Works
The indicator calculates the EMA based on the closing price and compares the current price to this average. By incorporating a pip-based threshold and a three-bar confirmation, it filters out noise and highlights only significant trend movements. The use of line.new instead of plot ensures compatibility with certain TradingView environments and offers a lightweight way to render the EMA and shading lines on the chart.
Usage
Trend Identification: Green signals a strong bullish trend, ideal for potential long entries; red indicates a strong bearish trend, suitable for short opportunities; purple suggests a range-bound market, where caution or range-trading strategies may apply.
Customization: Adjust the EMA period and pip threshold in the indicator settings to match your trading style or the volatility of your chosen market. For example, forex traders might set the threshold to 0.0002 for 2 pips on EUR/USD, while crypto traders might use 2.0 for BTC/USD.
Visual Clarity: The combination of EMA coloring, shading, and candle highlights provides a comprehensive view of market dynamics at a glance.
Trend SCANThe visually important moving averages EMA5, EMA20, EMA144 and EMA169 are seen on the indicator.
However, the main purpose of the indicator is to combine the changes in the rsi, ema, volume, momentum and cci data on the stock and to display them in a label on the chart with a formula aimed at determining the stocks that are in an uptrend.
The group that the stock group is desired to be scanned from the indicator settings is selected and the scanning process is instantly visible on the label in the chart period or in the time interval selected outside the chart period.
The stock groups are grouped as BIST50, BIST100, Yildiz Pazar and Main Pazar. But these can be selected as desired.
Non-Repainting Renko Emulation Strategy [PineIndicators]Introduction: The Repainting Problem in Renko Strategies
Renko charts are widely used in technical analysis for their ability to filter out market noise and emphasize price trends. Unlike traditional candlestick charts, which are based on fixed time intervals, Renko charts construct bricks only when price moves by a predefined amount. This makes them useful for trend identification while reducing small fluctuations.
However, Renko-based trading strategies often fail in live trading due to a fundamental issue: repainting .
Why Do Renko Strategies Repaint?
Most trading platforms, including TradingView, generate Renko charts retrospectively based on historical price data. This leads to the following issues:
Renko bricks can change or disappear when new data arrives.
Backtesting results do not reflect real market conditions. Strategies may appear highly profitable in backtests because historical data is recalculated with hindsight.
Live trading produces different results than backtesting. Traders cannot know in advance whether a new Renko brick will form until price moves far enough.
Objective of the Renko Emulator
This script simulates Renko behavior on a standard time-based chart without repainting. Instead of using TradingView’s built-in Renko charting, which recalculates past bricks, this approach ensures that once a Renko brick is formed, it remains unchanged .
Key benefits:
No past bricks are recalculated or removed.
Trading strategies can execute reliably without false signals.
Renko-based logic can be applied on a time-based chart.
How the Renko Emulator Works
1. Parameter Configuration & Initialization
The script defines key user inputs and variables:
brickSize : Defines the Renko brick size in price points, adjustable by the user.
renkoPrice : Stores the closing price of the last completed Renko brick.
prevRenkoPrice : Stores the price level of the previous Renko brick.
brickDir : Tracks the direction of Renko bricks (1 = up, -1 = down).
newBrick : A boolean flag that indicates whether a new Renko brick has been formed.
brickStart : Stores the bar index at which the current Renko brick started.
2. Identifying Renko Brick Formation Without Repainting
To ensure that the strategy does not repaint, Renko calculations are performed only on confirmed bars.
The script calculates the difference between the current price and the last Renko brick level.
If the absolute price difference meets or exceeds the brick size, a new Renko brick is formed.
The new Renko price level is updated based on the number of bricks that would fit within the price movement.
The direction (brickDir) is updated , and a flag ( newBrick ) is set to indicate that a new brick has been formed.
3. Visualizing Renko Bricks on a Time-Based Chart
Since TradingView does not support live Renko charts without repainting, the script uses graphical elements to draw Renko-style bricks on a standard chart.
Each time a new Renko brick forms, a colored rectangle (box) is drawn:
Green boxes → Represent bullish Renko bricks.
Red boxes → Represent bearish Renko bricks.
This allows traders to see Renko-like formations on a time-based chart, while ensuring that past bricks do not change.
Trading Strategy Implementation
Since the Renko emulator provides a stable price structure, it is possible to apply a consistent trading strategy that would otherwise fail on a traditional Renko chart.
1. Entry Conditions
A long trade is entered when:
The previous Renko brick was bearish .
The new Renko brick confirms an upward trend .
There is no existing long position .
A short trade is entered when:
The previous Renko brick was bullish .
The new Renko brick confirms a downward trend .
There is no existing short position .
2. Exit Conditions
Trades are closed when a trend reversal is detected:
Long trades are closed when a new bearish brick forms.
Short trades are closed when a new bullish brick forms.
Key Characteristics of This Approach
1. No Historical Recalculation
Once a Renko brick forms, it remains fixed and does not change.
Past price action does not shift based on future data.
2. Trading Strategies Operate Consistently
Since the Renko structure is stable, strategies can execute without unexpected changes in signals.
Live trading results align more closely with backtesting performance.
3. Allows Renko Analysis Without Switching Chart Types
Traders can apply Renko logic without leaving a standard time-based chart.
This enables integration with indicators that normally cannot be used on traditional Renko charts.
Considerations When Using This Strategy
Trade execution may be delayed compared to standard Renko charts. Since new bricks are only confirmed on closed bars, entries may occur slightly later.
Brick size selection is important. A smaller brickSize results in more frequent trades, while a larger brickSize reduces signals.
Conclusion
This Renko Emulation Strategy provides a method for using Renko-based trading strategies on a time-based chart without repainting. By ensuring that bricks do not change once formed, it allows traders to use stable Renko logic while avoiding the issues associated with traditional Renko charts.
This approach enables accurate backtesting and reliable live execution, making it suitable for trend-following and swing trading strategies that rely on Renko price action.
TrendPredator FOTrendPredator Fakeout Highlighter (FO)
The TrendPredator Fakeout Highlighter is designed to enhance multi-timeframe trend analysis by identifying key market behaviors that indicate trend strength, weakness, and potential reversals. Inspired by Stacey Burke’s trading approach, this tool focuses on trend-following, momentum shifts, and trader traps, helping traders capitalize on high-probability setups.
At its core, this indicator highlights peak formations—anchor points where price often locks in trapped traders before making decisive moves. These principles align with George Douglas Taylor’s 3-day cycle and Steve Mauro’s BTMM method, making the FO Highlighter a powerful tool for reading market structure. As markets are fractal, this analysis works on any timeframe.
How It Works
The TrendPredator FO highlights key price action signals by coloring candles based on their bias state on the current timeframe.
It tracks four major elements:
Breakout/Breakdown Bars – Did the candle close in a breakout or breakdown relative to the last candle?
Fakeout Bars (Trend Close) – Did the candle break a prior high/low and close back inside, but still in line with the trend?
Fakeout Bars (Counter-Trend Close) – Did the candle break a prior high/low, close back inside, and against the trend?
Switch Bars – Did the candle lose/ reclaim the breakout/down level of the last bar that closed in breakout/down, signalling a possible trend shift?
Reading the Trend with TrendPredator FO
The annotations in this example are added manually for illustration.
- Breakouts → Strong Trend
Multiple candles closing in breakout signal a healthy and strong trend.
- Fakeouts (Trend Close) → First Signs of Weakness
Candles that break out but close back inside suggest a potential slowdown—especially near key levels.
- Fakeouts (Counter-Trend Close) → Stronger Reversal Signal
Closing against the trend strengthens the reversal signal.
- Switch Bars → Momentum Shift
A shift in trend is confirmed when price crosses back through the last closed breakout candles breakout level, trapping traders and fuelling a move in the opposite direction.
- Breakdowns → Trend Reversal Confirmed
Once price breaks away from the peak formation, closing in breakdown, the trend shift is validated.
Customization & Settings
- Toggle individual candle types on/off
- Customize colors for each signal
- Set the number of historical candles displayed
Example Use Cases
1. Weekly Template Analysis
The weekly template is a core concept in Stacey Burke’s trading style. FO highlights individual candle states. With this the state of the trend and the developing weekly template can be evaluated precisely. The analysis is done on the daily timeframe and we are looking especially for overextended situations within a week, after multiple breakouts and for peak formations signalling potential reversals. This is helpful for thesis generation before a session and also for backtesting. The annotations in this example are added manually for illustration.
📈 Example: Weekly Template Analysis snapshot on daily timeframe
2. High Timeframe 5-Star Setup Analysis (Stacey Burke "ain't coming back" ACB Template)
This analysis identifies high-probability trade opportunities when daily breakout or down closes occur near key monthly levels mid-week, signalling overextensions and potentially large parabolic moves. Key signals for this are breakout or down closes occurring on a Wednesday. This is helpful for thesis generation before a session and also for backtesting. The annotations in this example are added manually for illustration. Also an indicator can bee seen on this chart shading every Wednesday to identify the signal.
📉 Example: High Timeframe Setup snapshot
3. Low Timeframe Entry Confirmation
FO helps confirm entry signals after a setup is identified, allowing traders to time their entries and exits more precisely. For this the highlighted Switch and/ or Fakeout bars can be highly valuable.
📊 Example (M15 Entry & Exit): Entry and Exit Confirmation snapshot
📊 Example (M5 Scale-In Strategy): Scaling Entries snapshot
The annotations in this examples are added manually for illustration.
Disclaimer
This indicator is for educational purposes only and does not guarantee profits.
None of the information provided shall be considered financial advice.
Users are fully responsible for their trading decisions and outcomes.
Triangular Hull Moving Average + Volatility [BigBeluga]This indicator combines the Triangular Hull Moving Average (THMA) with a volatility overlay to provide a smoother trend-following tool while dynamically visualizing market volatility.
🔵 Key Features:
THMA-Based Trend Detection: The indicator applies a Triangular Hull Moving Average (THMA) to smooth price data, reducing lag while maintaining responsiveness to trend changes.
// THMA
thma(_src, _length) =>
ta.wma(ta.wma(_src,_length / 3) * 3 - ta.wma(_src, _length / 2) - ta.wma(_src, _length), _length)
Dynamic Volatility Bands: When enabled, the indicator displays wicks extending from the THMA-based candles. These bands expand and contract based on price volatility.
Trend Reversal Signals The indicator marks trend shifts using triangle-shaped signals:
- Upward triangles appear when the THMA trend shifts to bullish.
- Downward triangles appear when the THMA trend shifts to bearish.
Customizable Settings: Users can adjust the THMA length, volatility calculation period, and colors for up/down trends to fit their trading style.
Informative Dashboard: The bottom-right corner displays the current trend direction and volatility percentage, helping traders quickly assess market conditions.
🔵 Usage:
Trend Trading: The colored candles indicate whether the market is trending up or down. Traders can follow the trend direction and use trend reversals for entry or exit points.
Volatility Monitoring: When the volatility feature is enabled, the expanding or contracting wicks help visualize market momentum and potential breakout strength.
Signal Confirmation: The triangle signals can be used to confirm potential entry points when the trend shifts.
This tool is ideal for traders who want a responsive moving average with volatility insights to enhance their trend-following strategies.
RSI Divergence Indicator - EnhancedOverview: A Pine Script v6 indicator that detects Regular Bullish ("Bull") and Regular Bearish ("Bear") RSI divergences to predict price reversals with enhanced accuracy. Excludes Hidden Bullish and Hidden Bearish signals from plotting but includes them in alerts
Mushir's EMA 8/20EMA 8/20 is an indicator made by @MushirSpeaks, which gives the trend condition of the selected timeframe.
The EMA 20 is represented with a blue color and the EMA 8 is represented subjectively,
when EMA 8 is above EMA 20 the color of EMA 8 becomes green which indicates that the market is in uptrend and a long trade can be planned upon the successful testing and structure formations, whereas when the EMA 8 is below the EMA 20 the color of EMA 8 turn red hence denoting that the trend has shifted to downtrend and accordingly a short trade can be planned.
(Not Financial Advice)
Weighted Relative Strength Index [SeerQuant]Weighted Relative Strength Index (WRSI)
The Weighted Relative Strength Index (WRSI) is an advanced momentum oscillator that enhances the traditional RSI by incorporating customizable weighting methods and moving average smoothing. With dynamic threshold logic, color-coded visuals, and optional candle coloring, the WRSI provides traders with a versatile tool for identifying trends, overbought/oversold conditions, and momentum shifts.
⚙️ How It Works
1. Weighted Momentum Calculation
The indicator calculates price changes (delta) and applies a user-defined weighting method (e.g., Volume, Momentum, Volatility, or Reversion Factor) to emphasize specific market dynamics.
2. Custom Moving Average Integration
Weighted upward and downward price movements are smoothed using a selectable moving average type (e.g., SMA, EMA, TEMA, etc.), producing a weighted RSI that blends momentum and trend data.
3. Smoothed RSI Output
An additional moving average is applied to the weighted RSI for a smoothed version, offering a clearer view of momentum trends.
4. Threshold Logic
Bullish (Uptrend): WRSI exceeds the upper neutral zone boundary (50 + Neutral Zone).
Bearish (Downtrend): WRSI falls below the lower neutral zone boundary (50 - Neutral Zone).
Neutral: WRSI remains within the neutral zone.
Extreme overbought (90+) and oversold (20-) levels are marked with X’s for quick identification.
5. Dynamic Visual Representation
A color-coded line reflects the WRSI, adjusting hues based on trend direction.
Gradient fills highlight overbought/oversold zones and neutral areas.
Optional candle coloring ties price action to WRSI or smoothed RSI values.
A histogram-style fill between the WRSI and midline enhances trend strength visibility.
✨ Customizable Settings
Calculation Settings:
Calculation Source: Select the price source (default: close).
Calculation Length: Set the lookback period for RSI calculation (default: 14).
Moving Average Type: Choose from SMA, EMA, RMA, WMA, VWMA, LSMA, HMA, ALMA, DEMA, or TEMA (default: RMA).
Moving Average Length: Adjust the smoothing period for the weighted RSI (default: 8).
Neutral Zone Range: Define the width of the neutral zone around the midline (default: 5).
RSI Weighting Method:
Volume: Weights by trading volume.
Momentum: Weights by absolute price momentum.
Volatility: Weights by standard deviation.
Reversion Factor: Weights inversely to variance for mean-reversion emphasis (default: Momentum).
Style Settings:
Colour Choice: Pick from predefined schemes: Default, Modern, Cool, or Monochrome (default: Default).
Use Custom Colors?: Toggle to use custom bull, bear, and neutral colors (default: false).
Bull/Bear/Neutral Colors: Set custom colors when enabled (default: green/red/gray).
Candle Color Mode: Color candles based on WRSI or smoothed RSI (default: RSI).
Color Candles?: Enable/disable candle coloring (default: false).
🚀 Features and Benefits
Weighted Momentum Analysis: Enhances RSI with dynamic weighting for deeper market insights.
Flexible Smoothing: Multiple MA types and adjustable lengths adapt to various trading styles.
Visual Intuition: Color-coded outputs, gradient fills, and optional candle coloring simplify trend analysis.
Customizable Thresholds: Neutral zone and extreme levels cater to individual strategies.
Overbought/Oversold Signals: Clear markers for extreme conditions improve decision-making.
📜 Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always consult a licensed financial advisor before making trading decisions. Use at your own risk.
US Yield Curve (2-10yr)US Yield Curve (2-10yr) by oonoon
2-10Y US Yield Curve and Investment Strategies
The 2-10 year US Treasury yield spread measures the difference between the 10-year and 2-year Treasury yields. It is a key indicator of economic conditions.
Inversion (Spread < 0%): When the 2-year yield exceeds the 10-year yield, it signals a potential recession. Investors may shift to long-term bonds (TLT, ZROZ), gold (GLD), or defensive stocks.
Steepening (Spread widening): A rising 10-year yield relative to the 2-year suggests economic expansion. Investors can benefit by shorting bonds (TBT) or investing in financial stocks (XLF). The Amundi US Curve Steepening 2-10Y ETF can be used to profit from this trend.
Monitoring the curve: Traders can track US10Y-US02Y on TradingView for real-time insights and adjust portfolios accordingly.
[3Commas] Turtle StrategyTurtle Strategy
🔷 What it does: This indicator implements a modernized version of the Turtle Trading Strategy, designed for trend-following and automated trading with webhook integration. It identifies breakout opportunities using Donchian channels, providing entry and exit signals.
Channel 1: Detects short-term breakouts using the highest highs and lowest lows over a set period (default 20).
Channel 2: Acts as a confirmation filter by applying an offset to the same period, reducing false signals.
Exit Channel: Functions as a dynamic stop-loss (wait for candle close), adjusting based on market structure (default 10 periods).
Additionally, traders can enable a fixed Take Profit level, ensuring a systematic approach to profit-taking.
🔷 Who is it for:
Trend Traders: Those looking to capture long-term market moves.
Bot Users: Traders seeking to automate entries and exits with bot integration.
Rule-Based Traders: Operators who prefer a structured, systematic trading approach.
🔷 How does it work: The strategy generates buy and sell signals using a dual-channel confirmation system.
Long Entry: A buy signal is generated when the close price crosses above the previous high of Channel 1 and is confirmed by Channel 2.
Short Entry: A sell signal occurs when the close price falls below the previous low of Channel 1, with confirmation from Channel 2.
Exit Management: The Exit Channel acts as a trailing stop, dynamically adjusting to price movements. To exit the trade, wait for a full bar close.
Optional Take Profit (%): Closes trades at a predefined %.
🔷 Why it’s unique:
Modern Adaptation: Updates the classic Turtle Trading Strategy, with the possibility of using a second channel with an offset to filter the signals.
Dynamic Risk Management: Utilizes a trailing Exit Channel to help protect gains as trades move favorably.
Bot Integration: Automates trade execution through direct JSON signal communication with your DCA Bots.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Best suited for trending markets; higher timeframes (e.g., H4, D1) are recommended to minimize noise.
Sideways Markets: In choppy conditions, breakouts may lead to false signals—consider using additional filters.
Backtesting & Demo Testing: It is crucial to thoroughly backtest the strategy and run it on a demo account before risking real capital.
Parameter Adjustments: Ensure that commissions, slippage, and position sizes are set accurately to reflect real trading conditions.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:ETHUSDT (Spot).
Timeframe: 4h.
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
Period Channel 1: 20.
Period Channel 2: 20.
Period Channel 2 Offset: 20.
Period Exit: 10.
Take Profit %: Disable.
Strategy: Long & Short.
🔷 STRATEGY RESULTS
⚠️Remember, past results do not guarantee future performance.
Net Profit: +516.87 USDT (+5.17%).
Max Drawdown: -100.28 USDT (-0.95%).
Total Closed Trades: 281.
Percent Profitable: 40.21%.
Profit Factor: 1.704.
Average Trade: +1.84 USDT (+1.80%).
Average # Bars in Trades: 29.
🔷 How to Use It:
🔸 Adjust Settings:
Select your asset and timeframe suited for trend trading.
Adjust the periods for Channel 1, Channel 2, and the Exit Channel to align with the asset’s historical behavior. You can visualize these channels by going to the Style tab and enabling them.
For example, if you set Channel 2 to 40 with an offset of 40, signals will take longer to appear but will aim for a more defined trend.
Experiment with different values, a possible exit configuration is using 20 as well. Compare the results and adjust accordingly.
Enable the Take Profit (%) option if needed.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot:
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable the option to receive long or short signals (Entry | TP | SL), copy and paste the messages for the DCA Bots configured.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only".
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL.
For more details, refer to the section: "How to use TradingView Custom Signals".
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format.
🔷 INDICATOR SETTINGS
Period Channel 1: Period of highs and lows to trigger signals
Period Channel 2: Period of highs and lows to filter signals
Offset: Move Channel 2 to the right x bars to try to filter out the favorable signals.
Period Exit: It is the period of the Donchian channel that is used as trailing for the exits.
Strategy: Order Type direction in which trades are executed.
Take Profit %: When activated, the entered value will be used as the Take Profit in percentage from the entry price level.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
Check Messages: Check Messages: Enable this option to review the messages that will be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals.
Deal Entry and Deal Exit: Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the bot so that it can process properly.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the correct format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Strategy SuperTrend SDI WebhookThis Pine Script™ strategy is designed for automated trading in TradingView. It combines the SuperTrend indicator and Smoothed Directional Indicator (SDI) to generate buy and sell signals, with additional risk management features like stop loss, take profit, and trailing stop. The script also includes settings for leverage trading, equity-based position sizing, and webhook integration.
Key Features
1. Date-based Trade Execution
The strategy is active only between the start and end dates set by the user.
times ensures that trades occur only within this predefined time range.
2. Position Sizing and Leverage
Uses leverage trading to adjust position size dynamically based on initial equity.
The user can set leverage (leverage) and percentage of equity (usdprcnt).
The position size is calculated dynamically (initial_capital) based on account performance.
3. Take Profit, Stop Loss, and Trailing Stop
Take Profit (tp): Defines the target profit percentage.
Stop Loss (sl): Defines the maximum allowable loss per trade.
Trailing Stop (tr): Adjusts dynamically based on trade performance to lock in profits.
4. SuperTrend Indicator
SuperTrend (ta.supertrend) is used to determine the market trend.
If the price is above the SuperTrend line, it indicates an uptrend (bullish).
If the price is below the SuperTrend line, it signals a downtrend (bearish).
Plots visual indicators (green/red lines and circles) to show trend changes.
5. Smoothed Directional Indicator (SDI)
SDI helps to identify trend strength and momentum.
It calculates +DI (bullish strength) and -DI (bearish strength).
If +DI is higher than -DI, the market is considered bullish.
If -DI is higher than +DI, the market is considered bearish.
The background color changes based on the SDI signal.
6. Buy & Sell Conditions
Long Entry (Buy) Conditions:
SDI confirms an uptrend (+DI > -DI).
SuperTrend confirms an uptrend (price crosses above the SuperTrend line).
Short Entry (Sell) Conditions:
SDI confirms a downtrend (+DI < -DI).
SuperTrend confirms a downtrend (price crosses below the SuperTrend line).
Optionally, trades can be filtered using crossovers (occrs option).
7. Trade Execution and Exits
Market entries:
Long (strategy.entry("Long")) when conditions match.
Short (strategy.entry("Short")) when bearish conditions are met.
Trade exits:
Uses predefined take profit, stop loss, and trailing stop levels.
Positions are closed if the strategy is out of the valid time range.
Usage
Automated Trading Strategy:
Can be integrated with webhooks for automated execution on supported trading platforms.
Trend-Following Strategy:
Uses SuperTrend & SDI to identify trend direction and strength.
Risk-Managed Leverage Trading:
Supports position sizing, stop losses, and trailing stops.
Backtesting & Optimization:
Can be used for historical performance analysis before deploying live.
Conclusion
This strategy is suitable for traders who want to automate their trading using SuperTrend and SDI indicators. It incorporates risk management tools like stop loss, take profit, and trailing stop, making it adaptable for leverage trading. Traders can customize settings, conduct backtests, and integrate it with webhooks for real-time trade execution. 🚀
Important Note:
This script is provided for educational and template purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
Ivan Gomes StrategyIG Signals+ - Ivan Gomes Strategy
This script is designed for scalping and binary options trading, generating buy and sell signals at the beginning of each candle. Although it is mainly optimized for short-term operations, it can also be used for medium and long-term strategies with appropriate adjustments.
How It Works
• The indicator provides buy or sell signals at the start of the candle, based on a statistical probability of candle patterns, depending on the timeframe.
• It is essential to enter the trade immediately after the signal appears and exit at the end of the same candle.
• If the first operation results in a loss (Loss), the script will send another trade signal at the start of the next candle. However, if the first trade results in a win (Gain), no new signal will be generated.
• The signals follow cycles of 3 candles, regardless of the timeframe. However, if a Doji candle appears, the cycle is interrupted, and no signals will be generated until the next valid cycle starts.
• The strategy consists of up to two trades per cycle: if the first trade is not successful, the second trade serves as an additional attempt to recover.
Key Points to Consider
1. Avoid trading in sideways markets – If price levels do not fluctuate significantly, the accuracy of the signals may decrease.
2. Trade in the direction of the trend – Using Ichimoku clouds or other trend indicators can help confirm trend direction and improve signal reliability. If the market is in an uptrend (bullish trend) and the indicator generates a sell signal, the most prudent decision would be to wait for a buy signal that aligns with the main trend. The same applies to downtrends, where buy signals may be riskier.
These decisions should be based on chart reading and supported by other technical analysis tools, such as support and resistance levels, which indicate zones where price might face obstacles or reverse direction. Additionally, Fibonacci retracement levels can help identify possible pullback points within a trend. Moving averages are also useful for visualizing the general market direction and confirming whether an indicator signal aligns with the overall price structure. Combining these tools can increase trade accuracy and prevent unnecessary trades against the main trend, reducing risks.
3. Works based on probability statistics – The algorithm analyzes candle formations and their statistical probabilities depending on the timeframe to optimize trade entries.
4. Best suited for scalping and binary options – This strategy performs best in 1-minute and 5-minute timeframes, allowing for multiple trades throughout the day.
Technical Details
• The script detects the candle cycle and assigns an index to each candle to identify patterns and possible reversals.
• It recognizes reference candles, stores their colors, and compares them with subsequent candles to determine if a signal should be triggered.
• Doji candle rules are implemented to avoid false signals in indecisive market conditions. When a Doji appears, the script does not generate signals for that cycle.
• The indicator displays visual alerts and notifications, ensuring fast execution of trades.
Disclaimer
The IG Signals+ indicator was created to assist traders who struggle to analyze the market by providing objective trade signals. However, no strategy is foolproof, and this script does not guarantee profits.
Trading involves significant financial risk, and users should test it in a demo account before trading with real money. Proper risk management is crucial for long-term success.
MainFX session indicatorScript Title: MainFX Session Indicator with Customizable Lines
Overview:
This script is designed to help traders visually identify key market sessions on their TradingView charts. It marks both the opening and closing of major sessions (Frankfurt, London, New York, Sydney, and Tokyo) by drawing lines and labels on the chart. The indicator is highly customizable, allowing you to define specific session times, choose your preferred time zone, and adjust the visual appearance of all lines.
Key Features:
Custom Session Times:
Each session’s start and end times are defined by user inputs in a simple HHMM-HHMM format. This means you can adjust the sessions to match the exact market hours you follow, making the indicator flexible for different trading strategies and markets.
Time Zone Flexibility:
The "Chart/Local Time Zone" input lets you override the default time zone of your chart. By setting a specific time zone (e.g., "Africa/Lagos" or "Africa/Accra"), the script calculates session start and end events relative to that zone. This ensures that, regardless of where you are trading from, the session markers accurately reflect the intended market hours and adjust automatically for Daylight Saving Time if applicable.
Open Range Levels (ORH/ORL):
When a session opens or closes, the script draws horizontal lines at the high and low of the candle immediately before the event. These levels act as the Open Range High (ORH) and Open Range Low (ORL) markers. They serve as key reference points for traders to gauge price levels established just before a session change.
Customizable Visuals:
Every visual element is customizable. You can adjust the color, width, and style (defaulting to a dotted line) of both the ORH/ORL lines and the combined session lines that label open and close events. This allows you to tailor the indicator to match your charting style and ensure that the lines stand out clearly.
Session Event Detection:
The script utilizes helper functions to check each bar on the chart. It compares the current bar’s session status with that of the previous bar to determine whether a session has just started or ended. When such a transition is detected, it triggers the drawing of the appropriate lines and labels.
Optimized for Intraday Trading:
Since the script’s functionality is based on minute-level bar changes, it is best used on 1-minute or lower timeframes. This ensures precision in marking the exact moments when sessions transition, which is critical for intraday trading strategies.
How It Works:
Session Timing:
The script calculates the session periods using the time() function with the user-defined session strings and time zone. This makes it independent of the chart’s inherent time settings.
Event Triggering:
When the current bar transitions into or out of a session (i.e., the session status changes between bars), the script detects this change. It then draws horizontal lines at the previous candle’s high and low (marking ORH and ORL) and adds session labels for clarity.
Visual Customization:
Users can easily change the appearance of the drawn lines and session labels via the script’s input options, ensuring that the indicators are both aesthetically pleasing and functionally clear.
Usage:
For Traders:
Use this indicator to keep track of critical market sessions and to spot participants in the session.
Customization:
Adjust session times and the time zone to suit your local market or the specific market you are analyzing.
Visual Clarity:
Customize line styles to ensure that your chart remains clear and that the session markers are easy to interpret even during overlapping sessions.
AntoQQE - HistogramThis script displays a QQE-based momentum histogram, derived from the RSI line’s deviation around a neutral 50 level. It uses a smoothed RSI, monitors volatility with a dynamically adjusted multiplier, and then plots a color-coded histogram that helps traders see when the RSI is entering strong bullish or bearish territory:
• Smoothed RSI Calculation
The script calculates RSI for a user-defined period and then smooths it with an EMA. This reduces noise in the indicator’s readings.
• Dynamic Average Range (DAR)
The script computes volatility by taking the absolute change of the smoothed RSI, applying two EMAs, and multiplying by a QQE factor. This produces a band around the RSI that adapts to changes in market volatility.
• Histogram Centering and Thresholds
Rather than plotting the RSI itself, the script subtracts 50 from the RSI to center it around zero. Columns are plotted for each bar:
Blue when momentum is significantly above zero (over a threshold value).
Red when momentum is significantly below zero (under a negative threshold).
Gray when momentum is within a neutral range.
• Usage
By observing when columns turn blue or red—and how far they extend above or below zero—traders can quickly gauge the market’s momentum. The horizontal threshold lines (dashed by default) provide clear breakout levels for bullish or bearish conditions, which can help confirm entries or exits based on shifting market sentiment. It is best paired with the AntoQQE - Bars indicator for better chart visualization.
AntoQQE - BarsThis script is a variation on the QQE (Quantitative Qualitative Estimation) concept applied to RSI. It calculates a smoothed RSI line, then determines a “Dynamic Average Range” around that line. By tracking the RSI’s movement relative to these upper (shortBand) and lower (longBand) levels, it determines when price momentum shifts enough to suggest a possible trend flip. The script plots color-coded candles based on these momentum conditions:
• RSI Calculation and Smoothing
An RSI value is obtained over a specified period, then smoothed by an EMA. This smoothed RSI serves as the core measure of momentum.
• Dynamic Average Range (DAR)
The script computes the volatility of the smoothed RSI using two EMAs of its bar-to-bar movements. It multiplies this volatility factor by a QQE multiplier to create upper and lower bands that adapt to changes in RSI volatility.
• Trend Flips
When the smoothed RSI crosses above or below its previous band level (shortBand or longBand), the script interprets this as a shift in momentum and sets a trend state accordingly (long or short).
• Candle Coloring
Finally, the script colors each candle according to how far the smoothed RSI is from a neutral baseline of 50:
Candles turn green when the RSI is sufficiently above 50, suggesting bullish momentum.
Candles turn red when the RSI is sufficiently below 50, indicating bearish momentum.
Candles turn orange when they are near the 50 level, reflecting a more neutral or transitional phase.
Traders can use these colored candles to quickly see when the RSI’s momentum has moved into overbought/oversold zones—or is shifting between bullish and bearish conditions—without needing to consult a separate oscillator window. The adaptive nature of the band calculations can help in spotting significant shifts in market sentiment and volatility.
Autocorrelation Price Forecasting [The Quant Science]Discover how to predict future price movements using autocorrelation and linear regression models to identify potential trading opportunities.
An advanced model to predict future price movements using autocorrelation and linear regression. This script helps identify recurring market cycles and calculates potential gains, with clear visual signals for quick and informed decisions.
Main function
This script leverages an autocorrelation model to estimate the future price of an asset based on historical price relationships. It also integrates linear regression on percentage returns to provide more accurate predictions of price movements.
Insights types
1) Red label on a green candle: Bearish forecast and swing trading opportunity.
2) Red label on a red candle: Bearish forecast and trend-following opportunity.
3) Green label on a red candle: Bullish forecast and swing trading opportunity.
4) Green label on a green candle: Bullish forecast and trend-following opportunity.
IMPORTANT!
The indicator displays a future price forecast. When negative, it estimates a future price drop.
When positive, it estimates a future price increase.
Key Features
Customizable inputs
Analysis Length: number of historical bars used for autocorrelation calculation. Adjustable between 1 and 200.
Forecast Colors: customize colors for bullish and bearish signals.
Visual insights
Labels: hypothetical gains or losses are displayed as labels above or below the bars.
Dynamic coloring: bullish (green) and bearish (red) signals are highlighted directly on the chart.
Forecast line: A continuous line is plotted to represent the estimated future price values.
Practical applications
Short-term Trading: identify repetitive market cycles to anticipate future movements.
Visual Decision-making: colored signals and labels make it easier to visualize potential profit or loss for each trade.
Advanced Customization: adjust the data length and colors to tailor the indicator to your strategies.
Limitations
Prediction price models have some limitations. Trading decisions should be made with caution, considering additional market factors and risk management strategies.
Bayesian TrendEnglish Description (primary)
1. Overview
This script implements a Naive Bayesian classifier to estimate the probability of an upcoming bullish, bearish, or neutral move. It combines multiple indicators—RSI, MACD histogram, EMA price difference in ATR units, ATR level vs. its average, and Volume vs. its average—to calculate likelihoods for each market direction. Each indicator is “binned” (categorized into discrete zones) and assigned conditional probabilities for bullish/bearish/neutral scenarios. The script then normalizes these probabilities and paints bars in green if bullish is most likely, red if bearish is most likely, or blue if neutral is most likely. A small table is also displayed in the top-right corner of the chart, showing real-time probabilities.
2. How it works
Indicator Calculations: The script calculates RSI, MACD (line and histogram), EMA, ATR, and Volume metrics.
Binning: Each metric is converted into a discrete category (e.g., low, medium, high). For example, RSI < 30 is binned as “low,” while RSI > 70 is binned as “high.”
Conditional Probabilities: User-defined tables specify the conditional probabilities of each bin under three hypotheses (Up, Down, Neutral).
Naive Bayesian Formula: The script multiplies the relevant conditional probabilities, normalizes them, and derives the final probabilities (Up, Down, or Neutral).
Visualization:
Bar Colors: Bars are green when the Up probability exceeds 50%, red for Down, and blue otherwise.
Table: Displays numeric probabilities of Up, Down, and Neutral in percentage terms.
3. How to use it
Add the script to your chart.
Observe the colored bars:
Green suggests a higher probability for bullish movement.
Red suggests a higher probability for bearish movement.
Blue indicates a higher probability of sideways or uncertain conditions.
Check the table in the top-right corner to see exact probabilities (Up/Down/Neutral).
Use the input settings to adjust thresholds (RSI, MACD, Volume, etc.), define alert conditions (e.g., when Up probability crosses 50%), and decide whether to trigger alerts on bar close or in real-time.
4. Originality and usefulness
Originality: This script uniquely applies a Naive Bayesian approach to a blend of classic and volume-based indicators. It demonstrates how different indicator “zones” can be combined to produce probabilistic insights.
Usefulness: Traders can interpret the probability breakdown to gauge the script’s bias. Unlike single indicators, this approach synthesizes several signals, potentially offering a more holistic perspective on market conditions.
5. Limitations
The conditional probabilities are manually assigned and may not reflect actual market behavior across all instruments or timeframes.
Results depend on the user’s choice of thresholds and indicator settings.
Like any indicator, past performance does not guarantee future results. Always confirm signals with additional analysis.
6. Disclaimer
This script is intended for educational and informational purposes only. It does not constitute financial advice. Trading involves significant risk, and you should make decisions based on your own analysis. Neither the script’s author nor TradingView is liable for any financial losses.
Русское описание (Russian translation, optional)
Этот индикатор реализует наивный Байесовский классификатор для оценки вероятности предстоящего роста (Up), падения (Down) или бокового движения (Neutral). Он комбинирует несколько индикаторов—RSI, гистограмму MACD, разницу цены и EMA в единицах ATR, уровень ATR относительно своего среднего значения и объём относительно своего среднего—чтобы вычислить вероятности для каждого направления рынка. Каждый индикатор делится на «зоны» (low, mid, high), которым приписаны условные вероятности для бычьего/медвежьего/нейтрального исхода. Скрипт нормирует эти вероятности и раскрашивает бары в зелёный, красный или синий цвет в зависимости от того, какая вероятность выше. Также в правом верхнем углу отображается таблица с текущими значениями вероятностей.
Pearson OscillatorThe Pearson Oscillator is a custom TradingView indicator that leverages statistical correlation analysis to gauge the trend strength of a given price series. By calculating the Pearson correlation coefficient between time (as an index) and price over a user-defined period, the indicator provides traders with an insight into how strongly the market is trending or oscillating.
──────────────────────────────
Key Features
- User-Defined Parameters:
– Set the calculation length, price source, and smoothing period.
– Adjust upper and lower threshold levels to suit your trading strategy.
– Customize color settings for increasing, decreasing, and neutral conditions.
- Dynamic Trend Analysis:
– Computes the Pearson correlation coefficient to measure the relationship between time and price.
– Applies a simple moving average to smooth out fluctuations in the coefficient, offering a more stable reading.
- Visual Representation:
– Plots the smoothed Pearson coefficient as a continuous line.
– Displays a histogram showing the variation (first derivative) of the coefficient to highlight changes in trend strength.
– Draws horizontal reference lines at the specified upper and lower thresholds as well as at the zero level for quick visual assessment.
- Alerts and Dynamic Labeling:
– Automatically triggers alerts when the smoothed Pearson coefficient crosses the predefined threshold levels, so you never miss a potential market turning point.
– Generates a dynamic label on the last bar that displays important statistical information, including:
- The current Pearson coefficient (rounded to three decimals).
- A classification of correlation strength (e.g., STRONG, MEDIUM, WEAK, NEUTRAL) based on the absolute value of the coefficient.
- The trend direction (Upward, Downward, or Stable).
- The delta of the coefficient, offering insight into how quickly the trend is evolving.
──────────────────────────────
How It Works
1. Calculation of the Pearson Coefficient:
- A custom function iterates over a specified number of price bars, summing time indices, price values, and their squared and cross-products.
- Using the Pearson correlation formula, it computes a coefficient that ranges between -1 and 1—values close to ±1 indicate a strong trend or linear relationship, while values near 0 suggest a weak or non-existent trend.
2. Smoothing Process:
- The raw Pearson coefficient is then smoothed using a simple moving average (SMA) to reduce noise and provide a clearer view of the underlying trend.
3. Delta (Variation) Computation:
- The script calculates the change (delta) between the current smoothed coefficient and its value on the previous bar.
- This derivative is plotted as a histogram, signaling the speed at which the correlation (and thus the trend) is changing.
4. Visual and Alert Mechanisms:
- The smoothed coefficient and its delta are plotted with colors that dynamically update to reflect increasing or decreasing trends.
- Horizontal lines set at user-defined thresholds help to quickly identify overbought or oversold (or extreme correlation) scenarios.
- Alerts are defined to notify you when the smoothed coefficient crosses these key levels, ensuring timely trade decisions.
5. Dynamic Label:
- At the last bar, a dynamic label is created displaying the current Pearson value, its strength, the direction of the trend, and the delta.
- This quick snapshot helps traders assess the market condition at a glance without diving into detailed analysis.
──────────────────────────────
Why Use the Pearson Oscillator?
This indicator is particularly useful for traders who need a quantitative measure of trend strength that goes beyond traditional moving averages. By integrating statistical correlation directly into market analysis, the Pearson Oscillator helps you:
- Identify periods of strong trending behavior or potential reversals.
- Enhance your risk management through early alerts.
- Visualize the rate of change in market sentiment, enabling more informed entry and exit decisions.
Whether you are a technical analyst or a systematic trader, this indicator provides a robust tool to complement your existing trading toolkit.
──────────────────────────────
The Pearson Oscillator merges statistical insights with technical charting, creating an intuitive yet powerful tool for market analysis. With its adjustable parameters, visual cues, dynamic labeling, and automated alerts, it assists traders in monitoring and responding to evolving market conditions efficiently. This makes it a valuable addition to any TradingView chart, particularly for those looking to quantify the strength and evolution of market trends.
Feel free to adapt the parameters and visual settings to best align the indicator with your trading strategy. Happy trading!
Acceleration Bands HTF
This version gives you the ability to see the indicator from the HIGHER timeframes when you are on the timeframes. Please note that this is not the original formula, but a factored one that I found effective for identifying market trends. Thanks to @capissimo who provided the base open-code.
Acceleration Bands are designed to capture potential price breakouts or reversals in an asset. They are calculated based on a stock's price movements over a specified period, typically using the high, low, and closing prices. The idea is to identify moments when the price is accelerating (hence the name) beyond its normal range, which might indicate the beginning of a new trend.
Calculation
Acceleration Bands consist of three lines:
Upper Band (AB Upper): This is calculated by adding a certain percentage of the simple moving average (SMA) to the highest high over a given period.
Middle Band: This is typically the SMA of the stock's price.
Lower Band (AB Lower): This is calculated by subtracting the same percentage of the SMA from the lowest low over a given period.
Mathematically :
AB Upper = SMA + (Highest High * Percentage)
AB Lower = SMA - (Lowest Low * Percentage)
OR
Upper Band = SMA x (1 + (High - Low) / SMA)
Lower Band = SMA x (1 - (High - Low) / SMA)
Interpretation
The bands are used to identify periods when the price of a security is accelerating or decelerating:
Breakout Above Upper Band: This is usually considered a bullish signal, suggesting that the price is accelerating upwards and a new uptrend may be starting.
Breakdown Below Lower Band: This is usually considered a bearish signal, suggesting that the price is accelerating downwards and a new downtrend may be starting.
Reversal Between Bands: When the price re-enters the region between the bands after breaking out, it can be seen as a potential reversal signal.
Trading Strategy
Entry Signals:
Buy when the price breaks above the upper band.
Sell or short when the price breaks below the lower band.
Exit Signals:
Close a long position when the price falls back into the area between the bands.
Close a short position when the price rises back into the area between the bands.
Advantages
Helps capture early trends.
Can be used across various time frames and assets.
Provides clear entry and exit signals.
Weekly MA SuiteThe Weekly MA Suite is a multi-layered moving average indicator designed for traders and investors who analyze market trends across weekly and long-term timeframes. It combines three critical trend layers—short-term (1W EMA/VWMA), mid-term (30W EMA/VWMA), and long-term (200W HMA)—providing clear insights into market momentum, structure, and cycle trends.
This indicator is ideal for:
✅ Swing traders looking for weekly momentum shifts
✅ Position traders tracking multi-week to multi-month trends
✅ Long-term investors monitoring macro market cycles
Each layer has customizable colors, transparency, and visibility toggles, ensuring traders can tailor the indicator to their specific needs.
📊 Breakdown of Components
🔹 Short-Term Trend (1W EMA/VWMA Ribbon – Top Layer)
Purpose: Captures weekly momentum and volume dynamics
• 1W EMA (Exponential Moving Average) reacts quickly to price changes
• 1W VWMA (Volume-Weighted Moving Average) accounts for volume to confirm trend strength
• Ribbon fill highlights the divergence between price-based momentum (EMA) and volume-weighted trends (VWMA), making trend shifts easier to spot
Usage:
• If the 1W EMA is above the 1W VWMA, momentum is strong and price is trending higher with support from volume
• If the EMA crosses below the VWMA, it may indicate weakening trend strength or distribution
• A widening ribbon suggests increasing momentum, while a narrowing ribbon signals potential consolidation or reversal
🔸 Mid-Term Trend (30W EMA/VWMA Ribbon – Middle Layer)
Purpose: Provides insight into the broader market structure over multiple months
• 30W EMA represents the dominant trend direction over roughly half a year
• 30W VWMA smooths this trend while weighting price by trading volume
• Ribbon fill allows for a visual representation of how volume impacts trend direction
Usage:
• A bullish trend is confirmed when price remains above the 30W EMA, with the ribbon widening in an uptrend
• A bearish shift occurs when the 30W EMA crosses below the 30W VWMA, signaling weakening demand
• If the ribbon narrows or twists frequently, the market may be in a choppy, range-bound phase
🔻 Long-Term Trend (200W HMA – Background Layer)
Purpose: Identifies major market cycles and deep trend shifts
• The 200W Hull Moving Average (HMA) is a long-term smoothing tool that reduces lag while maintaining trend clarity
• Unlike traditional moving averages, the HMA reacts faster to trend changes without excessive noise
Usage:
• When price is above the 200W HMA, the broader trend remains bullish, even during short-term corrections
• A cross below the 200W HMA may indicate a macro downtrend or deep market cycle shift
• Long-term investors can use this as a dynamic support or resistance zone
🎯 How to Use the Weekly MA Suite for Trading
📅 Identifying Market Phases
• In strong uptrends, the 1W EMA and 30W EMA will be aligned above their VWMA counterparts, with price well above the 200W HMA
• In sideways markets, the ribbons will frequently narrow or cross, signaling indecision
• In bear markets, price will typically trade below the 30W EMA, with the 200W HMA acting as a long-term resistance
📈 Entry and Exit Strategies
• A bullish trade setup occurs when the 1W EMA crosses above the 1W VWMA while the 30W EMA holds above the 30W VWMA, confirming multi-timeframe momentum
• A bearish setup is confirmed when the 1W EMA crosses below the 1W VWMA and price is also trending below the 30W EMA
• The 200W HMA can be used as a trend filter—staying long when price is above it and avoiding longs when price is below
🚦 Customizing for Your Trading Style
• Scalpers can focus on the 1W ribbon for faster trend shifts
• Swing traders can use the 30W ribbon for trend-following entries and exits
• Long-term investors should watch price action relative to the 200W HMA for market cycle positioning
🔧 Final Thoughts
The Weekly MA Suite simplifies multi-timeframe analysis by layering key moving averages in an intuitive and structured format. By combining short, medium, and long-term trend indicators, traders can confidently navigate market conditions and improve decision-making. Whether trading weekly trends or monitoring multi-year cycles, this tool provides a clear visual framework to enhance market insights.