Meeting Point TrackerDescription
This script — Options – Meeting Point — visually combines Call (CE) and Put (PE) option candles of the same strike into a single layout, designed for intraday option traders who monitor both legs simultaneously.
💡 Key Features
🔹 Dual Candle Display
Plots CE candles in green/red and PE candles in blue/magenta.
Both legs appear on the same panel — perfect for straddle/strangle monitoring.
🔹 Automatic Symbol Builder
Auto-constructs CE/PE symbols from spot index, expiry, and strike.
Manual override supported for custom inputs.
🔹 Live BEP & Levels(Under testing)
Displays intraday CE/PE highs & lows with dotted lines.
Shows Live Break-Even Points (BEP) for the straddle — updated tick-by-tick.
Optional manual price line for quick visual references.
🔹 VWAP Support
Plots VWAP for both CE and PE options individually (toggleable).
Helps compare momentum and strength between both sides.
🔹 Point of Control (POC)
Calculates dynamic intraday POC using 1-minute price–volume density.
Updates automatically as new data streams in.
🔹 Trade Blocks (Per-Leg)
Define trade details for CALL and PUT independently:
Entry, SL, Target, Quantity, Side (Buy/Sell).
Calculates Live P&L and Status (“Target Hit”, “SL Hit”, or “Live”).(Under testing)
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
It does not constitute financial advice or trade recommendations.
Past performance is not indicative of future results.
Educational
Risk-Reward Position SizerRisk-Reward Position Sizer – Features Checklist
Purpose:
A visual calculator and position sizing tool for day traders, providing realistic risk, stop-loss, take-profit, and reward-to-risk information based on account size and position constraints.
Features:
Flexible Risk Settings
Set risk as a percentage of your account or a fixed dollar amount per trade.
Automatically calculates position size based on desired risk and stop distance.
Stop Loss Options
Stop distance can be defined as a percent of entry price or a fixed price.
Automatically adjusts stop distance when position is cash-limited to achieve your target risk.
Take Profit Options
TP can be defined as a fixed R multiple (e.g., 2R) or fixed absolute price.
Cash-Limited Position Handling
Optional “Cap Position to Account Size” prevents buying more shares than your cash allows.
Shows actual achievable risk if your cash limits position size.
Realistic Risk / Reward Calculations
Calculates Actual Risk $ based on position size and stop distance.
Calculates Projected Win $ based on take profit and position size.
Calculates Actual Reward-to-Risk (R:R) ratio using actual stop and TP.
Position Metrics
Estimated quantity of shares/contracts to buy.
Estimated position value.
Estimated leverage used relative to account size.
Top-Right Table Display
Clear, compact table showing:
Account size
Target risk $
Actual risk $
Stop distance
Quantity
Position value
Take profit and stop-loss prices
Projected win $ and %
Projected loss %
Actual R:R
Leverage
Trading Decision Aid
Gives traders a realistic snapshot of achievable risk and reward before entering a trade.
Helps avoid the common trap of setting tight stops that don’t actually match desired account risk.
Why It’s Useful:
This indicator turns abstract risk/reward concepts into concrete, actionable numbers, helping day traders size positions safely, plan stops and targets realistically, and maintain consistent risk management across trades.
Momentum Buy and SellThis indicator is created to monitor patterns and ascertain if the market is in an upward trend, downward trend, or consolidating phase. Moreover, it indicates changes in trends and can optionally display price levels.
Holistiq Indicator – Trade Protocol Holistiq Indicator – Trade Protocol is an educational overlay that identifies areas where multiple technical elements converge (candlestick patterns, VWAP, S/R, Fibonacci levels and gaps). It’s designed to help traders visualise confluence and build disciplined trade plans. This public script shows the full source code for transparency and learning. Use responsibly; not financial advice.
FVG/ iFVG point size Shows the size in points of combined fvg and inverted fvgs. Good for determining momentum and strength in reversals
settings:
lookback - how many candles to look for fvgs and ifvg
change length of the fvg box
change settings to decided the minimum size of gap to label
colours of boxes and labels
Nifty vs Nifty Fut Premium indicator This indicator compares Nifty Spot and Nifty Futures prices in real-time, displaying the premium (or discount) between them at the top of the pane.
Trading applications:
Arbitrage opportunities: When the premium becomes unusually high or low compared to fair value (based on cost of carry), traders can exploit the mispricing through cash-futures arbitrage
Market sentiment: A rising premium often indicates bullish sentiment as traders are willing to pay more for futures, while a declining or negative premium suggests bearish sentiment
Rollover strategy: Near expiry, monitoring the premium helps traders decide optimal timing for rolling positions from current month to next month contracts
Risk assessment: Sudden spikes in premium can signal increased demand for leveraged long positions, potentially indicating overbought conditions or strong momentum
Machine Learning Price Predictor: Ridge AR [Bitwardex]🔹Machine Learning Price Predictor: Ridge AR is a research-oriented indicator demonstrating the use of Regularized AutoRegression (Ridge AR) for short-term price forecasting.
The model combines autoregressive structure with Ridge regularization , providing stability under noisy or volatile market conditions.
The latest version introduces Bull and Bear signals , visually representing the current momentum phase and model direction directly on the chart.
Unlike traditional linear regression, Ridge AR minimizes overfitting, stabilizes coefficient dynamics, and enhances predictive consistency in correlated datasets.
The script plots:
Fit Line — in-sample fitted data;
Forecast Line — out-of-sample projection;
Trend Segments — color-coded bullish/bearish sections;
Bull/Bear Labels 🐂🐻 — dynamic visual signals showing directional bias.
Designed for researchers, students, and developers, this tool helps explore regularized time-series forecasting in Pine Script™.
🧩 Ridge AR Settings
Training Window — number of bars used for model training;
Forecast Horizon — forecast length (bars ahead);
AR Order — number of lags used as features;
Ridge Strength (λ) — regularization coefficient;
Damping Factor — exponential trend decay rate;
Trend Length — period for trend/volatility estimation;
Momentum Weight — strength of the recent move;
Mean Reversion — pullback intensity toward the mean.
🧮 Data Processing
Prefilter:
None — raw close price;
EMA — exponential smoothing;
SuperSmoother — Ehlers filter for noise reduction.
EMA Length, SuperSmoother Length — smoothing parameters.
🖥️ Display Settings
Update Mode:
Lock — static model;
Update Once Reached — rebuild after forecast horizon;
Continuous — update every bar.
Forecast Color — projection line color;
Bullish/Bearish Colors — colors for trend segments.
🐂🐻 Bull/Bear Signal System
The Bull/Bear Signal System adds directional visual cues to highlight local momentum shifts and model-based trend confirmation.
Bull (🐂) — appears when upward momentum is confirmed (momentum > 0) .
Displayed below the bar, colored with Bullish Color.
Bear (🐻) — appears when downward momentum is dominant (momentum < 0) .
Displayed above the bar, colored with Bearish Color.
Signals are generated during model recalculations or when the directional bias changes in Continuous mode.
These visual markers are analytical aids , not trading triggers.
🧠 Core Algorithmic Components
Regularized AutoRegression (Ridge AR):
Solves: (X′X+λI)−1X′y
to derive stable regression coefficients.
Matrix and Pseudoinverse Operations — implemented natively in Pine Script™.
Prefiltering (EMA / Ehlers SuperSmoother) — stabilizes noisy data.
Forecast Dynamics — integrates damping, momentum, and mean reversion.
Trend Visualization — color-coded bullish/bearish line segments.
Bull/Bear Signal Engine — visualizes real-time impulse direction.
📊 Applications
Academic and educational purposes;
Demonstration of Ridge Regression and AR models;
Analysis of bull/bear market phase transitions;
Visualization of time-series dependencies.
⚠️ Disclaimer
This script is provided for educational and research purposes only.
It does not provide trading or investment advice.
The author assumes no liability for financial losses resulting from its use.
Use responsibly and at your own risk.
Market Structure ICT Screener [TradingFinder] BoS ChoCh🔵 Introduction
Market Structure is the foundation of every Smart Money and ICT based trading model. It describes how price moves through a sequence of highs and lows, forming clear phases of expansion, retracement and reversal. Understanding this structure allows traders to read institutional order flow and align their positions with the true direction of liquidity.
Two of the most critical components in Market Structure are the Break of Structure (BOS) and Change of Character (CHOCH). A BOS represents trend continuation, confirming strength within the current direction. In contrast, CHOCH also known as a Market Structure Shift (MSS) signals the first sign of a trend reversal or liquidity shift where order flow begins to change from bullish to bearish or vice versa.
Because the market is fractal, structure can exist at multiple levels known as Major (External) and Minor (Internal). Major structure defines the overall trend on higher timeframes while minor or internal structure reveals short term swings and early reversals within that larger move.
🔵 How to Use
Understanding Market Structure starts with identifying how price interacts with previous swing highs and swing lows. Every trend in the market, whether bullish or bearish, is built from a sequence of impulsive and corrective moves. Impulsive legs show strong displacement in the direction of liquidity flow, while corrective legs represent temporary pullbacks as the market rebalances before the next expansion. Recognizing these sequences is essential for reading the story of price and anticipating what may happen next.
A Break of Structure (BOS) occurs when price decisively moves beyond a previous structural point by breaking above the last high in an uptrend or falling below the last low in a downtrend. This event confirms that the current trend remains intact and that liquidity has been successfully taken from one side of the market. A BOS acts as confirmation of continuation and reflects strength within the existing directional bias.
A Change of Character (CHOCH) appears when price violates structure in the opposite direction of the prevailing trend. This is the first signal that market sentiment and order flow may be shifting. For example, during a downtrend if price breaks above a previous high, it indicates that sellers are losing control and a potential bullish reversal may be developing. In an uptrend, when price drops below a recent low, it suggests a possible bearish transition.
Because the market is fractal, structure exists across multiple layers. Major structure reflects the dominant movement visible on higher timeframes and defines the broader directional bias. Minor or internal structure represents smaller swings within that move and helps identify early transitions before they appear on the higher timeframe. When internal and external structures align, they offer a high probability signal for trend continuation or reversal.
By observing BOS and CHOCH across both internal and external structures, traders can clearly visualize when the market is expanding, contracting or preparing to shift direction. This structured understanding of price movement forms the foundation for precise trend analysis and high quality decision making in any Smart Money or ICT based trading approach.
🔵 Settings
🟣 Display Settings
Table on Chart : Allows users to choose the position of the signal dashboard either directly on the chart or below it, depending on their layout preference.
Number of Symbols : Enables users to control how many symbols are displayed in the screener table, from 10 to 20, adjustable in increments of 2 symbols for flexible screening depth.
Table Mode : This setting offers two layout styles for the signal table :
Basic : Mode displays symbols in a single column, using more vertical space.
Extended : Mode arranges symbols in pairs side-by-side, optimizing screen space with a more compact view.
Table Size : Lets you adjust the table’s visual size with options such as: auto, tiny, small, normal, large, huge.
Table Position : Sets the screen location of the table. Choose from 9 possible positions, combining vertical (top, middle, bottom) and horizontal (left, center, right) alignments.
🟣 Symbol Settings
Each of the 20 symbol slots comes with a full set of customizable parameters :
Symbol : Define or select the asset (e.g., XAUUSD, BTCUSD, EURUSD, etc.).
Timeframe : Set your desired timeframe for each symbol (e.g., 15, 60, 240, 1D).
Pivot Period : Set the length used to detect swing highs and lows. Shorter values increase sensitivity, longer ones focus on major structures.
🔵 Conclusion
Mastering Market Structure and understanding the relationship between BOS and CHOCH allows traders to see the market with greater clarity and confidence. These two elements reveal how liquidity moves through different phases of expansion and retracement and how institutional order flow shifts between accumulation and distribution.
By analyzing both internal and external structures, traders can align short term and long term perspectives and anticipate where price is most likely to react. The ability to read these structural shifts helps identify continuation points, reversals and areas where liquidity is engineered or collected.
Incorporating Market Structure into a consistent trading process transforms the way a trader views the chart. Instead of reacting to random movements, each swing, break and shift becomes part of a logical framework that reflects the true behavior of the market. Understanding BOS and CHOCH is not just a concept but a complete language of price that guides every professional decision in Smart Money and ICT based trading.
Custom Text Display📋 Custom Text Display - User Guide
Overview
This indicator allows you to display custom text anywhere on your TradingView chart with full control over appearance and positioning.
Features
📝 Text Settings
Custom Text: Write any text you want to display on your chart. Can be multiple lines.
Text Alignment: Choose how your text is aligned within the box
Left
Center
Right
Text Color: Pick any color for your text
Background Color: Choose the background color of the text box (includes transparency control)
Text Size: Select from 5 different text sizes
Tiny
Small
Normal
Large
Huge
📍 Position Settings
Table Position: Choose where the text box appears on your chart
Top Left
Top Center
Top Right
Bottom Left
Bottom Center
Bottom Right
Vertical Offset (0-20): Fine-tune the vertical position
0 = Default position (no offset)
Higher values = Move the text box further down
Use this to avoid overlapping with other indicators or chart elements
How to Use
Add the indicator to your TradingView chart
Open the settings by clicking the gear icon next to the indicator name
Enter your text in the "Custom Text" field
Customize appearance:
Choose your preferred colors for text and background
Select text size and alignment
Position the box:
Select one of the 6 main positions
Use "Vertical Offset" to fine-tune the exact position (add empty space above the text)
Click OK to apply changes
Use Cases
📊 Display trading notes or reminders
📈 Show key levels or targets
💡 Add strategy descriptions
⚠️ Display risk warnings
📝 Create custom labels for specific chart setups
🎯 Mark important price zones with descriptions
Tips
Use transparent backgrounds (adjust the transparency slider) for a cleaner look
Vertical Offset is useful when you have multiple indicators at the top/bottom and need to avoid overlap
Large/Huge text works well for important notes you want to see at a glance
Combine different text alignments with different positions for better layout control
Note: The text box updates in real-time as you change settings, so you can preview your changes before applying them.
Futures Day Trading Key Levels by Dhawal Ranka
Hey everyone, thank you for using this script, let me know in the comments how you feel about it!
What this script does:
This indicator renders one consolidated map of intraday reference levels for futures (e.g., ES, NQ, GC, CL). It is session-aware and draws:
- Previous ETH day High/Low/Close
- Previous RTH High/Low/Close (built from your RTH session)
- Today’s developing RTH High/Low and Mid
- Overnight (ON) session High/Low
- Opening Range (first N minutes of RTH): OR High/Low
- VWAP (day-anchored) with optional ±σ bands
- Floor Pivots (PP/R1/S1/R2/S2) from prior ETH daily bar
- ADR projections (Up/Down) using a configurable lookback and anchor
- Settlement: prior official settlement and today’s projected settle (with manual override)
- Weekly/Monthly context: prior W/M High/Low/Close and current W/M Open
- Minimal right-edge text tags (instead of big boxes) that sit on the price scale line and auto-pack when levels coincide
All lines extend across the chart to make confluence obvious without clutter.
How it works (methods & calculations)
Sessions
The script exposes two user sessions and a time zone:
RTH (e.g., 09:30–16:00 America/New_York)
ON (e.g., 18:00–09:29 America/New_York)
Session membership is computed with time(timeframe, session, tz) != 0.
RTH H/L/C (prev) are aggregated intrabar: on RTH start we seed H/L; while inRTH we update; on RTH end we store the close.
Previous Day (ETH) levels
request.security(syminfo.tickerid, "D", high /low /close ) supplies PDH/PDL/PDC on the continuous ETH daily.
Opening Range
On RTH start we mark orStartTime.
While RTH is active and elapsed time < N minutes, we track the running high/low.
When elapsed ≥ N minutes, we freeze OR High/Low.
VWAP & ±σ bands (intraday)
Day-anchored VWAP uses ta.vwap(hlc3).
Bands: standard deviation of (close − vwap) from day start, accumulated inline:
stdev = sqrt( mean(dev^2) − mean(dev)^2 )
Bands = vwap ± k * stdev (user multiplier).
Floor Pivots (classic)
Using prior ETH daily H/L/C:
PP = (H + L + C) / 3
R1 = 2*PP − L, S1 = 2*PP − H
R2 = PP + (H − L), S2 = PP − (H − L).
ADR projections
Daily range series rng = request.security(..., "D", high - low).
ADR = SMA(rng, L) (default L=14).
Anchor is user-selectable: today’s open or yesterday’s close.
Projections: ADR Up = anchor + ADR/2, ADR Down = anchor − ADR/2.
Settlement
Prev Settle defaults to prior ETH daily close but can be overridden manually for markets where official settlement differs from feed close.
Today Projected Settle uses the current ETH daily close value.
Weekly / Monthly context
Prior W/M H/L/C from "W"/"M" with , plus current W/M Open.
Rendering & label logic (originality)
Lines are persistent: each named level owns one line object that is updated, not re-created—keeps resource use low and avoids “too many plots”.
Right-edge labels are text-only (no box) placed at x = bar_index + offset and yloc.price.
When multiple levels share (almost) the same price, labels are packed side-by-side using a small bucketing algorithm:
Prices are bucketed within ±½ tick.
Each label gets a position index inside its bucket; the final x-offset = baseOffset + index*step + priority.
Priorities nudge important tags (e.g., Settle/RTH levels) closer to the price scale so they remain readable.
Why this is published & what’s original
It’s not a simple mashup: the script’s utility is the session-aware aggregation, the OR timing logic, the intraday σ calculation around VWAP, the line-persistence manager, and the label packing with priorities that keeps the right edge readable even when many levels coincide.
The closed-source protection covers the packing/priority scheme and the persistent object management that make it practical on busy futures charts without hitting Pine limits.
How to use
Set your sessions & time zone
Choose RTH/ON session windows (the defaults match CME equity index futures) and the time zone of your charting workflow.
Toggle components
Enable only the layers you need (e.g., VWAP bands off if you want a cleaner chart).
Opening Range length (minutes) is adjustable.
Settlement
If your broker/feed’s daily close isn’t the official settlement, enter a manual settle value for the prior day.
Read the right edge
Labels sit on the price scale line. When two labels share the same price, they appear side-by-side rather than overlapping.
Timeframes & symbols
Designed for intraday futures on 1–30m. Works on other symbols/timeframes but intent is day trading.
Inputs (summary)
Sessions/TZ: RTH window, ON window, time zone
Today: RTH H/L/Mid, ON H/L, OR (minutes)
VWAP: on/off, ±σ bands, multiplier
Pivots: PP/R1/S1/R2/S2 (ETH)
ADR: lookback, anchor (open vs. prev close)
Settlement: show prev/proj, manual override
Weekly/Monthly: prior H/L/C + current open
Style: line transparency; right-edge tag size, base offset, and step; optional inline labels
Limitations & notes
“Prev Settle” equals the prior daily close unless overridden.
Session definitions matter: if your exchange hours differ, set your own RTH/ON windows.
No alerts are included to minimize plot count and keep performance high (you can add alert conditions on any level in a private copy).
Disclaimer
For educational purposes only; not financial advice. Futures trading involves significant risk.
Versioning
This script will be maintained under a single publication using Update (no minor forks). Major changes will be documented in the Change Log section of the script description.
Adaptive Square Levels (Prev + Curr Month, Configurable)
The Adaptive Square Levels (Configurable Edition) indicator dynamically plots price levels based on perfect squares — a concept derived from harmonic market behavior and geometric scaling.
Each month, the script automatically detects the new monthly open and generates square levels both above and below the opening price.
This version introduces full configurability, allowing traders to adjust how many square levels they want to visualize on either side of the base level. The indicator also visually separates previous and current month levels for easy reference.
⚙️ Features
🔢 User-Configurable Range: Choose how many levels to plot above and below the base level.
🧮 Mathematically Derived Levels: Based on perfect squares up to a user-defined max price.
📅 Monthly Auto-Reset: Automatically refreshes at the start of each new month.
🎨 Color-Coded Levels:
Orange → Major levels (square roots divisible by 3)
Yellow → Regular levels
Star (★) → Base level (nearest to monthly open)
🕰️ Dual Month Display: Shows both current and previous month levels for trend comparison.
💡 How to Use
Add the indicator to any symbol and timeframe (preferably daily or higher).
Adjust:
Max Price Level → The upper bound of your price universe.
Number of Levels Each Side → Controls the density of levels.
Observe how price reacts around these mathematically significant zones.
Use in confluence with your own price action, volume, or support/resistance analysis.
📊 Ideal For
Swing traders analyzing monthly trend reversals
Price structure and geometry enthusiasts
Traders exploring market harmonics or square-of-nine–based frameworks
🧠 Note
The script doesn’t provide buy/sell signals — it offers a structural map of key levels derived from square relationships.
Use it as a visual guide to align entries and exits with natural market geometry.
15-Min RSI Scalper [SwissAlgo]15-Min RSI Scalper
Tracks RSI Momentum Loss and Gain to Generate Signals
-------------------------------------------------------
WHAT THIS INDICATOR CALCULATES
This indicator attempts to identify RSI directional changes (RSI momentum) using a step-by-step "ladder" method. It reads RSI(14) from the next higher timeframe relative to your chart. On a 15-minute chart, it uses 1-hour RSI. On a 5-minute chart, it uses 15-minute RSI, and so on.
How the ladder logic works:
The indicator doesn't track RSI all the time. It only starts tracking when RSI crosses into potentially extreme territory (these are called "events" in the code):
For sell signals : when RSI crosses above a dynamic upper threshold (typically between 60-80, calculated as the 90th percentile of recent RSI)
For buy signals : when RSI crosses below a dynamic lower threshold (typically between 20-40, calculated as the 10th percentile of recent RSI)
Once tracking begins, RSI movement is divided into 2-point steps (boxes). The indicator counts how many boxes RSI climbs or falls.
A signal generates only when:
RSI reverses direction by at least 2 boxes (4 RSI points) from its extreme
RSI holds that reversal for 3 consecutive confirmed bars
Example: Dynamic threshold is at 68. RSI crosses above 68 → tracking starts. RSI climbs to 76 (4 boxes up). Then it drops back to 72 and stays below that level for 3 bars → sell signal prints. The buy signal works the same way in reverse.
-------------------------------------------------------
SIGNAL GENERATION METHODOLOGY
Sell Signal (Red Triangle)
RSI crosses above a dynamic start level (calculated as the 90th percentile of the last 1000 bars, constrained between 60-80)
Indicator tracks upward progression in 2-point boxes
RSI reverses and drops below a boundary 2 boxes below the highest box reached
RSI remains below that boundary for 3 confirmed bars
Red triangle plots above price
Reset condition: RSI returns below 50
Buy Signal (Green Triangle)
RSI crosses below a dynamic start level (10th percentile of last 1000 bars, constrained between 20-40)
Indicator tracks downward progression in 2-point boxes
RSI reverses and rises above a boundary 2 boxes above the lowest box reached
RSI remains above that boundary for 3 confirmed bars
Green triangle plots below price
Reset condition: RSI returns above 50
-------------------------------------------------------
TECHNICAL PARAMETERS
All parameters are hardcoded:
RSI Period: 14
Box Size: 2 RSI points
Reversal Threshold: 2 boxes (4 RSI points)
Confirmation Period: 3 bars
Reset Level: RSI 50
Sell Start Range: 60-80 (dynamic)
Buy Start Range: 20-40 (dynamic)
Lookback for Percentile: 1000 bars
Note: Since the code is open source, users can modify these hardcoded values directly in the script to adjust sensitivity. For example, increasing the confirmation period from 3 to 5 bars will produce fewer but more conservative signals. Decreasing the box size from 2 to 1 will make the indicator more responsive to smaller RSI movements.
-------------------------------------------------------
KEY FEATURES
Automatic Higher Timeframe RSI
When applied to a 15-minute chart, the indicator automatically reads 1-hour RSI data. This is the next standard timeframe above 15 minutes in the indicator's logic.
Dynamic Adaptive Start Levels
Sell signals use the 90th percentile of RSI over the last 1000 bars, constrained between 60-80. Buy signals use the 10th percentile, constrained between 20-40. These thresholds recalculate on each bar based on recent data.
Ladder Box System
RSI movements are tracked in 2-point boxes. The indicator requires a 2-box reversal followed by 3 consecutive bars maintaining that reversal before generating a signal.
Dual Signal Output
Red down-triangles plot above price when the sell signal conditions are met. Green up-triangles plot below the price when buy signal conditions are met.
-------------------------------------------------------
REPAINTING
This indicator does not repaint. All calculations use "barstate.isconfirmed" to ensure signals appear only on closed bars. The request.security() call uses lookahead=barmerge.lookahead_off to prevent forward-looking bias.
-------------------------------------------------------
INTENDED CHART TIMEFRAME
This indicator is designed for use on 15-minute charts. The visual reminder table at the top of the chart indicates this requirement.
On a 15-minute chart:
RSI data comes from the 1-hour timeframe
Signals reflect 1-hour momentum shifts
3-bar confirmation equals 45 minutes of price action
Using it on other timeframes will change the higher timeframe RSI source and may produce different behavior.
-------------------------------------------------------
WHAT THIS INDICATOR DOES NOT DO
Does not predict future price movements
Does not provide entry or exit advice
Does not guarantee profitable trades
Does not replace comprehensive technical analysis
Does not account for fundamental factors, news events, or market structure
Does not adapt to all market conditions equally
-------------------------------------------------------
EDUCATIONAL USE
This indicator demonstrates one approach to momentum reversal detection using:
Multi-timeframe analysis
Adaptive thresholds via percentile calculation
Step-wise momentum tracking
Multi-bar confirmation logic
It is designed as a technical study, not a trading system. Signals represent calculated conditions based on RSI behavior, not trade recommendations. Always do your own analysis before taking market positions.
-------------------------------------------------------
RISK DISCLOSURE
Trading involves substantial risk of loss. This indicator:
Is for educational and informational purposes only
Does not constitute financial, investment, or trading advice
Should not be used as the sole basis for trading decisions
Has not been tested across all market conditions
May produce false signals, late signals, or no signals in certain conditions
Past performance of any indicator does not predict future results. Users must conduct their own analysis and risk assessment before making trading decisions. Always use proper risk management, including stop losses and position sizing appropriate to your account and risk tolerance.
MIT LICENSE
This code is open source and provided as-is without warranties of any kind. You may use, modify, and distribute it freely under the MIT License.
RS Alpha w/ Confidence Period | viResearchRS Alpha α w/ Confidence Period | viResearch
Conceptual Foundation and Innovation
The RS Alpha α w/ Confidence Period indicator from viResearch is a comprehensive multi-asset allocation and momentum-ranking system that integrates alpha–beta analysis, pairwise relative strength comparison, and volatility-adjusted confidence filtering.
Its primary objective is to identify dominant crypto assets during “safe” investment periods while dynamically reallocating exposure based on a calculated relative strength hierarchy.
At its core, RS Alpha α measures the systematic (β) and idiosyncratic (α) performance of each asset relative to Bitcoin (as the benchmark), combining these measures with inter-asset ratio trends to determine which assets exhibit superior momentum and market leadership.
The “Confidence Period” module introduces an additional dimension of market phase assessment, identifying safe and unsafe allocation windows based on historical equity peaks and troughs. This dynamic filter enhances portfolio resilience by restricting allocation to favorable trend conditions while avoiding high-risk market phases.
This integration of alpha–beta decomposition, relative strength comparison, and confidence-state filtering represents a quantitative evolution of traditional relative strength analysis, designed for adaptive asset rotation across major cryptocurrencies.
Technical Composition and Calculation
The indicator is structured around three major analytical layers:
1. Alpha–Beta Decomposition
-Each asset’s return is decomposed into systematic (beta) and idiosyncratic (alpha) components relative to Bitcoin using a covariance-based regression model.
-Assets with positive alpha above the median are considered outperformers and eligible for allocation.
2. Pairwise Ratio-Based Momentum Matrix
-Every asset is compared against all others through a ratio-trend matrix, where CCI-derived trend scores quantify the directional momentum between each pair.
-This matrix produces a relative strength score for each asset, reflecting its aggregate dominance in the group.
3. Confidence Period Logic (Dynamic Market Phases)
-Using the system’s internal equity curve, the script identifies peak (safe) and nadir (unsafe) periods.
-Allocation is only active during safe confidence phases, ensuring capital exposure aligns with favorable equity momentum.
-When enabled, the model can shift unallocated capital into PAXG (Gold-backed token) as a defensive asset.
By combining these layers, RS Alpha α w/ Confidence Period determines not only which assets to hold but also when to be invested, applying a systematic market-timing overlay to multi-asset selection.
Features and User Inputs
The indicator includes a rich set of customizable parameters to support portfolio and risk management preferences:
Start Date Filter – Defines the beginning of live strategy evaluation.
Display Options – Toggle drawdown metrics, background colorization, and intra-bar updates for visual customization.
Allocation Filters – Enable or disable intra-trend validation, trend source confirmation, or fallback to PAXG during cash periods.
Confidence Period Controls – Adjust the peak and nadir lookback lengths that govern safe/unsafe phase detection.
Asset Selection – Modify or replace up to seven crypto assets in the ranking matrix, including BTC, ETH, SOL, SUI, XRP, BNB, and PAXG.
Each module operates cohesively to maintain analytical transparency while allowing user-level control over system sensitivity and behavior.
Practical Applications
The RS Alpha α w/ Confidence Period indicator is suitable for both systematic traders and quantitative portfolio managers seeking dynamic asset rotation frameworks.
Key applications include:
Market Regime Detection: Identify and visualize transitions between “safe” and “unsafe” market environments using confidence overlays.
Alpha-Focused Asset Selection: Highlight crypto assets demonstrating statistically significant outperformance relative to Bitcoin.
Portfolio Rotation: Dynamically reallocate exposure toward leading assets while reducing capital risk during weak phases.
Risk-Managed Trend Participation: Utilize the confidence-state model to align exposure with favorable market momentum only.
This framework bridges quantitative finance with market regime analytics, enabling a disciplined and data-driven approach to crypto asset allocation.
Advantages and Strategic Value
RS Alpha α extends beyond traditional relative strength indicators by incorporating multi-asset covariance analysis, ratio-based dominance scoring, and volatility-aware regime filtering.
Its three-tier analytical framework — combining trend quality, performance attribution, and confidence-state validation — enhances the reliability of trend-following and rotation signals.
The system is particularly valuable for traders aiming to:
Reduce drawdowns during volatile phases.
Identify consistent outperformers early in developing market trends.
Maintain exposure only when statistical conditions indicate high confidence.
The integrated drawdown monitor, visual allocation tables, and dynamic alert system make RS Alpha α both powerful and transparent, suitable for discretionary and automated strategy workflows alike.
Alerts and Visualization
The script provides clear visual and alert-based feedback mechanisms:
Color-coded background zones differentiate safe vs. unsafe investment periods.
Allocation labels and tables display current dominant assets and their strength scores in real-time.
Max Drawdown Display offers ongoing performance diagnostics.
Alert System automatically notifies users when allocations change (e.g., “50% ETH / 50% SOL” or “100% CASH”).
These visualization features make the indicator not only analytically robust but also intuitively interpretable, even in live market environments.
Summary and Usage Tips
The RS Alpha α w/ Confidence Period | viResearch indicator represents a sophisticated evolution of relative strength analysis — combining alpha–beta decomposition, multi-asset momentum ranking, and dynamic confidence filtering to provide a structured, risk-aware framework for crypto asset rotation.
By integrating market regime awareness with systematic selection logic, it helps traders identify when to participate, what to hold, and when to stay defensive.
For best results, apply on the 1D timeframe as recommended, and use it alongside other viResearch systematic models for portfolio-level insight and tactical confirmation.
Note: Past performance does not guarantee future results. The indicator is intended for research and educational purposes within TradingView.
Algo Trading Signals - Buy/Sell System# 📊 Algo Trading Signals - Dynamic Buy/Sell System
## 🎯 Overview
**Algo Trading Signals** is a sophisticated intraday trading indicator designed for algorithmic traders and active day traders. This system generates precise buy and sell signals based on a dynamic box breakout strategy with intelligent position management, add-on entries, and automatic target adjustment.
The indicator creates a reference price box during a specified time window (default: 9:15 AM - 9:45 AM IST) and generates high-probability signals when price breaks out of this range with confirmation.
---
## ✨ Key Features
### 📍 **Smart Signal Generation**
- **Primary Entry Signals**: Clear buy/sell signals on confirmed breakouts above/below the reference box
- **Confirmation Bars**: Reduces false signals by requiring multiple bar confirmation before entry
- **Cooldown System**: Prevents overtrading with configurable cooldown periods between trades
- **Add-On Positions**: Automatically identifies optimal pullback entries for scaling into positions
### 📦 **Dynamic Reference Box**
- Creates a high/low range during your chosen time window
- Automatically updates after each successful trade
- Visual box display with color-coded boundaries (red=resistance, green=support)
- Mid-level reference line for market structure analysis
### 🎯 **Intelligent Position Management**
- **Automatic Target Calculation**: Sets profit targets based on average move distance
- **Add-On System**: Up to 3 additional entries on optimal pullbacks
- **Position Tracking**: Monitors active trades and remaining add-on capacity
- **Auto Box Shift**: Adjusts reference box after target hits for continued trading
### 📊 **Visual Clarity**
- **Color-Coded Labels**:
- 🟢 Green for BUY signals
- 🔴 Red for SELL signals
- 🔵 Blue for ADD-ON buys
- 🟠 Orange for ADD-ON sells
- ✓ Yellow for Target hits
- **TP Level Lines**: Dotted lines showing current profit targets
- **Hover Tooltips**: Detailed information on entry prices, targets, and add-on numbers
### 📈 **Real-Time Statistics**
Live performance dashboard showing:
- Total buy and sell signals generated
- Number of add-on positions taken
- Take profit hits achieved
- Current trade status (LONG/SHORT/None)
- Cooldown timer status
### 🔔 **Comprehensive Alerts**
Built-in alert conditions for:
- Primary buy entry signals
- Primary sell entry signals
- Add-on buy positions
- Add-on sell positions
- Buy take profit hits
- Sell take profit hits
---
## 🛠️ Configuration Options
### **Time Settings**
- **Box Start Hour/Minute**: Define when to begin tracking the reference range
- **Box End Hour/Minute**: Define when to lock the reference box
- **Default**: 9:15 AM - 9:45 AM (IST) - Perfect for Indian market opening range
### **Trade Settings**
- **Target Points (TP)**: Average move distance for profit targets (default: 40 points)
- **Breakout Confirmation Bars**: Number of bars to confirm breakout (default: 2)
- **Cooldown After Trade**: Bars to wait after closing position (default: 3)
- **Add-On Distance Points**: Minimum pullback for add-on entry (default: 40 points)
- **Max Add-On Positions**: Maximum additional positions allowed (default: 3)
### **Display Options**
- Toggle buy/sell signal labels
- Show/hide trading box visualization
- Show/hide TP level lines
- Show/hide statistics table
---
## 💡 How It Works
### **Phase 1: Box Formation (9:15 AM - 9:45 AM)**
The indicator tracks the high and low prices during your specified time window to create a reference box representing the opening range.
### **Phase 2: Breakout Detection**
After the box is locked, the system monitors for:
- **Bullish Breakout**: Price closes above box high for confirmation bars
- **Bearish Breakout**: Price closes below box low for confirmation bars
### **Phase 3: Signal Generation**
When confirmation requirements are met:
- Entry signal is generated with clear visual label
- Target price is calculated (Entry ± Target Points)
- Position tracking activates
- Cooldown timer starts
### **Phase 4: Position Management**
During active trade:
- **Add-On Logic**: If price pulls back by specified distance but stays within favorable range, additional entry signal fires
- **Target Monitoring**: Continuously checks if price reaches TP level
- **Box Adjustment**: After TP hit, box automatically shifts to new range for next opportunity
### **Phase 5: Trade Exit & Reset**
On target hit:
- Position closes with TP marker
- Statistics update
- Box repositions for next setup
- Cooldown activates
- System ready for next signal
---
## 📌 Best Use Cases
### **Ideal For:**
- ✅ Intraday breakout trading strategies
- ✅ Algorithmic trading systems (via alerts/webhooks)
- ✅ Opening range breakout (ORB) strategies
- ✅ Index futures (Nifty, Bank Nifty, Sensex)
- ✅ High-liquidity stocks with clear ranges
- ✅ Automated trading bots
- ✅ Scalping and day trading
### **Markets:**
- Indian Stock Market (NSE/BSE)
- Futures & Options
- Forex pairs
- Cryptocurrency (adjust timing for 24/7 markets)
- Global indices
---
## ⚙️ Integration with Algo Trading
This indicator is **algo-ready** and can be integrated with automated trading systems:
1. **TradingView Alerts**: Set up alert conditions for each signal type
2. **Webhook Integration**: Connect alerts to trading platforms via webhooks
3. **API Automation**: Use with brokers supporting TradingView integration (Zerodha, Upstox, Interactive Brokers, etc.)
4. **Signal Data Access**: All signals are plotted for external data retrieval
---
## 📖 Quick Start Guide
1. **Add Indicator**: Apply to your chart (works best on 1-5 minute timeframes)
2. **Configure Time Window**: Set your desired box formation period
3. **Adjust Parameters**: Tune confirmation bars, targets, and add-on settings to your trading style
4. **Set Alerts**: Create alert conditions for automated notifications
5. **Backtest**: Review historical signals to validate strategy performance
6. **Go Live**: Enable alerts and start receiving real-time trading signals
---
## ⚠️ Risk Disclaimer
This indicator is a **tool for analysis** and does not guarantee profits. Trading involves substantial risk of loss. Always:
- Use proper position sizing
- Implement stop losses (not included in this indicator)
- Test thoroughly before live trading
- Understand market conditions
- Never risk more than you can afford to lose
- Consider your risk tolerance and trading experience
**Past performance does not indicate future results.**
## 🔄 Version History
**v1.0** - Initial Release
- Dynamic box formation system
- Confirmed breakout signals
- Add-on position management
- Visual signal labels and statistics
- Comprehensive alert system
- Auto-adjusting target boxes
---
## 📞 Support & Feedback
If you find this indicator helpful:
- ⭐ Please leave a like/favorite
- 💬 Share your feedback in comments
- 📊 Share your results and improvements
- 🤝 Suggest features for future updates
---
## 🏷️ Tags
`breakout` `daytrading` `signals` `algo` `automated` `intraday` `ORB` `opening-range` `buy-sell` `scalping` `futures` `nifty` `banknifty` `algorithmic` `box-strategy`
*Remember: The best indicator is combined with proper risk management and trading discipline.* Use it at your own rist, not as financial advie
KCP Support & Resistance [Dr.K.C.PRAKASH]ChatGPT said:
This indicator “KCP Support & Resistance ” (Pine Script v5) is a multi-featured support & resistance tool that combines pivots, slope-based channels, Fibonacci options, and SMA200 trend reference.
🔎 Core Concept
The script identifies pivot highs and lows and uses them to draw support and resistance levels on the chart.
It allows you to visualize them in two ways:
Horizontal lines (flat support/resistance at pivot values).
Parallel slope-based lines (trend-adjusted, drawn with slope factor).
⚙️ Settings & Options
Theme
useDark: Switches to a dark-color palette with bright neon-style lines for better visibility on dark charts.
Basic Settings
length: Pivot length (bars used to detect swing high/low).
lookback: How many past pivot points to use for plotting lines.
Slope: Multiplier applied to slope calculations (for slanted trendline-style S/R).
Extend Horizontal Lines Left?: Option to extend horizontal lines to both sides.
Extend Parallel Lines Left?: Same for slope-based lines.
Show/Hide Controls
Show Parallel Lines?: Toggle diagonal support/resistance.
Show Horizontal Lines?: Toggle flat levels.
Show SMA 200 Line?: Toggle long-term SMA(200) reference.
Hide Fibonacci Lines? / Show Fib Trend Line? / Show All Fibonacci Lines?: (reserved for Fib functionality).
Line Colors
Customizable line colors for parallel & horizontal high/low lines.
If Dark Theme is enabled → Uses preset colors:
Electric Blue (Resistance - Parallel Highs)
Neon Green (Support - Parallel Lows)
Deep Red/Pink (Horizontal Highs)
Warm Yellow (Horizontal Lows)
📐 Logic & Calculations
Pivot Detection
Uses ta.pivothigh & ta.pivotlow with length to mark swing points.
Stores them in arrays for drawing multiple levels.
Slope Calculation
Uses covariance/variance of price vs. time (bar_index) to estimate slope.
Multiplied by Slope factor.
Makes trend-following parallel support/resistance lines possible.
Line Drawing
Parallel lines: Slanted, based on pivot highs/lows + slope.
Horizontal lines: Flat support & resistance levels extended across the chart.
SMA200 Plot
Plots SMA(200) for long-term trend direction.
Colored white if EMA(200) > SMA(200), else yellow (trend bias visual).
📊 What You See on Chart
Support & Resistance drawn dynamically from pivots.
Choice of horizontal (classic S/R) or sloped (trend-following) lines.
Dark theme colors → Electric blue, neon green, deep pink, warm yellow (if enabled).
SMA200 reference line → Helps identify bullish/bearish long-term bias.
Optional Fibonacci lines (future expansion).
kuw13do not use it if you dont know what is for .
its for education only .
learn and you will be better than every one .
do not give up
Cnagda Pure Price ActionCnagda Pure Price Action (CPPA) indicator is a pure price action-based system designed to provide traders with real-time, dynamic analysis of the market. It automatically identifies key candles, support and resistance zones, and potential buy/sell signals by combining price, volume, and multiple popular trend indicators.
How Price Action & Volume Analysis Works
Silver Zone – Logic, Reason, and Trade Planning
Logic & Visualization:
The Silver Zone is created when the closing price is the lowest in the chosen window and volume is the highest in that window.
Visually, a large silver-colored box/rectangle appears on the chart.
Thick horizontal lines (top and bottom) are drawn at the high and low of that candle/bar, extending to the right.
Reasoning:
This combination typically occurs at strong “accumulation” or support areas:
Sellers push the price down to the lowest point, but aggressive buyers step in with high volume, absorbing supply.
Indicates potential exhaustion of selling and likely shift in market control to buyers.
How to Plan Trades Using Silver Zone:
Watch if price returns to the Silver Zone in the future: It often acts as powerful support.
Bullish entries (buys) can be planned when price tests or slightly pierces this zone, especially if new buy signals occur (like yellow/green candle labels).
Place your stop-loss below the bottom line of the Silver Zone.
Target: Look for the nearest resistance or opposing zone, or use indicator’s bullish label as confirmation.
Extra Tip:
Multiple touches of the Silver Zone reinforce its importance, but if price closes deeply below it with high volume, that’s a caution signal—support may be breaking.
Black Zone – Logic, Reason, and Trade Planning (as CPPA):
Logic & Visualization:
The Black Zone is created when the closing price is the highest in the chosen window and volume is the lowest in that window.
Visually, a large black-colored box/rectangle appears on the chart, along with thick horizontal lines at the top (high) and bottom (low) of the candle, extending to the right.
Reasoning:
This combination signals a strong “distribution” or resistance area:
Buyers push the price up to a local high, but low volume means there is not much follow-through or conviction in the move.
Often marks exhaustion where uptrend may pause or reverse, as sellers can soon step in.
How to Plan Trades Using Black Zone:
If price revisits the Black Zone in the future, it often acts as major resistance.
Bearish entries (sells) are considered when price is near, testing, or slightly above the Black Zone—especially if new sell signals appear (like blue/red candle labels).
Place your stop-loss just above the top line of the Black Zone.
Target: Nearest support zone (such as a Silver Zone) or next indicator’s bearish label.
Extra Tip:
Multiple touches of the Black Zone make it stronger, but if price closes far above with rising volume, be cautious—resistance might be breaking.
Support Line – Logic, Reason, and Trade Planning (as Cppa):
Logic & Visualization:
The Support Line is a dynamically drawn dashed line (usually blue) that marks key price levels where the market has previously shown significant buying interest.
The line is generated whenever a candle forms a high price with high volume (orange logic).
The script checks for historical pivot lows, past support zones, and even higher timeframe (HTF) supports, and then extends a blue dashed line from that price level to the right, labeling it (sometimes as “Prev Support Orange, HTF”).
Reasoning:
This line helps you visually identify where demand has been strong enough to hold price from falling further—essentially a floor in the market used by professional traders.
If price approaches or re-tests this line, there’s a good chance buyers will defend it again.
How to Plan Trades Using Support Line:
Watch for price to approach the Support Line during down moves. If you see a bullish candlestick pattern, buy labels (yellow/green), or other indicators aligning, this can be a high-probability entry zone.
Great for planning stop-loss for long trades: place stops just below this line.
Target: Next resistance zone, Black Zone, or the top of the last swing.
Extra Tip:
Multiple confirmations (support line + Silver Zone + bullish label) provide powerful entry signals.
If price closes strongly below the Support Line with volume, be cautious—support may be breaking, and a trend reversal or deeper correction could follow.
Resistance Line – Logic, Reason, and Trade Planning (from CPPA):
Logic & Visualization:
The Resistance Line is a dynamically drawn dashed line (usually purple or red) that identifies price levels where the market has previously faced significant selling pressure.
This line is created when a candle reaches a high price combined with high volume (orange logic), or from a historical pivot high/resistance,
The script also tracks higher timeframe (HTF) resistance lines, labeled as “Prev Resistance Orange, HTF,” and extends these dashed lines to the right across the chart.
Reasoning:
Resistance Lines are visual markers of “supply zones,” where buyers previously failed, and sellers took control.
If the price returns to this line later, sellers may get active again to defend this level, halting the uptrend.
How to Plan Trades Using Resistance Line:
Watch for price to approach the Resistance Line during up moves. If you see bearish candlestick patterns, sell labels (blue/red), or bearish indicator confirmation, this becomes a strong shorting opportunity.
Perfect for placing stop-loss in short trades—put your stop just above the Resistance Line.
Target: Next support zone (Silver Zone) or bottom of the last swing.
If the price breaks above with high volume, avoid shorting—resistance may be failing.
Extra Tip:
Multiple resistances (Resistance Line + Black Zone + bearish label) make short signals stronger.
Choppy movement around this line often signals indecision; wait for a clear rejection before entering trades.
Bullish / Bearish Label – Logic, Reason, and Trade Planning:
Logic & Visualization:
The indicator constantly calculates a "Bull Score" and a "Bear Score" based on several factors:
Trend direction from price slope
Confirmation by popular indicators (RSI, ADX, SAR, CMF, OBV, CCI, Bollinger Bands, TWAP)
Adaptive scoring (higher score for each bullish/bearish condition met)
If Bull Score > Bear Score, the chart displays a green "BULLISH" label (usually below the bar).
If Bear Score > Bull Score, the chart displays a red "BEARISH" label (usually above the bar).
If neither dominates, a "NEUTRAL" label appears.
Reasoning:
The labels summarize complex price action and indicator analysis into a simple, actionable sentiment cue:
Bullish: Majority of conditions indicate buying strength; trend is up.
Bearish: Majority signals show selling pressure; trend is down.
How to Use in Trade Planning:
Use the Bullish label as confirmation to enter or hold long (buy) positions, especially if near support/Silver Zone.
Use the Bearish label to enter/hold short (sell) positions, especially if near resistance/Black Zone.
For best results, combine with candle color, volume analysis, or other labels (yellow/green for buys, blue/red for sells).
Avoid trading against these labels unless you have strong confluence from zones/support levels.
Yellow Label (Buy Signal) – Logic, Reason & Trade Planning:
Logic & Visualization:
The yellow label appears below a candle (label.style_label_up, yloc.belowbar) and marks a potential buy signal.
Script conditions:
The candle must be a “yellow candle” (which means it’s at the local lowest close, not a high, with normal volume).
Volume is decreasing for 2 consecutive candles (current volume < previous volume, previous volume < second previous).
When these conditions are met, a yellow label is plotted below the candle.
Reasoning:
This scenario often marks the end of selling pressure and start of possible accumulation—buyers may be stepping in as sellers exhaust.
Decreasing volume during a local price low means selling is slowing, possibly hinting at a reversal.
How to Trade Using Yellow Label:
Entry: Consider buying at/just above the yellow-labeled candle’s close.
Stop-loss: A bit below the candle’s low (or Silver Zone line, if present).
Target: Next resistance level, Black Zone, or chart’s bullish label.
Extra Tip:
If the yellow label is found at/near a Silver Zone or Support Line, and trend is “Bullish,” the setup gets even stronger.
Avoid trading if overall indicator shows “Bearish.”
Green Label (Buy with Increasing Volume) – Logic, Reason & Trade Planning:
Logic & Visualization:
The green label is plotted below a candle (label.style_label_up, yloc.belowbar) and marks a strong buy signal.
Script conditions:
The candle must be a “yellow candle” (at the local lowest close, normal volume).
Volume is increasing for 2 consecutive candles (current volume > previous volume, previous volume > second previous).
When these conditions are met, a green label is plotted below the candle.
Reasoning:
This scenario signals that buyers are stepping in aggressively at a local price low—the end of a downtrend with strong, rising activity.
Increasing volume at a price low is a classic sign of accumulation, where institutions or large players may be buying.
How to Trade Using Green Label:
Entry: Consider buying at/just above the green-labeled candle’s close for a momentum-based reversal.
Stop-loss: Slightly below the candle’s low, or the Silver Zone/support line if present.
Target: Nearest resistance zone/Black Zone, indicator’s bullish label, or next swing high.
Extra Tip:
If the green label is near other supports (Silver Zone, Support Line), the setup is extra strong.
Use confirmation from Bullish labels or trend signals for best results.
Green label setups are suitable for quick, high momentum trades due to increasing volume
Blue Label (Sell Signal on Decreasing Volume) – Logic, Reason & Trade Planning:
Logic & Visualization:
The blue label is plotted above a candle (label.style_label_down, yloc.abovebar) as a potential sell signal.
Script conditions:
The candle is a “blue candle” (local highest close, but not also lowest, and volume is neither highest nor lowest).
Volume is decreasing over 2 consecutive candles (current volume < previous, previous < two ago).
When these match, a blue label appears above the candle.
Reasoning:
This typically signals buyer exhaustion at a local high: price has gone up, but volume is dropping, suggesting big players may not be buying any more at these levels.
The trend is losing strength, and a reversal or pullback is likely.
How to Trade Using Blue Label:
Entry: Look to sell at/just below the candle with the blue label.
Stop-loss: Just above the candle’s high (or above the Black Zone/resistance if present).
Target: Nearest support, Silver Zone, or a swing low.
Extra Tip:
Blue label signals are stronger if they appear near Black Zones or Resistance Lines, or when the general market label is "Bearish."
As with buy setups, always check for confirmation from trend or volume before trading aggressively.
Blue Label (Sell Signal on Decreasing Volume) – Logic, Reason & Trade Planning:
Logic & Visualization:
The blue label is plotted above a candle (label.style_label_down, yloc.abovebar) as a potential sell signal.
Script conditions:
The candle is a “blue candle” (local highest close, but not also lowest, and volume is neither highest nor lowest).
Volume is decreasing over 2 consecutive candles (current volume < previous, previous < two ago).
When these match, a blue label appears above the candle.
Reasoning:
This typically signals buyer exhaustion at a local high: price has gone up, but volume is dropping, suggesting big players may not be buying any more at these levels.
The trend is losing strength, and a reversal or pullback is likely.
How to Trade Using Blue Label:
Entry: Look to sell at/just below the candle with the blue label.
Stop-loss: Just above the candle’s high (or above the Black Zone/resistance if present).
Target: Nearest support, Silver Zone, or a swing low.
Extra Tip:
Blue label signals are stronger if they appear near Black Zones or Resistance Lines, or when the general market label is "Bearish."
As with buy setups, always check for confirmation from trend or volume before trading aggressively.
Here’s a summary of all key chart labels, zones, and trading logic of your Price Action script:
Silver Zone: Powerful support zone. Created at lowest close + highest volume. Best for buy entries near its lines.
Black Zone: Strong resistance zone. Created at highest close + lowest volume. Ideal for short trades near its levels.
Support Line: Blue dashed line at historical demand; buyers defend here. Look for bullish setups when price approaches.
Resistance Line: Purple/red dashed line at supply; sellers defend here. Great for bearish setups when price nears.
Bullish/Bearish Labels: Summarize trend direction using price action + multiple indicator confirmations. Plan buys, holds on bullish; sells, shorts on bearish.
Yellow Label: Buy signal on decreasing volume and local price low. Entry above candle, stop below, target next resistance.
Green Label: Strong buy on increasing volume at a price low. Entry for momentum trade, stop below, target next zone.
Blue Label: Sell signal on dropping volume and local price high. Entry below candle, stop above, target next support.
Best Practices:
Always combine zone/label signals for higher probability trades.
Use stop-loss near zones/lines for risk management.
Prefer trading in the trend direction (bullish/bearish label agrees with your entry).
if Any Question, Suggestion Feel free to ask
Disclaimer:
All information provided by this indicator is for educational and analysis purposes only, and should not be considered financial advice.
MM-Auto SQ9 V1.0MM-Auto SQ9 V1.0 — Automatic Square-of-9 levels from a selected pivot (Bottom/Top). Choose base shape or Custom Angle, optional half-angles, cycles, and full color/style control.
Disclaimer: Educational purposes only — not financial advice.
**What it is**
A visual Gann Square-of-9 level engine. It projects horizontal SQ9 price levels from a single pivot using root/square transforms, with selectable geometric bases (90°/60°/72°/120°/45°) or a **Custom Angle**, optional **Sub-Angles (half-angles)**, multi-cycle expansion, full styling control, and a **draggable 0-line** pivot.
**Key features**
* **Draggable 0-line:** Drag the pivot line on the chart and drop it on any swing high/low — no need to type the reference price. Levels recalc instantly.
* **Bottom/Top modes** for projection direction.
* **Shapes or Custom Angle** (Square/Octagon/Hexagon/Triangle/Pentagon or your own).
* **Sub-Angles (½)** with separate style/color.
* **Cycles** to extend the grid.
* **Clean UI**: labels (size/distance), line thickness/style/colors, pivot line style.
**Inputs (quick guide)**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle Value • Number of Cycles • Show Sub-Angles & Line Style • Colors & Line Thickness • Labels (on/size/distance).
**Workflow**
1. Drag the **0-line** to your pivot (any swing high/low) or set **Pivot Price** and **Bottom/Top**.
2. Pick shape or **Custom Angle**; increase **Cycles** if needed.
3. Tune **Space Multiplier** to align levels with historical reactions.
4. (Optional) Enable **Sub-Angles** for finer structure.
5. Observe **bounce / break / retest** around levels and combine with your system.
**Pro tips**
* Use a **structural swing** as pivot.
* Reduce clutter by lowering cycles or disabling sub-angles.
* Pair with **market structure / volume / ATR / fractals** for decision support.
* Adjust label size/distance to keep charts clean.
**Troubleshooting (dragging)**
If the 0-line doesn’t move, ensure drawings are **unlocked** and “Move drawings” is enabled in chart settings.
**Disclaimer & Rights**
Educational purposes only — **not financial advice**.
Script programmed by **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **All rights reserved.** No unauthorized copying, distribution, or resale.
## 🇸🇦/🇸🇾 الوصف العربي
**ما هو المؤشّر؟**
محرّك مستويات جان **Square-of-9** يعرض مستويات سعرية أفقية من **Pivot** واحد باستخدام تحويل الجذر/التربيع، مع اختيار شكل زاوي جاهز (90°/60°/72°/120°/45°) أو **زاوية مخصّصة**، وخيار **أنصاف الزوايا**، ودورات متعددة، وتحكّم كامل بالمظهر، وميزة **سحب خط الصفر** لتغيير المحور بسرعة.
**أهم الميزات**
* **سحب خط الصفر:** اسحب خط الـ0 (Pivot) وضعه على أي قاع/قمة — بدون إدخال السعر يدويًا. تُعاد الحسابات فورًا.
* وضعا **Bottom/Top** لتحديد اتجاه الإسقاط.
* **أشكال جاهزة أو زاوية مخصّصة**.
* **أنصاف الزوايا (½)** بنمط/لون مستقلين.
* **الدورات (Cycles)** لتوسعة الشبكة.
* **تحكّم بصري كامل**: عناوين بحجم/مسافة، سماكة/نمط/ألوان الخطوط، ونمط خط المحور.
**الإعدادات باختصار**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle • Number of Cycles • Sub-Angles & Line Style • الألوان والسماكات • إعدادات العناوين (إظهار/حجم/مسافة).
**طريقة الاستخدام**
1. اسحب **خط الصفر** إلى القاع/القمة المطلوبة أو حدّد **Pivot Price** واختر **Bottom/Top**.
2. اختر الشكل أو **زاوية مخصّصة**؛ وفعّل **Cycles** إذا لزم.
3. عدّل **Space Multiplier** حتى ترى احتراماً تاريخياً للمستويات.
4. (اختياري) فعّل **أنصاف الزوايا** للدقة.
5. راقب **الارتداد/الاختراق/إعادة الاختبار** وادمجها مع نظامك.
**نصائح**
* اختر Pivot بنيوي واضح (Swing).
* لتقليل الزحمة: خفّض الدورات أو عطّل أنصاف الزوايا.
* دمجها مع **بنية السوق/الفوليوم/ATR/الفراكتلات** يدعم القرار.
* تحكّم بحجم/مسافة العناوين للحفاظ على نظافة الشارت.
**حلّ مشكلة السحب**
إذا ما تحرّك خط الصفر: تأكّد أن الرسومات **غير مقفولة** وأن خيار تحريك الرسومات مفعّل في إعدادات الشارت.
**إخلاء مسؤولية وحقوق**
لأغراض تعليمية فقط — **ليست نصيحة مالية**.
السكربت مبرمج بواسطة **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **جميع الحقوق محفوظة.** يُمنع النسخ/التوزيع/البيع دون إذن.
#Gann #SquareOf9 #SQ9 #Angles #CustomAngle #SupportResistance #PineScript #TradingView
Market Structure (BOS on Break, HH/HL/LH/LL)Market Structure (BOS on Break, HH/HL/LH/LL) is a clean and reactive market structure tool designed for traders who want clear visual feedback of trend direction and structure changes.
It automatically identifies:
Higher Highs (HH)
Higher Lows (HL)
Lower Highs (LH)
Lower Lows (LL)
Breaks of Structure (BOS) when price breaches previous swing levels.
✳️ Features
Automatic Structure Detection: Detects swing highs/lows based on your left/right pivot settings.
Break of Structure Alerts: Instantly updates bias when price breaks a previous swing level (no delay).
Real-Time BOS Response: Structure flips as soon as price takes out the previous high or low.
Color-Coded Bars: Bars can auto-paint white for bullish and black for bearish conditions.
Optional Fading Dots: Visual fading dots track trend duration and strength for quick bias reading.
Customizable Pivots: Choose how many bars to use for left/right swing confirmation.
Alerts: Fully configured for HH, HL, LH, LL, BOS Up, and BOS Down events.
⚙️ Inputs
Left Pivot Bars / Right Pivot Bars: Control how many candles define a valid swing point.
Paint Bars by Trend: Toggle bar coloring to match bullish or bearish bias.
Show Fading Trend Dots: Add fading dots that shrink and fade as a trend matures.
🔔 Alerts
Break of Structure Up / Down
Higher High (HH) confirmed
Higher Low (HL) confirmed
Lower High (LH) confirmed
Lower Low (LL) confirmed
🎯 Use Case
Perfect for:
Price action traders
Smart money concept (SMC) practitioners
Trend structure analysts
Scalpers and swing traders looking for quick structure flips.
🧠 Notes
Works on any timeframe and any instrument.
BOS signals update immediately when price breaks structure (no lag).
For additional BOS markers, you can uncomment the last few lines in the script to show arrows when structure breaks.
TokMaz – Signal Plain🧭 Overview
A clean, lightweight, and non-repainting directional signal indicator built for serious traders.
This version is fully optimized and locked to ensure stable performance and consistent signal output.
⚙️ Features
1. Designed to follow price precisely (no delay or offset).
2. Non-repainting structure — all signals confirmed on bar close.
3. Automatic Buy/Sell/Rejection alerts ready for webhook or automation use.
4. Minimal visual design — clear lines, direct chart attachment, no background clutter.
5. Integrated trend reference line (SMA200) for long-term view.
💡 Signal Display:-
🔵 BUY Solid – Bullish directional setup
🔴 SELL Solid – Bearish directional setup
⚪ REJ→BUY / REJ→SELL – Potential rejection or reversal zones
All signals appear directly on candles for instant readability and execution timing.
📢 Alerts:-
✅ BUY Solid
✅ SELL Solid
⚡ REJ→BUY
⚡ REJ→SELL
Works seamlessly with TradingView notifications or external automation.
📈 Style:-
EMA50 (dynamic price reference)
SMA200 (trend backbone)
Clean, professional visual — perfect for live trading or educational setups.
CRT + Daily Bias - Milana Trades
This indicator merges Candle Range Theory (CRT) with a Daily & Weekly Bias model, offering traders a complete view of both short-term price traps and higher-timeframe market direction. It is designed to highlight potential liquidity traps, reversals, and directional bias in a structured and visually intuitive format.
🔹 1. Candle Range Theory (CRT)
The CRT module detects false breakout candles (trap candles) and plots key high/low levels to mark significant turning points.
Bullish CRT
Occurs when price makes a lower low than the previous candle but closes bullish (close > open).
→ Suggests a possible upside reversal.
Bearish CRT
Occurs when price makes a higher high than the previous candle but closes bearish (close < open).
→ Suggests a possible downside reversal.
When a CRT is detected:
Dotted lines and levels are drawn from the trap candle’s high/low.
Labels such as CRT, CRT H, and CRT L appear for easy visualization.
Previous CRT structures can auto-clear when new traps form.
Alerts trigger once a trap is confirmed on candle close.
🔹 2. Daily & Weekly Bias
The Bias module determines market direction using daily and weekly candle structure. It evaluates:
Breaks above/below previous highs and lows.
Failed breaks (false moves beyond prior levels).
Inside bars (neutral range conditions).
Bias Logic Summary:
Close Above Previous High → Bullish
Close Below Previous Low → Bearish
Failed Break Above → Bearish
Failed Break Below → Bullish
Inside Range → Neutral
Both Daily and Weekly bias values are displayed in an on-chart table for quick context.
⚠️ Note:
The bias readings are technical references, not trading signals. Always combine them with your own analysis, context, and market awareness.
🔹 3. Bias Table
A clean table (top-right by default) displays:
Timeframe (Daily / Weekly)
Current Bias (Bullish, Bearish, Neutral)
Reason for bias (breakout, failure, or inside bar)
The table is fully customizable, allowing you to adjust:
Header and text colors
Background and border styles
Display of specific timeframes (Daily / Weekly)
🔹 4. Alerts
Real-time alerts notify you when:
Bullish CRT is detected
Bearish CRT is detected
Alerts only trigger on candle close for accuracy and reduced false signals.
🔹 5. Settings
CRT Module
Length: Number of bars CRT levels extend.
Clear Broken: Automatically removes old CRT levels when new traps form.
Trap Candle Colors: Customize bullish/bearish candle highlights.
Line & Label Style: Full control of label size, color, and line styling.
Bias Module
Show Table: Toggle on/off.
Show Daily / Weekly Bias: Select which to display.
Color Customization: Set colors for bias states and table design.
🔹 6. How to Use
Watch for CRT labels forming near major or liquidity areas.
Check the Daily/Weekly Bias Table for trend confirmation.
Align CRT signals with the bias direction for higher-probability setups.
Use alerts to stay informed without constantly monitoring charts.
COT Raw Net Positions📊 What the COT Raw Data Shows — and Why It’s So Valuable
The COT Raw view displays the actual net positions of each trader group (Commercials, Large Speculators, and Retail/Small Traders) as reported weekly by the CFTC.
Instead of normalizing or smoothing the data, it shows the real contract numbers — how many futures contracts each group is long or short.
This raw form of the data offers pure transparency into market positioning.
It allows traders to:
See the true scale of institutional buying or selling pressure.
Understand how different market participants are behaving week to week.
Spot early accumulation or distribution phases long before they become visible on price charts.
Compare multiple assets side by side to gauge relative strength across markets.
While the COT Index simplifies things by showing where current positions sit relative to history, the COT Raw view provides context and depth — helping experienced traders understand why those extremes are forming.
In essence:
📈 COT Raw = the foundation of the data — it shows what’s really happening under the surface.
It’s a must-have for traders who want to study institutional flows, analyze correlations, and confirm macro sentiment shifts directly from the source.
⚠️ Note: As with all COT-based tools, the data updates weekly and is best interpreted on weekly or higher timeframes.