Impulse Candle with Volume & Std AnalysisImpulse Candle with Volume & Std Analysis
This indicator highlights “impulse” candles on your chart by combining price action and volume analysis to gauge the strength of market moves.
How It Works:
Impulse Candle Detection:
The indicator measures the candle’s body size and compares it to the Average True Range (ATR). When a candle’s body exceeds a user-defined multiple of the ATR (the “Impulse Factor”), it is flagged as an impulse candle.
Volume Analysis:
For each impulse candle, the indicator calculates the expected volume (Impulse Factor × average volume) and compares the actual volume against this expected value. It uses the standard deviation of volume over a specified period to classify the move’s volume as:
Extreme Low: More than 2 standard deviations below the expected volume
Low: Between 1 and 2 standard deviations below expected
Normal: Within 1 standard deviation of expected volume
High: Between 1 and 2 standard deviations above expected
Extreme High: More than 2 standard deviations above expected
Visual Cues:
The impulse candles are color-coded based on the volume classification.
A text-only label (with customizable text color) appears just above each impulse candle, indicating its volume category. The label has no background, ensuring a clean, unobtrusive look.
Customization:
Users can adjust parameters such as the Impulse Factor, ATR length, and volume averaging period to tailor the indicator to their trading style.
This tool is perfect for traders who want a quick visual representation of both significant price moves and the corresponding volume strength behind those moves.
Candlestick analysis
EMA 21 and SMA 50 Low ConditionsDescription:
This indicator highlights trend zones on a daily chart using the 21-day Exponential Moving Average (EMA) and 50-day Simple Moving Average (SMA). It’s designed to identify bullish conditions with two distinct background colors:
• Green Background: Signals a strong bullish trend. Appears when the low of the candle stays above the 21 EMA for 3 or more consecutive days, with either the 3rd or 4th day closing higher than its open (an “up” day). The green zone persists until a candle closes below the 21 EMA.
• Yellow Background: Indicates a potential support zone. Triggers when the low of the candle remains above the 50 SMA after the green condition ends, suggesting the price is still holding above a longer-term average. The yellow zone lasts until a candle closes below the 50 SMA.
Features:
• Plots the 21 EMA (blue line) and 50 SMA (orange line) for visual reference.
• Uses background colors to mark trend zones, making it easy to spot bullish phases and support levels.
• Optimized for daily timeframes, ideal for swing traders or long-term trend followers.
How to Use:
1. Apply the indicator to a daily chart.
2. Watch for the green background to identify strong bullish momentum (lows holding above the 21 EMA with an up close confirmation).
3. Look for the yellow background as a sign of potential support after the short-term trend weakens (lows above the 50 SMA).
4. Exit zones are triggered by closes below the respective averages (21 EMA for green, 50 SMA for yellow).
Notes:
• Best used on symbols with sufficient historical data to ensure accurate EMA and SMA calculations.
• The indicator prioritizes the green condition over yellow—green will override if both could apply.
Author’s Intent:
Created to help traders visualize sustained bullish trends and key support levels using simple moving average rules. Perfect for confirming uptrends and monitoring pullbacks within a broader bullish context.
BTC Trading RobotOverview
This Pine Script strategy is designed for trading Bitcoin (BTC) by placing pending orders (BuyStop and SellStop) based on local price extremes. The script also implements a trailing stop mechanism to protect profits once a position becomes sufficiently profitable.
________________________________________
Inputs and Parameter Setup
1. Trading Profile:
o The strategy is set up specifically for BTC trading.
o The systemType input is set to 1, which means the strategy will calculate trade parameters using the BTC-specific inputs.
2. Common Trading Inputs:
o Risk Parameters: Although RiskPercent is defined, its actual use (e.g., for position sizing) isn’t implemented in this version.
o Trading Hours Filter:
SHInput and EHInput let you restrict trading to a specific hour range. If these are set (non-zero), orders will only be placed during the allowed hours.
3. BTC-Specific Inputs:
o Take Profit (TP) and Stop Loss (SL) Percentages:
TPasPctBTC and SLasPctBTC are used to determine the TP and SL levels as a percentage of the current price.
o Trailing Stop Parameters:
TSLasPctofTPBTC and TSLTgrasPctofTPBTC determine when and by how much a trailing stop is applied, again as percentages of the TP.
4. Other Parameters:
o BarsN is used to define the window (number of bars) over which the local high and low are calculated.
o OrderDistPoints acts as a buffer to prevent the entry orders from being triggered too early.
________________________________________
Trade Parameter Calculation
• Price Reference:
o The strategy uses the current closing price as the reference for calculations.
• Calculation of TP and SL Levels:
o If the systemType is set to BTC (value 1), then:
Take Profit Points (Tppoints) are calculated by multiplying the current price by TPasPctBTC.
Stop Loss Points (Slpoints) are calculated similarly using SLasPctBTC.
A buffer (OrderDistPoints) is set to half of the take profit points.
Trailing Stop Levels:
TslPoints is calculated as a fraction of the TP (using TSLTgrasPctofTPBTC).
TslTriggerPoints is similarly determined, which sets the profit level at which the trailing stop will start to activate.
________________________________________
Time Filtering
• Session Control:
o The current hour is compared against SHInput (start hour) and EHInput (end hour).
o If the current time falls outside the allowed window, the script will not place any new orders.
________________________________________
Entry Orders
• Local Price Extremes:
o The strategy calculates a local high and local low using a window of BarsN * 2 + 1 bars.
• Placing Stop Orders:
o BuyStop Order:
A long entry is triggered if the current price is less than the local high minus the order distance buffer.
The BuyStop order is set to trigger at the level of the local high.
o SellStop Order:
A short entry is triggered if the current price is greater than the local low plus the order distance buffer.
The SellStop order is set to trigger at the level of the local low.
Note: Orders are only placed if there is no current open position and if the session conditions are met.
________________________________________
Trailing Stop Logic
Once a position is open, the strategy monitors profit levels to protect gains:
• For Long Positions:
o The script calculates the profit as the difference between the current price and the average entry price.
o If this profit exceeds the TslTriggerPoints threshold, a trailing stop is applied by placing an exit order.
o The stop price is set at a distance below the current price, while a limit (profit target) is also defined.
• For Short Positions:
o The profit is calculated as the difference between the average entry price and the current price.
o A similar trailing stop exit is applied if the profit exceeds the trigger threshold.
________________________________________
Summary
In essence, this strategy works by:
• Defining entry levels based on recent local highs and lows.
• Placing pending stop orders to enter the market when those levels are breached.
• Filtering orders by time, ensuring trades are only taken during specified hours.
• Implementing a trailing stop mechanism to secure profits once the trade moves favorably.
This approach is designed to automate BTC trading based on price action and dynamic risk management, although further enhancements (like dynamic position sizing based on RiskPercent) could be added for a more complete risk management system.
Adaptive Fibonacci Pullback System -FibonacciFluxAdaptive Fibonacci Pullback System (AFPS) - FibonacciFlux
This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). Original concepts by FibonacciFlux.
Abstract
The Adaptive Fibonacci Pullback System (AFPS) presents a sophisticated, institutional-grade algorithmic strategy engineered for high-probability trend pullback entries. Developed by FibonacciFlux, AFPS uniquely integrates a proprietary Multi-Fibonacci Supertrend engine (0.618, 1.618, 2.618 ratios) for harmonic volatility assessment, an Adaptive Moving Average (AMA) Channel providing dynamic market context, and a synergistic Multi-Timeframe (MTF) filter suite (RSI, MACD, Volume). This strategy transcends simple indicator combinations through its strict, multi-stage confluence validation logic. Historical simulations suggest that specific MTF filter configurations can yield exceptional performance metrics, potentially achieving Profit Factors exceeding 2.6 , indicative of institutional-level potential, while maintaining controlled risk under realistic trading parameters (managed equity risk, commission, slippage).
4 hourly MTF filtering
1. Introduction: Elevating Pullback Trading with Adaptive Confluence
Traditional pullback strategies often struggle with noise, false signals, and adapting to changing market dynamics. AFPS addresses these challenges by introducing a novel framework grounded in Fibonacci principles and adaptive logic. Instead of relying on static levels or single confirmations, AFPS seeks high-probability pullback entries within established trends by validating signals through a rigorous confluence of:
Harmonic Volatility Context: Understanding the trend's stability and potential turning points using the unique Multi-Fibonacci Supertrend.
Adaptive Market Structure: Assessing the prevailing trend regime via the AMA Channel.
Multi-Dimensional Confirmation: Filtering signals with lower-timeframe Momentum (RSI), Trend Alignment (MACD), and Market Conviction (Volume) using the MTF suite.
The objective is to achieve superior signal quality and adaptability, moving beyond conventional pullback methodologies.
2. Core Methodology: Synergistic Integration
AFPS's effectiveness stems from the engineered synergy between its core components:
2.1. Multi-Fibonacci Supertrend Engine: Utilizes specific Fibonacci ratios (0.618, 1.618, 2.618) applied to ATR, creating a multi-layered volatility envelope potentially resonant with market harmonics. The averaged and EMA-smoothed result (`smoothed_supertrend`) provides a robust, dynamic trend baseline and context filter.
// Key Components: Multi-Fibonacci Supertrend & Smoothing
average_supertrend = (supertrend1 + supertrend2 + supertrend3) / 3
smoothed_supertrend = ta.ema(average_supertrend, st_smooth_length)
2.2. Adaptive Moving Average (AMA) Channel: Provides dynamic market context. The `ama_midline` serves as a key filter in the entry logic, confirming the broader trend bias relative to adaptive price action. Extended Fibonacci levels derived from the channel width offer potential dynamic S/R zones.
// Key Component: AMA Midline
ama_midline = (ama_high_band + ama_low_band) / 2
2.3. Multi-Timeframe (MTF) Filter Suite: An optional but powerful validation layer (RSI, MACD, Volume) assessed on a lower timeframe. Acts as a **validation cascade** – signals must pass all enabled filters simultaneously.
2.4. High-Confluence Entry Logic: The core innovation. A pullback entry requires a specific sequence and validation:
Price interaction with `average_supertrend` and recovery above/below `smoothed_supertrend`.
Price confirmation relative to the `ama_midline`.
Simultaneous validation by all enabled MTF filters.
// Simplified Long Entry Logic Example (incorporates key elements)
long_entry_condition = enable_long_positions and
(low < average_supertrend and close > smoothed_supertrend) and // Pullback & Recovery
(close > ama_midline and close > ama_midline) and // AMA Confirmation
(rsi_filter_long_ok and macd_filter_long_ok and volume_filter_ok) // MTF Validation
This strict, multi-stage confluence significantly elevates signal quality compared to simpler pullback approaches.
1hourly filtering
3. Realistic Implementation and Performance Potential
AFPS is designed for practical application, incorporating realistic defaults and highlighting performance potential with crucial context:
3.1. Realistic Default Strategy Settings:
The script includes responsible default parameters:
strategy('Adaptive Fibonacci Pullback System - FibonacciFlux', shorttitle = "AFPS", ...,
initial_capital = 10000, // Accessible capital
default_qty_type = strategy.percent_of_equity, // Equity-based risk
default_qty_value = 4, // Default 4% equity risk per initial trade
commission_type = strategy.commission.percent,
commission_value = 0.03, // Realistic commission
slippage = 2, // Realistic slippage
pyramiding = 2 // Limited pyramiding allowed
)
Note: The default 4% risk (`default_qty_value = 4`) requires careful user assessment and adjustment based on individual risk tolerance.
3.2. Historical Performance Insights & Institutional Potential:
Backtesting provides insights into historical behavior under specific conditions (always specify Asset/Timeframe/Dates when sharing results):
Default Performance Example: With defaults, historical tests might show characteristics like Overall PF ~1.38, Max DD ~1.16%, with potential Long/Short performance variance (e.g., Long PF 1.6+, Short PF < 1).
Optimized MTF Filter Performance: Crucially, historical simulations demonstrate that meticulous configuration of the MTF filters (particularly RSI and potentially others depending on market) can significantly enhance performance. Under specific, optimized MTF filter settings combined with appropriate risk management (e.g., 7.5% risk), historical tests have indicated the potential to achieve **Profit Factors exceeding 2.6**, alongside controlled drawdowns (e.g., ~1.32%). This level of performance, if consistently achievable (which requires ongoing adaptation), aligns with metrics often sought in institutional trading environments.
Disclaimer Reminder: These results are strictly historical simulations. Past performance does not guarantee future results. Achieving high performance requires careful parameter tuning, adaptation to changing markets, and robust risk management.
3.3. Emphasizing Risk Management:
Effective use of AFPS mandates active risk management. Utilize the built-in Stop Loss, Take Profit, and Trailing Stop features. The `pyramiding = 2` setting requires particularly diligent oversight. Do not rely solely on default settings.
4. Conclusion: Advancing Trend Pullback Strategies
The Adaptive Fibonacci Pullback System (AFPS) offers a sophisticated, theoretically grounded, and highly adaptable framework for identifying and executing high-probability trend pullback trades. Its unique blend of Fibonacci resonance, adaptive context, and multi-dimensional MTF filtering represents a significant advancement over conventional methods. While requiring thoughtful implementation and risk management, AFPS provides discerning traders with a powerful tool potentially capable of achieving institutional-level performance characteristics under optimized conditions.
Acknowledgments
Developed by FibonacciFlux. Inspired by principles of Fibonacci analysis, adaptive averaging, and multi-timeframe confirmation techniques explored within the trading community.
Disclaimer
Trading involves substantial risk. AFPS is an analytical tool, not a guarantee of profit. Past performance is not indicative of future results. Market conditions change. Users are solely responsible for their decisions and risk management. Thorough testing is essential. Deploy at your own considered risk.
Custom NYSE Hourly Intervals (Gris Extra Claro/T)NYSE Custom Hourly Intervals (Background Shading)
Indicator Overview:
This TradingView indicator visually highlights specific hourly intervals during the NYSE trading session (9:30 AM - 4:00 PM ET) using background shading. Its purpose is to help traders easily identify these key periods while analyzing price action.
Features:
Hourly Segmentation: Clearly marks the following hourly blocks within the NYSE session:
9:30 - 10:00 ET
10:00 - 11:00 ET
11:00 - 12:00 ET
12:00 - 13:00 ET
13:00 - 14:00 ET
14:00 - 15:00 ET
15:00 - 16:00 ET
Alternating Background: Uses a subtle, alternating background pattern for visual distinction:
Transparent: Applied during the 9:30-10:00, 11:00-12:00, 13:00-14:00, and 15:00-16:00 intervals (shows your default chart background).
Very Light Gray: Applied during the 10:00-11:00, 12:00-13:00, and 14:00-15:00 intervals.
Timeframe Restriction: The background shading is active only on chart timeframes of 30 minutes or less (e.g., 30m, 15m, 5m, 1m). It will not appear on higher timeframes.
Session Restriction: Shading only occurs during the defined NYSE session hours (9:30 AM - 4:00 PM ET).
Customization: The color and transparency level of the "Very Light Gray" shading can be adjusted in the indicator's settings.
Purpose & Use Case:
This indicator is ideal for intraday traders who want a clean visual guide to track price movement within specific hourly segments of the NYSE trading day, without needing complex overlays.
Pin Bar Detector (v1.0.0) Description:
This script detects Pin Bar candlestick patterns based on their shadows and body size.
It analyzes the candle's structure and trend direction using moving averages
to determine valid Pin Bars in an uptrend or downtrend.
The purpose of this script is to help traders identify potential reversal points
by spotting Pin Bar formations in line with the prevailing market trend.
Volume Spikes Pro - relative volume comparisonThe Enhanced Volume Spike Detector builds on the basic relative volume comparison by adding price direction analysis and more sophisticated categorization of volume events.
Directional Analysis
This indicator doesn't just identify volume spikes, but categorizes them as:
- **Bullish**: Volume spike with upward price movement
- **Bearish**: Volume spike with downward price movement
- **Neutral**: Volume spike with minimal price change
- **Strong**: Exceptional volume spike (2.5x+ default) regardless of direction
Visual Classification
Different color schemes instantly communicate the volume spike type:
- Green for bullish volume (price rising)
- Red for bearish volume (price falling)
- Dark Green for strong bullish volume
- Dark Red for strong bearish volume (price falling)
Customization Tips
- For day trading or short timeframes: Consider reducing MA length to 10-15
- For swing trading: The default 20 is appropriate
- For position trading or longer timeframes: Consider increasing to 30-50
- For more selective signals: Increase multiplier to 2.0 or higher
- For more comprehensive detection: Decrease multiplier to 1.3-1.4
GoldenPocket & CRT IndicatorWith this script, you will be able to see Golden Pocket Fibonacci Levels and Candle Range Theory Highs, Lows and EQs.
You can set lookback bar numbers to define Fibonacci highs and lows.
You can set CRT High Time-frame.
Simple and effective script. Please let me know if you have any comments and support me if you like it.
XTE+ Optimized Trend Tracker📊 XTE+ Optimized Trend Tracker (OTT)
XTE+ OTT is a powerful, trend-following indicator designed for traders who value clarity, precision, and advanced analytics. It offers not only accurate entry and exit signals but also visual zones, historical signal analysis, and real-time trend monitoring.
🧠 How It Works
XTE+ OTT is based on an improved version of the Optimized Trend Tracker. It utilizes multiple customizable moving average types (VAR, EMA, SMA, WMA, and more) combined with volatility filtering (ATR logic) to generate cleaner, more reliable trend-following signals.
✅ Features
Trend Direction Detection with automatic switch logic
Buy/Sell Signal Icons with distinct large markers
Entry/Exit Zones drawn visually on chart
Custom Take-Profit / Stop-Loss settings for Buy and Sell signals
Statistical Panel showing:
Current Trend (Up/Down)
Number of total signals
Number of winning trades
Win percentage
Configurable Display Options:
Show/hide signals
Show/hide trend zones
Show/hide OTT and MA lines
Supports multiple MA types including EMA, SMA, VAR, ZLEMA, TSF and more
Non-repainting logic — signals are confirmed at bar close
⚙️ Inputs and Customization
OTT Period & Sensitivity (%)
MA Type Selection (VAR, EMA, etc.)
Entry Zone Visualization On/Off
Trend Panel Display On/Off
TP/SL % per direction (Buy/Sell separately)
Option to disable MA or OTT line display
📈 Visuals
Signal icons: BUY (Green Up Label), SELL (Red Down Label)
Entry zones: circles near breakout levels
Trendlines change color dynamically (green for uptrend, red for downtrend)
Trend Panel is pinned in the top-right corner for quick reference
💡 Usage Tips
Best used on higher timeframes (15min, 1H, 4H+) for more meaningful trend signals
Combine with volume/volatility indicators or support/resistance zones for enhanced decision making
Use TP/SL logic to track signal success over time and optimize strategies
📌 Disclaimer
This script is for educational and informational purposes only. It is not financial advice. Always test and validate your strategy before applying it in live markets.
QT/TD.Den Quarterly Theory QT//Quarterly Theory/OPTD
These Quarters represent:
A - Accumulation (required for a cycle to occur)
M - Manipulation
D - Distribution
X - Reversal/Continuation
The latter are going to always be in this specific sequence; however the cycle can be transposed to have its beginning in X, trivially followed by A, M, and finally D.
This feature is not automatic and at the subjective discretion of the Analyst.
Note: this theory has been developed on Futures, hence its validity and reliability may change depending on the market Time.
This tool does provide a dynamic and auto-adapting aspect to different market types and Times, however they must be seen as experimental.
> Quarterly Cycles
The Quarterly Cycles currently supported are: Yearly, Monthly, Weekly, Daily, 90 Minute, Micro Sessions.
– Yearly Cycle:
Analogously to financial quarters, the year is divided in four sections of three months each
Q1 - January, February, March
Q2 - April, May, June (True Open, April Open)
Q3 - July, August, September
Q4 - October, November, December
JW Momentum IndicatorJW Momentum Indicator
This indicator provides clear and actionable buy/sell signals based on a combination of volume-enhanced momentum, divergence detection, and volatility adjustment. It's designed to identify potential trend reversals and momentum shifts with a focus on high-probability setups.
Key Features:
Volume-Enhanced Momentum: The indicator calculates a custom oscillator that combines momentum with volume, giving more weight to momentum when volume is significant. This helps to identify strong momentum moves.
Divergence Detection: It detects bullish and bearish divergences using pivot highs and lows, highlighting potential trend reversals.
Volatility-Adjusted Signals: The indicator adjusts signal sensitivity based on the Average True Range (ATR), making it more reliable in varying market conditions.
Clear Visuals: Buy and sell signals are clearly indicated with up and down triangles, while divergences are highlighted with distinct labels.
How to Use:
Buy Signals: Look for green up triangles or bullish divergence labels.
Sell Signals: Look for red down triangles or bearish divergence labels.
Oscillator and Thresholds: Use the plotted oscillator and thresholds to confirm signal strength.
Parameters:
Momentum Period: Adjusts the length of the momentum calculation.
Volume Average Period: Adjusts the length of the volume average calculation.
Volatility Period: Adjusts the length of the ATR calculation.
Volatility Multiplier: Adjusts the sensitivity of the volatility-adjusted signals.
Disclaimer:
This indicator is for informational purposes only and should not be considered financial advice. Always conduct 1 thorough research and use appropriate risk management techniques when trading.
Smart Money Breakout & Order Block StrategySmart Money Breakout & Order Block Strategy
Created by Shubham
This strategy was developed by Shubham, designed to provide traders with a structured approach to smart money trading by combining breakout entries and order block reversals. It focuses on liquidity zones, volatility filters, and ATR-based stop management to adapt to different market conditions.
🔹 Strategy Overview
The Smart Money Breakout & Order Block Strategy is built for traders who want to identify institutional moves while avoiding false breakouts. This non-repainting strategy helps traders detect:
✅ Momentum Breakouts – Price breaking key support & resistance levels.
✅ Order Block Reversals – Institutional buying & selling zones.
✅ Dynamic Stop Management – No fixed SL/TP; uses ATR-based trailing stops.
✅ Volatility Filtering – Avoids choppy market conditions.
🔹 Trading Logic
1️⃣ Breakout Trading (Momentum Entries)
Long Entry: When price breaks above resistance with high volatility.
Short Entry: When price breaks below support with high volatility.
2️⃣ Order Block Reversals (Liquidity Entries)
Bullish Order Block: A strong price rejection after consecutive bearish candles signals smart money accumulation, triggering a long trade.
Bearish Order Block: A strong price rejection after consecutive bullish candles signals smart money distribution, triggering a short trade.
3️⃣ Volatility Filter (False Signal Prevention)
Uses normalized volatility to ensure breakouts are backed by strong momentum.
Helps filter out low-volume, choppy market conditions.
4️⃣ ATR-Based Position Management (Dynamic Stops & Trailing Stop)
No fixed SL/TP → Uses ATR-based stop-loss to adapt to market volatility.
Implements a trailing stop for maximizing potential profits in trending markets.
🔹 Key Features
✔️ Developed by Shubham – Designed for precision trading with institutional techniques.
✔️ Smart Money Concept – Identifies liquidity zones, breakouts, and order blocks.
✔️ Volatility Filter – Prevents false breakouts by analyzing market momentum.
✔️ ATR-Based Dynamic Stops – No fixed SL/TP, making it more adaptive.
✔️ Trailing Stop Functionality – Allows profits to run while reducing risk.
✔️ Fully Automated Execution – Uses TradingView’s strategy functions for automatic trade placement and exits.
✔️ Commission-Adjusted Backtesting – Includes realistic commission settings to ensure accurate results.
📊 Backtesting & Realistic Expectations
✅ Best for Higher Timeframes (1H, 4H, Daily) – Avoids market noise.
✅ Most Effective in Trending & Volatile Markets – Crypto, forex, indices, and commodities.
✅ Performance Varies with Market Conditions – Works best in strong trends.
✅ No Unrealistic Promises – Strategy performance is dependent on market behavior and risk management.
📌 IMPORTANT DISCLAIMER:
This strategy is provided for educational purposes only and should not be considered financial advice. Past performance in backtesting does not guarantee future results. Users should conduct their own research before applying this strategy in live markets.
🚀 Developed by Shubham – Test it yourself and see how it performs! 🚀
TrendSync Pro (SMC)📊 TrendSync Pro (SMC) – Advanced Trend-Following Strategy with HTF Alignment
Created by Shubham Singh
🔍 Strategy Overview
TrendSync Pro (SMC) is a precision-based smart trend-following strategy inspired by Smart Money Concepts (SMC). It combines: Real-time pivot-based trendline detection
Higher Time Frame (HTF) filtering to align trades with dominant trend
Risk management via adjustable Stop Loss (SL) and Take Profit (TP)
Directional control — trade only bullish, bearish, or both setups
Realistic backtesting using commissions and slippage
Pre-optimized profiles for scalpers, intraday, swing, and long-term traders
🧠 How It Works:
🔧 Strategy Settings Image:
beeimg.com
The strategy dynamically identifies trend direction by using swing high/low pivots. When a new pivot forms: It draws a trendline from the last significant pivot
Detects whether the trend is up (based on pivot lows) or down (based on pivot highs)
Waits for price to break above/below the trendline
Confirms with HTF price direction (HTF close > previous HTF close = bullish)
Only then it triggers a long or short trade
It exits either at TP, SL, or a manual trendline break
🛠️ Adjustable Parameters:
Trend Period: Length for pivot detection (affects sensitivity of trendlines)
HTF Timeframe: Aligns lower timeframe entries with higher timeframe direction
SL% and TP%: Customize your risk-reward profile
Commission & Slippage: Make backtests more realistic
Trade Direction: Choose to trade: Long only, Short only, or Both
🎛️ Trade Direction Control:
In settings, you can choose: Bullish Only: Executes only long entries
Bearish Only: Executes only short entries
Both: Executes both long and short entries when conditions are met
This allows you to align trades with your own market bias or external analysis.
📈 Entry Logic: Long Entry:
• Price crosses above trendline
• HTF is bullish (HTF close > previous close)
• Latest pivot is a low (trend is considered up)
Short Entry:
• Price crosses below trendline
• HTF is bearish (HTF close < previous close)
• Latest pivot is a high (trend is considered down)
📉 Exit Logic: Hit Take Profit or Stop Loss
Manual trendline invalidation: If price crosses opposite of the trend direction
⏰ Best Timeframes & Recommended Settings:
Scalping (1m to 5m):
HTF = 15m | Trend Period = 7
SL = 0.5% | TP = 1% to 2%
Intraday (15m to 30m):
HTF = 1H | Trend Period = 10–14
SL = 0.75% | TP = 2% to 3%
6 Hour Trading (30m to 1H):
HTF = 4H | Trend Period = 20
SL = 1% | TP = 4% to 6%
Swing Trading (4H to 1D):
HTF = 1D | Trend Period = 35
SL = 2% | TP = 8% to 12%
Long-Term Investing (1D+):
HTF = 1W | Trend Period = 50
SL = 3% | TP = 15%+
Note: These are recommended base settings. Adjust based on volatility, asset class, or personal trading style.
📸 Testing Note:
beeimg.com
TradingView limits test length to 20k bars (~40 trades on smaller timeframes). To show long-term results: Test on higher timeframes (e.g., 1H, 4H, 1D)
Share images of backtest result in description
Host longer test result screenshots on Imgur or any public drive
📍 Asset Behavior Insight:
This strategy works on multiple assets, including BTC, ETH, etc.
Performance varies by trend strength:
Sometimes BTC performs better than ETH
Other times ETH gives better results
That’s normal as both assets follow different volatility and trend behavior
It’s a trend-following setup. Longer and clearer the trend → better the results.
✅ Best Practices: Avoid ranging markets
Use proper SL/TP for each timeframe
Use directional filter if you already have a directional bias
Always forward test before going live
⚠️ Trading Disclaimer:
This script is for educational and backtesting purposes only. Trading involves risk. Always use risk management and never invest more than you can afford to lose.
Change % Inteligente - NQ / ES / YMTopstep Compliance: Daily Price Change % Alert (NQ / ES / YM)
Script Purpose
This script helps funded traders (especially those using Topstep or similar programs) monitor the real-time percentage change of major equity index futures: Nasdaq (NQ), S&P 500 (ES), and Dow Jones (YM).
⚠️ Why it matters
Topstep prohibits trading within 2% of the daily price limits set by the CME. If a trader holds a position too close to those limits, they risk account disqualification.
📊 How it works
• Detects the instrument: NQ1!, ES1!, YM1!, or M2025 contracts
• Calculates the real-time % change from today’s market open
• Simulates daily CME price limits (+7% / -7%)
• Highlights when price enters the last 2% of the limit range (prohibited zone)
• Displays a clean, floating panel with the current % change and a warning if necessary
• Sends a visual and optional audio alert when in the prohibited zone
🧠 What makes this script unique?
This tool is **not for technical analysis**. It focuses exclusively on **funding program compliance** and **account protection**, which is not covered by other public scripts. It’s lightweight, intuitive, and designed for traders who manage risk like professionals.
✅ Open-source and ready for review.
✅ CHART SETUP FOR PUBLICATION
✔️ Use a clean chart
✔️ Only apply this script
✔️ Make sure the panel is visible (top-right or top-center recommended)
❌ No extra indicators or drawings
✔️ Use NQM2025, ESM2025 or YMM2025 on a volatile day (to show -1% to -3% range)
INSTRUCTIONS
1. Add the script to your chart.
2. Use it with NQ1!, ES1!, or YM1! (or M2025 contracts).
3. The panel will show today’s price change %.
4. If the market is within the last 2% of the CME price limit, a warning will appear.
5. Use this to avoid violating Topstep’s trading rules during volatile days.
NakInvest - 123 (Bullish & Bearish U-Pattern)📘 Description: U-Shape 123 (Bullish & Bearish Identifier)
This indicator helps you identify the 123 reversal pattern, a powerful yet simple price action setup taught by renowned Brazilian trader Stormer.
I learned this pattern from Lucas Nakata, founder of NakInvest, who was a student of Stormer. Stormer has popularized and refined this setup in the Brazilian trading community, especially for identifying U-shaped reversals that precede strong directional moves.
⸻
🔎 What is the 123 Pattern?
The 123 pattern is a 3-candle formation used to spot bullish or bearish reversals. It forms a “U” or inverted “U” shape and is based purely on candlestick structure — no indicators or lagging signals.
There are two versions:
✅ Bullish 123 (“U” pattern)
• Candle 1: Red candle with a large body (selling pressure).
• Candle 2: Small candle of any color (pause or indecision).
• Candle 3: Green candle with a body at least 70% the size of candle 1 (strong bullish push).
This indicates a potential bullish reversal from a prior downtrend.
❌ Bearish 123 (inverted “U” pattern)
• Candle 1: Green candle with a large body (buying pressure).
• Candle 2: Small candle of any color (pause or indecision).
• Candle 3: Red candle with a body at least 70% the size of candle 1 (strong bearish push).
This indicates a potential bearish reversal from a prior uptrend.
Dynamic TrailingDynamic Trailing is an indicator that reacts quickly to shifting candle structures, using a dynamic trailing lines on either side, essentially "counting" the confluences for either side, and highlighting the winning side.
CISD [TradeWithRon]The CISD (Change in State of Delivery) indicator helps traders identify significant price action events by tracking liquidity sweeps and CISD events. It highlights key market structure shifts by marking liquidity levels and failed breakouts, offering insights into potential reversals and breakout confirmations.
Features:
CISD Detection: Identifies high and low CISD events with customizable display settings.
Customizable Display: Users can control how many CISD lines and liquidity lines are shown.
Customization:
- Adjust the number of CISD and liquidity lines displayed.
- Modify the swing length and back-checking period for greater flexibility.
- Choose different colors and line styles to match your charting preferences.
Use Cases:
- Spot traps and reversals.
- Identify breakout confirmations.
- Enhance market structure analysis.
- Combine with other technical indicators for improved decision-making.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Tradewithron) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future
Engulfing Candle Indicator with Single AlertEngulfing Candle Indicator with Alerts
This custom Pine Script indicator identifies Bullish and Bearish Engulfing Candles on the price chart, which are key reversal patterns. A Bullish Engulfing occurs when a smaller bearish candle is completely engulfed by a subsequent bullish candle, signaling a potential upward trend. Conversely, a Bearish Engulfing happens when a bullish candle is engulfed by a following bearish candle, indicating a possible downward trend.
The indicator highlights these patterns on the chart with green arrows for Bullish Engulfing and red arrows for Bearish Engulfing. It also includes an alert system that notifies the user whenever either of these patterns occurs.
The script uses an Average True Range (ATR) filter to ensure that the engulfing candles have sufficient size relative to market volatility. Additionally, users can adjust the minimum engulfing size to fine-tune the signal.
FRACTAL DIMENSIONSFRACTAL DIMENSIONS was created to allow us to properly visualize
the higher time frame dimensional data, While remaining on a lower
time frame. The Fractal dimensions are basically the higher time frames.
Remaining on a lower time frame allows us to get tighter entries and exits.
Each dimension is set in a wave degree formation. From primary to sub-minute,
depending on the time frame being utilized.
These multidimensional wave degrees will be utilized later in the strategy.
This indicator was broken off of the whole for the sake of drawing lines.
The data here is just for debugging purposes and is not used in the strategy,
but yet remains pretty awesome by itself.
Fractal dimensions is the foundation of the main strategy to come.
Now that we have this data, what are we going to do with it?
0900 and 1500 Candle Marker with Rectangles and FibonacciWelcome to the Indicator
// This tool is designed to help you analyze stock - crypto - or futures charts on TradingView by marking specific times - 9:00 AM and 3:00 PM (Eastern Time) - with colored rectangles and optional Fibonacci levels.
// It is perfect for spotting key moments in your trading day - like market opens or afternoon shifts - and understanding price ranges with simple lines and numbers.
// Whether you are new to trading or just want an easy way to visualize these times - this indicator is here to assist you.
//
// What It Does
// - Draws a green rectangle at 9:00 AM and a red rectangle at 3:00 PM on your chart - based on Eastern Time (America/New_York timezone).
// - Adds dashed lines inside these rectangles (called Fibonacci levels) to show important price points - like 0.236 or 0.618 of the rectangle’s height.
// - Places numbers on these lines (e.g. "0.5") so you can see exactly what each level represents.
// - Works on different chart types (stocks - crypto - futures) and adjusts for futures trading hours if needed.
// - Is designed to work best on timeframes of 1 hour or shorter (like 1-hour - 30-minute - 15-minute - 5-minute - or 1-minute charts) - where you can see the 9:00 AM and 3:00 PM candles clearly.
// - Lets you customize what you see through a settings menu - like hiding some lines or changing colors.
YOU MAY NOT MONETIZE
ANY PORTION OF THIS CODE.
WE ARE ALL IN THIS THING TOGETHER TO WIN.
BE A BLESSING ONTO THE WORLD AND GIVE.:)
DT_Sessions TOPDT_Sessions TOP - Powerful Trading Sessions and Key Levels Indicator
Description
DT_Sessions is a versatile TradingView indicator that displays major trading sessions and important price levels on your chart. It's ideal for traders working in forex, cryptocurrency, and stock markets, helping to visualize critical market information directly on the chart.
Key Features:
Visualization of major trading sessions: Asian, Frankfurt, London, New York (AM and PM)
Previous day high and low (PDH/PDL) tracking
Display of key psychological levels for major trading instruments
Customizable colors and styles for all indicator elements
Flexible timezone management for accurate session synchronization
Benefits of Use
Enhanced market analysis: Understanding the activity of different trading sessions helps better interpret price movements
Trading time optimization: Visual display of the most volatile market periods
Key resistance and support levels: Automatic display of psychologically significant price levels
Daily extreme monitoring: PDH/PDL help in determining the trading range
Supported Instruments
The indicator automatically recognizes popular instruments, including:
Forex pairs (EUR/USD, GBP/USD, USD/JPY)
Cryptocurrencies (Bitcoin, Ethereum)
Stock indices (DAX, NASDAQ, S&P 500, EuroStoxx50)
Precious metals (XAU/USD)
How to Use
Add the indicator to your favorite asset's chart
Observe the trading session ranges highlighted in different colors
Use PDH/PDL lines to identify significant daily levels
Pay attention to key psychological levels for your instrument
Advanced Settings
The indicator offers numerous settings for each session:
Enable/disable individual sessions
Adjust start and end times for each session
Change colors and transparency
Configure PDH/PDL display
Manage timezones and UTC offset
Effective For
Scalpers and day traders
Long-term investors tracking key levels
Algorithmic traders needing session data visualization
Beginners studying the impact of trading sessions on market activity
DT_Sessions is an essential tool for traders of all levels, providing valuable information about market dynamics and key levels directly on your TradingView chart.
ORB Breakout Statistics with Labels and ProfitOpening Range Breakout Statistics – This indicator identifies the opening range based on user-defined inputs and detects breakouts above the high or below the low. At the end of each trading day, it classifies the session into a specific category based on price action. Additionally, it tracks profit and loss for each classification, allowing you to backtest the strategy using log files.
Open Vertical Lines [TradeWithRon]This indicator allows traders to draw vertical lines manually or automatically based on the current or specified higher timeframes. It is a versatile tool designed to help users identify and mark significant changes in the market, such as new candle formations, based on a selected or auto-adjusted timeframe.
Open Source
Features:
Timeframe Customization: Users can either manually specify a desired timeframe (e.g., 1-hour, 1-day, etc.) or enable the "Auto" feature, which automatically adjusts the timeframe based on the current chart's timeframe for better alignment with different trading strategies.
Customizable Line Style: The vertical line can be drawn in three different styles: Solid, Dashed, or Dotted, giving users the flexibility to choose their preferred appearance for better chart readability.
Line Color: Users can select the color of the vertical line with transparency options to match their chart's visual preferences.
Auto Timeframe Adjustments: The "Auto Align" option dynamically adjusts the timeframe used for vertical lines depending on the chart's current timeframe. For example, if you’re using a lower timeframe (e.g., 5 minutes), the indicator will automatically switch to a higher timeframe (e.g., 1 hour or daily) to mark vertical lines, ensuring the lines correspond to higher timeframe price action.
Vertical Line Placement:
A vertical line is placed each time a new candle appears on the chart, marking key moments for the user to analyze market movements. This can be helpful for marking the start of new trading sessions or significant events in the market.
How to Use:
1. Apply the indicator to your chart.
2. Configure the preferred timeframe settings (either fixed or auto-align).
3. Customize the line style and color according to your visual preference.
4. The indicator will automatically place vertical lines on the chart when a new candle is formed, based on your selected timeframe.