Win-Loss Streak PlotterWin-Loss Streak Plotter
This indicator tracks the win/loss streaks of moving average crossovers (using simple moving averages for illustration purposes). It calculates the price change after each crossover, marking each as a win (green) or loss (red). The win rate is shown separately.
Inputs:
Source: Price series (default: open)
Fast MA: Fast moving average (default: open)
Slow MA: Slow moving average (default: open)
Total Crosses to Analyze: Number of crossovers to track
Crosses per Row: Number of crossovers per row in the table
Output:
A table displays each crossover’s result (win/loss).
A separate win rate table shows the percentage of wins.
Suggestions are always welcomed!
Educational
Candle Trend PowerThe Candle Trend Power is a custom technical indicator designed for advanced trend analysis and entry signal generation. It combines multiple smoothing methods, candle transformations, and volatility bands to visually and analytically enhance your trading decisions.
🔧 Main Features:
📉 Custom Candle Types
It transforms standard OHLC candles into one of several advanced types:
Normal Candles, Heikin-Ashi, Linear Regression, Rational Quadratic (via kernel filtering), McGinley Dynamic Candles
These transformations help traders better see trend continuations and reversals by smoothing out market noise.
🧮 Smoothing Method for Candle Data
Each OHLC value can be optionally smoothed using:
EMA, SMA, SMMA (RMA), WMA, VWMA, HMA, Mode (Statistical mode) Or no smoothing at all.
This flexibility is useful for customizing to different market conditions.
📊 Volatility Bands
Volatility-based upper and lower bands are calculated using:
Band = price ± (price% + ATR * multiplier)
They help identify overbought/oversold zones and potential reversal points.
📍 Candle Color Logic
Each candle is colored:
Cyan (#00ffff) if it's bullish and stronger than the previous candle
Red (#fd0000) if it's bearish and weaker
Alternating bar index coloring improves visual clarity.
📈 Trend Momentum Labels
The script includes a trend strength estimation using a smoothed RSI:
If the candle is bullish, it shows a BUY label with the overbought offset.
If bearish, it shows a SELL label with the oversold offset.
These labels are dynamic and placed next to the bar.
📍 Signal Markers
It also plots triangles when the price crosses the volatility bands:
Triangle up for potential long
Triangle down for potential short
✅ Use Case Summary
This script is mainly used for:
Visual trend confirmation with enhanced candles
Volatility-based entry signals
RSI-based trend momentum suggestions
Integrating different smoothing & transformation methods to fine-tune your strategy
It’s a flexible tool for both manual traders and automated system developers who want clear, adaptive signals across different market conditions.
💡 What's Different
🔄 Candle Type Transformations
⚙️ Custom Candle Smoothing
📉 Candle's Multi-level Volatility Bands
🔺 Dynamic Entry Signals (Buy/Sell Labels)
❗Important Note:
This script is provided for educational purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
[HM] Champion-Indicator🚀 Champion-Indicator – Ultimate Multi-Strategy Trading System 📊
A powerful all-in-one indicator combining Trend, Cross, Median, Curve Cloud, Hull MA, and SMAs for superior market analysis.
🔹 Overview:
The Champion-Indicator is a versatile, multi-component trading tool designed to provide traders with a holistic view of market trends, momentum, and key levels. It integrates 6 powerful technical strategies into one seamless overlay, making it ideal for swing traders, day traders, and long-term investors.
🔹 Key Features & Components:
1️⃣ Champion Trend (ATR-Based SuperTrend)
Identifies trend direction using ATR volatility adjustments.
Buy/Sell signals with clear visual alerts.
Customizable periods, multipliers, and calculation methods.
Trend highlighter for easy visualization.
2️⃣ Champion Cross (EMA Crossover System)
Dual EMA crossover (Fast & Slow) with dynamic cloud fill.
Bullish (Green Cloud) when Fast EMA > Slow EMA.
Bearish (Red Cloud) when Fast EMA < Slow EMA.
Adjustable transparency, lengths, and offsets.
3️⃣ Median Channel (Dynamic Support/Resistance)
Plots a median basis line (average of highest/lowest prices).
Helps identify mean reversion and channel breakouts.
4️⃣ Curve Mid Cloud (Volatility-Based Zones)
Displays dynamic mid-range cloud based on price extremes.
Useful for spotting consolidation zones and potential reversals.
5️⃣ Hull Moving Average (Smoothed Trend Filter)
Faster & smoother than traditional MAs.
Changes color based on momentum direction (Aqua = Up, Purple = Down).
6️⃣ SMA Trend & Bias (Long/Short-Term Bias)
Short-term SMA (20) for trend confirmation.
Long-term SMA (200) for overall market bias.
🔹 Input Settings (Customizable):
Component Key Parameters Default Values
Champion Trend ATR Period, Multiplier, Signal Toggles 10, 3.0, On
Champion Cross Fast/Slow EMA Lengths, Cloud Transparency 8, 24, 70%
Median Channel Lookback Period 28
Curve Mid Cloud Curve Length, Factor, Transparency 50, 2.5, 70%
Hull MA HMA Length 20
SMAs Trend SMA (20), Bias SMA (200) 20, 200
🔹 How to Use:
🟢 Enter Long when:
SuperTrend turns Green + EMA Cloud is Green + Price > Median Basis.
Hull MA turns Aqua (confirming uptrend).
🔴 Enter Short when:
SuperTrend turns Red + EMA Cloud is Red + Price < Median Basis.
Hull MA turns Purple (confirming downtrend).
📉 SMA Bias (200-period) acts as a long-term filter (trade in direction of SMA).
[HM] Champion Cross📊 Champion Cross – Dynamic EMA Crossover Strategy 🔄
🔹 Overview:
Champion Cross is a clean and effective EMA crossover indicator designed to help traders identify trend direction and potential entry/exit points. It features:
Dual EMA System (Fast & Slow) with customizable lengths
Colored Cloud Fill for easy trend visualization
Adjustable Transparency & Offset for better chart clarity
Works across all timeframes & instruments
🔹 Key Features:
✅ Fast & Slow EMA Crossovers – Detects bullish/bearish momentum shifts
✅ Visual Cloud Fill – Green when Fast EMA > Slow EMA, Red when Fast EMA < Slow EMA
✅ Customizable Inputs – Adjust lengths, sources, and offsets
✅ Clean & Non-Repainting – Reliable signals for swing/day trading
🔹 How to Use:
🟢 Bullish Signal → Fast EMA crosses above Slow EMA (Green Cloud)
🔴 Bearish Signal → Fast EMA crosses below Slow EMA (Red Cloud)
Use in trending markets for best results (combine with RSI/Volume for confirmation)
[HM] Champion Trend🎯 Champion Trend – Smart ATR-Based Trend Indicator 🚀
🔹 Overview:
Champion Trend is a powerful and visually intuitive trend-following indicator designed to help traders identify potential buy/sell signals and trend reversals using Average True Range (ATR) with dynamic multipliers.
Plots clean trendlines (Green for Uptrend, Red for Downtrend)
Customizable ATR settings (Period & Multiplier)
Buy/Sell signals with clear labels
Trend highlighting for better visual confirmation
Works on all timeframes & instruments
🔹 Key Features:
✅ ATR-Based Trend Detection – Adapts to market volatility
✅ Customizable Signals – Toggle buy/sell alerts on/off
✅ Visual Highlighter – Clearly marks bullish/bearish trends
✅ Multi-Timeframe Support – Works on any chart setting
🔹 Input Settings:
ATR Period (Default: 10)
ATR Multiplier (Default: 3.0)
Toggle ATR Calculation Method (SMA vs. Traditional)
Enable/Disable Buy/Sell Signals
Trend Highlighting On/Off
🔹 How to Use:
🟢 LONG when the trend turns Green (Price above ATR-based support)
🔴 SHORT when the trend turns Red (Price below ATR-based resistance)
Marketia DVAN Trending The Dvan Trending Indicator is a powerful and innovative tool designed to help traders identify market trends and potential reversals with precision. By combining dynamic price action analysis with volume-weighted signals, this indicator provides a unique perspective on market momentum and trend strength, making it suitable for various trading styles, including day trading, swing trading, and long-term investing.
NachiketNachiket - Chart Overlay
Nachiket shows trend on chart to determine the trend direction and eliminate false signals.
Buy / Sell signals
Nachiket Buy and Sell signals are plotted based on considering various calculations and criteria based on many aspects, such as candle colour candle size, candle wick, price, volume, timeframe, MACD, MACD, Moving Average, Bollinger Bands, ADX, ATR and Ichimoku Cloud.
Proper confirmation is needed for entries to be made using Buy and Sell signals.
Walking with the signals :
Of course, just like with any indicator, there are exceptions to every rule and plenty of examples where what is expected to happen, does not happen. However, this is not always the case. “Walking the signals” can occur in either a strong uptrend or a strong downtrend.
During a strong uptrend, there may be repeated instances of price going up or down. Each time that this occurs, it is not a buy signal, it is a result of the overall strength of the move.
Similarly, during a strong downtrend, there may be repeated instances of price going up or down. Each time that this occurs, it is not a sell signal, it is a result of the overall strength of the move.
Please keep in mind that instances of “Walking the signals” will only occur in strong, defined uptrends or downtrends.
Timeframe
Nachiket works on any time frame ranging from 1 minute to 1 month time frame.
Description of visual plottings
Nachiket extends the indicator functionality by introducing visual and alert-based enhancements that support trade decision-making. Here's a detailed description of each component:
1. Advanced Candle Colour System
o Nachiket features a sophisticated candle colouring system, visually representing market conditions based on various indicators, designating unique combinations of trend strength, momentum, and volume, aiding traders in decision-making. Advanced candle colour system signals potential buy opportunities during high-volume market conditions or serve as an early signal of potential trend reversals or weakening momentum or show confirmed sell conditions in a strong downtrend and often serve as a warning of possible reversals or a shift in trend direction, hence providing traders with cautionary signals during an uptrend or suggesting that bearish momentum is weakening and a reversal may be on the horizon.
2. Circles Above Candles:
o White Circles: Conditions combine candle colors, MACD histogram analysis, and EMA positioning to identify potential bullish trends. White circles are plotted when one of these conditions aligns, signaling positive momentum.
o Red Circles: Conditions involving specific candlestick patterns and MACD histogram fading suggest potential bearish activity. Red circles indicate when these bearish signals align.
3. Diamonds:
o The script evaluates volume thresholds to assign diamond colors, from green (high volume) to purple (low volume), marking candles where conditions support a strong upward trend based on volume. Conditions also consider specific candlestick colors, positive histograms, and EMA positioning, highlighting key entry signals.
4. Warning Triangle:
o This warning shape indicates overextension risks, with conditions based on candle size, MACD histogram behavior, and specific price movements. Plotted triangles below bars serve as cautionary signals against potential overbought scenarios.
5. Trade Signals (Buy and Sell):
o Buy Signals: Aggregates various buy conditions, including Bollinger Band and ADX signals, as well as favorable candlestick patterns. Once a buy signal is triggered, subsequent sell signals are permitted. A green triangle or label is displayed for a clear buy signal.
o Sell Signals: Conditions leverage red candles, histogram indicators, and EMA positioning to indicate potential sell opportunities. Red triangles or labels above bars mark a sell signal.
6. Alert System:
o Basic Alerts: Generates alerts based on buy and sell signals, providing timely notifications for potential trade entries and exits.
o Advanced Alerts: The script uses previous and double-previous time frames to validate alerts, factoring in red circle and sell signals across multiple time frames. This multi-frame check strengthens the reliability of alerts by capturing broader market movements.
Summary
Nachiket is the one of the popular technical analysis indicators on the market. That really says a effectively about their usefulness and effectiveness. When used properly and in the proper perspective, it can definitely give trader the great insight into one of the greatest areas of importance which is shifts in volatility. Traders should of course be aware that Nachiket is not unlike any other indicator in the sense that they are not perfect. A shift in volatility does not always mean the same thing. Knowledge of the causes of these things comes from experimentation and a great deal of experience. Nachiket should be used in conjunction with additional indicators or methods. Ultimately the more confidence should be instilled in the trader, when the more pieces of the puzzle that are put together.
Release Notes
Added Alerts for long and short positions
GexViewGexView Indicator – Gamma Exposure levels on TradingView charts.
🧲 Why GEX?
Today everybody uses Gamma Exposure.
GEX is crucial for all traders, not just intraday traders, because it helps assess market stability and potential volatility shifts driven by options positioning.
High positive GEX generally implies a mean-reverting market, where big price swings are dampened, while negative GEX signals increased volatility and potential large moves.
Understanding GEX allows traders to anticipate liquidity-driven price action, identify key support and resistance levels, and adjust strategies accordingly.
In today’s market, where options flow heavily influences underlying assets, ignoring GEX can mean missing critical market dynamics that impact both short-term and long-term positions.
🧲 Why GexView?
The GexView indicator is a unique tool designed for traders seeking a deeper understanding of market dynamics through gamma exposure levels. If you want to have the GEX profile on your chart—just like the classic Volume Profile—this is your chance. No more back and forth among multiple trading platforms.
All in one: TradingView charts and gamma exposure in the same place.
✅ Easily understanding if the ticker is on positive or negative gamma environment.
✅ Track key zones of potential dealer activity and market inflection points.
✅ Daily update, after market close, based on new open interest.
✅ No more manual level imports. Just one-click updates. Every day.
✅ Historical Gamma Exposure – The GexView indicator includes an option to plot the last 3 days of the GEX profile, providing a framework for understanding the bigger picture: how the stock evolves day by day amid major gamma exposure levels.
Graphic details:
Vertical implementation of gamma exposure profile.
Thick lines represent the total gamma exposure across all expiration contracts.
Thin lines represent the gamma exposure of 0DTE contracts.
Green colour if Calls > Puts, Red colour if Puts > Calls.
In the settings, you can enable any of these options.
Available on all optionable symbols.
Visit gexview.com to get access.
This script is intended for educational purposes only.
📋 Creative Trade Checklist ✅🆕 Trader Checklist Added to Chart! ✅
Discover Your Discipline Edge 🎯
Hey traders! I’ve just added a brand new Creative Trade Checklist at the top right corner of your chart to help you stay consistent and avoid emotional mistakes.
🧩 How it works:
Open the indicator settings
Under “Checklist”, toggle boxes like:
🟢 CALL Now
🔴 PUT Now
Structure confirmed (EMA/VWAP)
Pullback entry?
I feel neutral ✅
Took partials / Logged trade
Once selected, it automatically updates your chart with "X" so you can visually check off your process before and after each trade.
📍 Why it helps:
✔️ Reinforces discipline
✔️ Keeps emotions in check
✔️ Ensures trade quality
✔️ Helps you build a repeatable plan
🔧 You can turn the checklist on/off in settings and choose where it appears (top right, top left, etc).
This tool is made for serious traders who want consistency. Let me know what else you’d like added!
Happy scalping!
—Phil Vo 🧭
Webby's Market OrderThis is visual representation of Webby's Market Order.
When three consecutive lows are above 21 EMA, Uptrend expectation is natural.
When three highs are below 21 EMA, Downtrend expectation is natural.
Alert Conditions can be set when uptrend and down trend are expected.
Use this indicator with IXIC or SPY or major indices.
This is set at three lows/Highs above 21 EMA as looked by Mike Webster.
SMMA 4-Color Histogram (If Conditions)A bullish convergence of a Smoothed Moving Average (SMMA) occurs when a shorter-term SMMA crosses above a longer-term SMMA, typically indicating a potential upward trend and buy opportunity.
SMMA 4-Color Histogram (If Conditions)A bullish convergence of a Smoothed Moving Average (SMMA) occurs when a shorter-term SMMA crosses above a longer-term SMMA, typically indicating a potential upward trend and buy opportunity.
Weekly Open (Current Week Only)📘 Indicator Name: Weekly Open (Current Week Only)
📝 Description:
This indicator plots a horizontal line representing the weekly open price, visible only during the current trading week. At the beginning of each new week (based on TradingView’s weekly time segmentation), the indicator captures the open price of the first candle and draws a constant line across the chart until the week ends. Once the new week begins, the line resets and updates with the new weekly open.
🎯 How to Use – ICT Concepts Integration (Weekly Profile):
This tool is designed to complement ICT (Inner Circle Trader) trading strategies, particularly within the weekly profile framework, by offering a clear and persistent visual of the weekly open, which is a critical reference point in ICT’s market structure theory.
✅ Use Cases:
Directional Bias:
According to ICT concepts, price trading above the weekly open suggests a bullish bias for the week, while trading below it implies bearish conditions.
Traders can use the weekly open line to align their intraweek trades with higher timeframe directional bias.
Dealing Ranges:
Weekly open helps frame the weekly dealing range, especially when combined with other levels like weekly high/low or previous week’s range.
It allows traders to identify potential liquidity pools or areas where price may seek to rebalance.
Mean Reversion Entries:
Price often reverts to or reacts from the weekly open. Traders may use this as a target or entry level, particularly during Monday/Tuesday setups.
Works well in conjunction with concepts like OTE (Optimal Trade Entry) and Judas Swings.
Risk Management:
Acts as a clean and visual anchor to structure stop losses or take-profits based on weekly bias shifts.
CRS Table - Select Index to ViewThis indicator calculates and visualizes the Cumulative Relative Strength (CRS) of selected indices or stocks compared to the Nifty 50 Index as a benchmark. It helps traders and investors quickly identify sectoral strength, relative performance, and momentum rotation across the market.
BankNifty-15min Intraday-High Risk-R-AlgoAI-Final Copy// This script is for educational and informational purposes only.
// It does not constitute financial or investment advice.
// Trading involves substantial risk and may not be suitable for all investors.
// Always do your own research or consult with a licensed financial advisor
// before making any trading or investment decisions.
// The author is not responsible for any losses incurred using this script.
⚡ Overview:
This script is a technical indicator designed for intraday trading on the Bank Nifty future chart using the 15-minute timeframe. It uses a combination of normalized buy and sell pressure along with a Hull Moving Average (HMA) smoothing method and volume-based normalization to detect potential buy and sell signals.
💡 Main Concept:
Buy and Sell Pressure Calculation:
The script calculates:
bp (Buy Pressure): close - low
sp (Sell Pressure): high - close
These values are smoothed using a custom Hull Moving Average (HMA) function, designed to reduce lag and react quicker to price changes compared to traditional moving averages.
📊 Normalized Signals:
Buy and Sell pressures are normalized against their HMA smoothed values.
Volume normalization is also applied to adjust for the effect of market activity on the pressure signals.
📌 Signal Logic:
A Buy Signal is generated when:
Only one signal per day is allowed to avoid signal spamming.
A Sell Signal is generated under the opposite conditions:
One sell signal per day.
🧾 Visual Output:
When a signal is triggered, the script:
Draws a horizontal line at the signal price (with labels like BUY @ or SELL @).
Plots triangle markers on the chart to highlight buy (green) or sell (red) signals.
Deletes or extends lines at the end of each day to maintain visual clarity.
📈 Additional Features:
EMA 50 & EMA 200:
Plots two common Exponential Moving Averages (50-period and 200-period) for trend visualization.
⚠️ Important Notes:
This script is meant for educational and research purposes only.
It is designed for high-risk intraday trading.
Signals are based on historical behavior and should not be treated as financial advice.
No stop-loss or take-profit logic is included — traders should manage risk independently.
✅ Summary:
This indicator offers a simple visual and quantitative approach to spot potential intraday turning points for Bank Nifty future on a 15-minute chart, with clear buy and sell markers. It combines volume, price pressure, and moving average smoothing to filter out random price movements.
RSI + MACD Divergence with Candlestick EntryThis script is for beginner traders who has less fund like 30-50 dollar or something. this indicator is for buy/sell. if you have a 30$-50$ then go for this strategic indicator EASYMARKETS:AUDUSD us your 30$ like this risk 3% of your capital in 1 trade. & in starting use stoploss/take profit like 9-10 pips stoploss, 11-20 take profit for batter risk managment
Size CalculatorOverview:
Size Calculator is a risk management tool that helps traders position themselves intelligently by calculating optimal position size, stop loss, and take profit levels based on account capital, ATR volatility, and personal risk tolerance. It takes the guesswork out of sizing so you can focus on execution.
Features:
✅ Risk-based position sizing
✅ ATR-based stop loss & take profit levels
✅ Dynamic leverage estimation
✅ Support for long and short positions
✅ Visual display of key levels and metrics via table
✅ Works across any timeframe with locked timeframe support
How It Works:
This tool computes the ideal position size as a % of account capital based on how much you're willing to risk per trade and how far your stop loss is (in ATR units). It calculates corresponding stop loss and take profit prices, and visually plots them along with a floating table of metrics. You can lock the timeframe used for ATR and price, keeping your risk logic stable even when changing chart views.
Customizable Inputs:
Account capital and risk tolerance
ATR-based stop loss & take profit multiples
Trade direction (Long or Short)
ATR period and locked timeframe
Optional detailed metrics display
Magic signal Magic Signal is a comprehensive, all-in-one technical analysis toolkit designed for serious traders seeking clarity in market trends, strategic entry points, and defined risk management levels. This custom Pine Script indicator combines multiple proven methodologies to deliver actionable insights across different market conditions.
Key Features:
1. Trend Detection:
Utilizes a simple moving average crossover strategy to identify potential uptrends and downtrends.
Dynamic background coloring highlights the prevailing trend direction for visual clarity.
2. Entry & Exit Signal Zones:
Automatically plots suggested Entry, Stop Loss, and Take Profit 1 & 2 levels based on customizable ATR multipliers.
Visual aids (lines, labels, and filled zones) assist traders in quickly identifying optimal trade setups.
3. Risk Management:
Risk levels are clearly defined using Average True Range (ATR) to calculate volatility-adjusted stop losses and profit targets.
4. Multi-Timeframe Cloud Filter:
EMA-based cloud layers help filter out noise and identify confluences across short, medium, and long periods.
Provides visual structure to understand price dynamics more effectively.
5. Standard Deviation (SD) Bands:
Upper and Lower SD zones serve as potential reversal or breakout levels based on price volatility.
6. RSI Dashboard:
Relative Strength Index with real-time visualization of RSI levels, overbought/oversold zones, and current momentum.
Compact RSI table positioned in the top-right for quick reference.
7. Dynamic Fibonacci Levels:
Automatically detects recent swing highs and lows to plot relevant Fibonacci retracement levels for added confluence.
8. Intuitive UI:
Color-coded labels and table visuals enhance readability.
No repainting logic ensures real-time reliability and consistency in signals.
---
Disclaimer:
This script is intended for educational and informational purposes only. It does not constitute financial advice or guarantee profitability. Always do your own research and risk analysis before entering any trade. Past performance is not indicative of future results.
---
Important Note:
This is an invite-only indicator. Access is granted at the discretion of the author. Unauthorized redistribution or reselling is strictly prohibited.
Global Market HoursHere are the standard trading hours for the major stock exchanges in Sydney, Tokyo, Hong Kong, London, and New York, converted to UTC. Note that these hours may vary slightly due to daylight saving time (DST) or holidays, but I'm providing the general schedule based on standard time:
- **Sydney (Australian Securities Exchange - ASX)**:
- Local: 10:00 AM to 4:00 PM (AEST, UTC+10)
- UTC: 00:00 to 06:00
- **Tokyo (Tokyo Stock Exchange - TSE)**:
- Local: 9:00 AM to 3:00 PM (JST, UTC+9)
- UTC: 00:00 to 06:00
- **Hong Kong (Hong Kong Stock Exchange - HKEX)**:
- Local: 9:30 AM to 4:00 PM (HKT, UTC+8)
- UTC: 01:30 to 08:00
- **London (London Stock Exchange - LSE)**:
- Local: 8:00 AM to 4:30 PM (GMT/BST, UTC+0 or UTC+1 during DST)
- UTC: 08:00 to 16:30 (standard time, adjust to 07:00 to 15:30 during BST)
- **New York (New York Stock Exchange - NYSE)**:
- Local: 9:30 AM to 4:00 PM (EST/EDT, UTC-5 or UTC-4 during DST)
- UTC: 14:30 to 21:00 (standard time, adjust to 13:30 to 20:00 during EDT)
**Notes**:
- DST affects London (March to October) and New York (March to November), shifting UTC times by one hour. Sydney also has DST (October to April), but it’s opposite to the Northern Hemisphere.
- Tokyo and Hong Kong do not observe DST, so their UTC hours are consistent year-round.
- Always check for specific dates or holidays, as exchanges may have shortened hours or closures.
If you need real-time confirmation or adjustments for today’s date (April 12, 2025), I can search for any anomalies—let me know!
BUY_SELL_RSI_USDT.D📊 Indicator Overview:
This script is an advanced RSI (Relative Strength Index) indicator for the BTCUSDT pair, offering:
Customizable RSI settings
Smoothing with various Moving Averages and optional Bollinger Bands
Regular bullish and bearish divergence detection
Alert conditions for divergence signals
⚙️ RSI Calculation:
rsiLengthInput: Custom RSI length (default: 32)
rsiSourceInput: Custom source (default: close)
Uses a modified RSI formula based on Wilder’s method (via ta.rma)
RSI Lines and Background:
Upper bands: 65 and 75
Lower bands: 35 and 45
Midline: 50
A colored background fill between upper and lower bands improves visual clarity.
📈 Smoothing and MA Options:
User can choose between multiple types of moving averages:
SMA, EMA, WMA, VWMA, RMA (SMMA), or no smoothing.
Optionally, if "SMA + Bollinger Bands" is selected:
Bollinger Bands are drawn around the smoothed RSI.
bbMultInput controls the standard deviation multiplier.
🔍 Divergence Detection:
Only active if calculateDivergence = true.
Regular bullish divergence:
Price makes a lower low
RSI makes a higher low
Regular bearish divergence:
Price makes a higher high
RSI makes a lower high
Uses pivotlow() and pivothigh() to detect swing points.
Highlights divergence points with:
Lines on the RSI chart
Label markers ("Bull" or "Bear")
🚨 Alert Conditions:
Alerts are created for both types of divergence:
Regular Bullish Divergence
Regular Bearish Divergence
Alerts notify you when a new divergence is detected based on lookback.
✅ Strengths:
Highly customizable for different trading styles.
Clean visualization with multiple overlays.
Reliable divergence logic with clear signals.
Includes Bollinger Bands for volatility-based analysis on RSI.
⚠️ Possible Improvements:
Hidden Divergence Support (not currently included)
RSI Plot is Commented Out – consider re-enabling it for clarity:
pinescript
Kopyala
Düzenle
plot(rsi, "RSI", color=#7E57C2)
Dynamic Lookback Input – allow the user to set lookbackLeft and lookbackRight as inputs.
BUY_SELL_RSI_(BTCUSDT)📊 Indicator Overview:
This script is an advanced RSI (Relative Strength Index) indicator for the BTCUSDT pair, offering:
Customizable RSI settings
Smoothing with various Moving Averages and optional Bollinger Bands
Regular bullish and bearish divergence detection
Alert conditions for divergence signals
⚙️ RSI Calculation:
rsiLengthInput: Custom RSI length (default: 32)
rsiSourceInput: Custom source (default: close)
Uses a modified RSI formula based on Wilder’s method (via ta.rma)
RSI Lines and Background:
Upper bands: 65 and 75
Lower bands: 35 and 45
Midline: 50
A colored background fill between upper and lower bands improves visual clarity.
📈 Smoothing and MA Options:
User can choose between multiple types of moving averages:
SMA, EMA, WMA, VWMA, RMA (SMMA), or no smoothing.
Optionally, if "SMA + Bollinger Bands" is selected:
Bollinger Bands are drawn around the smoothed RSI.
bbMultInput controls the standard deviation multiplier.
🔍 Divergence Detection:
Only active if calculateDivergence = true.
Regular bullish divergence:
Price makes a lower low
RSI makes a higher low
Regular bearish divergence:
Price makes a higher high
RSI makes a lower high
Uses pivotlow() and pivothigh() to detect swing points.
Highlights divergence points with:
Lines on the RSI chart
Label markers ("Bull" or "Bear")
🚨 Alert Conditions:
Alerts are created for both types of divergence:
Regular Bullish Divergence
Regular Bearish Divergence
Alerts notify you when a new divergence is detected based on lookback.
✅ Strengths:
Highly customizable for different trading styles.
Clean visualization with multiple overlays.
Reliable divergence logic with clear signals.
Includes Bollinger Bands for volatility-based analysis on RSI.
⚠️ Possible Improvements:
Hidden Divergence Support (not currently included)
RSI Plot is Commented Out – consider re-enabling it for clarity:
pinescript
Kopyala
Düzenle
plot(rsi, "RSI", color=#7E57C2)
Dynamic Lookback Input – allow the user to set lookbackLeft and lookbackRight as inputs.
Day and Session Highlighter (UTC)Day and Session Highlighter (UTC Forced)", is designed to overlay your chart and display both session background colors and informative labels at the start of each trading session—all calculated in UTC. The script targets four distinct sessions: AU (Australia), Asia (Singapore/Hong Kong/JP), Europe, and New York. In addition to session highlighting, it displays labels that combine the UTC day-of‑week and the session’s starting time. All elements are configurable via on-screen toggles.