Martingale Grid BotMartingale Grid Bot (MGB)
The strategy is designed to test grid trading with a possible increase in the size of each subsequent order based on the martingale principle. The strategy itself does not contain any trade decision logic and is fully driven by external signals coming from indicators used on the chart. A new grid of orders is created when an entry signal is received, provided that there is no active grid.
❗ Warning
Trading with leverage and martingale involves increased risk. This strategy is a rather rough tool and is intended for testing purposes only. The author is not responsible for any possible discrepancies between the strategy results and real trading.
Settings
Direction - Trading direction. Possible values: Long and Short.
Entry Signal Source - Source of the entry signal that initiates the creation of a new order grid. If one of the price sources (open, high, low, close, etc.) is selected, a new grid will be created automatically after the previous grid is fully closed.
Start Time - Date and time when the strategy starts operating. Marked on the chart with a vertical dashed line.
No Repainting Mode - A mode intended to reduce discrepancies between historical and real-time strategy behavior (repainting).
Enabled — a new grid is created only after the bar is closed. The first order can be filled no earlier than on the next bar.
Disabled — in real-time, a new grid can be created immediately upon receiving a signal or after the previous grid is closed by take profit or stop loss.
❗ Attention
For correct real-time operation, recalculation on every tick must be enabled in the strategy settings.
GRID
Grid Depth % - The depth of the order grid, specified as a percentage of the closing price at the moment the grid is created.
Orders Count - The number of orders in the grid. The first order is placed at the current closing price at the time of grid creation.
Martingale Multiplier - Position size multiplier. Each subsequent order in the grid will be increased by this factor. The size of the first order is defined in the strategy settings.
Leverage - Leverage multiplier for margin trading. Used to check available funds when creating grid orders. It is recommended to use it together with the margin parameters in the strategy settings.
Take Profit % - Calculated on each strategy update based on the average entry price. If none of the grid orders have been filled yet, the take-profit level for the first order is displayed on the chart.
Stop Loss % - Calculated from the price of the first grid order and does not change during the strategy operation. Orders whose price exceeds the stop-loss level will be automatically canceled.
TABLE
Show Table - Controls the display of the table with all orders of the current grid. If there is no active grid, no order data is displayed. Text and background colors are determined automatically based on the chart background color.
Order Size - Determines how the grid order size is displayed: in contracts or in currency.
Table Size - Font size in the table.
Timezone - Used to correctly display the order fill time relative to the chart time. The order fill time (status: filled) can be seen by hovering over the corresponding status cell in the table.
VISUAL
Long Entry - Color of the dotted lines representing grid orders when trading long. Also defines the color of the vertical line indicating the strategy start time.
Short Entry - Color of the dotted lines representing grid orders when trading short. Also defines the color of the vertical line indicating the strategy start time.
Take Profit - Color of the solid line representing the take-profit level.
Stop Loss - Color of the solid line representing the stop-loss level.
Chỉ báo và chiến lược
Bullish Candles All in One ++ SG (Premium)🚀 Bullish Candles (SG) – Advanced Bullish Candlestick Pattern Indicator
Bullish Candles (SG) is a clean, non-repainting Pine Script indicator designed for traders who rely on pure price action and candlestick patterns.
Instead of cluttering your chart with dozens of indicators, this script highlights high-probability bullish reversal and continuation patterns directly on the price chart, right next to the candle where they occur.
🔍 In-Built Bullish Candlestick Patterns (Full List)
This indicator automatically detects the following classic bullish candlestick patterns:
Bullish Engulfing Pattern
Hammer Candlestick
Morning Star Pattern
Inverted Hammer
Piercing Line Pattern
Three White Soldiers
Tweezer Bottom
Bullish Harami
Bullish Doji
Each pattern can be individually enabled or disabled from the settings.
👉 By default, only the most reliable patterns are active:
Bullish Engulfing
Hammer
Morning Star
This keeps the chart clean and actionable.
⚙️ Key Features
✅ Non-repainting logic
✅ Labels plotted close to the actual candle
✅ Optional EMA trend filter to avoid counter-trend signals
✅ Works on all timeframes
✅ Suitable for stocks, indices, crypto & forex
✅ Lightweight & fast (no lag)
🎯 Best For
Price action traders
Intraday traders
Swing traders
Traders who use support & resistance + candlesticks
Traders who want clarity over complexity
This indicator does not give buy/sell calls.
It helps you read market intent and make better trading decisions.
👨💻 Custom Pine Script Development
I also design and build custom TradingView Pine Script indicators & strategies, including:
Candlestick pattern scanners
Strategy backtesting systems
Custom alerts & dashboards
Price-action based indicators
Performance-optimized, clean code
📩 Want a custom indicator or strategy?
You can hire me for Pine Script development.
🧪 Feedback & Improvements
This script is actively maintained.
If you:
notice any bug or error
want a new pattern or filter
need customisation
👉 Comment or message me — I’ll look into it.
❤️ Support My Work
If this indicator adds value to your trading:
⭐ Like the script
➕ Follow me for more price-action tools
💬 Share feedback (it helps improve future releases)
Trade smart. Keep charts clean.
— SG
Ross GPT - Momentum Scalp 1mThis strategy is a long-only momentum scalping system designed for the 1-minute timeframe, combining VWAP, EMA trend alignment, MACD momentum, volume confirmation, and session filtering to identify high-probability intraday entries for pre-market session and U.S small cap stocks with high % change compared to previous day. Apply only for stock price between $2-$20.
⸻
1️⃣ Date Range Filter
The strategy trades only within a user-defined date range.
• Default range: Feb 1, 2026 – Dec 31, 2069
• Trades are ignored outside this period
• Useful for controlled backtesting and forward testing
⸻
2️⃣ Indicators Used
VWAP
• Used as a trend and mean-reversion filter
• Only long trades are allowed when price is above VWAP
MACD (12, 26, 9)
• Momentum confirmation
• Entry requires MACD line > Signal line
• Exit is triggered if MACD crosses below Signal
Exponential Moving Averages
• EMA 9
• EMA 20
• EMA 50
• EMA 200 (visual reference)
Trend Bias Requirement
• Bullish alignment:
• EMA 9 > EMA 20 > EMA 50
Volume Strength (Price Action Proxy)
• Counts bullish candles over the last 5 bars
• Entry requires at least 3 green candles
• Used as a confirmation of buying pressure
⸻
3️⃣ Session Filter
Trades are allowed only during a specific intraday session:
• 06:59 – 09:00 (exchange time)
• Designed to focus on high-liquidity morning momentum
⸻
4️⃣ Entry Conditions (Long Only)
A buy signal is generated when all of the following are true:
• Price is above VWAP
• MACD line is above Signal line
• EMA alignment confirms bullish trend
• Bullish candle count condition is met
• Current bar is within the allowed session
• Current bar is within the selected date range
• No existing open position
Only one position at a time is allowed.
⸻
5️⃣ Trade Execution
• Market entry when all conditions align
• Fixed position sizing (default: 500 units)
• Commission and slippage are included for realism
⸻
6️⃣ Exit Logic
Primary Exit (Bracket Order)
• Take Profit: +0.25
• Stop Loss: -0.10
• Managed using strategy.exit for intra-bar accuracy
Indicator-Based Exit
• If MACD crosses below the Signal line, the position is closed immediately at market
This dual exit system allows both quick scalps and early momentum failure exits.
⸻
7️⃣ Visual Aids
The strategy plots all key indicators used in decision-making:
• EMA 9, 20, 50, 200
• VWAP
This allows easy visual verification of entries and exits directly on the chart.
⸻
⚠️ Notes
• Designed for scalping and short-duration trades
• Best suited for high-liquidity instruments
• Results may vary depending on symbol, spread, and market conditions
• This script is for educational and research purposes only
ZERO LEVEL ENTRY BY SIDDAM RAJUOverview The Intraday Low Tracker is a specialized price-action strategy designed to catch potential reversals or pullbacks from new intraday lows. Unlike standard indicators that repaint or give premature signals, this tool uses a strict "Wait & Break" logic. It identifies a new low, waits for a confirmation candle, and only triggers an entry if the market proves strength by breaking above that confirmation level.
How It Works (The Logic)
Identifies the Low: The indicator continuously tracks the market to find the lowest low of the current day.
The "After Candle" Setup: Once a new low is established, the indicator waits for the immediate next candle (the "After Candle") to close.
The Setup Zone:
Green Line (Entry): Drawn at the High of the "After Candle."
Red Line (Stop Loss): Drawn at the Day Low.
The Trigger (Strict Entry):
A signal is NOT counted just because lines are drawn.
The system enters "WAITING FOR BREAKOUT" mode.
An entry is valid ONLY if price actively breaks ABOVE the Green Entry Line.
Trade Management: Once triggered, the trade remains active until it hits the user-defined Target (Blue Line) or the Stop Loss (Red Line).
Key Features
Strict Breakout Logic: Prevents false entries by requiring price to actually move above the setup candle.
Live Dashboard: A clean table on the chart displays:
Status: "Scanning", "Waiting for Breakout", or "Trade Active".
Levels: Exact prices for Entry, Target, and Stop Loss.
Statistics: Tracks "Total Entries", "Targets Hit", and "SL Hit" for the current session.
Visual Clarity:
Green Entry Label: Appears ABOVE the confirmation candle.
Red SL Label: Appears BELOW the confirmation candle.
Dynamic Lines: Lines automatically update or vanish if a setup is invalidated (e.g., if a new lower low is made before entry).
Settings
Target Profit %: Set your desired percentage gain (default is 10%).
Visual Customization: Change line colors, styles, and widths to fit your chart theme.
Table Size: Adjust the dashboard size (Tiny, Small, Normal, Large).
How to Use
Apply the indicator to your intraday timeframe (e.g., 1-minute, 5-minute).
Wait for the Green/Red lines and the "ENTRY" label to appear.
Do not enter immediately. Watch the status table.
Enter the trade only when price crosses the Green Line.
Exit at the Blue Target Line or if price falls back to the Red SL Line.
Disclaimer This tool is for educational and informational purposes only. Past performance does not guarantee future results. Always manage your risk properly.
YesterWAPThe VWAP describes intra-day price action in "value-space" (quantity * price). By weighting prices based on the volume transacted, the VWAP attempts to reflect the "fair-market" value of an asset.
The VWAP is reset periodically, often at daily open, creating a "gap."
The YesterWAP tracks the gap for you.
Every time the VWAP is about to reset to LastPrice, the YesterWAP resets to it, first.
When yesterday's players clock back in today, they'll try to sort their (losing) positions out, at yesterday's VWAP, the YesterWAP.
Defyler ORB30m Opening Range Breakout, will prompt orders and exits. You can adjust your tolerances by setting the box multiplier. Smaller number = tighter TP/SL, larger number will give wider stops. I suggest using 1.65 on trend days, 1.35-1.4 on regular days.
Friendly Stretch Band Regime + Filters (Close Confirm + Hold)What it is
A calm, regime-based stretch band that highlights only three states: BUY zone, SELL zone, and Neutral. Designed to reduce noise and visual overload by avoiding markers, labels, and background tint.
How it works
Bands are built from an EMA basis ± ATR.
BUY Zone: price below lower band (lower band turns green)
SELL Zone: price above upper band (upper band turns red)
Neutral: price inside bands (bands grey)
Stability Options
Confirm on Close: requires CLOSE beyond the band (reduces wick spikes)
Hold Bars: holds zone state for N bars after the trigger ends (reduces flicker)
Optional Filters (applied only if enabled)
Trend filter (basis slope or slow EMA)
ATR expansion gate
Minimum exceed beyond band (ATR units)
Suggested Use
Best used as a clean “location/context” tool on swing timeframes (e.g., 4H). It can be paired with a separate momentum/confirmation tool.
Repainting & Disclaimer
Uses only current and historical bar data (no security() calls). Values may update on the realtime bar before close. Educational use only; not financial advice.
ATR Impulse Reversal Traffic-Light + RSI Overlay (Normalised)ATR Impulse Reversal Traffic-Light + RSI Overlay (Normalised)
Short Title
Impulse TL + RSI (Norm)
Description (use this exactly)
What this indicator does
This indicator is a calm, context-gated reversal oscillator designed to reduce noise and cognitive overload.
It highlights potential reversal conditions only when price is stretched and momentum shows signs of turning.
The goal is not frequent signals, but clear decision states.
How it works (logic overview)
Stretch Band Gate (Location)
Price must be stretched below a lower ATR band (EMA ± ATR). If price is not stretched, the indicator remains neutral.
Oversold Context
ATR-normalised momentum must have reached an oversold condition within a recent lookback window.
Reversal Timing (Momentum)
Momentum is analysed for early turning behaviour and confirmed reversals.
Traffic-Light Colours
Grey → Ignore (no stretch and/or no oversold context)
Red → Stretched + oversold, momentum still falling
Orange → Momentum turning up (early warning)
Green → Reversal confirmed (signal-line cross or zero cross)
An optional GREEN Hold is included to reduce flicker and visual noise.
RSI Overlay
RSI is plotted normalised to the oscillator scale, allowing it to sit directly on top of the impulse bars for visual confluence.
RSI is not used in the traffic-light logic and is purely informational.
Suggested Use
Best suited for 4H swing trading
Use GREEN states when price remains stretched below the band
Can be paired with a higher-timeframe trend filter if desired (not included)
Repainting & Disclaimer
This script uses only current and historical bar data and does not use security().
Values may update on the realtime bar before close, which is normal TradingView behaviour.
This indicator is provided for educational purposes only and is not financial advice.
Liqudity Magnets [Zofesu]Liquidity Magnets is a high-precision institutional-grade tool designed to identify where large market participants place their orders. Instead of looking at basic support and resistance, this indicator focuses on Liquidation Levels and Stop-Loss cluster s, which act as "magnets" for price action.
🧠 The Concept
Markets move from one pocket of liquidity to another. Retail traders often place their stop-losses just above or below recent Swing Highs/Lows. Professional players and algorithms target these areas to fill their large orders (Stop-hunting) .
This indicator uses a Multi-Timeframe (MTF) approach to detect these critical zones based on leverage psychology:
🧲 Yellow Lines (4%) : Near-term liquidity/stop-loss clusters. Common targets for intraday sweeps.
💰 Red/Green Lines (10%): Major liquidation zones. These represent areas where high-leverage positions (10x) face forced liquidations, often leading to massive trend exhaustion and reversals.
🛠️ How it works
📊 MTF Liquidity Projection: The indicator automatically projects levels from a higher timeframe (Default: 4h) to ensure you are looking at significant market structure.
🎯 Filtered Stop-Run Signals (▲/▼): Grey triangles appear only when the price successfully "sweeps" a high/low AND penetrates deep enough into the liquidity pool. This filters out market noise.
🌑 Stealth Bar Coloring: Candles turn black/dark when a sweep is in progress, providing a clear visual cue that the market is currently "hunting" liquidity.
⚙️ Settings Guide
🕒 Select TF: Choose the anchor timeframe for magnets (Recommended: 240 for 4h).
🔍 Lookback: Sets the period for detecting the most relevant Swing Highs and Lows.
📏 Line Length: Controls how many bars the magnet lines extend into the future.
📈 Signal Sensitivity %: * 0%: Shows every minor sweep.
100%: Only triggers if price reaches the 4% magnet line exactly.
🎨 Color Settings: Fully customizable colors to fit any chart theme (Dark/Light).
💡 Trading Strategy
For the best results, look for the "Sweep & Reject" play:
1. Price enters a Magnet Line (Yellow or Red/Green).
2. A Stop-Run Triangle appears.
3. Wait for the price to reject the level and close back inside the previous range.
⚠️ Note
This script uses dark bar-coloring for sweep detection. If you are using a Dark Theme, ensure your candle borders are visible or adjust the Barcolor settings in the script inputs. On TF-H4 you can also use H1, you will see the channel in which the price moves and hits the lines, it is recommended to watch green and red there. Good use on titles like gold, silver - significant movements. Experiment.
For any questions or setup assistance, feel free to check my profile signature or better send me a private message here on TV!
Pinescript Custom Performance BoostThis small script is a custom function that works similarly to the built-in calc_bars_count and max_bars_back functions, but can be used far more flexibly and significantly reduces the required computation time of Pine Script scripts.
The advantages over calc_bars_count are substantial.
The standard function works with a fixed value, e.g. calc_bars_count = 20000. The custom function, on the other hand, works on a percentage basis, e.g. with 20% of the total available chart bars.
In addition, calc_bars_count always affects the entire code, while the custom function can be applied selectively to specific parts of the script.
These two differences enable a much more flexible and efficient usage.
Fixed number of bars vs. percentage-based limitation:
The number of available bars varies greatly, not only depending on the ticker and timeframe used, but also on the TradingView subscription (approx. 5,000–40,000 historical bars).
For example, when using calc_bars_count = 20000, only charts that have more than 20,000 candles benefit. If the available number of bars is lower, there is no performance benefit at all until the value is changed after the first slow calculation.
When using the custom function with, for example, 50%, only 50% of the available bars are always calculated, regardless of how many bars are available. This results in a performance gain with shorter calculation times regardless of the chart.
Entire code vs. partial code sections:
calc_bars_count = 20000 affects the entire code globally, meaning the script processes data from only those 20,000 bars.
The custom function, however, can be used selectively for specific sections of the code. This makes it possible to continue accessing certain values across all available bars, while limiting only the truly computation-intensive parts of the script to a percentage-based range.
In this way, computation time can be drastically reduced without restricting the overall size of the data sets.
It is also possible to imitate max_bars_back and selectively limit specific values instead of limiting all of them.
I hope this is useful to some of you. Have fun with it!
EMA + RSI + MACD DashboardEasy Box for group_ema = "EMA Settings"
group_rsi = "RSI Settings"
group_macd = "MACD Settings"
group_display = "Display Settings"
Bank CRE Stress & Short Risk Overlay + Dashboard
🏦 Bank CRE Short-Selling Dashboard:
- Expands the static database to better match the dashboard's highCRE + shortCandidates.
- Uses CRE ratio thresholds from dashboard (e.g., critical ~>500%, high ~400-500%, etc.).
- Keeps price stress logic (you can tweak it).
- Includes more failed/failed-like flags.
Access the Live Risk Monitoring & Trade Opportunities 🏦 Bank CRE Short-Selling Dashboard
claude.ai
SolQuant WatermarkSOLQUANT WATERMARK
The SolQuant Watermark is a professional-grade utility script designed for traders, educators, and content creators who want to keep their charts organized and branded. By utilizing Pine Script’s table functions, this indicator ensures your custom text and symbol data stay pinned to the screen, regardless of where you scroll on the price action.
KEY FEATURES
Customizable Branding: Display your community name, website, or social handles anywhere on the chart.
Automated Symbol Data: Dynamic tracking of the current Asset, Timeframe, and Date—perfect for keeping screenshots contextually accurate.
Precision Placement: Choose from 9 different anchor points (Top-Left, Bottom-Right, etc.) to ensure the UI never interferes with your technical analysis.
Visual Scaling: 5 different size settings (Tiny to Huge) to accommodate high-resolution displays or mobile viewing.
Aesthetic Control: Fully adjustable color palettes, background transparency, and border toggles.
WHY USE A TABLE-BASED WATERMARK?
Unlike standard chart labels which are tied to specific price/time coordinates, this tool uses the Table API . This means:
The watermark stays in place while you scroll through history.
It doesn't disappear when you "hide" other drawing tools.
It scales consistently across different devices.
INSTRUCTIONS
1. Branding: Open settings and type your link or handle into the "Quote Text" area.
2. Symbol Info: Toggle the "Symbol Info" section to automatically display asset names and dates for your records.
3. Layout: Use the X and Y position dropdowns to move the modules if they overlap with your current price action or other indicators.
Note: This is a visual utility tool only. It does not provide trade signals or financial advice.
SessionsBuilt to display useful time sessions, mostly Frankfort and NY.
It also display the Asian range and fractal bars.
All three sub indicators are toggable separatly.
Works best for french trades as it's how it's been coded for.
If you want adapt it to your timezone, edit the "Fuseau horaire" option to match yours.
I intend to add another big indicator to make a cool package in the future.
I will soon try to make everything editable so you can chose what you can display (dont ask for when)
This is a full vibe coded script, feel free to fork it and edit it to your convenience as long as you credit me and share me yours so we can see what can be improved.
Enjoy :)
High Breakout PRO - Huy Hoang Trader
# High Breakout PRO - Huy Hoang Trader - Strategy Description
## 🚀 Overview
**High Breakout PRO** is a professional-grade Trend Following strategy designed to capture major market moves while strictly managing risk. Built on the core philosophy of "Price Action Breakouts," this script enhances the classic Donchian Channel breakout method with modern risk management tools like the **Hybrid Exit** and **EMA Trend Filter**.
This strategy is optimized for **Gold (XAUUSD)**, **Bitcoin (BTC)**, and **Major Stocks (AAPL, AMZN)** on **H4 and Daily** timeframes.
## 💎 Key Features
1. **Trend Filter (EMA):** Only takes long positions when the price is above the 200-period EMA. This filters out counter-trend noise and significantly improves winning probability.
2. **Hybrid Exit Mechanism ("Holy Grail"):** A unique dynamic trailing stop that combines:
* **Price Structure:** Uses the lowest low of the last Y bars (Donchian Support).
* **Volatility:** Uses ATR-based trailing (Chandelier Exit logic).
* *Logic:* The system automatically chooses the **tighter** (higher) stop level between the two, ensuring you lock in profits rapidly during strong volatility while giving the trade room to breathe during accumulation.
3. **Professional Visuals:** A refined "Wealth & Earth" themes (Gold/Silver/Brown) specifically designed to reduce eye strain and provide clear, professional signal visibility without chart clutter.
## 🛠 Strategy Logic
### entry rules
* **Breakout:** Price closes above the Highest High of the last `X` bars (Default: 20).
* **Trend Confirmation:** Closing Price > EMA 200 (Configurable).
### Exit Rules
* **Dynamic Stop Loss:** The trade is closed when price breaches the **Hybrid Trailing Stop**.
* The Trailing Stop never moves down. It only moves up as price increases.
* It effectively adapts to both slow-grinding trends and explosive spikes.
## ⚙️ Best Settings (Recommended)
* **Timeframe:** H4 (Swing Trading) or Daily (Position Trading).
* **Entry Period (X):** 20
* **Exit Period (Y):** 10
* **Trend Filter:** ON (EMA 200)
* **Risk Management:** Hybrid Mode (ATR Multiplier 3.0)
## ⚠️ Disclaimer
This strategy follows trends. It may experience drawdowns during choppy/sideways markets. Always use proper risk management (position sizing) and backtest on your specific asset before live trading.
---
*Developed by Antigravity. Empowering traders with institutional-grade tools.*
Contact for work: www.facebook.com
The Rumers Box Strategy+ v1.5.0The Rumers Box Strategy - Visual Trading Setup Analyzer
This indicator implements Doug Rumers' Box Strategy methodology for identifying high-probability trading setups based on historical price ranges and opening candle analysis.
Key Features:
Customizable Box Construction - Define a "Box Date" to establish the high/low range that forms your trading framework
8:45 Candle Analysis - Automatically identifies and validates the opening candle on your specified "Analysis Date"
20% Rule Validation - Visual confirmation when the 8:45 candle range meets the 20% threshold of the box range
Entry Zone Highlighting - Clear visual marking of the top 20% (short zone) and bottom 20% (long zone) of the box
50% Midpoint Reference - Yellow midline for price action analysis
Multi-Timezone Support - Works with 12 major timezones including US, European, Asian, and Pacific markets
Comprehensive Info Panel - Real-time display of all key metrics including box range, thresholds, and setup validity
Historical Analysis - Time-based positioning allows analysis of any historical date without bar index limitations
How to Use:
Select your timezone
Choose the Box Date (the date that establishes your high/low range)
Choose the Analysis Date (the date to check the 8:45 candle)
The indicator will display a ✓ or ✗ showing whether the setup meets the 20% rule
Trade within the highlighted entry zones when valid setups appear
Perfect for: Day traders and swing traders using systematic, rule-based entry strategies on NAS100, ES, and other index futures.
Stop Getting Whipsawed. Meet Fimathe Elite V40 (State Machine LoThe trader's biggest enemy isn't the market—it's indecision and market noise. "Should I enter now?", "The price pulled back, should I exit or hold?".
To solve this, I developed Fimathe Elite V40. This is not just a simple indicator; it is a complete Trade Management System based on the renowned Fimathe technique (Reference Channels & Neutral Zones), but armored with institutional-grade algorithms to filter out fake signals.
💡 WHY IS THIS SCRIPT DIFFERENT?
Most indicators repaint or spam "Sell" signals the moment a candle turns red, even during a healthy bullish pullback. Fimathe Elite V40 solves this using a sophisticated State Machine Engine.
1. The "State Machine" Technology (No Noise): The script has "memory". It knows if you are already positioned.
Silence: If you are in a trade, it ignores minor fluctuations. It will NOT spam new signals during a consolidation.
Action: It only alerts you in two specific scenarios: Profit Expansion (Level Breakout) or True Reversal (Close against the Stop Loss).
2. Smart Trend Detection (Linear Regression): Instead of guessing the trend, the script calculates the mathematical slope of the last X bars using Linear Regression.
If the slope is positive = It creates Bullish Channels (Reference Channel on Top).
If the slope is negative = It creates Bearish Channels (Reference Channel on Bottom). This prevents you from trading against the mathematical flow of the market.
3. Visual Trade Management:
Active Stop Loss (Orange Line): A visual floor/ceiling that trails the price. If the price does not close beyond this line, you stay in the trade, ignoring emotional wicks.
Active Target (Green Line): Shows exactly where the next expansion level is.
Full Grid: Automatically projects Level 1, 2, and 3 for roadmap planning.
🚀 HOW TO TRADE:
Wait for the Map: Let the script draw the CR (Reference Channel) and NZ (Neutral Zone) automatically (it skips the volatile opening minutes).
The Signal: Wait for the "BUY (Breakout)" or "SELL (Breakout)" label. This signal appears on the close of the breakout candle.
The Entry: Enter on the violation of that candle's high/low.
The Ride: Follow the Orange Line. As the price conquers new levels, the Stop Loss automatically moves up (Trailing Stop) to lock in profits.
🛡️ Risk Management: This tool is designed to force discipline. It visually shows you that a pullback is not a reversal, keeping you in the trend longer and getting you out immediately when the structure actually breaks.
Relative Equal Highs/Lows by tncylyvRelative Equal Highs/Lows
Relative Equal Highs/Lows (REH/REL) is a technical analysis utility designed to identify significant liquidity pools based on Smart Money Concepts (SMC). Unlike standard support and resistance tools that look for single touches, this script identifies sequences of swing points that form relatively flat or slightly stepping structures.
These structures typically represent engineered liquidity or inducement levels where stop-losses are clustered. The indicator visualizes these areas and projects the price level that is likely to be targeted by future price action.
Core Concepts
Relative Structure Detection
Markets rarely form perfectly equal double tops or bottoms to the exact tick. This indicator detects "Relative" Equal Highs or Lows by analyzing a sequence of swing points. It looks for a user-defined number of swings (default is 3) that occur within a specific point threshold of each other, forming a trendline liquidity or flat structure.
Validation System (Noise Reduction)
A distinct feature of this script is its validation mechanism. When a potential pattern is detected, it is not drawn immediately. Instead, it enters a "pending" state for a specific number of bars.
• If price immediately breaks the level during this wait period, the pattern is discarded as noise.
• If the level remains unmitigated after the wait period, it is confirmed and drawn on the chart.
This logic helps reduce clutter and false signals caused by immediate volatility.
Standard Data Integrity
The indicator explicitly requests standard ticker data for all calculations. This ensures that even if you are viewing Heikin Ashi, Renko, or other synthetic chart types, the liquidity levels remain accurate to the real market OHLC prices.
Key Features
• Customizable Swing Detection: You can define how many swings are required to form a pattern (e.g., 2 for double tops/bottoms, 3 or more for extended liquidity pools).
• Gap Management: Options to enforce a minimum number of bars between swings to ensure the structure covers a significant timeframe.
• Mitigation Handling: Choose exactly how a level is considered broken (Wick Touch, Candle Close, or Sweep/Rejection).
• Visual Connectors: Optional dotted lines connect the specific pivot points used to derive the level, helping you visualize the structure of the liquidity.
Settings Overview
Pivot Length
Determines the lookback period to define a Swing High or Low. Higher values will identify more significant market structures.
Max Step Difference (Points)
This is the tolerance range allowed between consecutive swing points. Since this calculates based on raw points, this value must be adjusted significantly depending on the asset class (e.g., Forex pairs versus Crypto or Indices) to match the price scale of the instrument.
Required Swings Amount
The number of swing points required to confirm a pattern.
Min Bars Between Swings
Ensures that the detected pivots are distinct and spaced out by a minimum amount of time.
Validation Wait (Bars)
The duration a pattern must survive before being rendered. Increasing this value filters out structures that are immediately swept.
Mitigation Mode
• Wick Touch: The level is mitigated as soon as a wick touches it.
• Close Through: The level is only mitigated if a candle closes beyond it.
• Sweep Reject: The level is mitigated only if price sweeps it but closes back inside the range.
Visualization
Controls the colors, line styles, and line widths for both active and mitigated levels. Connectors can be toggled on or off to show the path of the swing points.
Dual Bollinger Band Zones (20,2 & 20,0.7)To Indentify Zone 1, Zone 2, Zone 3 and Zone 4
Tradeable zone: Zone 1 for Long and Zone 4 for Short
No Trade Zone: Zond 2 and Zone 3
Weighted NIFTY 5D Directional BreadthOverview
This indicator measures market participation quality within the NIFTY index by tracking how many heavily-weighted stocks are contributing to index direction over a rolling 5-day period.
Instead of counting simple up/down closes, it evaluates directional momentum × index weight, making it far more reliable for identifying narrow leadership, distribution, and late-stage rallies.
Why this indicator matters
Indexes can continue making higher highs even when only a few large stocks are doing the lifting.
This tool reveals what price alone hides:
Whether participation is broad or narrowing
When index highs are being driven by fewer contributors
Early warnings of fragility before corrections
How it works
Each selected NIFTY stock is assigned a weight approximating index influence
The indicator checks whether each stock is up or down versus its 5-day close
Directional signals are weighted and aggregated
The result is a single breadth line reflecting true contribution strength
Positive values → weighted participation is supportive
Negative values → weighted drag beneath the index
How to interpret
Index Higher High + Indicator Lower High
→ Narrow leadership, distribution risk
Indicator turns down before price
→ Early loss of momentum
Sustained positive readings
→ Healthy, broad participation
Sustained negative readings
→ Market weakness beneath the surface
This is not a buy/sell signal, but a context and risk-assessment tool.
Best use cases
Identifying late-stage rallies
Confirming or rejecting breakouts
Risk management for index trades
Combining with price structure or momentum indicators
Notes
Designed for Daily and higher timeframes
Uses non-repainting logic
Best used alongside price action and structure
Disclaimer
This indicator is intended for educational and analytical purposes only.
It does not provide financial advice or trade recommendations.
RS Filtered RSIRS Filtered RSI (RSF RSI) | MisinkoMaster
The RS Filtered RSI is an advanced RSI-based indicator that enhances the traditional RSI by applying a custom filtering technique using Fourier transform principles. This reduces noise and improves the clarity of signals, helping traders better identify trend direction and potential reversals.
Key Features
Combines classic RSI calculation with Fourier-based filtering for noise reduction
Dynamically adapts to price momentum using Relative Strength filtering
Provides clear bullish and bearish trend signals with customizable thresholds
Includes overbought and oversold levels for better entry and exit timing
Plots divergence histogram to highlight momentum changes
Candle coloring aligns with trend direction for intuitive reading
Highly configurable via inputs for RSI length, filter length, Fourier length, and thresholds
How It Works
Calculates a standard RSI on the selected price source over the chosen length.
Applies a Discrete Fourier Transform (DFT) on recent price data to extract dominant frequency components and filter noise (code adapted from @BackQuant).
Uses Fourier magnitudes combined with RSI values to build a filter that strengthens the RSI signal and filters weak moves.
Applies upper and lower thresholds on the filtered RSI to define bullish and bearish trends.
Visualizes trend signals, divergence, and overbought/oversold zones with colored plots and candles.
Inputs Overview
Length — RSI calculation period
Source — Price input (default: close)
Filter Length — Length for Relative Strength filter
Fourier Length — Number of bars used for Fourier transform
Upper Threshold — Level above which bullish trend is signaled
Lower Threshold — Level below which bearish trend is signaled
Overbought — RSI level considered overbought
Oversold — RSI level considered oversold
Usage Notes
Best suited for traders who want a smoother, less noisy RSI signal especially in volatile markets.
Can be combined with other indicators or price action for better confirmation.
Adjust Fourier length and filter parameters to balance smoothness and responsiveness.
Use divergence histogram to spot momentum shifts early.
Candle coloring makes trend identification more intuitive.
Not a standalone trading signal — always backtest and manage risk accordingly.
Shout Out
Special thanks to @BackQuant for the Fourier transform code that inspired the filtering technique in this indicator.
Disclaimer
This indicator is for educational use only and does not constitute financial advice. Trading involves risk. Please do your own research and trade responsibly.
True Range Smoothed SuperTrendTrue Range Smoothed SuperTrend (TRS SuperTrend | MisinkoMaster)
The True Range Smoothed SuperTrend is an innovative trend analysis indicator designed to identify clear market trends while minimizing noise. By combining a smoothed price source weighted by true range values with an ATR-based volatility multiplier, this tool delivers reliable trend signals adaptable to a wide variety of asset classes and timeframes.
It’s particularly useful for traders seeking a versatile trend-following system that balances sensitivity and stability.
🔍 Concept & Idea
The indicator enhances the classic SuperTrend concept by using a true range–weighted smoothing of price data instead of raw price or simple moving averages. This weighting helps focus on periods with higher volatility, improving the relevance of trend detection.
Along with smoothing, the indicator applies an ATR-based volatility multiplier to dynamically adjust the upper and lower trend bands, adapting to current market volatility conditions.
⚙️ How It Works
True Range Weighted Smoothing:
The source price (default: low) is multiplied by the true range values over the lookback period.
These weighted values are summed and normalized by the total true range sum.
The result is further smoothed using an Exponential Moving Average (EMA) with a length proportional to the square root of the input length, reducing noise while preserving trend responsiveness.
ATR-based Bands:
The Average True Range (ATR) is calculated with the same length as the smoothing period.
The ATR is multiplied by a user-defined multiplier to establish dynamic upper and lower bands around the smoothed price.
Trend Determination:
When the source price crosses above the upper band, a bullish trend is signaled.
Conversely, crossing below the lower band signals a bearish trend.
These crossings update the trend state, which controls plotted bands and trend labels.
🧩 Inputs Overview
Length – Controls the lookback period for true range weighting, ATR calculation, and smoothing. Affects sensitivity and smoothness (default 37).
Source – Price source used for calculation, defaulting to low.
Multiplier – Scales the ATR bands to adjust volatility sensitivity (default 1.45).
📌 Usage Notes
The TRS SuperTrend works well across various asset classes and timeframes.
The true range weighting improves trend detection in volatile markets by emphasizing price moves during active periods.
Adjust the length and multiplier inputs to balance between noise reduction and responsiveness for your specific market and strategy.
Trend changes are visually marked with “𝓛𝓸𝓷𝓰” and “𝓢𝓱𝓸𝓻𝓽” labels directly on the chart.
Background fills between bands and price improve visual clarity.
Combine with other confirmation tools and risk management practices for best results.
Not a standalone trading system; always validate and backtest prior to live trading.
⚠️ Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk and users should perform their own analysis before making trading decisions.
Enjoy smoother and clearer trend analysis with the True Range Smoothed SuperTrend!






















