Institutional Bias [Lite] - Visual SuiteThe ultimate discretionary toolkit. Visualizes Institutional Value (VP), Trend (AVWAP), and Structure (Fibs). For automated signals, see the Pro Strategy."
Indikator dan strategi
Reverse RSI//@version=6
indicator("Reverse RSI", overlay=false)
rsi_length = input.int(14, title="RSI Length", minval=1)
ob_level = input.int(75, title="Overbought Level")
os_level = input.int(25, title="Oversold Level")
invRSI(target, length) =>
target_rs = target / (100 - target)
up = math.max(close-close , 0)
down = math.max(close -close, 0)
prev_avg_up = ta.rma(up, length)
prev_avg_down = ta.rma(down, length)
price_up = target_rs * (prev_avg_down * (length - 1)) - (prev_avg_up * (length - 1)) + close
price_down = (prev_avg_down * (length - 1) - (prev_avg_up * (length - 1)) / target_rs) + close
current_rsi = ta.rsi(close, length)
price = target > current_rsi ? price_up : price_down
price
price_ob = invRSI(ob_level, rsi_length)
price_mid = invRSI(50, rsi_length)
price_os = invRSI(os_level, rsi_length)
upside = (price_ob-close)/close*100
downside = (close-price_os)/close*100
net = upside-downside
plot(upside, title="Upside Line", color=color.green)
plot(downside, title="Downside Line", color=color.red)
plot(net, title="Net Line", color=net>0?color.new(color.green, 30):color.new(color.red, 30), style=plot.style_columns)
hline(0, "Zero Line")
Buy & Hold Compounded ValueBuy & Hold Compounded Value
This indicator calculates the cumulative compounded value of a buy-and-hold investment from the instrument’s inception. Starting from a user-defined initial investment (default $1000), it compounds returns using monthly price changes and displays the current portfolio value in the TradingView status line only.
Designed for use on monthly charts, it provides a clean, clutter-free way to evaluate long-term performance without adding any visuals to the chart.
Candle Percentage Change, Clean, Hover Only Price Move IndicatorA minimal, clutter-free indicator that displays the percentage change of each candle (Open → Close) directly in the TradingView status line.
✔ No lines, labels, or drawings on the chart
✔ No separate pane
✔ Positive values shown in green, negative in red
✔ Value updates live and is visible on hover or next to the indicator name
Perfect for traders who want quick context on candle strength without polluting the chart — especially useful on higher timeframes (daily, weekly, monthly).
Simple, lightweight, and designed to stay out of the way while still giving you the information you need.
Bollinger BandWidth (Session-Adjusted)Description
This indicator is a session-adjusted version of Bollinger BandWidth (BBW), specifically designed for instruments with limited trading hours, such as European stock indices (e.g., FTSE MIB, DAX, CAC, which trades from 09:00 to 17:30 CET — 8.5 hours) or individual stocks.
Standard Bollinger BandWidth on intraday charts can be distorted because calculations include non-trading periods (flat prices overnight), leading to inaccurate volatility readings.This script dynamically adjusts the Bollinger Bands calculation to approximate daily periods based on the actual trading session length, ensuring the BBW reflects true market volatility during active hours.
Key Features
Session-Adjusted Bollinger Bands:
The lookback period (default 20 days) is converted into an equivalent number of intraday candles based on your chart's timeframe and the session duration. This makes the indicator suitable for intraday timeframes (e.g., 5min, 15min, 1H) on limited-session assets.
Bollinger BandWidth (BBW) as Percentage:
Plots (Upper Band - Lower Band) / Middle Band * 100, a relative measure of volatility (higher values = wider bands = higher volatility).
Dynamic Expansion and Contraction Levels:
Red line: Highest BBW over the selected expansion lookback period (default 25 days) — highlights peak volatility levels.
Green line: Lowest BBW over the selected contraction lookback period (default 25 days) — highlights extreme squeezes (low volatility).
Fully customizable inputs for session hours, BB parameters, and dynamic level periods.
How It Works
Session Adjustment: Input session duration (default 8.5 hours).
The script calculates approximate candles per trading day for your current chart timeframe.
Bollinger Bands are computed using length * candlesPerDay bars, simulating a true multi-day calculation within intraday data.
BBW Calculation:
Basis: Simple Moving Average (SMA).
Deviation: Multiplier × Standard Deviation.
BBW = (2 × Deviation / Basis) × 100.
Dynamic Lines:
Expansion line uses the same session-adjusted period for highest BBW.
Contraction line uses the lowest BBW.
Usage and Trading Ideas
Bollinger BandWidth is a powerful volatility indicator popularized by John Bollinger. Low BBW values indicate band contraction ("Squeeze") — periods of low volatility often followed by strong breakouts. High BBW values indicate expansion — trending or volatile phases that may exhaust and lead to consolidation.
Squeeze Setup:
Watch for BBW dropping toward or below the dynamic low (green) line. This signals potential impending volatility expansion and breakout opportunities.
Expansion Confirmation:
BBW rising above the dynamic high (red) line suggests strong volatility — useful for trend-following or avoiding counter-trend trades.
Combine with price action (e.g., break of support/resistance), volume, or momentum indicators (RSI, MACD) for directional bias.
Ideal for intraday or swing trading on European indices, stocks, or other limited-session instruments where standard BBW would be misleading.
This adjustment makes the indicator more accurate on lower timeframes compared to built-in versions, providing cleaner volatility signals aligned with real trading sessions.
Enjoy the script — feedback welcome!
EMA 21 Pullback - Swing Break (Single Signal)EMA 21 Pullback Swing Break – Single Entry Indicator
This indicator is designed for traders who prefer clean, structure-based entries
instead of frequent signals.
LOGIC:
1. EMA 21 defines the trend direction.
2. Price must pull back to EMA 21 (mandatory).
3. After pullback, an internal swing is formed.
4. Entry signal is generated only when that swing is broken.
5. Only ONE signal is allowed per EMA pullback.
6. Next signal appears only after price touches EMA again.
BUY CONDITIONS:
- Price above EMA 21
- Pullback to EMA 21
- Internal swing high formed after pullback
- Candle closes above that swing high
SELL CONDITIONS:
- Price below EMA 21
- Pullback to EMA 21
- Internal swing low formed after pullback
- Candle closes below that swing low
FEATURES:
✔ No repaint
✔ Structure-based entries
✔ Single signal per pullback
✔ Works best in trending markets
✔ Avoids sideways noise
BEST USE:
- Index trading (NIFTY, BANKNIFTY, SENSEX)
- Timeframes: 3m, 5m, 15m
- Combine with price action or higher timeframe trend
DISCLAIMER:
This indicator is for educational purposes only.
Always use proper risk management.
ICT Clean CISD & Mitigated MTF FVGs Clean CISD & MTF FVGs
Minimalist Institutional Order Flow Tool
Key Features:
CISD (Change in State of Delivery): Marks the first sign of an order flow shift. Displayed as a clean black line + label (no bulky boxes).
High-Probability FVGs: Scans 15m, 1h, and 4h timeframes for gaps.
Displacement Filter: Only shows "Crucial" gaps. Tiny, insignificant imbalances are automatically filtered out using an ATR threshold.
Auto-Cleaning Logic: Boxes are automatically deleted once price fills or closes through them, keeping your chart 100% clean.
Trade with TreandThink of this script as a filter and a signal light for trading Gold. It helps you avoid trading in the wrong direction and tells you exactly when the price momentum is shifting.
The Three Main Parts
The Ultimate Trend (The Filter):
This is the big table in the top-right corner.
Bullish (Green): Only look for BUY signals.
Bearish (Red): Only look for SELL signals.
It uses a "300 SMA" (a long-term average) to make sure you aren't "swimming against the tide."
The Entry Signals (The Crossover):
The script watches two lines on your chart (a 20-period and a 10-period).
When they cross, it places a BUY or SELL label on your screen.
The 4 Alerts (The Notifications):
You don't have to stare at the screen all day.
You get a notification for Buy entries, Sell entries, or when the Main Trend flips from Bullish to Bearish (or vice versa).
Simple Rules for Trading
To be successful with this script, follow these four rules:
Rule 1: Check the Table. If it says "Bearish," ignore all "BUY" labels.
Rule 2: Wait for the Label. Only enter a trade when a "BUY" or "SELL" label appears and it matches the trend table.
Rule 3: Protect Your Money. Look at the last 5 candles. Put your Stop Loss just past the highest or lowest point of those candles.
Rule 4: Aim for the Target. Your profit target should be at least double the amount of money you are risking (Risk:Reward 1:2).
How to use the Settings
When you click the Settings icon on the script, you can change:
SMA Filter: Change the "300" if you want the trend to be faster or slower.
Trend Gap: Adjust how far the trailing line stays away from the price.
Wick Connection Alerts (12M/6M/3M/1M)If you want touch/overlap, pick: Any Range Overlap (High-Low)
If you want wick-to-wick specifically, pick: Wick-to-Wick Zones (now with fewer false signals)
Touch/Overlap Alert (12M/6M/3M/1M)Wick or price action connection...This indicator is to alert you when price action connects for an entry.
Nifty OI Support Resistance This study is designed for educational purposes to assist traders in analyzing price structure on the Nifty 50 index. It creates visual reference zones based on standard mathematical intervals used in the derivatives market.
Purpose of the Tool: In the Nifty 50 index, price action is often analyzed relative to "Round Numbers" or standard strike intervals (e.g., multiples of 50). This script automatically plots these mathematical reference levels relative to the current price to help users observe price behavior.
How It Works: This indicator uses a mathematical formula to identify the nearest standard strike price intervals based on the current close price.
Strike Logic: It projects levels at standard 50-point intervals (Nifty's standard strike distance).
Volatility Buffers: It adds a user-defined buffer (default: 30 points) around these levels to visualize a "zone" rather than a specific price point.
Major Levels: It visually distinguishes major round numbers (multiples of 500) which are often significant for technical analysis.
Features:
Automated Plotting: Adjusts dynamically as price moves to show relevant upper and lower reference bands.
Zone Visualization: Helps in identifying potential areas of support or resistance based on technical structure.
Customizable: Users can adjust the strike distance and buffer range to suit different volatility conditions.
Usage: This tool is intended to be used as a visual aid for Technical Analysis. It allows users to see where the price is located relative to standard Nifty intervals.
⚠️ STANDARD DISCLAIMER & DISCLOSURE:
Nature of Content: This script and description are for educational and informational purposes only.
No Financial Advice: This tool does not constitute investment advice, buy/sell recommendations, or trading tips.
Not SEBI Registered: The author is not a SEBI registered Research Analyst (RA) or Investment Advisor (IA).
Methodology: The levels displayed are generated purely via mathematical calculation based on price inputs and do not represent real-time exchange Open Interest data.
Risk Warning: Trading in securities market is subject to market risks. Read all the related documents carefully before investing. User discretion is advised.
laoto Simple Moving Averages (SMA)Five Simple Moving Averages (SMA)
Customizable colors and periods (lengths).
Wyckoff Map (TR + S/D + Springs/Upthrusts)Wyckoff Map is a context-aware market structure overlay that visualizes key Wyckoff concepts directly on the price chart — without repainting and without relying on black-box signals.
Instead of generating isolated buy/sell alerts, this tool maps the environment in which price is operating, helping traders understand where supply and demand are interacting, where liquidity is being swept, and which phase the market is likely in.
What the script shows
Trading Range (TR)
Automatically detects a recent trading range
Displays the range as a shaded box for immediate context
Supply & Demand Zones
Demand zone near the range low (buyers’ area)
Supply zone near the range high (sellers’ area)
Zones adapt dynamically as the range evolves
Wyckoff Events
Spring: downside liquidity sweep followed by a reclaim (potential accumulation behavior)
Upthrust: upside liquidity sweep followed by failure (potential distribution behavior)
Events are filtered by range context and optional volume confirmation
Market Phase (Heuristic)
Labels the current environment as:
Accumulation
Distribution
Neutral Trading Range
Markup / Markdown
Phase is inferred from price position within the range and moving-average slope
Legend & Visual Guidance
A floating legend explains all zones and events
Designed to remain readable during replay and live trading
How to use
This script is not a standalone trading strategy.
It is best used to:
Avoid chasing breakouts into supply
Identify failed breakdowns near demand
Recognize accumulation vs distribution behavior
Add context to lower-timeframe entries
Combine with your own execution model (structure, risk, or order flow)
Higher-timeframe context is strongly recommended.
⚙️ Customization
You can adjust:
Trading range length
Zone thickness (ATR-based)
Pivot sensitivity
Volume confirmation
Event confirmation strictness
Visibility of zones, events, phase labels, and legend
Disclaimer
Wyckoff analysis is contextual and probabilistic, not deterministic.
This tool visualizes structural behavior — it does not predict future price.
Use proper risk management.
TL;DR (Short Description)
A non-repainting Wyckoff market structure overlay that maps trading ranges, supply/demand zones, Springs, Upthrusts, and accumulation/distribution phases directly on the chart.
RSI Divergence + RSI Indicator MegartCombined RSI Divergence Indicator and RSI.
Highlights important RSI levels 70–80–90 and 30–20–10.
All calculations are always based on standard Japanese candlesticks, even when used on other chart types.
ilker %90This strategy is a short-term momentum approach based on moving averages and volume. Studies show it performs more effectively on the 1-hour and 4-hour timeframes. Take-profit and stop-loss distances are kept short, resulting in a high win rate, while the profit factor ranges between 1.4 and 2.
Advanced Dynamic RSI Pro40-60
Oscillation Phase: Market is in consolidation. Expect sideways movement with no clear trend.
>60
Bullish Signal: A breakout above 60 confirms upward momentum and trend strength.
<40
Bearish Signal: Dropping below 40 confirms a downward trend and selling pressure.
The depth of the MA (reaching levels above 70 or below 30) clearly visualizes extreme Overbought or Oversold market conditions.
Planetary IngressDisplays planetary ingresses, the moments when a planet crosses from one zodiac sign into another. This indicator marks historical ingresses directly on your chart and projects upcoming ones with precise date, time, and retrograde status.
Powered by the open-source BlueprintResearch Planetary Ephemeris library , which implements truncated VSOP87 (planets) and ELP2000 (Moon) series for high-accuracy celestial calculations entirely within Pine Script.
█ FEATURES
• All 10 celestial bodies — Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, and Pluto
• Geocentric or Heliocentric views — toggle between Earth-centered (standard astrology) and Sun-centered perspectives
• Retrograde indicator — shows ℞ symbol when a planet is in apparent retrograde motion (geocentric only)
• Future ingress projection — displays the following sign change as a dotted vertical line with customizable date/time and timezone
• Color-coded by zodiac sign — 12 fully customizable colors for each sign
• Per-sign visibility controls — easily show/hide specific signs
• Per-sign alerts — get notified when a planet enters selected signs
• Fully customizable labels — adjust size, colors, transparency, and placement
█ HOW TO USE
1. Select your planet from the dropdown
2. Choose Geocentric (traditional) or Heliocentric view
3. Historical ingresses appear as labels above price bars with a planet symbol and a zodiac sign
4. The next future ingress is shown as a dotted vertical line with projected date/time
5. Hover over labels for exact degree position (e.g., "0°Ari00'")
6. Set up alerts via "Alert on Ingress" settings for specific sign entries
█ LIMITATIONS & ACCURACY
This indicator uses optimized, truncated VSOP87 and ELP2000 series tailored for Pine Script performance. It delivers excellent accuracy for trading and analytical purposes, but is not intended for professional astronomical use.
Expected Ingress Timing Accuracy (Geocentric view):
• Sun, Moon, Mercury, Venus, Mars: Within hours to ±1 day
• Jupiter, Saturn: Within ±1–2 days
• Uranus, Neptune: Within ±3–7 days
• Pluto: Within ±1–2 weeks (simplified Meeus method, valid 1900–2100)
Heliocentric view: Inner and faster-moving planets match geocentric accuracy. Outer planets (especially Uranus/Neptune) may occasionally show larger variances (up to ±1 month in rare cases) due to their extremely slow motion amplifying minor truncation effects in the series.
Why outer planets vary more:
Slower planets take weeks or months to cross a single degree. Even minor positional discrepancies from truncated terms can shift ingress timing by days or weeks—most noticeable with the outermost bodies.
Recommendation: For mission-critical timing, always cross-reference with professional tools such as JPL Horizons , Swiss Ephemeris, or Astro.com.
█ ROADMAP
Accuracy improvements are an ongoing priority. The modular library design allows targeted upgrades to individual planets without breaking existing functionality.
Planned Enhancements:
• Higher-precision outer planet calculations (Uranus, Neptune)
• Improved heliocentric outer planet accuracy
• Enhanced Pluto method
• Additional series terms where beneficial
Updates will be released through the BlueprintResearch/lib_ephemeris library—follow for notifications.
█ OPEN SOURCE
This indicator is part of the fully open-source Planetary Ephemeris project. The core ephemeris library is public for study, modification, and reuse in your own scripts:
• BlueprintResearch/lib_ephemeris — Main planetary calculation engine
Licensed under MPL 2.0 — free to use and modify, with changes to the library shared back to the community.
EY DashboardThe Easy Portfolio Dashboard is a high-performance, real-time monitoring tool designed for traders managing multiple positions. Unlike standard tables, this script is optimized using User-Defined Types (UDT) and Array-based rendering to ensure the lowest possible latency and 100% compliance with TradingView’s security-call limits. It allows you to track up to 24 symbols simultaneously, showing price action, volatility (ATR), relative volume, and upcoming earnings.
Key Features
Automatic Ticker Formatting: Strips exchange prefixes (e.g., BATS:, NASDAQ:) to keep your UI clean and focused on the ticker name.
Intelligent P&L Tracking: Real-time calculation of daily profit/loss based on your specific share quantities.
Volatility Alerts (ATR %): Visual color-coding (Green/Yellow/Red) based on the stock's current ATR relative to its price.
Earnings Countdown: Highlighted countdown timer for upcoming earnings reports, with red alerts when an event is less than 7 days away.
Net Worth Engine: A dedicated summary section that combines your current equity with a manual Cash (USD) input to track total account value.
How to Use
Ticker Input: Enter your symbols (e.g., AAPL, TSLA) and the number of shares you own in the Inputs tab.
Cash Settings: Enter your current uninvested cash balance in the Cash Settings section to calculate your total Net Worth.
UI Customization:
Position: Choose between 9 different screen locations (Top Right, Bottom Center, etc.).
Minimal Mode: Toggle this to hide the detailed ticker list and show only the P&L and Net Worth summary.
Toggle Columns: Enable or disable columns for ATR, Volume, and Earnings as needed.
Technical Methodology
Data Sourcing: All data is fetched using request.security on a Daily ("D") timeframe.
Security Handling: The script uses a "Global Fetch" architecture. This satisfies the compiler requirement that security calls must be at the top level, while the UI is handled by a dynamic loop for efficiency.
ATR Calculation: Calculated as (ATR(14) / Price) * 100 to show the "expected move" as a percentage of the stock price.
Volume Analysis: Compares current volume to a 20-period SMA of volume to identify unusual activity.
Settings Glossary
ATR Red Threshold: The percentage at which the ATR emoji turns Red (High volatility/risk).
ATR Yellow Threshold: The percentage at which the ATR emoji turns Yellow (Moderate volatility).
Next ER: Displays the days remaining until the next Earnings Report. Cells turn red when an ER is imminent (within 1 week).
40 SMA Scaling StrategyThis trend-following strategy focuses on capturing momentum when price breaks above the 40-period Simple Moving Average (SMA) while utilizing a systematic scale-out (Take Profit) approach to lock in gains during extended runs.
Strategy Logic
Entry: Opens a Long position with 100% of current equity when the price closes above the 40 SMA. This ensures maximum capital efficiency at the start of a new perceived trend.
Scaling Take Profits: To reduce risk as the trade progresses, the strategy automatically closes 25% of the initial position for every 1% increase in price from the entry point.
Exit: The entire remaining position is closed immediately if the price closes below the 40 SMA, acting as a trailing stop that adapts to the moving average.
Key Features
Capital-Efficient: Starts with a full account allocation to maximize exposure to the initial breakout.
Systematic De-risking: By scaling out in 25% increments, the strategy banks profits early while leaving a portion of the trade active for potential "moon shots."
Trend-Following Exit: Uses a classic SMA filter to exit, aiming to stay in the trade as long as the medium-term trend remains bullish.




















