TradFi Fundamentals: Enhanced Macroeconomic Momentum Trading Introduction
The "Enhanced Momentum with Advanced Normalization and Smoothing" indicator is a tool that combines traditional price momentum with a broad range of macroeconomic factors. I introduced the basic version from a research paper in my last script. This one leverages not only the price action of a security but also incorporates key economic data—such as GDP, inflation, unemployment, interest rates, consumer confidence, industrial production, and market volatility (VIX)—to create a comprehensive, normalized momentum score.
Previous indicator
Explanation
In plain terms, the indicator calculates a raw momentum value based on the change in price over a defined lookback period. It then normalizes this momentum, along with several economic indicators, using a method chosen by the user (options include simple, exponential, or weighted moving averages, as well as a median absolute deviation (MAD) approach). Each normalized component is assigned a weight reflecting its relative importance, and these weighted values are summed to produce an overall momentum score.
To reduce noise, the combined momentum score can be further smoothed using a user-selected method.
Signals
For generating trade signals, the indicator offers two modes:
Zero Cross Mode: Signals occur when the smoothed momentum line crosses the zero threshold.
Zone Mode: Overbought and oversold boundaries (which are user defined) provide signals when the momentum line crosses these preset limits.
Definition of the Settings
Price Momentum Settings:
Price Momentum Lookback: The number of days used to compute the percentage change in price (default 50 days).
Normalization Period (Price Momentum): The period over which the price momentum is normalized (default 200 days).
Economic Data Settings:
Normalization Period (Economic Data): The period used to normalize all economic indicators (default 200 days).
Normalization Method: Choose among SMA, EMA, WMA, or MAD to standardize both price and economic data. If MAD is chosen, a multiplier factor is applied (default is 1.4826).
Smoothing Options:
Apply Smoothing: A toggle to enable further smoothing of the combined momentum score.
Smoothing Period & Method: Define the period and type (SMA, EMA, or WMA) used to smooth the final momentum score.
Signal Generation Settings:
Signal Mode: Select whether signals are based on a zero-line crossover or by crossing user-defined overbought/oversold (OB/OS) zones.
OB/OS Zones: Define the upper and lower boundaries (default upper zones at 1.0 and 2.0, lower zones at -1.0 and -2.0) for zone-based signals.
Weights:
Each component (price momentum, GDP, inflation, unemployment, interest rates, consumer confidence, industrial production, and VIX) has an associated weight that determines its contribution to the overall score. These can be adjusted to reflect different market views or risk preferences.
Visual Aspects
The indicator plots the smoothed combined momentum score as a continuous blue line against a dotted zero-line reference. If the Zone signal mode is selected, the indicator also displays the upper and lower OB/OS boundaries as horizontal lines (red for overbought and green for oversold). Buy and sell signals are marked by small labels ("B" for buy and "S" for sell) that appear at the bottom or top of the chart when the score crosses the defined thresholds, allowing traders to quickly identify potential entry or exit points.
Conclusion
This enhanced indicator provides traders with a robust approach to momentum trading by integrating traditional price-based signals with a suite of macroeconomic indicators. Its normalization and smoothing techniques help reduce noise and mitigate the effects of outliers, while the flexible signal generation modes offer multiple ways to interpret market conditions. Overall, this tool is designed to deliver a more nuanced perspective on market momentum.
中心震盪指標
ZenAlgo - QZenAlgo - Q
Description
ZenAlgo - Q is an oscillator based on the QQE (Quantitative Qualitative Estimation) method. This version incorporates refinements for additional visualization and interpretation options. It is designed to help traders observe momentum changes and divergence patterns in price movements.
Key Features
QQE-Based Calculation : Derived from the open-source QQE script by Glaz (Metastock Version of QQE), with modifications for alternative visualization.
Dual RSI-Based Analysis : Uses two RSI calculations to provide additional context on price movements.
Adaptive Trend Bands : Adjust dynamically based on the market conditions.
Divergence Identification : Highlights potential differences between price action and oscillator movement.
Dynamic Color Coding : Displays histogram bars to illustrate shifts in oscillator values.
Configurable Alerts : Enables notifications for specific oscillator conditions.
How It Works
The indicator calculates a smoothed RSI-based oscillator that tracks the relative strength of price movement. It applies an exponential moving average (EMA) smoothing to reduce noise while maintaining responsiveness.
Two adaptive bands are calculated using a variation of the QQE method, which helps define dynamic overbought and oversold conditions.
The histogram bars shift in color based on the position of the oscillator relative to the bands. Lighter shades indicate weaker momentum, while stronger momentum is represented by more saturated colors.
The script also includes a secondary RSI component, which provides an additional layer of analysis. This secondary RSI helps refine momentum trends by smoothing out short-term fluctuations.
Divergence identification is built-in, highlighting where price action deviates from oscillator readings. Bullish divergence occurs when price forms a lower low while the oscillator forms a higher low, and bearish divergence is identified when price forms a higher high while the oscillator forms a lower high.
The indicator does not generate buy or sell signals but instead provides contextual information that can be used alongside other trading strategies.
Use Cases
Trend Observation : Traders can use the histogram to observe whether momentum is strengthening or weakening over time. A shift in color can indicate a potential change in trend strength.
Divergence Analysis : By comparing oscillator divergence with price movement, traders can identify situations where price action may be losing momentum. Divergences do not guarantee reversals but can serve as an early warning to re-evaluate positions.
Momentum Tracking : The dual RSI structure allows users to monitor both short-term and long-term momentum. When both RSI components are aligned, it suggests a more stable trend, while divergence between them may indicate potential consolidation or trend shifts.
Supplementary Analysis : This indicator is best used as a supporting tool alongside volume-based or trend-following indicators. It helps visualize underlying price behavior but should not be used in isolation for decision-making.
Market Context Interpretation : The combination of adaptive bands and histogram visualization allows traders to assess how recent price action compares to historical movement, helping to place current conditions in a broader market context.
Attribution
This script is an adaptation of the open-source QQE script originally developed by Glaz. We acknowledge and appreciate the original author's work, which served as a foundation for our modifications.
Disclaimer
This indicator is intended for informational purposes only. It should not be interpreted as financial advice. Always conduct independent research and risk management before making trading decisions.
TEMA OBOS Strategy 【Pakun】📌 Overview
The TEMA + OBOS Strategy is an advanced trading strategy that combines the Triple Exponential Moving Average (TEMA) for trend-following and the Overbought/Oversold (OBOS) indicator for trade filtering.
This strategy leverages TEMA crossovers to identify trends and applies OBOS as a filter to improve entry precision.
💡 Main Objectives
Clearly determine trend direction (using TEMA)
Filter out overbought and oversold conditions (using OBOS)
Implement dynamic risk management (using ATR-based TP/SL)
This strategy is suitable for a wide range of markets, including Forex, stocks, and cryptocurrencies, and is best applied on mid-timeframes such as 15-minute to 1-hour charts.
📌 Key Features
🔹 Trend Analysis with TEMA (Triple EMA)
Generates entry signals based on ema3 and ema4 crossovers
Uses ema4 as the primary trend filter
🔹 Entry Optimization with OBOS (Overbought/Oversold Indicator)
up > down → Buy entry, up < down → Sell entry
Filters out excessive buying and selling conditions to improve accuracy
🔹 Take Profit & Stop Loss Based on ATR
ATR (Average True Range) multiplier is adjustable
Fully customizable TP/SL settings (default: TP = ATR × 2, SL = ATR × 1.5)
🔹 Customizable Parameters
TEMA Length (TEMA calculation period)
OBOS Length (OBOS calculation period)
Take Profit Multiplier (TP ratio)
Stop Loss Multiplier (SL ratio)
Show EMA? (Enable/disable TEMA lines)
Barcolor? (Enable/disable candlestick coloring)
📌 Trading Parameters
This strategy follows these trading rules:
✅ Long Entry (Buy)
ema3 crosses above ema4 (Golden Cross)
OBOS indicator confirms up > down (uptrend confirmation)
A long position is executed
✅ Short Entry (Sell)
ema3 crosses below ema4 (Death Cross)
OBOS indicator confirms up < down (downtrend confirmation)
A short position is executed
✅ Take Profit (TP)
Profit is taken when the price reaches Entry Price + ATR × TP multiplier (default: 2.0)
✅ Stop Loss (SL)
Loss is cut when the price reaches Entry Price - ATR × SL multiplier (default: 1.5)
📌 TP/SL values are fully customizable, allowing traders to fine-tune risk management.
📌 Risk Management Parameters
This strategy emphasizes flexible position sizing and risk control:
💰 Account Size: $7000
📉 Commissions & Slippage: Assumes 0-94 pips commission and 1 pip slippage
⚖️ Order Size: 10% of equity (adjustable as needed)
These settings help balance risk and reward while protecting capital.
📌 Visual Aids for Clarity
This strategy provides clear visual cues on the chart:
📊 TEMA Lines (3 EMA Levels)
Color change (Blue/Orange) indicates trend direction
ema3 (short-term) and ema4 (long-term) crossover signals
📉 OBOS Histogram
Green → Bullish pressure
Red → Bearish pressure
Blue → Potential trend shift
🔹 Entry & Exit Markers
🔼 Long Entry (Blue arrow)
🔽 Short Entry (Red arrow)
✅ Take Profit / Stop Loss Levels
📌 Originality & Enhancements
This strategy is based on the indicators " l_lonthoff " and " jdmonto0 ", with several improvements and enhancements.
While utilizing the core concepts of these indicators, we have optimized entry accuracy, improved visual clarity, and enhanced risk management features.
📌 Improvements & Upgrades
✅ Enhanced Trend Identification with TEMA (Triple EMA)
Uses ema3 (short-term) and ema4 (long-term) to detect trend shifts earlier
Reduces false signals and enables better trend-following trades
✅ Improved Filtering with OBOS (Overbought/Oversold Indicator)
Inspired by "jdmonto0", this feature filters overbought/oversold conditions for smarter trade entries
Reduces unnecessary trades and minimizes risk exposure
✅ Dynamic Risk Management with ATR (Average True Range)
Uses volatility-adjusted TP/SL levels instead of fixed values
Fully customizable ATR-based TP/SL multipliers (Default: TP = ATR × 2, SL = ATR × 1.5)
✅ Visual Enhancements for Clarity
TEMA lines change color dynamically to indicate trend direction
OBOS histogram provides an intuitive view of buying and selling pressure
Entry & exit markers make trades easy to track on the chart
📌 Summary
📌 TEMA + OBOS Strategy combines trend analysis and oscillators to create a powerful yet simple trading system:
Identifies trend direction using TEMA (Triple EMA)
Filters out noise and overbought/oversold conditions using OBOS
Applies ATR-based TP/SL settings for dynamic risk management
💡 Recommended for:
✅ Traders who prefer trend-following strategies
✅ Those who want a systematic, rules-based trading approach
✅ Users looking for a customizable strategy with strong risk management
📌 Try it out and backtest the results! 🚀
💡 How to Upload to TradingView
Paste this description in the Pine Script editor's "Strategy Description" field
Save and publish the script
Ensure that the "Description" field is filled with this content
Share it with the TradingView community!
📌 This strategy provides a structured, risk-managed approach to trading. Try it out and see how it performs! 🔥
Kitti-Playbook 5MA+MACD R5.2.1 Objective:
1) To serve as an indicator for trend following, capable of simultaneously displaying EMA4, EMA9, EMA20, EMA55, SMA200, MACD level, and MACD signal. This will enable to identify entry points, exit points, and stop points.
2) You can also display profit and loss values by specifying the entry price, the number of contracts, and the trading direction.
NLS - 52W High Screener (3, 5, 7 Days)This indicator automatically detects stocks that have reached a new 52-week high within the last 3, 5, or 7 days. Perfect for traders looking for breakouts and strong momentum stocks!
📊 Features:
✅ Identifies new 52-week highs within the last 3, 5, or 7 days
✅ Fully Screener-compatible – Easily filter stocks in the TradingView Screener
✅ Plots the 52-week high as a blue line in the chart for better visualization
✅ Built-in alerts to notify you when a new 52W high is reached
✅ Optimized for the 1D (daily) timeframe
🛠️ How to Use in the Screener:
1️⃣ Add & activate the indicator
2️⃣ Open the TradingView Screener
3️⃣ Filter using one of these columns:
Screener 52W High Last 3 Days
Screener 52W High Last 5 Days
Screener 52W High Last 7 Days
4️⃣ Set the filter to "is true" to see relevant stocks
📢 Alerts:
Get notified when a stock reaches a new 52-week high in the last 3, 5, or 7 days!
🔍 Ideal for:
✔ Trend-following & breakout traders 🚀
✔ Swing traders looking for strong stocks 📈
✔ Screener users searching for momentum setups
[Ice Hive Algo] Averaged Bull Bear Power
Modified version of a well know Bull Bear Power Indicator.
It is now universal and can be used in building trading strategies by having indicator that is not tied to absolute price values.
Instead it operates percentages of price movements calculating Bull Bear power.
RSI + MACD Histogram Divergence Detector Indicator detects bullish and bearish divergences using RSI and MACD Histogram to identify potential trend reversals with high accuracy and minimal false signals.
This script is ideal for traders looking to enhance market timing and spot trend reversals early. Apply it to stocks, forex, crypto, or indices and optimize it for your strategy!
Z Score BlackZ-score bbut with better looking black color imo
Values are different because I choose source Open for original Z score and on my black one is source Closed. I don't know how to change that picture so you have to deal with it.
I works exactly the same as original.
All credit to original Creator: www.tradingview.com
Link to original Z score:
What Is Z-Score?
Z-score is a statistical measurement that describes a value's relationship to the mean of a group of values. Z-score is measured in terms of standard deviations from the mean. If a Z-score is 0, it indicates that the data point's score is identical to the mean score. A Z-score of 1.0 would indicate a value that is one standard deviation from the mean. Z-scores may be positive or negative, with a positive value indicating the score is above the mean and a negative score indicating it is below the mean.
MACD Volume Strategy for XAUUSD (15m) [PineIndicators]The MACD Volume Strategy is a momentum-based trading system designed for XAUUSD on the 15-minute timeframe. It integrates two key market indicators: the Moving Average Convergence Divergence (MACD) and a volume-based oscillator to identify strong trend shifts and confirm trade opportunities. This strategy uses dynamic position sizing, incorporates leverage customization, and applies structured entry and exit conditions to improve risk management.
⚙️ Core Strategy Components
1️⃣ Volume-Based Momentum Calculation
The strategy includes a custom volume oscillator to filter trade signals based on market activity. The oscillator is derived from the difference between short-term and long-term volume trends using Exponential Moving Averages (EMAs)
Short EMA (default = 5) represents recent volume activity.
Long EMA (default = 8) captures broader volume trends.
Positive values indicate rising volume, supporting momentum-based trades.
Negative values suggest weak market activity, reducing signal reliability.
By requiring positive oscillator values, the strategy ensures momentum confirmation before entering trades.
2️⃣ MACD Trend Confirmation
The strategy uses the MACD indicator as a trend filter. The MACD is calculated as:
Fast EMA (16-period) detects short-term price trends.
Slow EMA (26-period) smooths out price fluctuations to define the overall trend.
Signal Line (9-period EMA) helps identify crossovers, signaling potential trend shifts.
Histogram (MACD – Signal) visualizes trend strength.
The system generates trade signals based on MACD crossovers around the zero line, confirming bullish or bearish trend shifts.
📌 Trade Logic & Conditions
🔹 Long Entry Conditions
A buy signal is triggered when all the following conditions are met:
✅ MACD crosses above 0, signaling bullish momentum.
✅ Volume oscillator is positive, confirming increased trading activity.
✅ Current volume is at least 50% of the previous candle’s volume, ensuring market participation.
🔻 Short Entry Conditions
A sell signal is generated when:
✅ MACD crosses below 0, indicating bearish momentum.
✅ Volume oscillator is positive, ensuring market activity is sufficient.
✅ Current volume is less than 50% of the previous candle’s volume, showing decreasing participation.
This multi-factor approach filters out weak or false signals, ensuring that trades align with both momentum and volume dynamics.
📏 Position Sizing & Leverage
Dynamic Position Calculation:
Qty = strategy.equity × leverage / close price
Leverage: Customizable (default = 1x), allowing traders to adjust risk exposure.
Adaptive Sizing: The strategy scales position sizes based on account equity and market price.
Slippage & Commission: Built-in slippage (2 points) and commission (0.01%) settings provide realistic backtesting results.
This ensures efficient capital allocation, preventing overexposure in volatile conditions.
🎯 Trade Management & Exits
Take Profit & Stop Loss Mechanism
Each position includes predefined profit and loss targets:
Take Profit: +10% of risk amount.
Stop Loss: Fixed at 10,100 points.
The risk-reward ratio remains balanced, aiming for controlled drawdowns while maximizing trade potential.
Visual Trade Tracking
To improve trade analysis, the strategy includes:
📌 Trade Markers:
"Buy" label when a long position opens.
"Close" label when a position exits.
📌 Trade History Boxes:
Green for profitable trades.
Red for losing trades.
📌 Horizontal Trade Lines:
Shows entry and exit prices.
Helps identify trend movements over multiple trades.
This structured visualization allows traders to analyze past performance directly on the chart.
⚡ How to Use This Strategy
1️⃣ Apply the script to a XAUUSD (Gold) 15m chart in TradingView.
2️⃣ Adjust leverage settings as needed.
3️⃣ Enable backtesting to assess past performance.
4️⃣ Monitor volume and MACD conditions to understand trade triggers.
5️⃣ Use the visual trade markers to review historical performance.
The MACD Volume Strategy is designed for short-term trading, aiming to capture momentum-driven opportunities while filtering out weak signals using volume confirmation.
The Money Printer v3🚀 Say goodbye to stress and second-guessing! This algorithmic strategy is built to spot high-probability trades, manage risk dynamically, and let the trends do the heavy lifting. Whether you're catching breakouts or riding strong trends, this strategy adapts to market conditions so you can trade smarter, not harder.
🔥 What Makes It Tick?
✅ EMA Crossover Strategy – Identifies trend shifts so you’re trading with momentum, not against it.
✅ MACD Confirmation – Helps avoid weak trends by ensuring momentum is in your favor.
✅ RSI Filter – No chasing tops or selling bottoms—just smart, calculated entries.
✅ ATR-Based Stop-Loss & Trailing Stop – Adjusts dynamically to market volatility.
✅ Volume Surge Filter (Optional) – Want to trade with the whales? This filter helps confirm big moves.
✅ Position Sizing on Autopilot – Risk per trade is calculated based on equity for smarter capital allocation.
📊 How It Works:
🔹 Long Entries: Triggered when EMAs cross bullishly, RSI confirms strength, and MACD aligns.
🔹 Short Entries: Triggered when EMAs cross bearishly, RSI confirms weakness, and MACD signals momentum shift.
🔹 Dynamic Stop-Loss & Trailing Stop: Uses ATR to adapt to price action and volatility.
🔹 Volume Filter (Optional): Can be turned on to confirm institutional participation.
⚠️ Trading Smart, Not Reckless
This strategy is designed to enhance decision-making, but remember—markets are unpredictable. Backtest, tweak settings, and use proper risk management before live trading.
💎 Why Use It?
✔️ Reduces Emotional Trading – Signals based on logic, not FOMO.
✔️ Works on Any Timeframe – Scalping, swing trading, position trading—it adapts.
✔️ Let the Market Work for You – Spot trends, ride momentum, and manage risk automatically.
Ready to level up your strategy? Plug it into TradingView and let the signals roll in! 🚀💰
This keeps it fun and engaging while following TradingView’s rules. Let me know if you want any tweaks! 🎯🔥
DiNapoli MACDThis indicator applies a modified version of the traditional MACD based on DiNapoli’s methodology. It computes two exponential moving averages using a fast period of 8 and a slow period of 17 to generate the MACD line, then derives a 9-period exponential moving average of this MACD line as the signal line. The histogram represents the difference between the MACD line and the signal line, providing a visual cue for potential trend changes.
Default Settings:
Fast EMA Length: 8
Slow EMA Length: 17
Signal EMA Length: 9
Source: close
Multi-Timeframe Optimized MACD [ClémentCrypto]An optimized MACD with specific parameters for each timeframe, based on extensive market analysis.
Key Features:
• Optimized presets for 1H, 4H, 1D, 1W, 2W
• Customizable mode with adjustable parameters
• Clear visual signals with modern color scheme
• Trading options: Long Only, Short Only, Both Directions
• Integrated alert system for each timeframe
• User-friendly interface with dashboard
Optimized Parameters by Timeframe:
1H: 11/38/27
4H: 9/98/27
1D: 45/90/29
1W: 9/16/3
2W: 5/20/5
🎯 Recommended Usage:
• Select your preferred timeframe
• Choose your trading direction
• Enable alerts according to your needs
• Monitor MACD/Signal crossovers
⚠️ Note: This indicator should be used with other analysis tools for better results.
Happy Trading! 📈
Multi timeframe RSIMulti-Timeframe RSI Indicator
This indicator displays the Relative Strength Index (RSI) from multiple timeframes—1 minute, 5 minutes, 15 minutes, and 30 minutes—on a single chart. Designed for intraday scalpers and short-term traders, it provides a comprehensive view of momentum across different timeframes, helping traders make more informed decisions.
✨ Why Use This Indicator?
✔ Enhanced Confirmation – Identify trends and momentum shifts with RSI signals from multiple timeframes.
✔ Perfect for Scalping & Intraday Trading – Quickly spot overbought/oversold conditions across different timeframes.
✔ Multi-Timeframe Confluence – Align entries and exits with stronger confirmation by analyzing RSI across short-term charts.
✔ Customizable & Easy to Use – Adjust RSI settings to suit your trading style.
This is a must-have tool for traders looking to refine their entries and exits with a multi-timeframe perspective! 🚀
Squeeze Momentum Indicator with Entry Tactics### **Squeeze Momentum Indicator with Stacked EMAs**
#### **Description:**
This indicator is an enhanced version of the **Squeeze Momentum Indicator** (originally by John Carter and later modified by LazyBear). It identifies **periods of consolidation (squeeze)** and signals potential **explosive price moves** when momentum shifts. The added **stacked EMA concept** further refines entry signals by confirming trend strength. This is also an update to version 6 of PineScript
#### **How to Use:**
The indicator provides **three different entry tactics**, allowing traders to choose signals based on their strategy:
1. **Inside Day Pattern** – Detects inside candles, which indicate potential breakouts when volatility contracts.
2. **Consecutive Black Crosses (Squeeze Signal)** – A certain number of black crosses (low volatility periods) suggests a strong move is coming.
3. **Stacked EMA Concept** – When the **8 EMA > 21 EMA > 34 EMA**, combined with a momentum shift from negative to positive, it signals a **high-probability bullish entry**.
#### **Visual Cues:**
- **Histogram Bars**: Show momentum (green for increasing bullish, red for increasing bearish).
- **Black & Gray Dots**: Represent different squeeze states (low volatility vs. breakout conditions).
- **🔥 Bullish Label**: Appears when the stacked EMAs align and momentum shifts from negative to positive.
#### **Best Practices:**
- Look for **momentum shifts during a squeeze** for high-probability trades.
- Use **stacked EMAs as trend confirmation** before entering.
- Combine with **price action and volume analysis** for additional confluence.
This indicator helps traders **anticipate major price moves** rather than react, making it a powerful tool for trend-following and breakout strategies. 🚀
Bar Color - Moving Average Convergence Divergence [nsen]This indicator is a standard Moving Average Convergence Divergence (MACD) that changes the candle colors on the chart according to the Histogram.
- You can enable or disable the candle color display on the chart.
- A green Histogram indicates a Bullish Trend, and the candles on the chart will be green.
- A red Histogram indicates a Bearish Trend, and the candles on the chart will be red.
-----------------------------------------------------
indicator นี้เป็น Moving Average Convergence Divergence (MACD) ค่ามาตราฐาน ที่จะเปลี่ยนสีแท่งเทียนบนชาร์ตตาม Histogram
- สามารถเปิดหรือปิดการแสดงสีแท่งเทียนบนชาร์ตได้
- Histogram เป็นสีเขียว บ่งบอกถึง Bullish Trend แท่งเทียนบนชาร์ตจะเป็น สีเขียว
- Histogram เป็นสีแดง บ่งบอกถึง Bearish Trend แท่งเทียนบนชาร์ตจะเป็น สีแดง
MACD Crossover StrategyConcept:
Uses the MACD line (12 EMA - 26 EMA) and Signal line (9 EMA of MACD).
A bullish signal occurs when MACD crosses above the Signal line.
A bearish signal occurs when MACD crosses below the Signal line.
NUBA 20 Nes2tilson t3 rsı ema50 - 200 Bu algoritma da her türlü çeşit var. tablodan özellikleri açıp kapatabilirsiniz.
1 IndicatorOne indicator with my favourite indicators to save slots for other indicators. Features a set of individually configurable moving averages which will be displayed depending on the current charts timeframe. It will optionally also plot VWAP and Bollinger Bands on intraday charts. Additionally on intraday charts a table with float and market cap can be displayed. This table will also show if price is close to a set of moving averages, macd, rsi and relativ volume.
TL;DR
dynamically plots movering average with different configuration depending on the current timeframe (intraday, daily, weekly)
plots bollinger bands and vwap on intraday charts
info table on intraday timeframes with float and market cap
Bosi - Weekly LinesThis indicator shows the high and low of the previous week as well as the opening price.
It also marks the region of the week to come, with 2 vertical lines.
It is an indicator to facilitate and save time in graphing and to help with possible targets.
PWL
PWH
WOP
SUPER Indicator
SUPER Indicator Breakdown
SUPER Indicator combines multiple trend and momentum indicators to generate buy/sell signals, trend zones, stop-loss suggestions, and volume confirmations. Here’s how it works:
1️⃣ Core Components
The script is designed for trend-following and breakout strategies, utilizing:
• Moving Averages:
• Fast EMA (9) → Captures short-term trends.
• Slow EMA (21) → Identifies broader trends.
• VWAP → Acts as an institutional price benchmark.
• Momentum Indicators:
• MACD Line → Difference between the 12 EMA & 26 EMA (trend momentum).
• RSI (14) → Identifies overbought (>50) or oversold (<50) conditions.
• Volume Analysis:
• Uses Simple Moving Average (SMA) on volume to confirm breakout moves.
2️⃣ Buy & Sell Conditions
The indicator generates buy and sell signals based on:
✅ Buy Condition (Bullish Setup)
• Fast EMA crosses above Slow EMA.
• MACD Line is positive (uptrend momentum).
• RSI is above 50 (bullish sentiment).
❌ Sell Condition (Bearish Setup)
• Fast EMA crosses below Slow EMA.
• MACD Line is negative (downtrend momentum).
• RSI is below 50 (bearish sentiment).
Visualization:
• Green Buy Markers → Appear above candles.
• Red Sell Markers → Appear below candles.
3️⃣ Stop-Loss & Target Levels
To help manage trades, the script automatically calculates ATR-based stop-loss levels:
• Long Stop → Close - (ATR * ATR Multiplier)
• Short Stop → Close + (ATR * ATR Multiplier)
• Profit Target → Close + (ATR * ATR Multiplier * 1.5)
ATR helps adjust stops dynamically based on market volatility.
Visualization:
• Gray Lines → ATR-based stop-losses.
• Green Line → Suggested profit target.
4️⃣ Trend Strength Zones
The script highlights background colors to indicate trend strength:
• Green Zone → Strong uptrend.
• Red Zone → Strong downtrend.
• No Highlight → Neutral market conditions.
5️⃣ Volume Confirmation
The script confirms validity of buy/sell signals using volume:
• Bar Color Turns Green → If trend is bullish & volume > 20 SMA.
• Bar Color Turns Red → If trend is bearish & volume > 20 SMA.
This ensures higher-probability signals by confirming breakout volume.
✅ Pros:
• Dynamic trend detection and momentum filtering.
• ATR-based risk management (adaptive stops/targets).
• Uses volume confirmation to avoid false breakouts.
• Simple yet powerful → Works for day & swing trading.
Normalized RSI Oscillator with DivergencesNormalized RSI with Divergences {A Next-Level Trading Tool}
The Normalized RSI with Divergences indicator is a powerful and innovative tool designed to enhance your trading precision. By normalizing the Relative Strength Index (RSI) and detecting divergences between the standard and normalized RSI, this script helps traders identify potential trend reversals and continuations with remarkable clarity.
Key Features
🔹 Advanced RSI Normalization
• Transforms the traditional RSI into a normalized range of , making overbought and oversold conditions more intuitive.
• Utilizes a dynamic lookback period to adapt to market conditions.
🔹 Divergence Detection for Smarter Trading
• Identifies Bullish, Hidden Bullish, Bearish, and Hidden Bearish divergences by analyzing RSI pivot points.
• Provides early signals of trend reversals and continuations for better trade execution.
🔹 Clear & Visual Trade Signals
• Divergences are automatically labeled on the chart:
o Bullish Divergence: 🟢 “Bull” (Green) – Possible upward reversal.
o Hidden Bullish Divergence: 🟢 “Hid.” (Lime) – Continuation of an uptrend.
o Bearish Divergence: 🔴 “Bear” (Red) – Possible downward reversal.
o Hidden Bearish Divergence: 🟠 “Hid.” (Orange) – Continuation of a downtrend.
🔹 Fully Customizable Inputs
• Adjust RSI period, normalization lookback, and divergence parameters to fit your strategy.
• Tailor the indicator to your preferred trading style and market conditions.
________________________________________
How It Works
🔹 RSI Normalization Formula:
Norm=2×(RSI−MinMax−Min)−1\text{Norm} = 2 \times \left(\frac{\text{RSI} - \text{Min}}{\text{Max} - \text{Min}}\right) - 1Norm=2×(Max−MinRSI−Min)−1
• Min & Max represent the lowest and highest RSI values over the selected lookback period.
🔹 Divergence Detection Process:
• Identifies pivot points in both the normalized RSI and the standard RSI.
• Compares their directions to detect potential trading signals.
🔹 Real-Time Chart Labeling:
• Uses label.new to visually highlight divergence points for quick and efficient decision-making.
________________________________________
Input Parameters
• Source: Price source for RSI calculation (Default: hlc3).
• Signal Period: RSI calculation period (Default: 50).
• Lookback Range: Normalization period (Default: 200, Max: 5000).
• Trend Length: Smoothing period for normalized RSI (Default: 5).
• Band Width: Center line & bands calculation period (Default: 34).
• Divergence Range: Lookback period for divergence detection (Default: 5).
________________________________________
How to Use
1. Add the script to your trading chart.
2. Customize the settings to match your trading approach.
3. Watch for divergence labels to identify potential market moves:
o 🟢 Bullish Divergence: Possible upward reversal.
o 🟢 Hidden Bullish Divergence: Continuation of an uptrend.
o 🔴 Bearish Divergence: Possible downward reversal.
o 🟠 Hidden Bearish Divergence: Continuation of a downtrend.
________________________________________
Why Use This Indicator?
✅ Enhanced RSI Analysis: Normalization simplifies overbought/oversold conditions.
✅ Crystal-Clear Divergence Signals: Instantly spot key trend shifts.
✅ Fully Customizable: Adjust settings for your specific strategy.
✅ Improve Trade Accuracy: Gain an edge with precise divergence detection.
________________________________________
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Always conduct thorough research and backtesting before using it in live trading.
📜 License
This script is released under the Mozilla Public License 2.0.
Enjoy the Normalized RSI with Divergences indicator, and happy trading! 🚀📈
— Kerem Ertem
TradFi Fundamentals: Momentum Trading with Macroeconomic DataIntroduction
This indicator combines traditional price momentum with key macroeconomic data. By retrieving GDP, inflation, unemployment, and interest rates using security calls, the script automatically adapts to the latest economic data. The goal is to blend technical analysis with fundamental insights to generate a more robust momentum signal.
Original Research Paper by Mohit Apte, B. Tech Scholar, Department of Computer Science and Engineering, COEP Technological University, Pune, India
Link to paper
Explanation
Price Momentum Calculation:
The indicator computes price momentum as the percentage change in price over a configurable lookback period (default is 50 days). This raw momentum is then normalized using a rolling simple moving average and standard deviation over a defined period (default 200 days) to ensure comparability with the economic indicators.
Fetching and Normalizing Economic Data:
Instead of manually inputting economic values, the script uses TradingView’s security function to retrieve:
GDP from ticker "GDP"
Inflation (CPI) from ticker "USCCPI"
Unemployment rate from ticker "UNRATE"
Interest rates from ticker "USINTR"
Each series is normalized over a configurable normalization period (default 200 days) by subtracting its moving average and dividing by its standard deviation. This standardization converts each economic indicator into a z-score for direct integration into the momentum score.
Combined Momentum Score:
The normalized price momentum and economic indicators are each multiplied by user-defined weights (default: 50% price momentum, 20% GDP, and 10% each for inflation, unemployment, and interest rates). The weighted components are then summed to form a comprehensive momentum score. A horizontal zero line is plotted for reference.
Trading Signals:
Buy signals are generated when the combined momentum score crosses above zero, and sell signals occur when it crosses below zero. Visual markers are added to the chart to assist with trade timing, and alert conditions are provided for automated notifications.
Settings
Price Momentum Lookback: Defines the period (in days) used to compute the raw price momentum.
Normalization Period for Price Momentum: Sets the window over which the price momentum is normalized.
Normalization Period for Economic Data: Sets the window over which each macroeconomic series is normalized.
Weights: Adjust the influence of each component (price momentum, GDP, inflation, unemployment, and interest rate) on the overall momentum score.
Conclusion
This implementation leverages TradingView’s economic data feeds to integrate real-time macroeconomic data into a momentum trading strategy. By normalizing and weighting both technical and economic inputs, the indicator offers traders a more holistic view of market conditions. The enhanced momentum signal provides additional context to traditional momentum analysis, potentially leading to more informed trading decisions and improved risk management.
The next script I release will be an improved version of this that I have added my own flavor to, improving the signals.
Advanced Averaged Momentum Indicator (AAMI)Key Features of AAMI:
Combination of Momentum Indicators: It averages normalized values from RSI, MACD histogram, raw Momentum, and Stochastic oscillator to give a comprehensive view of momentum.
Normalization: Each component is normalized to a scale from -1 to 1 to ensure they contribute equally to the AMI calculation.
Visual Cues: The indicator includes visual levels for neutral, overbought, and oversold conditions to aid in quick decision-making.
Alerts: Basic alert conditions are included for when AMI moves into overbought or oversold territory, which traders can customize further.
Customizable: All parameters can be adjusted within TradingView to tailor the indicator to different market conditions or trading strategies.
Smoothing: Included an SMA for AMI to reduce noise and give smoother signals.
Divergence Detection: Implemented a basic divergence detection mechanism to spot potential reversals.
Usage Tips:
Overbought/Oversold: When AMI goes above 0.7, it might suggest an overbought condition, potentially signaling a sell or take profit. Below -0.7 might indicate oversold conditions, suggesting a buy opportunity.
Divergence: Watch for divergences between the AMI and price action for signals of potential trend reversals.
Crossing Zero: The AMI crossing from negative to positive might be used as a buy signal, and vice versa for a sell signal.
This script provides a new way to view momentum by consolidating multiple traditional indicators into one, potentially offering clearer signals in complex market environments.