Whale Supertrend (V1.2)The script "Whale Supertrend (V1.2)" is an advanced trend indicator that uses multiple Supertrends with different factors to determine entry and exit points in the market. The Supertrend is a popular indicator that combines price and volatility to help identify trend direction. The script displays buy and sell signals based on the confluence of Supertrends.
How the script works
Configuring Supertrends
The script configures six Supertrends with different factors (factor, factor1, factor2, factor3, factor4, factor5) while using the same ATR period (atrPeriod = 10).
Supertrend 1: factor = 3
Supertrend 2: factor1 = 4
Supertrend 3: factor2 = 6
Supertrend 4: factor3 = 9
Supertrend 5: factor4 = 13
Supertrend 6: factor5 = 18
For each Supertrend, the bullish (blue) and bearish (purple) trend conditions are plotted on the chart.
Signal Calculation
The script calculates the number of Supertrends in bullish and bearish trend:
bullishCount: Number of Supertrends indicating a bullish trend.
bearishCount: Number of Supertrends indicating a bearish trend.
Signal Detection
The script triggers a buy or sell signal when at least three of the six Supertrends indicate the same trend:
Buy Signal (buySignal): Triggers when bullishCount is greater than or equal to 3.
Sell Signal (sellSignal): Triggers when bearishCount is greater than or equal to 3.
To avoid repetition, signals are only displayed when the state changes:
triggerBuy: Buy signal only when buySignal becomes true for the first time.
triggerSell: Sell signal only when sellSignal becomes true for the first time.
Candle Coloring:
Candles now change color based on signals:
Green: When a Buy Signal is active.
Red: When a Sell Signal is active.
This provides a clearer visualization of market trends directly on the chart.
Dynamic Settings for Supertrends:
You can customize the ATR Period and Factor for each of the 6 Supertrends via the settings panel.
Each Supertrend has independent parameters:
ATR Period: Controls the ATR calculation period.
Factor: Adjusts the Supertrend sensitivity.
Benefits:
Enhanced Readability: Candle colors help identify buy and sell zones at a glance.
Greater Customization: Tailor Supertrend settings to your trading strategy or market conditions.
Sentiment
FeArIndicatorFeArIndicator - Strategic Indicator Based on Market Sentiment
Overview
FeArIndicator analyzes price movements over a specific period to measure market sentiment and helps identify potential reversal points. It is used to determine entry and exit levels based on market conditions.
Usage Areas
Sentiment Analysis: Identifying entry and exit points based on market sentiment.
Momentum Tracking: Analyzing strong trend reversal points.
Risk Management: Optimizing the risk-reward balance by calculating profit-taking levels.
FeArIndicator is a powerful tool developed to assess sentiment during significant price movements and determine optimal entry/exit levels in the market.
Usage Recommendations
FeArIndicator can be used to analyze market movements more effectively in specific time frames. Users can test it over different time intervals to evaluate trend reversals and sentiment levels.
Example Usage Strategies
Trend Reversal Strategy: Works by buying at the lowest levels identified by the indicator and selling near profit-taking levels.
Support and Resistance Identification: Using the highest and lowest levels shown by FeArIndicator as support/resistance zones to trade in the trend direction.
Risk Management Strategy: Using cumulative sentiment measurements to set stop-loss and profit-taking levels in a volatile market.
Offence vs Defence Intraday HistogramThe "Offence vs Defence Intraday Histogram" script is designed to analyze market sentiment by comparing the performance of offensive and defensive ETFs within a single trading day. This script provides a cumulative histogram that highlights the net impact of offensive and defensive ETF movements, helping traders identify significant shifts and trends within a trading day.
How It Works:
ETF Selection: The script focuses on three offensive ETFs (XLK, XLC, XLY) and three defensive ETFs (XLU, XLV, XLP) to represent market sentiment.
Percentage Change Calculation: The script calculates the percentage change for each ETF compared to the previous bar.
Smoothing with EMA: A 50-period Exponential Moving Average (EMA) is applied to the percentage changes to smooth out short-term volatility and provide a clearer trend.
Offence vs Defence Difference: The script calculates the difference between the smoothed offensive and defensive values.
Cumulative Difference: The cumulative difference is calculated throughout the trading day and resets at the start of each new trading day.
Histogram Plotting: The cumulative difference is plotted as a histogram, with green bars indicating an increasing cumulative difference and red bars indicating a decreasing cumulative difference.
Significance Labels: Color-coded labels are added to highlight significant values, with thresholds set for minor, moderate, and significant leads for both offensive and defensive ETFs.
Key Features:
Intraday sentiment analysis using offensive and defensive ETFs.
Cumulative histogram to visualize net impact within a trading day.
EMA smoothing to reduce noise and highlight trends.
Color-coded histogram bars for easy interpretation.
Labels indicating significant leads in offensive or defensive ETFs.
This script helps traders and investors better understand market sentiment and make more informed decisions based on the intraday performance of offensive and defensive sectors.
ROC with closed based coloring & info table [DB]Rate of Change (ROC) Basics
The Rate of Change (ROC) is a momentum oscillator measuring the percentage price change between the current close and the close from N periods ago.
Calculated as: ROC = * 100
Traders use ROC to:
Identify overbought/oversold conditions
Spot momentum shifts
Confirm trend strength
My improvements:
Visual Clarity
Color-Coded Direction: ROC line changes color (green/red/yellow) based on intra-candle momentum shifts.
Direction Table: Instant view of the last change in ROC with the candle close (▲ UP / ▼ DOWN / ▶ FLAT).
Cells for current value and previous change between timeframe bar period.
What you can benefit with this over the regular ROC:
Faster Analysis: The visual cues make direction and strength instantly obvious and it allows for faster decision making while preserving more mental capital.
Trend Finder by aDiLHello traders, purpose of creating this indicator is simply trying to analyse the trend of any symbol.
A Trend Finder is a specialized indicator designed to analyze market trends by combining EMA and candlestick patterns.
FX PIPS Finder OBBreakout , CHOCH, IDM, Liquidity
Features and Functionality
Custom Timeframe and High-Low Detection
Allows users to select a custom timeframe (default: 30 minutes) to detect high and low levels.
Tracks the high and low within a user-specified period (e.g., first 30 minutes of the session).
Draws horizontal lines for high and low, persisting for a specified number of days.
Time-Based Vertical Lines (GMT, EST & JST)The Breakfast Breakout is a trading strategy that capitalizes on early morning market volatility, particularly around major financial centers' opening hours. It typically involves identifying a price range formed before a key session opens—such as the London session at 8 AM—and placing breakout trades when price moves beyond this range. Traders often use pending orders to capture momentum in either direction, aiming to profit from the increased liquidity and sharp price movements that occur during this time. This indicator features the addition of the Asia and New York sessions.
Offence vs Defence Intraday Histogram (2)Overview:
The "Offence vs Defence Intraday Histogram with Fixed Label" is an advanced technical indicator designed to analyze and compare the performance of offensive and defensive ETFs on an intraday basis. The indicator calculates the percentage change of selected offensive and defensive ETFs, smooths the values using exponential moving averages (EMA), and plots the cumulative difference as a histogram.
Key Features:
Offensive and Defensive ETFs:
Offensive ETFs: AMEX:XLK (Technology), AMEX:XLC (Communication Services), AMEX:XLY (Consumer Discretionary).
Defensive ETFs: AMEX:XLU (Utilities), AMEX:XLV (Healthcare), AMEX:XLP (Consumer Staples).
Percentage Change Calculation:
The indicator calculates the percentage change for each ETF and averages the values for offensive and defensive categories.
Applies a 14-period EMA to smooth the values and reduce volatility.
Cumulative Difference:
The difference between offensive and defensive values is calculated and cumulatively summed, restarting each trading day.
Plots the cumulative difference as a histogram, with color indicating whether the difference is increasing (green) or decreasing (red).
Zero Line:
A zero line is plotted to provide a reference point for the cumulative difference.
Dynamic Label Feature:
A dynamic label is created and updated based on the cumulative difference to indicate whether offensive or defensive ETFs are leading.
The label is positioned at the zero line, just to the left of the latest histogram bar, and provides real-time information on the lead.
Label Text Definitions:
Neutral
Minor Offensive Lead
Moderate Offensive Lead
Significant Offensive Lead
Minor Defensive Lead
Moderate Defensive Lead
Significant Defensive Lead
Applications:
This indicator is particularly useful for intraday traders who want to track market sentiment by observing shifts between offensive and defensive sectors. It provides a clear visual representation of which type of ETFs are currently leading, helping traders make informed decisions based on market behavior.
True Strength Index with Zones & AlertsKey Features:
True Strength Index (TSI) Calculation
Uses double-smoothed exponential moving averages (EMA) to calculate TSI.
A signal line (EMA of TSI) helps confirm trends.
Dynamic Color Coding for TSI Line
Green: TSI is above the signal line (Bullish).
Red: TSI is below the signal line (Bearish).
Crossover & Crossunder Signals
Bullish Crossover (TSI crosses above Signal Line) → Green Circle.
Bearish Crossunder (TSI crosses below Signal Line) → Red Circle.
Alerts for Trading Signals
Buy Alert: TSI crosses above the signal line.
Sell Alert: TSI crosses below the signal line.
Overbought & Oversold Zones
Overbought: Between 40 and 50 (Red Zone).
Oversold: Between -40 and -50 (Green Zone).
Highlighted Background when TSI enters these zones.
Neutral Line at 0
Helps determine trend direction and momentum shifts.
How to Use These Values:
• TSI Crosses Above Signal Line → Bullish entry.
• TSI Crosses Below Signal Line → Bearish entry.
• Overbought (+40 to +50) & Oversold (-40 to -50) zones → Watch for trend reversals.
• Divergence Signals → If price makes a new high/low but TSI doesn’t, momentum is weakening.
USDT.D + USDT.C ALL TIMEFRAMESThis indicator combines the dominance of USDT (USDT.D) and USDC (USDC.D) to track total stablecoin market share across all timeframes. It displays the combined dominance as candlesticks, providing a clearer view of market liquidity shifts and investor sentiment.
📌 How to Use:
Green candles indicate rising stablecoin dominance (potential risk-off sentiment).
Red candles indicate declining stablecoin dominance (potential risk-on sentiment).
Works on all timeframes, from intraday scalping to macro trend analysis.
This tool is essential for traders looking to analyze stablecoin liquidity flow, identify market turning points, and refine trading strategies based on stablecoin dominance behavior. 🚀
RSI Bullish Divergence ScannerRSI Bullish Divergence
When there is bullish divergence in chart and RSI then the indicator will give alert in green
Stock Sector ETF with IndicatorsThe Stock Sector ETF with Indicators is a versatile tool designed to track the performance of sector-specific ETFs relative to the current asset. It automatically identifies the sector of the underlying symbol and displays the corresponding ETF’s price action alongside key technical indicators. This helps traders analyze sector trends and correlations in real time.
---
Key Features
Automatic Sector Detection:
Fetches the sector of the current asset (e.g., "Technology" for AAPL).
Maps the sector to a user-defined ETF (default: SPDR sector ETFs) .
Technical Indicators:
Simple Moving Average (SMA): Tracks the ETF’s trend.
Bollinger Bands: Highlights volatility and potential reversals.
Donchian High (52-Week High): Identifies long-term resistance levels.
Customizable Inputs:
Adjust indicator parameters (length, visibility).
Override default ETFs for specific sectors.
Informative Table:
Displays the current sector and ETF symbol in the bottom-right corner.
---
Input Settings
SMA Settings
SMA Length: Period for calculating the Simple Moving Average (default: 200).
Show SMA: Toggle visibility of the SMA line.
Bollinger Bands Settings
BB Length: Period for Bollinger Bands calculation (default: 20).
BB Multiplier: Standard deviation multiplier (default: 2.0).
Show Bollinger Bands: Toggle visibility of the bands.
Donchian High (52-Week High)
Daily High Length: Days used to calculate the high (default: 252, approx. 1 year).
Show High: Toggle visibility of the 52-week high line.
Sector Selections
Customize ETFs for each sector (e.g., replace XLU with another utilities ETF).
---
Example Use Cases
Trend Analysis: Compare a stock’s price action to its sector ETF’s SMA for trend confirmation.
Volatility Signals: Use Bollinger Bands to spot ETF price squeezes or breakouts.
Sector Strength: Monitor if the ETF is approaching its 52-week high to gauge sector momentum.
Enjoy tracking sector trends with ease! 🚀
LeaderTitle: Leader
Category: Technical Analysis Indicator
Version: Pine Script v5
Author: Syed Irfan Baksh
Market: Works on all instruments & timeframes
Description:
The Leader indicator is a powerful trading tool designed for trend-based traders. It identifies high-probability buy and sell signals using a combination of Exponential Moving Averages (EMA), Relative Strength Index (RSI), and Stochastic Oscillator to minimize false entries.
💡 Key Features:
✅ EMA Trend Confirmation – Uses 9-period and 21-period EMAs to confirm bullish/bearish trends.
✅ RSI Strength Filter – Prevents weak signals by requiring RSI above 55 for buys and below 45 for sells.
✅ Stochastic Confirmation – Ensures oversold/overbought conditions are accounted for, reducing false breakouts.
✅ Clear Visual Alerts – Displays BUY and SELL signals directly on the chart for easy interpretation.
✅ Universal Compatibility – Works on all assets (Forex, Stocks, Crypto, Commodities) and all timeframes.
How to Use:
📈 Buy Signal:
The 9 EMA crosses above the 21 EMA.
RSI is above 55, indicating strong bullish momentum.
Stochastic (%K and %D) is above 25, confirming upward movement.
📉 Sell Signal:
The 9 EMA crosses below the 21 EMA.
RSI is below 45, signaling bearish momentum.
Stochastic (%K and %D) is below 75, confirming downward pressure.
Agent Nafri AlertsTitle: Agent Nafri Alerts
Category: Technical Analysis Indicator
Version: Pine Script v5
Author: Syed Irfan Baksh
Market: Works on all instruments & timeframes
Description:
The Agent Nafri Alerts indicator is a sophisticated and versatile trading tool designed for traders who rely on trend-based strategies. By combining Exponential Moving Averages (EMA), Relative Strength Index (RSI), and Stochastic Oscillator, this indicator provides high-probability buy and sell signals while minimizing false entries. Whether you're trading Forex, Stocks, Crypto, or Commodities, this indicator adapts seamlessly to all assets and timeframes, making it a must-have tool for traders of all levels.
💡 Key Features:
EMA Trend Confirmation
Uses a 9-period EMA and a 21-period EMA to confirm bullish or bearish trends.
A crossover of the 9 EMA above the 21 EMA signals a potential uptrend, while a crossover below indicates a potential downtrend.
RSI Strength Filter
Filters out weak signals by requiring the RSI to be above 55 for buy signals and below 45 for sell signals.
Ensures that trades are only taken when momentum is strong and aligned with the trend.
Stochastic Confirmation
Adds an additional layer of confirmation by requiring the Stochastic Oscillator (%K and %D) to be above 25 for buy signals and below 75 for sell signals.
Helps avoid false breakouts by ensuring overbought or oversold conditions are respected.
Clear Visual Alerts
Displays BUY and SELL signals directly on the chart with intuitive labels and colors for easy interpretation.
Alerts are accompanied by sound notifications, ensuring you never miss a trading opportunity.
Universal Compatibility
Works flawlessly across all markets, including Forex, Stocks, Crypto, and Commodities.
Adapts to all timeframes, from 1-minute charts to weekly charts, making it suitable for scalpers, day traders, and swing traders alike.
🛠 How to Use:
📈 Buy Signal Conditions:
The 9 EMA crosses above the 21 EMA, confirming a bullish trend.
The RSI is above 55, indicating strong bullish momentum.
The Stochastic Oscillator (%K and %D) is above 25, confirming upward movement.
When all three conditions are met, a BUY signal is generated, and a visual alert is displayed on the chart.
📉 Sell Signal Conditions:
The 9 EMA crosses below the 21 EMA, confirming a bearish trend.
The RSI is below 45, signaling bearish momentum.
The Stochastic Oscillator (%K and %D) is below 75, confirming downward pressure.
When all three conditions are met, a SELL signal is generated, and a visual alert is displayed on the chart.
🎨 Customization Options:
The Agent Nafri Alerts indicator is highly customizable to suit your trading style:
Adjust the EMA periods (9 and 21) to fit your preferred trend-following strategy.
Modify the RSI thresholds (55 for buys, 45 for sells) to fine-tune momentum filtering.
Customize the Stochastic levels (25 for buys, 75 for sells) to align with your risk tolerance.
Change the colors and styles of the signals and EMA lines for better visual clarity.
🔔 Alerts and Notifications:
The indicator includes built-in TradingView alerts that can be configured to notify you via:
Pop-up notifications on your desktop or mobile device.
Email alerts for long-term traders.
Sound alerts to ensure you never miss a signal.
📊 Why Choose Agent Nafri Alerts?
High Accuracy: By combining multiple technical indicators, the Agent Nafri Alerts system ensures that only high-probability signals are generated.
Reduced False Signals: The RSI and Stochastic filters eliminate weak or unreliable signals, saving you from unnecessary losses.
User-Friendly: Designed with simplicity in mind, the indicator is easy to understand and use, even for beginners.
Versatile: Suitable for all trading styles, including scalping, day trading, and swing trading.
🌟 Start Using Agent Nafri Alerts Today!
Enhance your trading strategy with the Agent Nafri Alerts indicator and take your trading to the next level. Whether you're a beginner or an experienced trader, this powerful tool will help you identify high-probability trading opportunities with confidence.
Happy Trading! 🚀
Mark Lowest Low with 2-Candle Cooldown - Saurabh PantMark Lowest Low with 2-Candle Cooldown - Check on every weekend and if you see an arrow mark, punch the orders on Monday
Good for long term investments, avoids the averaging
Mark Lowest Low with 2-Candle CooldownFor long term investment purpose.
Check every weekend and if you see an arrow, punch the order on Monday
Market Trend Scanner [Afnan]This Market Strength Scanner indicator is designed to provide traders with a clear and concise overview of market trends using a single table. It helps you quickly determine which sectors and indices are strong, weak, or choppy, allowing you to make informed trading decisions with ease.
How This Indicator Helps You:
✅ Identify Strong Sectors & Indices
🔹By analyzing this table, you can instantly see which sectors and indices are performing well.
🔹Focus on stocks within strong sectors to find high-probability buying opportunities.
✅ Avoid Weak or Choppy Markets
🔹The indicator highlights bearish or consolidating sectors, helping you avoid poor trading conditions.
🔹Stay away from sectors that are weak or moving sideways to reduce unnecessary risks.
✅ Understand Market Sentiment in Seconds
🔹If most sectors are bullish, the market is in an uptrend—giving you confidence to take long positions.
🔹If the majority are bearish, the market is weak, signaling caution.
🔹A mix of bullish and bearish sectors indicates a choppy market, warning you to avoid trading or adjust your strategy.
✅ Powered by 4 Customizable EMAs
🔹The indicator uses 4 Exponential Moving Averages (EMAs) to determine trends for each sector and index.
🔹These EMAs are fully modifiable, allowing you to adjust them based on your preferred strategy.
✅ Covers 25 Major Indices (Fully Customizable)
🔹By default, the indicator tracks 25 key indices, giving you a broad market perspective.
🔹You can customize the list to focus on the indices that matter most to you.
Why Use This Indicator?
🔹 Saves Time – No need to analyze multiple charts manually. The table gives you everything at a glance.
🔹 Improves Trade Selection – Focus only on strong sectors for better trade accuracy.
🔹 Works in All Market Conditions – Whether the market is trending or consolidating, this tool keeps you informed.
🔹 Fully Customizable – Adjust the EMAs and indices according to your trading preferences.
With just this one powerful indicator, you get a complete market overview, helping you align your trades with the current trend effortlessly! 🚀
Pearson Correlation CoefficientDescription: The Pearson Correlation Coefficient measures the strength and direction of the linear relationship between two data series. Its value ranges from -1 to +1, where:
+1 indicates a perfect positive linear correlation: as one asset increases, the other asset increases proportionally.
0 indicates no linear correlation: variations in one asset have no relation to variations in the other asset.
-1 indicates a perfect negative linear correlation: as one asset increases, the other asset decreases proportionally.
This measure is widely used in technical analysis to assess the degree of correlation between two financial assets. The "Pearson Correlation (Manual Compare)" indicator allows users to manually select two assets and visually display their correlation relationship on a chart.
Features:
Correlation Period: The time period used for calculating the correlation can be adjusted (default: 50).
Comparison Asset: Users can select a secondary asset for comparison.
Visual Plots: The chart includes reference lines for perfect correlations (+1 and -1) and strong correlations (+0.7 and -0.7).
Alerts: Set alerts for when the correlation exceeds certain threshold values (e.g., +0.7 for strong positive correlation).
How to Select the Second Asset:
Primary Asset Selection: The primary asset is the one you select for viewing on the chart. This can be done by simply opening the chart for the desired asset.
Secondary Asset Selection: To select the secondary asset for comparison, use the input field labeled "Comparison Asset" in the script settings. You can manually enter the ticker symbol of the secondary asset you want to compare with the primary asset.
This indicator is ideal for traders looking to identify relationships and correlations between different financial assets to make informed trading decisions.
Percentage Retracement from ATH█ OVERVIEW
The Percentage Retracement from ATH indicator is a dynamic trading utility designed to help traders gauge market pullbacks from the peak price. By calculating key retracement levels based on the All-Time High (ATH) and user‑defined percentage inputs, it offers clear visual cues to assist in identifying potential support and resistance zones.
█ KEY FEATURES
Custom Date — Use a custom start date so the indicator only considers specified price action.
Retracement Calculation — Determines ATH and calculates levels based on user‑defined percentages (0% to –100%).
Visual Customisation — Plots configurable horizontal lines and labels showing retracement percentages and prices.
Time Filtering — Uses time filtering to base levels on the desired data period.
█ PURPOSE
Assist traders in visualising the depth of price retracements from recent or historical peaks.
Identify critical zones where the market may find support or resistance after reaching an ATH.
Facilitate more informed entry and exit decisions by clearly demarcating retracement levels on the chart.
█ IDEAL USERS
Swing Traders — Looking to exploit pullbacks following strong upward moves.
Technical Analysts — Interested in pinpointing key retracement levels as potential reversal or continuation points.
Price Action Traders — Focused on the nuances of market peaks and subsequent corrections.
Strategy Developers — Keen to backtest and refine approaches centred on retracement dynamics.
Percent Change HistogramThis indicator shows you percent changes in a super visual way using a color-coded histogram.
Here's how the colors work:
🟩 Dark green = percent change is growing stronger
🟢 Light green = still positive but losing steam
🟥 Dark red = getting more negative
🔴 Light red = negative but improving
The cool part? You can set any lookback period you want. For example:
24 periods on 1H chart = last 24 hours
30 periods on daily = last month
7 periods on daily = last week
Pro tip: You're not locked to your chart's timeframe! Want to see monthly changes while trading on 5min?
No problem.
You can even stack multiple indicators to watch different intervals simultaneously (daily, weekly, monthly) - super helpful for multi-timeframe analysis.
Perfect for spotting momentum shifts across different timeframes without switching between charts.