Dow Theory Cockpit [Analytics Pro]1. Overview and Key Features
The core philosophy of this tool is to "Eliminate market noise and pinpoint high-probability trade setups.
🤖 Triple-Logic Engine: Automatically detects three distinct strategies: Trend Following
(Breakout), Retracement (Dip), and Reversal (Sniper).
🛡️ Ironclad Protection: Features an ATR-based dynamic Stop Loss (SL). It automatically
positions your SL at levels resistant to "stop hunting" or market noise.
💰 Automatic Risk Management: The tool calculates and displays the optimal lot size based
on your SL distance, ensuring your risk amount remains constant regardless of market
volatility.
📊 Performance Visualization: Real-time Win Rate panel displaying data for "Today," "This
Month," "This Year," and "All Time.
🌍 Global Market Insights: Monitor not just your active chart, but also Gold, JPY, BTC, and
critical US/JP economic indicators (Interest Rates, Inflation, etc.) simultaneously.
2. Three Entry Signals
The tool automatically toggles between three optimized logics depending on market conditions
Signal Type Target & Strategy 🎯
SNIPER Reversal Captures "Tops and Bottoms." Detects RSI exhaustion + Bollinger
Band mean reversion to catch the start of a reversal.
DIP Trend Following Captures "Pullbacks." Picks up entries when price touches MAs or
retraces during a strong uptrend.
BREAK Trend Following Captures "Breakouts." Rides the momentum the moment price
breaks recent Highs or Lows.
💡 Pro Tip: When multiple conditions align, signals merge (e.g., "SNIPER & DIP") to keep
your chart clean and highlight high-conviction setups.
3. Dashboard Guide
The dual-panel interface is fully customizable in terms of visibility and placement.
① Main Analysis Panel (Default: Top Right)
In-depth analysis of the current currency pair.
・MAIN: Displays the pair and volatility status (HIGH VOL / NORMAL).
・Target RR: Your target Risk:Reward ratio (e.g., 1:1.5).
・🌊 Trend Monitor: Instantly check trend directions across 15M, 1H, 4H, and Daily timeframes.
・Strategic Note: When all timeframes align (Full Alignment), the signal is considered a "high-
probability" setup.
・📊 Win Rate: Tracks success rates and trade counts across four periods (Day, Mo, Yr, All).
・Risk: Shows current risk settings, spread, and account type.
② Market Scanner Panel (Default: Bottom Right)
Multi-market and fundamental surveillance.
・SCANNER: Constant monitoring of Gold, USDJPY, and Bitcoin. It alerts you immediately when
a trend or signal forms on these major assets.
・US/JP ECONOMY: Side-by-side comparison of essential fundamental data:
・Rate: Policy Interest Rates
・Inf%: Inflation (CPI)
・GDP: Economic Growth Rate
・Job: Unemployment / Payrolls
4. Trading Workflow
Follow these steps for the highest success rate:
1.STEP 1: Wait for SignalWait for the audio alert or the "BUY/SELL" label to appear.
Important: Never entry while the candle is still moving.
2.STEP 2: Filter ConfirmationJust before the candle closes, verify:
・MTF Panel: Are the 1H and 4H colors aligned with the signal? (Green for Buy, Red for Sell)
・MA Ribbon: Is the ribbon showing a clean, healthy spread?
3.STEP 3: Execution (At Candle Close)If the signal remains after the candle closes, enter at
the open of the next candle. Use the "Lot: X.XX" value shown on the blue label—this is your
safety-calculated lot size.
4.STEP 4: Exit Strategy (TP/SL)Immediately set your orders based on the lines on the chart:
・🟥 Red Line (SL): Positioned at 3x ATR to withstand noise.
・🟩 Green Line (TP): Optimized for consistent win rates.
5. Customization
・ : Set your Risk(%) per trade (Recommended: 1.0–2.0%). Adjust the SL Buffer (Default 3.0) to balance win rate versus lot size.
・ : Adjust font size (Tiny/Small/Normal) and panel width to fit your screen resolution.
・ : Customize colors and thickness to match your visual preference.
Penunjuk dan strategi
The Strat - Multi-Timeframe Combo Analyzer## 📊 The Strat - Multi-Timeframe Combo Analyzer
This open-source indicator implements **The Strat** methodology, a universal price action framework developed by Rob Smith (@RobInTheBlack).
---
### 🎯 What is The Strat?
The Strat categorizes every candle into one of three scenarios based on its relationship to the previous bar:
| Type | Name | Definition |
|------|------|------------|
| **1** | Inside Bar | High < Previous High AND Low > Previous Low |
| **2** | Directional | Breaks only one side (2↑ = broke high, 2↓ = broke low) |
| **3** | Outside Bar | Breaks BOTH previous high AND low |
By tracking these bar types across timeframes, traders can identify actionable setups with defined entry triggers and target levels.
---
### ✨ Features
**Daily Timeframe Analysis:**
- Real-time 3-bar combo detection (2-1-2, 3-1-2, 1-2-2, etc.)
- Pattern classification: Bullish/Bearish Continuation or Reversal
- Entry and Target levels based on Strat rules
- Pattern status: ACTIONABLE, IN-FORCE, TRIGGERED, or WATCHING
**ATR Context:**
- Range % used (how much of daily ATR has been consumed)
- Entry quality assessment (Excellent → Exhausted)
- Day type classification (Quiet → Trend Day)
- Remaining range estimation
**15-Minute Analysis:**
- Separate combo tracking for intraday precision
- Pattern detection on lower timeframe
**Visuals:**
- Customizable info tables
- Entry/Target horizontal lines
- Signal labels on chart
- Alert conditions
---
### 🔧 How to Use
1. Look for **ACTIONABLE** patterns - these are setups waiting for a trigger
2. Entry triggers when price breaks the designated level
3. Target is the next logical Strat level (typically prior bar's high/low)
4. Use **Range%** to assess if there's room left in the daily range
5. Combine Daily and 15-Min combos for trade confluence
---
### ⚠️ Disclaimer
This indicator is for **educational purposes only**. It does not constitute financial advice or guarantee profitable trades. Trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own research and trade responsibly.
---
### 🙏 Credits
**The Strat** methodology was created by Rob Smith (@RobInTheBlack).
This implementation is open-source. Feel free to study, modify, and improve the code!
VWAP + EMA 20/50 Scalping PRO - PRAKASH✅ VWAP + EMA 20/50 SCALPING — PRO RULES
1️⃣ Chart Setup (30 seconds)
Timeframe: 1-min or 3-min
Indicators:
VWAP (Session)
EMA 20
EMA 50
Use on Index chart (NIFTY / SENSEX), not option chart
2️⃣ Trend Filter (FIRST CHECK)
Condition Market Bias
EMA 20 > EMA 50 Bullish
EMA 20 < EMA 50 Bearish
EMA 20 = EMA 50 (flat) ❌ No trade
👉 Never trade against EMA alignment
3️⃣ VWAP Position = Permission
Price vs VWAP Allowed Trade
Price above VWAP CE only
Price below VWAP PE only
Price cutting VWAP ❌ Skip
👉 VWAP decides BUY or SELL side
4️⃣ ENTRY SETUP (MOST IMPORTANT)
✅ CE ENTRY
EMA 20 > EMA 50
Price above VWAP
Pullback to EMA 20 or VWAP
Strong green candle close
✅ PE ENTRY
EMA 20 < EMA 50
Price below VWAP
Pullback to EMA 20 or VWAP
Strong red candle close
5️⃣ STOP LOSS & TARGET (FIXED)
Target: 10–15 points
SL:
Below EMA 20 (CE)
Above EMA 20 (PE)
Risk : Reward ≥ 1:2
❌ No SL = no trade
6️⃣ STRIKE SELECTION (OPTION SIDE)
Trade ATM or ±1 strike
Premium range: ₹80–₹150
Strike must move immediately
7️⃣ DO NOT TRADE WHEN ❌
EMA 20 & 50 flat
Price inside VWAP
First 5 minutes of market
Low volume candles
ORB Session BreakoutORB Session Breakout
Overview
The ORB Session Breakout indicator automatically identifies Opening Range Breakouts across multiple trading sessions (Asia, London, and New York) and provides visual trade setups with entry, stop loss, and take profit levels.
Opening Range Breakout (ORB) is a classic trading strategy that captures momentum when price breaks out of an initial trading range established at the start of a session. This indicator automates the entire process - from detecting the opening range to plotting trade setups when breakouts occur.
🎯 Key Features
Multi-Session Support
Asia Session - Captures the Asian market open (default: 19:00-19:15 NY time)
London Session - Captures the London market open (default: 03:00-03:15 NY time)
New York Session - Captures the NY market open (default: 09:30-09:45 NY time)
Each session is fully customizable with independent time windows and colors
Enable/disable individual sessions based on your trading preferences
Automatic Trade Visualization
Entry Level - Marked at the breakout candle close
Stop Loss Zone - Configurable as ORB High/Low or Breakout Candle High/Low
Take Profit Zone - Calculated automatically based on your Risk:Reward ratio
Visual zones make it easy to see risk/reward at a glance
Smart Breakout Detection
Detects breakouts on the exact candle that closes beyond the ORB range
Supports direction changes - if price breaks one way then reverses, a new trade is signaled
Configurable max breakouts per session (1-4) to control trade frequency
Tracking hours setting limits how long after the ORB to look for entries
Futures Compatible
Special detection logic for futures markets where session times may fall during market close
Works reliably on instruments with non-standard trading hours
📊 How It Works
Opening Range Formation
At the start of each enabled session, the indicator tracks the high and low of the first candle(s)
This range becomes your ORB box (displayed in the session color)
Breakout Detection
When a candle closes above the ORB High → LONG signal
When a candle closes below the ORB Low → SHORT signal
The breakout candle is highlighted in yellow (customizable)
Trade Setup Visualization
Entry line drawn at the breakout candle's close price
Stop Loss placed at ORB Low (longs) or ORB High (shorts) - or breakout candle extreme
Take Profit calculated as: Entry + (Risk × R:R Ratio) for longs
Direction Changes
If you're in a LONG and price closes below the ORB Low, the indicator signals a SHORT
This counts as your 2nd breakout (configurable up to 4 per session)
💡 Trading Tips
Best Practices
Wait for candle close - The indicator only signals on confirmed closes beyond the ORB, reducing false breakouts
Use with trend - ORB breakouts work best when aligned with the higher timeframe trend
Respect the levels - The ORB High/Low often act as support/resistance throughout the session
Monitor multiple sessions - Sometimes the best setups come from Asia or London, not just NY
Recommended Settings by Style
Conservative: Max Breakouts = 1, R:R = 2.0+, SL Mode = ORB Level
Aggressive: Max Breakouts = 3-4, R:R = 1.5, SL Mode = Breakout Candle
Scalping: Shorter tracking hours (1-2), tighter R:R (1.0-1.5)
What to Avoid
Trading ORB breakouts during major news events (high volatility can cause whipsaws)
Taking every signal without considering market context
Using on timeframes higher than 1 hour (the ORB concept works best intraday)
🔔 Alerts
The indicator includes built-in alerts for:
Entry Signal - When a breakout is detected (LONG or SHORT)
Take Profit Hit - When price reaches the TP level
Stop Loss Hit - When price reaches the SL level
To set up alerts: Right-click on the chart → Add Alert → Select "ORB Session Breakout"
📝 Notes
This indicator is designed for intraday trading on timeframes up to 1 hour
Session times are based on the selected timezone (default: America/New_York)
The indicator works on all markets including Forex, Futures, Stocks, and Crypto
For futures with non-standard hours, the indicator includes special detection logic
4 EMA Perfect Order (10/20/40/80)Display four EMA indicators. You can set an alarm when a perfect order is achieved.
Peter's Helpful LabelI was having trouble quickly understanding what sector and industry a given stock was in, so I had ChatGPT whip up a helpful script that displays it clearly. Hope it's helpful to others!
5 Supertrend Breakout BUY SELL (CLEAN)The script internally analyzes multiple price references and volatility behavior to determine when the market shows strong directional intent. Signals are plotted only after confirmation, helping reduce noise and false triggers commonly seen in choppy or sideways markets.
This indicator is intentionally kept minimal and distraction-free, displaying only BUY and SELL labels on the chart, making it suitable
SMA BUY/SELL SignalsStrategy using SMA to identify BUY/SELL Signals which is the most Powerful, accurate , and highly profitable trading strategy.
STOP_TRADING_MODE📘 Release Notes
STOP_TRADING_MODE — Stable Release
Version: 1.0.0
Status: Stable / Production-ready
⸻
🎯 Purpose
This indicator is designed to identify market regimes, not to generate constant trade signals.
Its primary goal is to protect the trader from low-quality environments and highlight rare, high-quality interaction points with equilibrium.
⸻
🧠 Core Concepts
• STOP Mode — identifies impulsive, dangerous, or one-sided market conditions
• Equilibrium (MID / EQ) — represents the auction balance, not a trend level
• MAGNET vs SPRING — distinguishes range behavior from trend behavior
• EQ_HOLD — highlights valid reactions at equilibrium only in a range-friendly environment
⸻
✅ What’s Included
🔴 STOP Mode (Background Only)
• Red background marks:
• volatility spikes (ATR expansion)
• impulsive candles
• one-directional movement
• No entry signals
• Used strictly as a risk-environment filter
🟨 MID (Equilibrium Line)
• Calculated as SMA of HL2
• Acts as:
• Magnet in ranging markets
• Spring in trending markets
• Not a trade trigger by itself
🔁 MAGNET / SPRING Regime Detection
• Based on:
• frequency of MID crossings
• time spent near equilibrium
• market “trendiness” ratio
• Regime labels appear only when the regime changes
• Prevents constant label repainting or noise
🟢 EQ_HOLD Signal (Rare by Design)
• Triggered only when:
• STOP mode is OFF
• MID behaves as MAGNET
• price reacts cleanly at equilibrium
• Designed for micro-scaling / position management, not aggressive entries
• Low frequency = high informational value
⸻
🚫 What Was Removed (By Design)
• No STOP / STOP_OFF labels on chart (alerts only)
• No constant signal spam
• No reliance on trend prediction
• No “buy/sell” prompts
⸻
🎛 UI & Usability Improvements
• Clean, minimal visual layout
• Color logic aligned with meaning:
• 🔴 Risk / danger
• 🟨 Balance / structure
• 🟢 Action-permitted condition
• Optional toggles for regime and EQ_HOLD labels
⸻
🧪 Known Behavior (Not Bugs)
• MID crossing does not immediately change regime
• STOP may activate after entry — this signals risk management mode, not exit
• EQ_HOLD appears infrequently by intention
⸻
🧩 Intended Usage
• Best suited for:
• range-aware traders
• scale-in / scale-out strategies
• discretionary decision support
• Not intended for:
• high-frequency trading
• signal-following automation
• prediction-based entries
⸻
🧠 Design Philosophy
“Silence is a feature.”
If the indicator does nothing —
the market likely offers nothing worth doing.
Overnight QQQ/ NQ Auto LevelsUsing QQQ Overnight pricing to have correct levels on the NQ Future Chart.
Smart Divergence Scanner═══════════════════════════════════════════════════════════════════════════════
DivScan Pro - User Guide
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
────────────────────────────────────────────────────────────────────────────────
DivScan Pro is a multi-indicator divergence scanner that detects potential
reversal points by analyzing 10+ technical indicators simultaneously.
Optimized for 5m and 15m timeframes.
SIGNAL ICONS
────────────────────────────────────────────────────────────────────────────────
▲ Green Triangle (Below Bar) = BUY Signal
Strong bullish divergence confirmed by volume + RSI oversold
▼ Red Triangle (Above Bar) = SELL Signal
Strong bearish divergence confirmed by volume + RSI overbought
▲ Faded Green Triangle = Weak BUY
Bullish divergence detected but filters not fully met
▼ Faded Red Triangle = Weak SELL
Bearish divergence detected but filters not fully met
H Red "H" Label = Pivot High Point
L Green "L" Label = Pivot Low Point
DIVERGENCE LABELS
────────────────────────────────────────────────────────────────────────────────
┌─────────┐
│ MC │ Aqua Box (Bottom) = Bullish Divergence
│ RS │ Shows which indicators detected divergence
│ 3 │ Number = total indicator count
└─────────┘
┌─────────┐
│ MC │ Purple Box (Top) = Bearish Divergence
│ VW │ Shows which indicators detected divergence
│ MF │ Number = total indicator count
│ 3 │
└─────────┘
INDICATOR ABBREVIATIONS
────────────────────────────────────────────────────────────────────────────────
MC = MACD Line
MH = MACD Histogram
RS = RSI (Relative Strength Index)
ST = Stochastic
CC = CCI (Commodity Channel Index)
MO = Momentum
OB = OBV (On Balance Volume)
VW = VWMACD (Volume Weighted MACD)
CF = CMF (Chaikin Money Flow)
MF = MFI (Money Flow Index)
EX = External Indicator
DIVERGENCE LINES
────────────────────────────────────────────────────────────────────────────────
─────── Solid Aqua Line = Bullish Regular Divergence
Price: Lower Low | Indicator: Higher Low
Suggests: Potential upward reversal
─────── Solid Purple Line = Bearish Regular Divergence
Price: Higher High | Indicator: Lower High
Suggests: Potential downward reversal
- - - - Dashed Lime Line = Bullish Hidden Divergence
Price: Higher Low | Indicator: Lower Low
Suggests: Trend continuation (uptrend)
- - - - Dashed Red Line = Bearish Hidden Divergence
Price: Lower High | Indicator: Higher High
Suggests: Trend continuation (downtrend)
HOW TO USE
────────────────────────────────────────────────────────────────────────────────
1. WAIT FOR STRONG SIGNALS
Look for solid ▲ or ▼ triangles (not faded)
These have volume + RSI confirmation
2. CHECK CONFLUENCE
More indicators = stronger signal
Label shows "3" or higher = high confidence
3. CONFIRM WITH PRICE ACTION
Wait for candle confirmation after signal
Look for support/resistance levels
4. RECOMMENDED SETTINGS FOR SCALPING (5m/15m)
• Pivot Period: 3
• Min Confirmations: 2
• Max Lookback: 50
• Wait Confirmation: ON
SETTINGS QUICK REFERENCE
────────────────────────────────────────────────────────────────────────────────
MAIN
Pivot Period How many bars to identify pivot (lower = more signals)
Pivot Source Close or High/Low for pivot detection
Divergence Type Regular, Hidden, or Both
Max Pivots Maximum pivot points to scan
Max Lookback Maximum bars to look back
Min Confirmations Minimum indicators required (higher = fewer but stronger)
Wait Confirmation Wait for bar close before signal
DISPLAY
Labels Full (MC), Abbrev (M), or None
Show Count Display number of confirming indicators
Show Lines Draw divergence lines on chart
Show Pivots Mark H/L pivot points
Last Only Show only most recent divergence
Show MA 50/200 Display moving averages
INDICATORS
Toggle each indicator ON/OFF for divergence scanning
ALERTS
────────────────────────────────────────────────────────────────────────────────
Available alerts in TradingView:
• Bullish Regular Divergence
• Bearish Regular Divergence
• Bullish Hidden Divergence
• Bearish Hidden Divergence
• Any Bullish Divergence
• Any Bearish Divergence
TIPS
────────────────────────────────────────────────────────────────────────────────
✓ Higher "Min Confirmations" = fewer signals but higher accuracy
✓ Use with support/resistance levels for best entries
✓ Strong signals (solid triangles) have better win rate
✓ Multiple indicator confluence (3+) = highest probability trades
✓ Always use stop loss - divergence can fail
═══════════════════════════════════════════════════════════════════════════════
DivScan Pro v1.0
═══════════════════════════════════════════════════════════════════════════════
Pre-Market PillarsIndicators that displays where to enter and exit on pre market and low cap stocks.
Inspired by Ross Cameron strategy.
Daily Trend ScannerThis indicator tracks the input tickers (up to 20) and looks at the Previous Day High/Low and Premarket High/Low of the ticker.
If the price is above PDH and PMH the ticker will be displayed as bullish. If the price is below PDL and PML the ticker will be displayed as bearish.
You can track up to 20 tickers and select how many you want to display in the settings.
Adjust Premarket session time
Adjust Table size, position and font size
This indicator is useful for visually tracking what tickers may be trending for the day and which direction the trend is going.
VIX Expiration + Month Turn MarkersThis script mark the VIX option expiration dates and the turn on=f the month dates from 2021 to 2026
There can be increased volatility in the market at these dates or +- 3 days from those dates.
H1 Liquidity Sweep Tracker🇬🇧 English: H1 Liquidity Sweep Tracker
Overview
The H1 Liquidity Sweep Tracker is a technical analysis tool designed for TradingView (Pine Script v5). It identifies "Liquidity Sweeps"—market movements where the price briefly breaches a significant level to trigger stop-loss orders before reversing.
Core Functions
H1 Level Detection: Regardless of your current timeframe (e.g., 1m, 5m, or 15m), the script automatically fetches the High and Low of the previous 1-hour candle.
Real-Time Monitoring: It tracks price action relative to these levels to identify failed breakouts.
Visual Indicators:
Horizontal Lines: Displays the H1 High (Red) and H1 Low (Green) from the previous hour.
Sweep Shapes: A triangle appears above/below the candle when a sweep is detected.
How it Works (The Logic)
A "Sweep" is triggered when the current price moves beyond the H1 boundary but fails to maintain that position:
Bullish Sweep: The price drops below the previous H1 Low (collecting sell-side liquidity) but closes back above it. This suggests a potential upward reversal.
Bearish Sweep: The price rises above the previous H1 High (collecting buy-side liquidity) but closes back below it. This suggests a potential downward reversal.
SKYLERBOTyeah so basically the bot uses price action divergences with cvd delta volume to find areas of selling or buying dont use it as a main use it as double confirmation with regular cvd divergence analysis
4 TEMA OverlayThis indicator plots four customizable Triple Exponential Moving Averages (TEMA) — 20, 40, 80, and 100 — directly on the price chart for trend and structure analysis across any timeframe.
Ultimate Major Contextual Dashboard (Multi-Asset)Overview : The Ultimate Major Dashboard is a performance-optimized market overview tool designed to provide a consolidated snapshot of the 7 major Forex pairs and Gold. It aggregates correlation, trend, momentum, and volatility data into a single, clean table, allowing users to view broader market context without switching charts.
Technical Logic & Components : This indicator utilizes a modular function to analyze EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD, and XAUUSD across four key dimensions:
Intermarket Correlation (Pearson Coefficient): Uses ta.correlation() to compare each asset against the symbol currently on your main chart.
Logic: Values above 0.7 (Dark Green) suggest a strong positive relationship, while values below -0.7 (Dark Red) suggest inverse behavior. This is calculated over a rolling 50-period window to balance stability with current market sensitivity.
Trend Bias (EMA-200): Evaluates the long-term trend by checking price position relative to the 200-period Exponential Moving Average.
Visuals: An upward arrow (⬆) indicates price is above the EMA; a downward arrow (⬇) indicates it is below.
Momentum (RSI-14): Calculates the Relative Strength Index. The dashboard automatically highlights readings above 70 (OB) or below 30 (OS) to help identify potential momentum extremes.
Volatility (ATR-14): Displays the Average True Range as a reference for the current active range of each market, helping users compare volatility levels across the majors.
How to Interpret the Dashboard
Asset Alignment: Correlation values help identify when pairs are moving in "unison" versus when a specific currency is diverging from the group.
Directional Context: Combining the Trend (EMA) and Momentum (RSI) columns provides a quick view of whether a market is trending strongly or reaching an exhaustion point.
Volatility Benchmarking: The ATR values offer perspective on which pairs are currently the most active, assisting in market comparison based on volatility preference.
Data Handling & Customization
Multi-Symbol Sync: Data is fetched using request.security(). The calculations are synchronized with the chart's current bar state for real-time accuracy.
Dynamic TF: Users can select the analysis timeframe (60, 240, D, W) via the settings menu.
Flexibility: The dashboard position can be toggled between all four corners of the chart to avoid overlapping with price action.
Disclaimer
This tool is provided for analytical and educational purposes only. It does not generate trading signals and should not be considered financial advice.
Support Resistance-Session Box Breakout Support Resistance-Session Box Breakout สามารถใช้แนวรับแนวต้านจากSupport Resistance-Session Box หาจุกลับตัวหรือหาจุดเข้าเทรดได้
RSI Fibonacci Flow [JOAT]RSI Fibonacci Flow - Advanced Fibonacci Retracement with RSI Confluence
Introduction
RSI Fibonacci Flow is an open-source overlay indicator that combines automatic Fibonacci retracement levels with RSI momentum analysis to identify high-probability trading zones. The indicator automatically detects swing highs and lows, draws Fibonacci levels, and generates confluence signals when RSI conditions align with key Fibonacci zones.
This indicator is designed for traders who use Fibonacci retracements but want additional confirmation from momentum analysis before entering trades.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and Fibonacci tools. It is an original implementation that creates a synergistic relationship between two complementary analysis methods:
Why Combine RSI with Fibonacci? Fibonacci retracements identify WHERE price might reverse, but they don't tell you WHEN. RSI provides the timing component by showing momentum exhaustion. When price reaches the Golden Zone (50%-61.8%) AND RSI shows oversold conditions, the probability of a successful bounce increases significantly.
Original Confluence Scoring System: The indicator calculates a 0-5 confluence score that weights multiple factors: Golden Zone presence (+2), entry zone presence (+1), RSI extreme alignment (+1), RSI divergence (+1), and strong RSI momentum (+1). This scoring system is original to this indicator.
Automatic Pivot Detection: Unlike manual Fibonacci tools, this indicator automatically detects swing highs and lows using a configurable pivot algorithm, then draws Fibonacci levels accordingly. The pivot detection uses a center-bar comparison method that checks if a bar's high/low is the highest/lowest within the specified depth on both sides.
Dynamic Trend Awareness: The indicator determines trend direction based on pivot sequence (last pivot was high or low) and adjusts Fibonacci orientation accordingly. In uptrends, 0% is at swing low; in downtrends, 0% is at swing high.
Each component serves a specific purpose:
Fibonacci levels identify potential reversal zones based on natural price ratios
RSI provides momentum context to filter out low-probability setups
Confluence scoring quantifies setup quality for position sizing decisions
Automatic pivot detection removes subjectivity from level placement
Core Concept: RSI-Fibonacci Confluence
The most powerful trading setups occur when multiple factors align. RSI Fibonacci Flow identifies these moments by:
Automatically detecting price pivots and drawing Fibonacci levels
Tracking which Fibonacci zone the current price occupies
Monitoring RSI for overbought/oversold conditions
Generating signals when RSI extremes coincide with key Fibonacci levels
Scoring confluence strength on a 0-5 scale
When price reaches the Golden Zone (50%-61.8%) while RSI shows oversold conditions in an uptrend, the probability of a bounce increases significantly.
Fibonacci Levels Explained
The indicator draws nine Fibonacci levels based on the most recent swing:
0% (Swing Low/High): The starting point of the move
23.6%: Shallow retracement - often seen in strong trends
38.2%: First significant support/resistance level
50%: Psychological midpoint of the move
61.8% (Golden Ratio): The most important Fibonacci level
78.6%: Deep retracement - last defense before trend failure
100% (Swing High/Low): The end point of the move
127.2% (TP1): First extension target for take profit
161.8% (TP2): Second extension target for take profit
The Golden Zone
The area between 50% and 61.8% is highlighted as the "Golden Zone" because:
It represents the optimal retracement depth for trend continuation
Institutional traders often place orders in this zone
It offers favorable risk-to-reward ratios
Price frequently bounces from this area in healthy trends
When price enters the Golden Zone, the indicator highlights it with a semi-transparent box and optional background coloring.
Pivot Detection System
The indicator uses a configurable pivot detection algorithm:
pivotDetect(float src, int len, bool isHigh) =>
int halfLen = len / 2
float centerVal = nz(src , src)
bool isPivot = true
for i = 0 to len - 1
if isHigh
if nz(src , src) > centerVal
isPivot := false
break
else
if nz(src , src) < centerVal
isPivot := false
break
isPivot ? centerVal : float(na)
This identifies swing highs and lows by checking if a bar's high/low is the highest/lowest within the specified depth on both sides.
Visual Components
1. Fibonacci Lines
Horizontal lines at each Fibonacci level:
Solid lines for major levels (0%, 50%, 61.8%, 100%)
Dashed lines for secondary levels (23.6%, 38.2%, 78.6%)
Dotted lines for extension levels (127.2%, 161.8%)
Color-coded for easy identification
Configurable line width
2. Fibonacci Labels
Price labels at each level showing:
Fibonacci percentage
Actual price at that level
Golden Zone label highlighted
TP1 and TP2 labels for targets
3. Golden Zone Box
A semi-transparent box highlighting the 50%-61.8% zone:
Gold colored border and fill
Extends from swing start to current bar (or beyond if extended)
Provides clear visual of the optimal entry zone
4. ZigZag Lines
Connecting lines between detected pivots:
Cyan for moves from low to high
Orange for moves from high to low
Helps visualize market structure
Configurable line width
5. Pivot Markers
Small labels at detected swing points:
"HH" (Higher High) at swing highs
"LL" (Lower Low) at swing lows
Helps track market structure
6. Entry Signals
BUY and SELL labels when confluence conditions are met:
BUY: RSI oversold + price in entry zone + uptrend + positive momentum
SELL: RSI overbought + price in entry zone + downtrend + negative momentum
Labels include "RSI+FIB" to indicate confluence
Confluence Scoring System
The indicator calculates a confluence score from 0 to 5:
+2 points: Price is in the Golden Zone (50%-61.8%)
+1 point: Price is in the entry zone (38.2%-61.8%)
+1 point: RSI is oversold in uptrend OR overbought in downtrend
+1 point: RSI divergence detected (bullish or bearish)
+1 point: Strong RSI momentum (change > 2 points)
Confluence ratings:
STRONG (4-5): Multiple factors align - high probability setup
MODERATE (2-3): Some factors align - proceed with caution
WEAK (0-1): Few factors align - wait for better setup
Dashboard Panel
The 10-row dashboard provides comprehensive analysis:
RSI Value: Current RSI reading (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
Fib Trend: UPTREND or DOWNTREND based on last pivot sequence
Price Zone: Current Fibonacci zone (e.g., "GOLDEN ZONE", "38.2% - 50%")
Price: Current close price (large text)
Confluence: Score rating with numeric value (e.g., "STRONG (4/5)")
Nearest Fib: Closest key Fibonacci level with price
TP1 (127.2%): First take profit target price
TP2 (161.8%): Second take profit target price
Input Parameters
Pivot Detection:
Pivot Depth: Bars to look back for swing detection (default: 10)
Min Deviation %: Minimum price move to confirm pivot (default: 1.0)
RSI Settings:
RSI Length: Period for RSI calculation (default: 14)
Source: Price source (default: close)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Fibonacci Display:
Show Fib Lines: Toggle Fibonacci lines (default: enabled)
Show Fib Labels: Toggle price labels (default: enabled)
Show Golden Zone Box: Toggle zone highlight (default: enabled)
Line Width: Thickness of Fibonacci lines (default: 2)
Extend Fib Lines: Extend lines into future (default: enabled)
ZigZag:
Show ZigZag: Toggle connecting lines (default: enabled)
ZigZag Width: Line thickness (default: 2)
Signals:
Show Entry Signals: Toggle BUY/SELL labels (default: enabled)
Show TP Levels: Toggle take profit in dashboard (default: enabled)
Show RSI-Fib Confluence: Toggle confluence analysis (default: enabled)
Dashboard:
Show Dashboard: Toggle information panel (default: enabled)
Position: Choose corner placement
Colors:
Bullish: Color for bullish elements (default: cyan)
Bearish: Color for bearish elements (default: orange)
Neutral: Color for neutral elements (default: gray)
Golden Zone: Color for Golden Zone highlight (default: gold)
How to Use RSI Fibonacci Flow
Identifying Entry Zones:
Wait for price to retrace to the 38.2%-61.8% zone
Check if RSI is approaching oversold (for longs) or overbought (for shorts)
Look for STRONG confluence rating in the dashboard
Enter when BUY or SELL signal appears
Setting Take Profit Targets:
TP1 at 127.2% extension for conservative target
TP2 at 161.8% extension for aggressive target
Consider scaling out at each level
Using the Price Zone:
"BELOW 23.6%" - Price hasn't retraced much; wait for deeper pullback
"23.6% - 38.2%" - Shallow retracement; strong trend continuation possible
"38.2% - 50%" - Good entry zone for trend trades
"GOLDEN ZONE" - Optimal entry zone; highest probability
"61.8% - 78.6%" - Deep retracement; trend may be weakening
"78.6% - 100%" - Very deep; trend reversal possible
"ABOVE/BELOW 100%" - Trend has likely reversed
Confluence Trading Strategy:
Only take trades with confluence score of 3 or higher
STRONG confluence (4-5) warrants larger position size
MODERATE confluence (2-3) warrants smaller position size
WEAK confluence (0-1) - wait for better setup
Alert Conditions
Ten alert conditions are available:
RSI-Fib BUY Signal: Strong bullish confluence detected
RSI-Fib SELL Signal: Strong bearish confluence detected
Price in Golden Zone: Price enters 50%-61.8% zone
New Pivot High: Swing high detected
New Pivot Low: Swing low detected
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
Bullish Divergence: Potential bullish RSI divergence
Bearish Divergence: Potential bearish RSI divergence
Strong Confluence: Confluence score reaches 4 or higher
Understanding Trend Direction
The indicator determines trend based on pivot sequence:
UPTREND: Last pivot was a low after a high (expecting move up)
DOWNTREND: Last pivot was a high after a low (expecting move down)
Fibonacci levels are drawn accordingly:
In uptrend: 0% at swing low, 100% at swing high
In downtrend: 0% at swing high, 100% at swing low
Bar Coloring
When confluence features are enabled:
Cyan bars on strong bullish signals
Orange bars on strong bearish signals
Gold-tinted bars when price is in Golden Zone
Best Practices
Use on 1H timeframe or higher for more reliable pivots
Adjust Pivot Depth based on timeframe (higher for longer timeframes)
Wait for price to enter Golden Zone before considering entries
Confirm RSI is in favorable territory before trading
Use extension levels (127.2%, 161.8%) for realistic profit targets
Combine with support/resistance and candlestick patterns
Higher confluence scores indicate higher probability setups
Limitations
Pivot detection has inherent lag (must wait for confirmation)
Fibonacci levels are subjective - different swings produce different levels
Works best in trending markets with clear swings
RSI can remain overbought/oversold in strong trends
Not all Golden Zone entries will be successful
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Fibonacci levels are not guaranteed support/resistance - they are probability zones based on historical price behavior. Always conduct your own analysis and use proper risk management.
- Made with passion by officialjackofalltrades :D
Shares to Stop Loss📊 Shares to Stop Loss Calculator
This indicator automatically calculates the optimal number of shares to trade based on your predefined risk amount and dynamic stop loss levels.
🎯 Key Features:
Automatic Position Sizing: Calculates exact number of shares for both LONG and SHORT positions based on your risk tolerance
Dynamic Stop Loss Levels: Uses relative highs and lows from a customizable lookback period
Visual Reference Lines: Displays horizontal lines showing your stop loss levels on the chart
Real-time Updates: Position size adjusts automatically with price movement
Clean Interface: Compact table showing all relevant information without cluttering your chart
⚙️ How It Works:
For SHORT positions:
Stop loss is placed at the relative high (highest price in the lookback period)
Calculates shares needed to risk your specified dollar amount
For LONG positions:
Stop loss is placed at the relative low (lowest price in the lookback period)
Calculates shares needed to risk your specified dollar amount
📝 Inputs:
Amount for stop loss ($): Your maximum risk per trade in dollars (default: $100)
Look back candles for rel. HIGH: Period to calculate the relative high for SHORT stops (default: 20)
Look back candles for rel. LOW: Period to calculate the relative low for LONG stops (default: 20)
Line colors: Customize the appearance of reference lines
💡 Use Case:
Perfect for traders who practice proper risk management and want to maintain consistent dollar risk across different price levels and volatility conditions. Simply set your risk amount once, and the indicator does the math for you on every candle.
⚠️ Note: This indicator calculates position sizes based on technical levels. Always consider liquidity, account size, and broker requirements before entering positions.






















