Auto HTF Candles [@gaucho_trader][Auto HTF Candles  
 (Title) 
Tired of constantly switching between timeframes? 🔄 This indicator solves that problem by bringing Higher Timeframe (HTF) context directly onto your current chart.
Auto HTF Candles plots up to three different sets of HTF candles in a clean, non-intrusive panel on the right side of your screen. Now you can watch a 4H candle develop while analyzing price action on a 5-minute chart, all in one view.
 Core Concept 🎯 
The principle is simple: your lower timeframe (LTF) trading decisions become significantly more powerful when aligned with the HTF trend and structure. By displaying the live HTF candles, you can instantly see if the current LTF move is a weak pullback against a strong HTF candle or a powerful breakout from an HTF consolidation. This indicator provides that essential macro context without ever leaving your main chart.
 Key Features 📊 
📈 Display Multiple Timeframes: Plot up to three fully independent higher timeframes simultaneously (e.g., 15m, 1H, and 4H).
🤖 Automatic HTF Selection: Enable the "Auto-Adjust HTF 1" feature, and the script will intelligently select a logical higher timeframe for you based on your current chart.
⏳ Real-Time Countdown Timer: Each timeframe displayed includes a timer showing the exact time remaining until the current HTF candle closes. This is crucial for anticipating end-of-candle volatility.
🎨 Fully Customizable Appearance: You have complete control over the visual style. Adjust colors, candle width, spacing, and the padding from the live price.
✨ Clean & Organized Layout: The candles are neatly arranged to the right of the current price, ensuring your main chart remains clear and unobstructed.
 How to Use It 💡 
Context is King: Use the HTF candles to define your bias. If the 4H candle is strongly bullish, you can look for more confident long entries on your 5m chart.
Identify Key Levels in Real-Time: Watch the highs and lows of the HTF candles as they form. These levels often act as powerful intraday support and resistance.
Anticipate Reversals: Is the 1H candle approaching its close and printing a long upper wick? This could signal a potential reversal, giving you a heads-up before the pattern is obvious on the LTF.
Streamline Your Workflow: Use the "Auto-Adjust" feature for a dynamic analysis setup. As you switch between different charts, your most relevant HTF context will follow you automatically.
 Main Settings ⚙️ 
HTF 1, 2, 3: Enable and select up to three custom timeframes and set how many recent candles you want to display for each.
Auto-Adjust HTF 1: The star of the show. Toggle this on to let the script automatically select the first HTF based on your chart's period.
Styling: A comprehensive section to modify all colors, candle width, and the spacing between candles and timeframes.
Label Settings: Independently control the visibility, color, and size of the HTF name labels and the countdown timers.
 ⚠️ Disclaimer 
This indicator is a tool for market analysis and should not be considered financial advice. Trading involves significant risk. Always perform your own due diligence before making any trading decisions.
Corak carta
4H TIMEZONE LONGTERM. NINJAXON12S CODEthis strategy is meant for longer time zones. I've been working on this for a while and now i successfully got a 1000% on back testing for 5 years.
Ultra-Fast Scalp Predictor 2This is a Pine Script (version 5) indicator engineered for ultra-low latency scalping, optimized specifically for very short timeframes (1-second to 1-minute charts) to predict price direction over the next 30-60 seconds.
It operates as a single, composite directional score by combining six highly sensitive, fast-moving analytical components.
Core Prediction Methodology:
The indicator calculates a single predictionScore which is a sum of six weighted factors, designed to capture immediate changes in market momentum, volatility, and order flow pressure.
The Prediction Score determines the signal:
predictUp: predictionScore is greater than the Bull Threshold ($\text{Sensitivity} \times 10$).
predictDown: predictionScore is less than the Bear Threshold ($\text{Sensitivity} \times -10$).
confidence: Calculated as the normalized absolute magnitude of the predictionScore relative to a theoretical maximum (math.abs(predictionScore) / 50 \times 100).
Scalp ThisKey Features and Components:
The indicator is built around a multi-layered approach, drawing on diverse aspects of price action and volume analysis:
 Core Inputs & Goal:
Goal: Predict short-term (1-10 second) price direction. This means it must be run on the lowest available timeframe (e.g., 1-second or 1-minute chart, as it analyzes minute-to-minute changes).
lookback (Default 8): The period used for various moving averages and extreme detection (micro highs/lows).
sensitivity (Default 1.0): Controls the threshold for generating a signal. A lower value requires the predictionScore to be less extreme to trigger an 'Up' or 'Down' signal.
Advanced Features: It includes toggles for specialized components like ML Pattern Recognition, Tick Flow Analysis, and Liquidity Zone Detection, even though the "ML" part is purely algorithmic and not actual machine learning (Pine Script doesn't support true ML).
Futures Gann MonthBuilds a a continuous chart of the same month for a futures contract (e.g. ZSH2026).
This means such a chart consists of March '22, March '23, March '24, March '25, March '26...
The script goes back 20 years at most (depending on the current ticker selected in TradingView).
ORB High/LowOpening Range High/Low (ORB) Indicator
This indicator plots the Opening Range High and Low (ORB) for a user-defined time window on your chart. It helps traders identify the initial price range after market open, which is commonly used for breakout and trend strategies.
Key Features:
Custom OR Window: Set your own start and end time for the Opening Range. Default is 08:30–08:45 CST.
ORB High/Low Lines: Automatically plots the high and low of the opening range.
Sticky Labels: “ORB High” and “ORB Low” labels follow the lines across the chart for easy visibility.
Shaded Box: Highlights the opening range area with customizable color and opacity.
Custom Colors: Separate colors for lines, shading, and labels, allowing for full chart customization.
Stop Time: Optionally stop plotting OR lines after a specific time.
Daily Reset: Automatically resets at the start of a new day, preventing carryover from the previous session.
Usage:
Identify breakout levels: watch for price to break above ORB High or below ORB Low.
Gauge early market volatility and momentum.
Combine with other technical tools for trend confirmation or intraday strategies.
Ideal For: Intraday and day traders who rely on the first 15 minutes of the trading session to identify key levels and potential breakout points.
Empire OS Trading Fully Automated Prop Firm Ready💎 Prop-Firm-Ready Momentum System v3 — The Gold-Mine Algorithm 💎
Engineered for the same standards that top prop firms demand — minimal drawdown, consistent equity growth, and precision-based execution. This isn’t a basic indicator; it’s a refined momentum engine built for traders who scale capital and manage risk like professionals.
Performance Snapshot
• Profit Factor 2.26 • Win Rate 33 % • Max Drawdown 0.9 % • Total P/L + $447 • W/L Ratio 4.6 : 1
Stress-tested on Gold (XAUUSD) across live-market conditions, it stays composed under volatility and delivers structured, data-driven consistency.
⚡ See it. Test it. Scale it.
Built for prop-firm precision — from $10 K to $300 K and beyond.
QQQ overlay over NQ/NDXThis enhanced version of the QQQ overlay script builds on the original by © PtGambler, adding smoothing via stepped ratios updated on candle close to eliminate oscillation, optimizing performance by reusing lines/labels, restricting visibility to relevant symbols (NDX, NQ1!, NAS100USD), and improving visuals with rounded levels, adjustable level counts (default 5 total), extended lines, and label styles matching "Key Levels" indicator for better readability (gray text, transparent background). Removed unnecessary table and floating labels for a cleaner chart. Thanks to © PtGambler for the foundational work!
BOX + 50% + 75% N CANDLES BACK (Freeze v2.7c)📦 BOX + 50% + 75% N CANDLES BACK (Freeze v2.7c)
Author: Eng. Vicente Budzinski
This indicator automatically draws a consolidation box based on the closing and opening prices of a specified number of bars behind the most recent one, helping traders visualize short-term balance zones and potential breakout areas.
🧭 Key Features
Dynamic Box Calculation:
The box is defined by the highest and lowest body prices (open/close) within a user-defined window of bars (Bars Back), extended into the future for projection.
Right-Side Filter (RightBar):
Allows you to ignore the most recent N bars (including the current one) when calculating the top and bottom, keeping the box anchored to slightly older structure and filtering out recent noise or spikes.
50% and 75% Levels:
Automatically plots 50% and 75% internal zones inside the consolidation box for refined reference levels.
Freeze Mode:
Lets you “lock in” the current box geometry, preventing it from being recalculated on new bars — perfect for marking static consolidation zones or backtesting breakouts.
Fully Customizable:
Choose to display internal guides, borders, labels, and extension distance into future bars.
⚙️ Typical Use Cases
Identifying price compression zones before breakouts.
Marking balance areas for pullback or breakout strategies.
Studying price behavior after consolidation (range expansion).
💡 Usage Tips
Increase Bars Back for broader consolidation zones.
Adjust RightBar to ignore the latest volatility or wick extensions.
Use Freeze to keep your box fixed for analysis or screenshots.
ASTER Key Levels & Alerts (Improved)TradingView Script Description
Title: ASTER Key Levels & Alerts (Improved)
Description:
Enhance your trading strategy with the "ASTER Key Levels & Alerts" indicator, designed for precision and decision-making on the Aster chart (e.g., ASTS). This Pine Script v6 tool overlays customizable key levels and zones to identify optimal entry, exit, and stop-loss points, complete with real-time alerts.Key Features:
Customizable Levels: Adjust add zones (Light & Main), breakout, stop, and take-profit (TP1-TP3
eFkolos Tech IndicatorMachine learning-enhanced SuperTrend indicator that uses k-means clustering to adaptively optimize SuperTrend parameters based on historical performance. Let me break down what makes this unique:
Key Innovation
Instead of using a single fixed SuperTrend factor, this indicator:
Calculates multiple SuperTrends simultaneously (with factors from 1 to 5 by default, stepped at 0.5)
Tracks performance of each variant using exponential smoothing
Clusters them into 3 groups (Best/Average/Worst) using k-means algorithm
Adapts by selecting the average factor from your chosen cluster
Clever Technical Aspects
Performance Metric: Uses a smart approach where performance = EMA of (price_change × signal_direction), giving positive values when the SuperTrend correctly predicts direction.
K-means Implementation: Properly initializes centroids using quartiles and iterates until convergence - this is solid unsupervised learning.
Adaptive MA Layer: The perf_ama that adapts faster when the performance index is high (more confidence) and slower when low.
Memory Management: Uses UDTs (User Defined Types) efficiently with arrays to handle multiple SuperTrend instances.
eFkolos TechMachine learning-enhanced SuperTrend indicator that uses k-means clustering to adaptively optimize SuperTrend parameters based on historical performance. Let me break down what makes this unique:
Key Innovation
Instead of using a single fixed SuperTrend factor, this indicator:
Calculates multiple SuperTrends simultaneously (with factors from 1 to 5 by default, stepped at 0.5)
Tracks performance of each variant using exponential smoothing
Clusters them into 3 groups (Best/Average/Worst) using k-means algorithm
Adapts by selecting the average factor from your chosen cluster
Clever Technical Aspects
Performance Metric: Uses a smart approach where performance = EMA of (price_change × signal_direction), giving positive values when the SuperTrend correctly predicts direction.
K-means Implementation: Properly initializes centroids using quartiles and iterates until convergence - this is solid unsupervised learning.
Adaptive MA Layer: The perf_ama that adapts faster when the performance index is high (more confidence) and slower when low.
Memory Management: Uses UDTs (User Defined Types) efficiently with arrays to handle multiple SuperTrend instances.
OG Signal Indicator - Single Line Plotshapethis signal help to identify strong buy and sell signal as price over bought and over sold. by sigma s lohar
Enhanced Price Direction Predictor📊 Core Mechanism: Rule-Based Scoring:
The indicator relies on a simplified scoring model where it checks for nine specific conditions on the bullish side and nine corresponding conditions on the bearish side.
Bullish/Bearish Score Calculation:The script initializes bullish_score and bearish_score to $0.0$.It then checks a predefined list of features (e.g., $5$-period Rate of Change, $5/20$ EMA crossover, RSI level, Order Flow direction) and adds a fixed point value (weight) to the appropriate score if the condition is met.
Overbought/Oversold Penalty:It includes a built-in risk-management element by applying a $-0.10$ penalty if the RSI is in extreme territory:RSI(14) $>$ 70 (Overbought) $\rightarrow$ Penalty to bullish_score.RSI(14) $<$ 30 (Oversold) $\rightarrow$ Penalty to bearish_score.
Probability Conversion:The probability_up is calculated by taking the ratio of the bullish_score to the total_score (sum of bullish and bearish scores):$$\text{Probability\_Up} = \frac{\text{Bullish\_Score}}{\text{Bullish\_Score} + \text{Bearish\_Score}}$ MIL:IF  the total_score is zero (i.e., no strong conditions are met), the probability defaults to $0.5$ (neutral).
⚡ Zero-Lag 60s Binary Predictor🧠 Core Anti-Lag Philosophy
The indicator's primary goal is to overcome the inherent lag of traditional indicators like the Simple Moving Average (SMA) or standard Relative Strength Index (RSI). It achieves this by focusing on:
Leading Indicators: Using derivatives of price/momentum (like acceleration and jerk—the second and third derivatives of price) to predict turns before the price action is clear.
Instantaneous Metrics: Using short lookback periods (e.g., ta.change(close, 1) or fastLength = 5) and heavily weighting the most recent data (e.g., in instMomentum).
Market Microstructure: Incorporating metrics like Tick Pressure and Order Flow Imbalance (OFI), which attempt to measure internal bar dynamics and buying/selling aggression.
Zero-Lag Techniques: Specifically, the Ehlers Zero Lag EMA, which is mathematically constructed to eliminate phase lag by predicting where the price will be rather than where it was.
Auto Session Fib/Open LevelsThis indicator automatically plots fib levels and key opening levels so you don't have to (:
Default levels are set to Longhorn Trades (Peter Kennedy) fib settings and two key openings of my liking.
Advanced Order Blocks - Z-Score DetectionThis advanced Pine Script indicator identifies high-probability order blocks using statistical Z-score analysis combined with trend filtering.Key Features:
-Z-Score Detection: Identifies institutional order blocks by detecting abnormal price movements using statistical deviation analysis
-Smart Zone Mapping: Automatically draws and manages bullish/bearish order block zones with customizable colors and transparency
-EMA Trend Filter: 750-period EMA filter ensures signals align with the dominant trend (bullish signals above EMA, bearish below)
-Rejection Signals: Detects when price bounces off order block zones, indicating strong support/resistance
-Zone Management: Automatic zone extension, mitigation detection, and age-based expiration
-Overlap Prevention: Optional setting to avoid cluttered charts by preventing overlapping zones
-Fully Customizable: Adjustable Z-score threshold, lookback periods, colors, and rejection sensitivity
How It Works:
The indicator calculates the Z-score of price changes to identify impulse moves. When an abnormal move occurs (beyond the threshold), it marks the preceding consolidation zone as an order block where institutions likely placed their orders. The EMA filter ensures you only trade in the direction of the overall trend.Perfect for swing traders and institutional-style trading on any timeframe.
Auto Chart PatternsAuto Chart Patterns automatically scans the chart for major technical patterns and marks them directly on price action. It detects:
• Head & Shoulders (bearish reversal)
• Inverse Head & Shoulders (bullish reversal)
• Rising and Falling Wedges
• Double / Triple Tops and Bottoms
• Cup & Handle (bullish continuation)
For each pattern, the script draws the structure (trendlines / neckline), shades the pattern zone, and places a label with the pattern name.
It also generates optional trade signals:
• “BUY” when a bullish pattern breaks out with confirmation
• “SELL” when a bearish pattern breaks down with confirmation
Confirmations can include:
• Follow-through candle in the breakout direction
• Volume spike vs recent average
• RSI momentum agreement
Inputs let you control:
• Pivot sensitivity (left/right bars)
• Pattern types to display
• Cup & Handle depth rules
• Confirmation rules for entry/exit signals
This tool is designed to help you visually spot reversal and continuation setups, highlight potential breakout levels (necklines / wedge boundaries), and time trades with clearer confirmation instead of guessing.
Disclaimer: This script is for educational/technical analysis purposes only. It does not guarantee future performance, does not execute trades, and is not financial advice. Always confirm signals with your own analysis and risk management before entering any position.
HTF Session Boxes H4 > H2 > H1HTF Session Boxes H4 > H2 > H1
Visualize higher timeframe candle structures on lower timeframe charts with nested, customizable boxes.
 Overview 
HTF Session Boxes plots 4-hour, 2-hour, and 1-hour candle ranges as nested boxes directly on your lower timeframe charts (15M and below). This provides instant visual context of higher timeframe structure without switching between different chart timeframes.
 Key Features 
- Three Timeframe Levels: Simultaneously displays 4H, 2H, and 1H candle boxes
- Nested Design: Boxes are layered inside each other for clear hierarchical structure
- Real-Time Updates: Boxes dynamically adjust as higher timeframe candles develop
 Fully Customizable: 
-Individual colors and transparency for each timeframe
-Custom border colors, widths, and styles (solid, dashed, dotted)
-Toggle each timeframe on/off independently
 Best Use Cases 
-Scalping & Day Trading: Maintain awareness of higher timeframe structure while trading lower 
 timeframes
-Session Analysis: Clearly see 4H session boundaries and internal 2H/1H divisions
-Support/Resistance: Identify key levels where higher timeframe candles open, close, or create 
 highs/lows
-Multi-Timeframe Confluence: Spot when multiple timeframes align at key price levels
Renko ATR Trend + SMA Indicator by YCGH Capital🧭 Overview
The Renko ATR Trend + SMA Indicator is a trend-following tool designed for chart trading.
It combines Renko-style price movement logic (based on ATR) with a Simple Moving Average (SMA) filter to identify sustained bullish or bearish phases on any timeframe.
It plots a color-coded trend line directly on the price chart — green for bullish trends, red for bearish — and maintains a single active state (no repeated buy/sell signals) until the opposite condition appears.
⚙️ How It Works
1️⃣ Renko ATR Engine
Instead of using fixed box sizes like classic Renko charts, this indicator builds synthetic Renko movement based on ATR (Average True Range) of a chosen timeframe.
It pulls OHLC data from your selected Renko Source Timeframe (for example, 60-minute candles).
It calculates an ATR brick size — representing the minimum price move needed for a new Renko brick.
When price moves by at least one ATR in the opposite direction, it flips the trend.
This filters out small fluctuations and captures the underlying directional bias.
2️⃣ SMA Filter
A Simple Moving Average (SMA) acts as a trend confirmation filter.
Only when Renko direction aligns with the price relative to the SMA, a trend signal activates.
BUY → Renko uptrend + price above SMA
SELL → Renko downtrend + price below SMA
3️⃣ Stateful Signal Logic
Unlike typical indicators that spam multiple buy/sell shapes:
This version holds one persistent signal (Buy or Sell)
The state continues until an opposite signal is confirmed
No “continuation” arrows — clean and minimal trend visualization
🎨 Visuals
Element	Meaning
🟩 Green Renko Line	Active Bullish Trend
🟥 Red Renko Line	Active Bearish Trend
⚪ Gray Line	Neutral / Waiting phase
🟡 Yellow Line	SMA (trend filter)
📍 Label (Buy Active / Sell Active)	Displays the current market bias
🔧 Inputs
Input	Description
Renko Source Timeframe	The timeframe from which Renko data is calculated (e.g., 60 = 1h candles).
ATR Period	Determines brick size sensitivity (lower = more responsive, higher = smoother).
SMA Length	Moving Average length used as a directional filter.
💡 How Traders Use It
Trend Confirmation:
Use green/red Renko line to stay aligned with the dominant market move.
Entry Timing:
Enter trades when a new Renko direction is confirmed along with SMA alignment.
Exit or Reverse:
Exit long when a red line (Sell Active) appears, and vice versa.
Combine with Price Action:
Add support/resistance or volume analysis for confirmation.






















