Asian Session Sweepthis indicator helps you to see the high and the low of asia session that helps you to find when luiquity has been grabt
Candlestick analysis
Inside Bar FinderAn Inside Bar is a candlestick pattern where the entire price range (high to low) of the current candle is completely contained within the range of the previous candle.
Key Criteria:
High of current candle is lower than the previous candle’s high.
Low of current candle is higher than the previous candle’s low.
Usage:
Breakout traders watch for the next candle to break above or below the inside bar.
It’s often used in trending markets as a signal to join the trend after the consolidation.
Can be combined with support/resistance, volume, or trend filters for higher probability.
Multi-Timeline 1.0Multi-TimeLines 1.0 - Comprehensive Description
WHAT IT DOES:
This indicator creates dynamic horizontal support/resistance lines based on opening prices captured at user-defined New York times. Unlike static horizontal lines, these levels automatically appear and disappear based on sophisticated session logic, providing traders with time-sensitive reference levels that adapt to market sessions.
HOW IT WORKS - TECHNICAL IMPLEMENTATION:
1.
Timezone Conversion Engine:
The script uses Pine Script's "America/New_York" timezone functions to ensure all time calculations are based on NY time, regardless of the user's chart timezone. This eliminates confusion and provides consistent behavior across global markets.
2.
Dual-Category Time Classification System:
The indicator employs a unique two-category classification system:
Category A (16:00-23:59 NY): Evening times that extend overnight until next day 15:59 NY
Category B (00:00-15:59 NY): Day times that extend until same day 15:59 NY
This classification handles the complex logic of overnight sessions and prevents lines from incorrectly resetting at midnight for evening times.
3. Price Capture Mechanism:
Uses precise time-hit detection with backup systems for edge cases (especially midnight 00:00). When a specified time occurs, the script captures the bar's opening price and stores it in persistent variables using Pine Script's var declarations.
4. Session-Aware Display Logic:
Lines only appear during their designated "display windows" - periods when the captured price level is relevant. The script uses conditional plotting with plot.style_linebr to create clean breaks when lines are inactive.
5. Smart Reset System:
Different reset behaviors based on time classification:
Category A times persist across midnight (for overnight analysis)
Category B times reset on day changes (except 00:00 which captures AT day change)
Automatic cleanup when display windows close
ORIGINALITY & UNIQUE FEATURES:
1. Overnight Session Handling:
Unlike basic horizontal line tools, this script properly handles overnight spans for evening times, making it invaluable for analyzing gaps and overnight price action.
2. Automatic Session Management:
No manual line drawing required - the script automatically manages when lines appear/disappear based on NY market sessions (15:59 close, 18:00 after-hours start).
3. Time-Window Display Logic:
Lines only show during relevant periods, reducing chart clutter and focusing attention on currently active levels.
TRADING CONCEPTS & APPLICATIONS:
1. Session-Based Analysis:
Capture opening prices at key session times:
00:00 NY: Sydney/Asian session start
03:00 NY: London pre-market
08:00 NY: London session open
09:30 NY: NYSE opening bell
18:00 NY: After-hours start
2. Gap Analysis:
Evening times (20:00-23:59) that extend overnight are particularly useful for:
Identifying potential gap-fill levels
Tracking overnight high/low breaks
Setting reference points for next-day trading
3. Support/Resistance Framework:
Opening prices at significant times often act as:
Intraday support/resistance levels
Reference points for breakout/breakdown analysis
Pivot levels for mean reversion strategies
HOW TO USE:
1. Time Input:
Enter times in "HH:MM" format using 24-hour NY time:
"09:30" for NYSE open
"15:30" for late-day reference
"20:00" for evening level (extends overnight)
2. Line Behavior:
Blue/Green/Cyan/Red lines: Your custom times
Yellow line: After-hours day open (18:00 NY start)
Lines appear with breaks during inactive periods
3. Strategic Setup:
Use 2-3 key session times for your trading style
Combine morning times (immediate reference) with evening times (overnight analysis)
Toggle after-hours line based on your market focus
CALCULATION METHOD:
The script uses direct opening price capture (no smoothing or averaging) at precise time hits, ensuring the most accurate representation of actual market levels at specified times. This raw price approach maintains the integrity of actual market opening prices rather than manipulated or calculated values.
This method is particularly effective because opening prices at significant times often represent institutional order flow and can act as magnetic levels throughout subsequent sessions.
Candle Size “This indicator calculates and displays the real-time size of the current candle by measuring the difference between its high and low prices. The value is shown in the indicator’s data window without plotting any visible elements on the chart, providing a clean interface while keeping you informed about candle volatility.”
SROC AngleThe SRCO Angle Oscillator is a technical indicator that normalizes the data from the Stochastic Relative Change Oscillator (SRCO). By transforming the SRCO's output into an angular representation, this oscillator provides a clearer, bounded view of price momentum and relative change, making it easier for traders and analysts to identify overbought/oversold conditions and potential trend reversals within a normalized range. This normalization helps to reduce the choppiness often seen in raw oscillator data, offering a smoother and more interpretable signal.
Vela Rango 3.0Indicator created to mark candles that are larger than their previous candle, both in their High and Low, it marks said candles in time frames of 15 minutes and higher with a triangle above them, and the last range candle created expands said range to the right during the following 4 hours.
9:30 AM Price Marker with Prior Day (Extended)Highlights both todays open & yesterdays open starting at 9:30am EST. Works best on the 5m chart.
Mark the last 20th candleThis Pine Script indicator, titled "Mark last 20 candle" (short name: "Last 20"), was designed to visually highlight a specific candle on your TradingView chart.
What the indicator does:
The main function of this script is to exclusively mark the first candle within the most recent window of 20 candles on your chart . Instead of coloring all 20 candles, it precisely identifies and highlights only the beginning of this 20-candle sequence.
How the indicator works:
Number of candles: The script uses a user-defined variable, num_candles_to_mark , set to 20 , to specify the size of the relevant candle window.
Dynamic Identification: The indicator uses the built-in Pine Script variables:
bar_index: Represents the index of the currently processed candle (starting at 0).
last_bar_index: Represents the index of the very last available candle in your chart (the most recent).
Precise Marking: The core logic bar_index == last_bar_index - num_candles_to_mark + 1 calculates the exact index of the candle that is 20 bars before the last_bar_index . If the bar_index of the currently processed candle matches this calculated position, that specific candle is colored blue with 80% transparency.
Automatic Shift: As new candles appear on your chart (and last_bar_index increases accordingly), the calculated target index ( last_bar_index - num_candles_to_mark + 1 ) also automatically shifts one bar to the right. This ensures that the marked candle automatically "moves along" and always highlights the first candle of the current 20-candle window.
Usage:
This indicator is useful for traders who want to visually track the starting point of a fixed window of recent price action. It can help identify patterns or apply strategies relative to that specific candle.
To use it, simply copy the provided Pine Script code into your TradingView Pine Editor and add it to your chart. The marked candle will dynamically update as new data arrives.
Mark last 20 CandleThis Pine Script indicator, titled "Mark last 20 candle" (short name: "Last 20"), was designed to visually highlight a specific candle on your TradingView chart.
What the indicator does:
The main function of this script is to exclusively mark the first candle within the most recent window of 20 candles on your chart . Instead of coloring all 20 candles, it precisely identifies and highlights only the beginning of this 20-candle sequence.
How the indicator works:
Number of candles: The script uses a user-defined variable, num_candles_to_mark , set to 20 , to specify the size of the relevant candle window.
Dynamic Identification: The indicator uses the built-in Pine Script variables:
bar_index: Represents the index of the currently processed candle (starting at 0).
last_bar_index: Represents the index of the very last available candle in your chart (the most recent).
Precise Marking: The core logic bar_index == last_bar_index - num_candles_to_mark + 1 calculates the exact index of the candle that is 20 bars before the last_bar_index . If the bar_index of the currently processed candle matches this calculated position, that specific candle is colored blue with 80% transparency.
Automatic Shift: As new candles appear on your chart (and last_bar_index increases accordingly), the calculated target index ( last_bar_index - num_candles_to_mark + 1 ) also automatically shifts one bar to the right. This ensures that the marked candle automatically "moves along" and always highlights the first candle of the current 20-candle window.
Usage:
This indicator is useful for traders who want to visually track the starting point of a fixed window of recent price action. It can help identify patterns or apply strategies relative to that specific candle.
To use it, simply copy the provided Pine Script code into your TradingView Pine Editor and add it to your chart. The marked candle will dynamically update as new data arrives.
Multi-Timeframe Price Action AnalysisMulti-Timeframe Price Action Analysis
This indicator analyzes price action across multiple timeframes to determine bullish and bearish signals. It creates a dashboard showing how price interacts with previous candles' highs and lows.
Features
- Analyzes 4 customizable timeframes simultaneously
- Detects when price:
-- Grabs lows and comes back inside (bullish)
-- Grabs highs and comes back inside (bearish)
-- Grabs both highs and lows
-- Moves above previous high
-- Moves below previous low
-- Calculates bullish/bearish percentages for each timeframe
-- Visual dashboard with color-coded signals
Adjustable confirmation settings
-- Settings
-- Customize timeframes (default: 15min, 1H, 4H, D)
-- Toggle confirmation waiting
-- Set number of confirmation candles
This is a very rudimentary version.. I will make a more robust version soon
For it to be considered a "grab" the current price must be within the previous candle's range..
This also does not focus on candle closures just highs and lows
Also note that this is a little aggressive in that it does not require a bullish close for example to be considered bullish, a bearish close inside the previous candle is considered valid, this is to handle the morning stars that have a slightly bearish close in middle candle etc.. obviously do not rely on this indicator.. look at the price action and determine if you think its worth taking..
Same goes for bullish closes inside previous candle after grabbing highs..
SMA Strategy with Re-Entry Signal (v6 Style)*SMA Trend Strategy with Re-Entry Signal (v6 Edition)*
This indicator is based on a classic moving average trend-following system, enhanced with re-entry signals designed for medium to short-term traders.
---
### 📈 Key Features:
1. *Trend Detection Logic:*
- The 30-period SMA (SMA30) is used as the trend filter.
- When the closing price is above the SMA30, the market is considered to be in an uptrend.
2. *Re-Entry Signal:*
- While in an uptrend, if the closing price crosses above the SMA20, a re-entry (add position) signal is triggered.
- These signals are shown with green upward arrows below the bars.
3. *Background Highlighting:*
- Green background: indicates an uptrend.
- Red background: indicates a break below SMA30, suggesting weakening momentum.
4. *Multi-SMA Visualization:*
- Five SMAs are displayed: SMA10, SMA20, SMA30, SMA60, and SMA250.
- This helps visualize both short-term and long-term trend structures.
---
### 🔍 Usage Tips:
- Use this script directly on your main chart to monitor trend direction and wait for re-entry signals during pullbacks.
- Combine with other tools like volume, price action, or candlestick patterns to confirm entries.
---
### ⚠️ Disclaimer:
- This indicator is for educational and informational purposes only. It does not constitute financial advice or a buy/sell signal.
- Avoid relying solely on this script for trading decisions. Always manage your own risk.
---
👨💻 *Developer’s Note:*
This script is 100% manually developed, not copied or auto-generated. It is an original implementation based on my personal trading logic. Suggestions and feedback are welcome!
Candle Ribbon [UkutaLabs]The Candle Ribbon is a powerful trading tool that creates a strong ribbon that indicates market strength. This ribbon is created using three moving averages that use the candle values (high, low, open and close) as its input values.
The center most MA will also be colored green, red or grey depending on whether or not its direction aligns with current market strength.
The outer band lines act as range indicators, plotted above and below the center ribbon, which represent volatility boundaries for price action.
█ USAGE
The Candle Ribbon is created using a series of three moving averages that uses values from the candle as its inputs. The user has the ability to select whether the moving averages are EMAs or SMAs, as well as the ability to control the period of the moving averages.
If the moving average calculated using the Candle Open is below the moving average calculated using the Candle Close, the ribbon will be colored green, indicating a bullish trend. If the moving average calculated using the Candle Open is above the moving average calculated using the Candle Open, the ribbon will be colored red, indicating a bearish trend.
This indicator also uses a series of hidden EMAs to determine market strength. If these EMAs do not align with the direction of the Candle Ribbon, the middle MA will instead be colored grey, indicating uncertainty in the market, as well as a possible reversal.
█ SETTINGS
Configuration
• Moving Average Type: Determines whether or not the Candle Moving Averages will be drawn as EMAs or SMAs.
• Moving Average Period: Determines the period of the Candle Moving Averages.
Moving Average
• Moving Average Input: Determines the input values for the hidden EMAs.
RSI + Bollinger Reversal AlertRSI + Bollinger Reversal Alert
Good win rate backtest on this strategy allow you to find nice entry with RSI + Bollinger Reversal Alert confluence
CHoCH + BOS Detector (con líneas)este indicador sirve para simplificar las entrada scalper en el oro
Candle Overlap DegreeThis indicator gives the ratio of max(0, min High - max Low) to (max High - min Low) over n-day.
Letzte Open Rays (18:00, 00:00, 10:00 UTC-4)super diese gute opening ray, opening rays bei den 10,18 und 0 open nur die letzten möglichen
Engulfing Candles (ATR-Based) with Volume SpikeOverview:
This script is designed to detect high-probability bullish and bearish engulfing patterns — but with a twist: it filters them through ATR-based volatility and confirms strength with volume spikes, all while offering optional trend filtering. It's built for traders who want more than just surface-level candle patterns — it's for those who want contextual confirmation before entering a trade.
What Makes It Different:
Most engulfing candle indicators simply match two candle shapes. This script goes deeper by:
Measuring candle body size relative to recent volatility (via ATR).
Checking for volume confirmation using a dynamic spike threshold.
Filtering based on trend context using SMA-based structure detection.
This tri-layered logic aims to avoid false positives and give traders cleaner, more actionable entries that align with momentum.
Core Concepts:
1. Trend Detection (Optional)
You can choose between two structural filters:
SMA50 only: Looks for price above or below the 50-period SMA to define trend direction.
SMA50 + SMA200 alignment: A stricter rule requiring both fast and slow SMAs to confirm a trend.
Or turn off trend filtering entirely (No detection).
This helps ensure engulfing setups appear in line with the broader trend, increasing the likelihood of continuation.
2. ATR-Filtered Candle Bodies
To eliminate noise:
A candle is only considered a valid engulfing candle if it has a body larger than 1.5× ATR(14).
The previous candle must be a small-bodied candle (less than 0.5× ATR), creating a clear visual engulfing structure.
This method dynamically adjusts for market volatility, so setups are meaningful even during periods of compression or expansion.
3. Volume Spike Confirmation
Not all engulfing candles lead to follow-through. That’s why this script includes a volume confirmation filter:
A 20-period moving average of volume is calculated.
A spike is flagged if the current bar’s volume exceeds 1.5× this average (adjustable).
Patterns with this confirmation are marked with a “*” label (e.g., BU* or BE*) to distinguish volume-backed setups from weaker ones.
Visuals & Alerts:
BU = Bullish engulfing without volume spike
BU* = Bullish engulfing with volume spike
BE = Bearish engulfing without volume spike
BE* = Bearish engulfing with volume spike
A white background highlight is shown behind candles with volume-confirmed engulfing patterns.
Alerts are available for BU* and BE* so you can automate your edge.
How to Use:
Add the indicator to any chart.
Choose your trend filter from the settings panel.
Watch for BU* and BE* labels — these are your highest-conviction signals.
Optional: Combine with support/resistance, Fibonacci zones, or MTF confirmation to refine entries.
Use the included alerts to receive real-time push/email notifications when patterns emerge.
Performance Note:
I’ve found this script to be fairly good when applied to the 1-hour charts of the companies in the US100. The combination of ATR-based filtering and volume confirmation appears to provide clear, high-quality setups with good follow-through potential.
By blending candle patterns, volatility filtering, volume confirmation, and trend context, this script aims to filter out weak signals and highlight the most statistically significant engulfing opportunities.
XAUUSD Scalping Strategy - FVG + CISD📈 XAUUSD Scalping Strategy – FVG + CISD (3M/5M)
This strategy is designed for high-probability scalping on gold (XAU/USD) using a blend of Smart Money Concepts (SMC) and momentum-based price action. It works best on the 3-minute and 5-minute charts with bias from the 15M or 1H timeframe.
🔍 Core Concepts:
Fair Value Gaps (FVGs): Price inefficiencies created when strong displacement candles leave behind imbalanced zones. Used as retracement entry points.
CISD (Change in State of Delivery): Detects momentum shifts using strong displacement candles following a liquidity sweep or market structure break.
Liquidity Sweeps: Identifies stops being taken above recent highs or below recent lows, often leading to a reversal.
Market Structure Break (MSB): Confirms the change in directional bias after a liquidity sweep and displacement.
🧠 Strategy Logic:
Buy Conditions:
Bias is set to “Bullish”
Price sweeps a recent swing low (liquidity grab)
A strong bullish displacement candle confirms momentum (CISD)
A bullish Fair Value Gap forms
A bullish Market Structure Break occurs
Sell Conditions:
Bias is set to “Bearish”
Price sweeps a recent swing high
A strong bearish displacement candle confirms reversal
A bearish Fair Value Gap forms
A bearish Market Structure Break occurs
🎯 Entry & Risk Management:
Entry: Upon retracement into the Fair Value Gap (FVG)
Stop-Loss: Below swing low (for buys) or above swing high (for sells)
Take-Profit: 2x Reward-to-Risk ratio (adjustable)
Alerts: Configurable alerts notify you of qualified trade setups in real time
✅ Best Use Practices:
Use only during high-volume sessions (London/NY open)
Confirm direction using M15 or H1 bias
Avoid ranging markets or choppy sessions
Combine with liquidity zones or higher timeframe supply/demand for stronger confluence
Price Deviation from MA5 (%)This custom TradingView indicator calculates and displays the percentage deviation of the current closing price from its 5-day simple moving average (MA5).
Flexible Reversal DetectorFlexible Reversal Detector
An advanced, fully customizable analytical tool designed to identify local trend reversal zones based on candlestick formations. Users have full control over all logic parameters, making it adaptable to different trading styles and preferences.
Key Features
Adjustable maximum pattern length (number of candles)
Customizable body size ratios for initial, middle, and final candles
Configurable minimum price movement (in %) required before a pattern is considered valid
Colored horizontal lines showing the full length of the pattern – helpful in identifying structure, potential support/resistance zones
Optional volume filter – the volume of the final candle is compared to a volume SMA; multiplier can be adjusted (e.g. 1 = equal to average, 0.8 = 80% of average)
Logic Overview
U Pattern
Each bearish candle is treated as a potential start of a reversal pattern.
Subsequent candles, if small enough and within defined thresholds, form the middle part of the structure.
When a bullish candle with a sufficiently large body appears, it is marked as the final candle of the pattern.
The pattern is considered valid if it was preceded by a defined percentage price drop and – optionally – if the volume condition was met.
∩ Pattern
Each bullish candle may act as the initial candle of a potential reversal pattern in the opposite direction.
Following smaller candles form the middle part, as long as they meet the defined criteria.
The appearance of a strong bearish candle marks the end of the formation.
If this pattern is preceded by a certain price increase (and optionally meets the volume filter), it is highlighted on the chart.
Note: On markets with low volatility or on lower timeframes, it is recommended to reduce the percentage thresholds for signal detection. For more dynamic price action or higher timeframes, consider increasing them accordingly.
Visualization
The final candle of the pattern is marked visually on the chart (depending on direction)
Colored horizontal lines indicate the full span of the pattern – from initial to final candle
Trendline Breakouts With Volume Strength [TradeDots]Trendline Breakouts With Volume Strength is an innovative indicator designed to identify potential market turning points using pivot-based trendline detection and volume confirmation. By merging dynamic trendline analysis with multi-tiered volume filters, this tool helps traders quickly spot breakouts or breakdowns that may signal significant shifts in price action.
📝 HOW IT WORKS
1. Pivot-Based Trendline Detection
The script automatically scans for recent pivot highs and lows over a user-defined lookback period.
When it finds higher pivot lows, it plots green uptrend lines; when it finds lower pivot highs, it plots red downtrend lines.
These dynamic lines update as new pivots form, providing continuously refreshed trend guidance.
2. Volume Ratio Analysis
A moving average of volume is compared against the current bar’s volume to calculate a ratio (e.g., 1.5×, 2×).
Higher ratios suggest above-average volume, often interpreted as stronger participation.
The script applies color-coded cues to highlight the intensity of volume surges.
3. Breakout & Breakdown Detection
Each trendline is monitored for a defined “break threshold,” which helps avoid minor penetrations that can trigger premature signals.
When price closes beyond a threshold below an uptrend line, the indicator labels it a “BREAKDOWN.” If it closes above a threshold on a downtrend line, it labels it a “BREAKOUT.”
Volume surges accompanying these breaks are highlighted with contextual emojis and distinct color gradients for quick visual reference.
4. Trend Direction Table
A small on-chart table provides a snapshot of the current market trend—Uptrend, Downtrend, or Sideways—based on a simple moving average slope and the number of active uptrend or downtrend lines.
This table also displays quick stats on how many lines are actively tracked, helping traders assess the broader market posture at a glance.
🛠️ HOW TO USE
1. Choose a Timeframe
This script works on multiple timeframes. Intraday traders can monitor minute or hourly charts for frequent pivot updates, while swing and position traders may prefer daily or weekly intervals to reduce noise.
2. Observe Trendlines & Labels
Watch for newly drawn green/red lines connecting pivots.
When you see a “BREAKOUT” or “BREAKDOWN” label, confirm whether volume was abnormally high based on the ratio or color-coded bars.
3. Consult the Trend Table
Use the table in the bottom-right corner to quickly check if the market is trending or range-bound.
Look at the count of active uptrend vs. downtrend lines to gauge broader sentiment.
4. Employ Additional Analysis
Combine these signals with other tools (e.g., candlestick patterns, oscillators, or fundamental analysis).
Validate potential breakouts using standard techniques like retests or support/resistance checks.
❗️LIMITATIONS
Delayed Pivots: Trendlines only adjust once new pivot highs or lows form, which can introduce a slight lag in highly volatile environments.
Choppy Markets: Rapid, back-and-forth price moves may produce conflicting trendline signals and frequent breakouts/breakdowns.
Volume Data Reliability: Gaps in volume data or unusual market conditions (holidays, low-liquidity sessions) can skew ratio readings.
RISK DISCLAIMER
Trading any financial instrument involves substantial risk, and this indicator does not guarantee profits or prevent losses. All signals and visual cues are for educational and informational purposes only; past performance does not assure future outcomes. You retain full responsibility for your trading decisions, including proper risk management, position sizing, and the use of additional confirmation methods. Always consider the possibility of losing some or all of your original investment.
Previous Day High & Low)Previous Day High & Low (PDH/PDL)
This simple but essential tool plots the previous day's high and low as dynamic horizontal lines across the current trading session. Ideal for traders who rely on key support and resistance levels, this indicator automatically updates at the start of each new day and extends the levels across the chart.
🔹 Features:
Automatically tracks and draws the previous day’s high and low.
Lines update cleanly at each new session.
Helps identify breakout and reversal zones.
Perfect for scalpers, intraday traders, and anyone watching for reactions at key levels.
GStrategy 1000Pepe 15mTrend Following Candlestick Strategy with EMA Filter and Exit Delay
Strategy Concept
This strategy combines candlestick patterns with EMA trend filtering to identify high-probability trade entries, featuring:
Entry Signals: Hammer and Engulfing patterns confirmed by EMA trend
Trend Filter: Fast EMA (20) vs Slow EMA (50) crossover system
Risk Management: 5% stop-loss + 1% trailing stop
Smart Exit: 2-bar delay after exit signals to avoid whipsaws
Key Components
Trend Identification:
Uptrend: Fast EMA > Slow EMA AND rising
Downtrend: Fast EMA < Slow EMA AND falling
Entry Conditions:
pinescript
// Bullish Entry (Long)
longCondition = (Hammer OR Bullish Engulfing)
AND Uptrend
AND no existing position
// Bearish Entry (Short)
shortCondition = Bearish Engulfing
AND Downtrend
AND no existing position
Exit Mechanics:
Primary Exit: EMA crossover (Fast crosses Slow)
Delayed Execution: Waits 2 full candles after signal
Emergency Exits:
5% fixed stop-loss
1% trailing stop
Visual Dashboard:
Colored EMA lines (Blue=Fast, Red=Slow)
Annotated candlestick patterns
Background highlighting for signals
Distinct markers for entries/exits
Unique Features
Pattern Recognition:
Enhanced Hammer detection (strict body/wick ratios)
Multi-candle engulfing confirmation
Trend-Confirmation:
Requires price and EMA alignment
Filters counter-trend patterns
Exit Optimization:
pinescript
// Delay implementation
if exit_signal_triggered
counter := 2 // Start countdown
else if counter > 0
counter -= 1 // Decrement each bar
exit_trade = (counter == 1) // Execute on final bar
Risk Parameters
Parameter Value Description
Stop Loss 5% Fixed risk per trade
Trailing Stop 1% Locks in profits
Exit Delay 2 bars Reduces false exits
Position Size 100% No pyramiding
Visualization Examples
🟢 Green Triangle: Bullish entry
🔴 Red Triangle: Bearish entry
⬇️ Blue X: Long exit (after delay)
⬆️ Green X: Short exit (after delay)
🎯 Pattern Labels: Identifies hammer/engulfing
Recommended Use
Timeframes: 1H-4H (reduces noise)
Markets: Trend-prone assets (FX, indices)
Best Conditions: Strong trending markets
Avoid: Choppy/Ranging markets