4StochsThis indicator shows when four Stochastics (9, 14, 30, and 60) are aligned—up, down, or flat.
A red down triangle appears when the Stochastics are in descending order (60, 30, 14, 9), indicating a potential bearish move.
A green up triangle appears when they are in ascending order (9, 14, 30, 60), indicating a potential bullish move.
A lime diamond appears when the four Stochastics are not aligned, signaling a sideways market.
Corak carta
MARITradesGold Indicator A - BOS modelMARITradesGold Indicator A is a precision-built tool designed to help traders:
✅ Identify high-probability trade zones
✅ Highlight Break of Structure (BOS) and market shifts
✅ Mark session-based key levels
✅ Show clean entry, stop loss, and take profit zones
✅ Filter entries using trend and price action logic
🧠 Built with real-time alerts and session filtering to avoid noise and false signals.
🚀 Ideal for: Forex, Gold, Indices, Crypto
💡 No setup required – plug and trade.
🎯 Perfect For:
Day traders looking for daily structure and consistency
Prop firm challenge takers
Hello Pine//@version=6
indicator("Barcolor Test v6", overlay=true)
fastMA = ta.sma(close, 50)
slowMA = ta.sma(close, 200)
buySignal = ta.crossover(fastMA, slowMA)
sellSignal = ta.crossunder(fastMA, slowMA)
barcolor(buySignal ? color.new(color.green, 0) : sellSignal ? color.new(color.red, 0) : color.na)
MariTrades Gold Indicator B stop loss and take profitsSimplify your entries with built-in stop loss and take profit visual levels.
Clean chart. Clear signals. Precision SL and TP plotted automatically for each trade.
Designed for gold scalpers and intraday traders who value risk control and speed.
Auto-labeling system makes trade planning easy — no more second-guessing levels.
Private access only. DM for the invite to this time-efficient entry tool.
Info in bio
Color Test
You sent
//@version=5
indicator("EZ Buy/Sell with Auto SL & TP (final typed version)", overlay=true)
// --- Signals (50/200 MA) ---
fastMA = ta.sma(close, 50)
slowMA = ta.sma(close, 200)
buySignal = barstate.isconfirmed and ta.crossover(fastMA, slowMA)
sellSignal = barstate.isconfirmed and ta.crossunder(fastMA, slowMA)
// --- Risk settings ---
method = input.string("ATR", "Stop Method", options= )
atrLen = input.int(14, "ATR Length", minval=1)
atrMult = input.float(1.5, "Stop = ATR x", step=0.1, minval=0.1)
pctStop = input.float(2.0, "Stop = % (if Percent)", step=0.1, minval=0.1)
tpR1 = input.float(1.0, "TP1 (R multiples)", step=0.25, minval=0.25)
tpR2 = input.float(2.0, "TP2 (R multiples)", step=0.25, minval=0.25)
moveToBE = input.bool(true, "Move Stop to Breakeven after TP1?")
// --- Compute risk unit R ---
atr = ta.atr(atrLen)
riskR = method == "ATR" ? atr * atrMult : (close * (pctStop / 100.0))
// --- Candle color (typed to avoid NA assignment issue) ---
color candleColor = na
candleColor := buySignal ? color.new(color.green, 0) :
sellSignal ? color.new(color.red, 0) :
color.na
barcolor(candleColor)
// --- Labels ---
if buySignal
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.new(color.green, 0), textcolor=color.white, size=size.large)
if sellSignal
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.new(color.red, 0), textcolor=color.white, size=size.large)
// --- Bias background (last signal) ---
var int bias = 0 // 1=long, -1=short
if buySignal
bias := 1
else if sellSignal
bias := -1
bgcolor(bias == 1 ? color.new(color.green, 88) : bias == -1 ? color.new(color.red, 88) : na)
// --- State & levels (explicitly typed) ---
var bool inLong = false
var bool inShort = false
var float entryPrice = na
var float longSL = na, longTP1 = na, longTP2 = na
var float shortSL = na, shortTP1 = na, shortTP2 = na
var bool longTP1Hit = false, shortTP1Hit = false
newLong = buySignal
newShort = sellSignal
// --- Long entry ---
if newLong
inLong := true
inShort := false
entryPrice := close
longTP1Hit := false
float r = method == "ATR" ? atr * atrMult : (entryPrice * (pctStop / 100.0))
longSL := entryPrice - r
longTP1 := entryPrice + tpR1 * r
longTP2 := entryPrice + tpR2 * r
// clear short levels
shortSL := na
shortTP1 := na
shortTP2 := na
shortTP1Hit := false
// --- Short entry ---
if newShort
inShort := true
inLong := false
entryPrice := close
shortTP1Hit := false
float r2 = method == "ATR" ? atr * atrMult : (entryPrice * (pctStop / 100.0))
shortSL := entryPrice + r2
shortTP1 := entryPrice - tpR1 * r2
shortTP2 := entryPrice - tpR2 * r2
// clear longs
longSL := na
longTP1 := na
longTP2 := na
longTP1Hit := false
// --- Move stop to BE after TP1 ---
if inLong and not na(longSL)
if not longTP1Hit and ta.crossover(close, longTP1)
longTP1Hit := true
if moveToBE and longTP1Hit
longSL := math.max(longSL, entryPrice)
if inShort and not na(shortSL)
if not shortTP1Hit and ta.crossunder(close, shortTP1)
shortTP1Hit := true
if moveToBE and shortTP1Hit
shortSL := math.min(shortSL, entryPrice)
// --- Exit detections ---
bool longStopHit = inLong and not na(longSL) and ta.crossunder(close, longSL)
bool longTP1HitNow = inLong and not na(longTP1) and ta.crossover(close, longTP1)
bool longTP2Hit = inLong and not na(longTP2) and ta.crossover(close, longTP2)
bool shortStopHit = inShort and not na(shortSL) and ta.crossover(close, shortSL)
bool shortTP1HitNow = inShort and not na(shortTP1) and ta.crossunder(close, shortTP1)
bool shortTP2Hit = inShort and not na(shortTP2) and ta.crossunder(close, shortTP2)
// --- Auto-flat after SL or TP2 ---
if longStopHit or longTP2Hit
inLong := false
if shortStopHit or shortTP2Hit
inShort := false
// --- Draw levels ---
plot(inLong ? longSL : na, title="Long SL", color=color.new(color.red, 0), linewidth=2, style=plot.style_linebr)
plot(inLong ? longTP1 : na, title="Long TP1", color=color.new(color.green, 0), style=plot.style_linebr)
plot(inLong ? longTP2 : na, title="Long TP2", color=color.new(color.green, 0), style=plot.style_linebr)
plot(inShort ? shortSL : na, title="Short SL", color=color.new(color.red, 0), linewidth=2, style=plot.style_linebr)
plot(inShort ? shortTP1 : na, title="Short TP1", color=color.new(color.green, 0), style=plot.style_linebr)
plot(inShort ? shortTP2 : na, title="Short TP2", color=color.new(color.green, 0), style=plot.style_linebr)
// --- Alerts ---
alertcondition(buySignal, title="BUY Signal", message="BUY: Candle green. SL/TP drawn.")
alertcondition(sellSignal, title="SELL Signal", message="SELL: Candle red. SL/TP drawn.")
alertcondition(longStopHit, title="Long STOP Hit", message="Long STOP hit.")
alertcondition(longTP1HitNow, title="Long TP1 Hit", message="Long TP1 reached.")
alertcondition(longTP2Hit, title="Long TP2 Hit", message="Long TP2 reached.")
alertcondition(shortStopHit, title="Short STOP Hit", message="Short STOP hit.")
alertcondition(shortTP1HitNow, title="Short TP1 Hit", message="Short TP1 reached.")
alertcondition(shortTP2Hit, title="Short TP2 Hit", message="Short TP2 reached.")
// --- Optional MA context ---
plot(fastMA, color=color.new(color.green, 0), title="MA 50")
plot(slowMA, color=color.new(color.red, 0), title="MA 200")
Aktien Spike Detector by DavidThis indicator marks the daily high and low on the chart and provides a visual and audible alert whenever the current price touches either of these levels. Additionally, the indicator highlights the candlestick that reaches the daily high or low to quickly identify significant market movements or potential reversal points.
Features:
📈 Daily high and low are automatically calculated and displayed as lines on the chart.
🔔 Alert notification when the price touches the daily high or low.
🕯️ Highlighting of the touch candlestick (e.g., color-coded) for better visual orientation.
💡 Ideal for traders trading breakouts, rejections, or intraday reversals.
Areas of application:
Perfect for day traders, scalpers, and intraday analysts who want to see precisely when the market reaches key daily levels.
CodeFargo Directional Bias🟢 CodeFargo Directional Bias Trend Filter
Overview:
The CodeFargo Trend Filter is a simple, clean, and effective tool that automatically detects and displays the current trend based on the active chart timeframe.
It colors candles according to the real-time market bias — so you instantly know whether your current chart is trending bullish or bearish.
⚙️ Core Features
✅ Works on any chart timeframe (1m–1Y)
✅ Detects trend direction for the current open timeframe only
✅ Automatic candle coloring – green for bullish, red for bearish
✅ Optional trend labels (BULLISH / BEARISH / NEUTRAL)
✅ Lightweight and fast for live trading
Neutral conditions are left uncolored for clarity.
This gives a real-time trend snapshot of the current timeframe — no multi-timeframe logic, no lag, no confusion.
🎯 Best For
Scalpers and intraday traders who focus on the current timeframe structure
Traders who prefer clean, direct bias confirmation
Anyone wanting a quick visual confirmation of the active trend
Created by CodeFargo — designed for precision, simplicity, and speed.
RSI USO714 + CDS HTF Order Blocks v7.0.2This is only a test indicator I tossed together
It’s EMA and rsi cross
Use at your own risk
Candles mine simpleCandles mine simple just normal indicator. I just wish to use another chart for another chart
TFPV — FULL Radial Kernel MA (Short/Long, Time Folding, Colored)TFPV is a pair of adaptive moving averages built with a radial kernel (Gaussian/Laplacian/Cauchy) on a joint metric of time, price, and volume. It can “fold” time along the market’s dominant cycle so that bars separated by entire cycles still contribute as if they were near each other—helpful for cyclical or range-bound markets. The short/long lines auto-color by regime and include cross alerts.
What it does
Radial-kernel averaging: Weights past bars by their distance from the current bar in a 3-axis space:
Time (αₜ): linear distance or cycle-aware phase distance
Price (αₚ): normalized by robust price scale
Volume (αᵥ): normalized by (log) volume scale
Time folding: Choose Linear (standard) or Circular using:
Homodyne (Hilbert) dominant period, or
ACF (autocorrelation) dominant period
This compresses distances for bars that are one or more full cycles apart, improving smoothing without lagging trends.
Adaptive scales: Price/volume bandwidths use Robust MAD, Stdev, or ATR. Optional Super Smoother center reduces noise before measuring distances.
Visual regime coloring: Short above Long → teal (bullish). Short below Long → orange (bearish). Optional fill highlights the spread.
How to read it
Trend filter: Trade in the direction of the color (teal bullish, orange bearish).
Crossovers: Short crossing above Long often marks early trend continuation after pullbacks; crossing below can warn of weakening momentum.
Spread width: A widening gap suggests strengthening trend; a shrinking gap hints at consolidation or a possible regime change.
Key settings
Lengths
Short/Long window: Lookback for each radial MA. Short reacts faster; Long stabilizes the regime.
Kernel & Metric
Kernel: Gaussian, Laplacian, or Cauchy (default). Cauchy is heavier-tailed (keeps more outliers), Gaussian is tighter.
Axis weights (αₜ, αₚ, αᵥ): Importance of time/price/volume distances. Increase a weight to make that axis matter more.
Ignore weights below: Hard cutoff for tiny kernel weights to speed up/clean contributions.
Time Folding
Topology: Linear (standard MA behavior) or Circular (Homodyne/ACF) (cycle-aware).
Cycle floor/ceil: Bounds for the dominant period search.
σₜ mode: Auto sets time bandwidth from the detected period (or length in Linear mode) × multiplier; Manual fixes σₜ in bars.
Price/Volume Scaling
Price scale: Robust MAD (outlier-resistant), Stdev, or ATR (trend-aware).
σₚ/σᵥ multipliers: Bandwidths for price/volume axes. Larger values = looser matching (smoother, more lag).
Use log(volume): Stabilizes volume’s scale across regimes; recommended.
Kernel Center
Price center: Raw (close) or Super Smoother to reduce noise before measuring price distance.
Plotting
Plot source: Show/hide the input source.
Fill between lines: Visual emphasis of the short/long spread.
Tips
Start with defaults: Cauchy, Circular (Homodyne), Robust MAD, log-volume on.
For choppy/cyclical symbols, Circular time folding often reduces false flips.
If signals feel too twitchy, either increase Short/Long lengths or raise σₚ/σᵥ multipliers (looser kernel).
For strong trends with regime shifts, try ATR price scaling.
Advanced Market Structure Sniper -> PROFABIGHI_CAPITAL Strategy🌟 Overview
The Advanced Market Structure Sniper → PROFABIGHI_CAPITAL Strategy is a precision market structure trading system that leverages Break of Structure (BOS) and Change of Character (CHoCH) detection for trend continuation and reversal signals, integrated with multi-mode EMA trend validation and interim swing-based risk placement . It offers directional trading flexibility , conservative or aggressive position management , dynamic stop-loss and take-profit levels , and comprehensive visual feedback including colored candles and performance metrics for optimized backtesting and live execution.
⚙️ Strategy Configuration
- Initial Capital : Starting account balance for simulation and performance calculation
- Slippage Modeling : Adjustable execution cost to reflect real-market friction
- Position Sizing : Equity percentage allocation per trade for consistent risk exposure
- Pyramiding Control : Disabled to limit directional exposure to single positions
- Order Execution : Processes trades on confirmed bar close to avoid repainting
- Margin Settings : Zero leverage for both long and short positions, focusing on cash-based trading
- Overlay Display : Renders all elements directly on the price chart for contextual analysis
📅 Date Range Settings
- Date Filter Activation : Toggle to limit backtesting to user-defined periods or enable full history
- Backtest Start Date : Customizable starting point for trade evaluation, ignoring prior data
- Range Validation : Ensures entries and exits only occur within the specified timeframe
- Historical Flexibility : Disable filter for comprehensive analysis across entire dataset
📊 PROFABIGHI_CAPITAL Metrics Display
Performance Visualization Options:
- Equity Curve : Plots account growth including unrealized positions for trend assessment
- Open Profit Tracking : Monitors current trade profitability in real-time
- Gross Profit Summary : Cumulative wins before deductions for raw performance view
- Net Profit Calculation : Final returns after all costs and losses
- Strategy Overview : Holistic equity path from initial capital
- Display None : Clean chart without performance overlays
Table Customization:
- Positioning Choices : Flexible placement across chart edges or centers for visibility
- Full Detail Mode : In-depth stats like win rate, Sharpe ratio, and maximum drawdown
- Simplified View : Core metrics only, such as total profit and trade count
- Hidden Option : Remove table entirely for focused price action review
🎯 Mode and Style Settings
- Directional Mode : Select long-only for bullish bias, short-only for bearish, or both for balanced approach
- Trade Style Selection : Conservative limits to one active position; aggressive allows concurrent trades
- Bias Alignment : Ensures signals match selected mode to filter irrelevant opportunities
- Position Overlap Control : Aggressive mode enables multi-trade scenarios while maintaining risk limits
📊 BOS/CHoCH Swing Detection
- Left Bar Confirmation : Adjustable lookback bars before pivot for robust high/low identification
- Right Bar Validation : Post-pivot bars required to confirm swing strength and reliability
- Body-Focused Pivots : Analyzes candle body extremes for cleaner structure over wick noise
- Fractal Formation : Detects new highs/lows to establish reference levels for breaks
- Crossover Logic : Triggers on price crossing prior swing levels to signal structure shifts
📊 Interim High/Low Swing Detection
- Dedicated Left Bars : Independent lookback for identifying recent swing extremes
- Dedicated Right Bars : Confirmation period tailored for interim pivot accuracy
- Opposing Candle Tracking : Monitors last bearish candle low for long stops, bullish high for short stops
- Pivot Fallback Integration : Uses interim pivots when available, defaults to recent candle bodies
- Reactive Reference : Provides tighter, more current levels for dynamic risk placement
👁️ Display Settings
- BOS/CHoCH Label Toggle : Show or hide text markers for structure break events
- Swing Line Visibility : Enable lines connecting pivot points for structural mapping
- Line Extension Duration : Configurable forward projection of swing levels for future reference
- Label Styling : Tiny, direction-colored text (green for bullish, red for bearish) with arrow styles
- Clean Visualization : Options to declutter chart by disabling non-essential elements
📈 EMA Trend Confirmation System
Mode Selection:
- Basis Mode : Unified short/long EMA pair for simple, consistent trend reading
- Advanced Mode : Separate EMA pairs optimized for long (bullish) and short (bearish) biases
Basis Parameters:
- Short EMA Length : Faster moving average for responsive trend signals
- Long EMA Length : Slower moving average for overall direction confirmation
Advanced Parameters:
- Long Trend Short EMA : Quick EMA for bullish trend detection
- Long Trend Long EMA : Supporting EMA for sustained uptrend validation
- Short Trend Short EMA : Responsive EMA for bearish momentum
- Short Trend Long EMA : Confirmatory EMA for downtrend persistence
Trend Validity:
- Uptrend Condition : Short EMA above long EMA in Basis; aligned pair in Advanced
- Downtrend Condition : Short EMA below long EMA in Basis; misaligned pair in Advanced
- Dynamic Plotting : Lines color-coded (green up, red down, gray invalid) with varying thickness
🎨 Color Customization
- EMA Trend Colors : Green for uptrends, red for downtrends in Basis mode
- Advanced EMA Colors : Green/gray for long pairs, red/gray for short pairs
- Entry Arrow Colors : Green up arrows for buys, red down for sells
- Exit Signal Colors : Dark blue for profitable closes, purple for loss exits
- Interim Line Color : Yellow for swing reference lines
- Risk Line Colors : Red for stops, green for take-profits
🛡️ Risk Management Framework
- Risk/Reward Ratio : Scalable profit target based on stop distance for asymmetric returns
- Stop Offset Percentage : Buffer added to interim levels to protect against whipsaws
- Long Stop Placement : Below last bearish candle low or interim swing low, with offset
- Short Stop Placement : Above last bullish candle high or interim swing high, with offset
- Target Derivation : Automatically calculates take-profit from entry and risk distance
- Buffer Safety : Offset ensures stops avoid tight structure for better execution
📊 Market Structure Tracking
- Structure State Variables : Tracks upper/lower swing values, locations, and cross status
- Direction Flag : Maintains bullish (1) or bearish (-1) bias based on breaks
- CHoCH Detection : Flags major reversals when breaking against prior trend
- BOS Confirmation : Validates continuations after initial CHoCH in same direction
- Cross Prevention : Boolean locks prevent duplicate signals on same level
- Fractal Updates : Dynamically refreshes swing references on new pivots
📈 Entry Signal Generation
Long Signal Requirements:
- CHoCH Confirmation : Initial bullish structure shift detected
- BOS Validation : Subsequent continuation break in uptrend
- EMA Alignment : Trend valid per selected mode (Basis or Advanced)
- Mode Permission : Long trades enabled in selected directional setting
- New Trade Allowance : No active long in conservative style
- Date Compliance : Within backtest range for execution
Short Signal Requirements:
- CHoCH Confirmation : Initial bearish structure shift detected
- BOS Validation : Subsequent continuation break in downtrend
- EMA Alignment : Trend valid per selected mode (Basis or Advanced)
- Mode Permission : Short trades enabled in selected directional setting
- New Trade Allowance : No active short in conservative style
- Date Compliance : Within backtest range for execution
Signal Filtering:
- Structure Sequence : Requires CHoCH first, then BOS for layered confirmation
- Trend Gate : EMA validity blocks counter-trend entries
- Position Lock : Conservative mode halts new signals until exit
- Visual Markers : Small triangle shapes below/above bars for immediate recognition
📤 Exit Management Logic
Stop Loss Triggers:
- Long Exit : Price reaches or breaches calculated stop below interim low
- Short Exit : Price reaches or breaches calculated stop above interim high
- Immediate Closure : Position closed on touch for strict risk adherence
Take Profit Triggers:
- Long Exit : Price hits target above entry by risk/reward multiple
- Short Exit : Price hits target below entry by risk/reward multiple
- Profit Locking : Secures gains at predefined level for disciplined trading
EMA Reversal Exits:
- Basis Mode : Short EMA crosses against long EMA direction
- Advanced Mode : Direction-specific pair misalignment triggers exit
- Profit/Loss Sorting : Classifies as profit if favorable to entry price, else loss
- Bar Confirmation : Exits processed on close to filter noise
Position Reset:
- State Clearing : Flags reset post-exit to allow new setups
- Line Deletion : Removes SL/TP visuals for chart clarity
- Condition Refresh : BOS/CHoCH trackers cleared for fresh analysis
- Allowance Unlock : Conservative mode re-enables signals after closure
🎨 Visualization Features
Entry and Exit Markers:
- Buy Arrows : Green triangles below bars for long signals
- Sell Arrows : Red triangles above bars for short signals
- Profit Exits : Dark blue triangles marking successful closes
- Loss Exits : Purple triangles indicating stopped trades
Structure and Swing Lines:
- BOS/CHoCH Lines : Horizontal extensions from break points in trend colors
- Interim Swing Lines : Yellow dashed lines for high/low references
- Risk Lines : Dashed red (stops) and green (targets) projecting forward
- Label Placement : Centered text between pivot and break for context
EMA Trend Lines:
- Basis Plots : Single pair with color shifts for unified trend view
- Advanced Plots : Four lines with direction-specific coloring and gray invalid states
- Line Weights : Thinner for shorts, thicker for longs to emphasize hierarchy
Candle Coloring System:
- Long Trade Candles : Full green fill, border, and wicks during active positions
- Short Trade Candles : Full red fill, border, and wicks during active positions
- Exit Bar Highlight : Maintains trade color on closure bars for lifecycle tracking
- Neutral Default : Transparent when no active trade for standard view
🔔 Alert System
- Entry Alerts : Notifications for buy/sell signals with ticker and timeframe
- Exit Alerts : Separate messages for profit/loss closes in each direction
- Structure Alerts : CHoCH and BOS detections for proactive monitoring
- Custom Messages : Include instrument and interval for quick context
- Real-Time Triggers : Fire on condition met for timely trade decisions
📈 Strategy Execution Framework
Entry Execution:
- Long Orders : strategy.entry() on confirmed buy signal within date range
- Short Orders : strategy.entry() on confirmed sell signal within date range
- Confirmation Gate : barstate.isconfirmed ensures no intrabar repaints
- Range Restriction : Ignores signals outside backtest period
Exit Execution:
- Position Closes : strategy.close() on any profit, loss, or EMA reversal
- Unified Handling : Single call manages full position exit
- Condition Priority : SL/TP checked first, then EMA for layered protection
- Post-Entry Management : Continues exits even if outside date range
Position State Management:
- Trade Flags : Boolean trackers for long/short activity and entry prices
- Conservative Lock : Disables new entries until current position resolves
- Aggressive Freedom : Permits overlapping trades without restrictions
- Direction Switch : New opposite entry closes prior position automatically
- Reset Mechanism : Clears all states on exit for clean restarts
🔍 Advanced Features
Structure Break Logic:
- Crossover Detection : ta.crossover/close for precise level breaches
- Label Differentiation : 'CHoCH' for reversals, 'BOS' for continuations
- Trend Flip Handling : os flag updates bias on confirmed shifts
- Line Drawing : Connects pivot to break bar for visual confirmation
Interim Level Dynamics:
- Candle Body Priority : Uses max/min open/close for interim references
- Continuous Update : Refreshes on every opposing candle or pivot
- Fallback Safety : Defaults to prior bar high/low if no recent level
- Offset Application : Percentage adjustment for volatility adaptation
EMA Mode Adaptability:
- Unified vs Specialized : Basis for simplicity, Advanced for nuanced biases
- Validity Gating : Blocks entries on invalid trends to reduce whipsaws
- Exit Sensitivity : Detects flips from prior to current bar for timely action
- Color Feedback : Gray lines signal non-valid states for quick assessment
Trade Lifecycle Integration:
- Entry Price Capture : Locks close price on signal for accurate calculations
- Line Management : Deletes prior visuals before new draws for non-clutter
- State Persistence : var declarations maintain values across bars
- Exit Classification : Distinguishes profit/loss for metrics accuracy
Performance Safeguards:
- Barstate Checks : Confirmed states prevent lookahead in tests
- Date Gating : Strict range enforcement for reproducible results
- No Repaint Design : All detections use historical pivots
- Alert Granularity : Direction-specific notifications for focused monitoring
✅ Key Takeaways
- Precision Structure Trading : BOS/CHoCH combo delivers high-confidence breakouts and reversals
- Flexible Directional Control : Long/short/both modes adapt to market bias or user preference
- Dual EMA Frameworks : Basis for ease, Advanced for tailored trend validation per direction
- Interim Swing Risk : Reactive stops using recent candles or pivots for tighter protection
- Scalable Risk/Reward : Custom RR ratios with offsets ensure favorable trade math
- Conservative/Aggressive Styles : Single vs multi-position management for risk tuning
- Visual Trade Lifecycle : Arrows, lines, colored candles, and labels track every step
- Layered Exits : SL/TP fixed levels plus EMA dynamic closes for complete coverage
- Backtest Optimization : Date filters, metrics tables, and confirmed signals for reliable testing
- Alert-Driven Monitoring : Comprehensive notifications for entries, exits, and structure events
- Body-Based Cleanliness : Ignores wicks for robust pivot detection in noisy markets
- Stateful Tracking : Variables maintain structure memory without overload
- No-Leverage Focus : Emphasizes capital preservation over amplified exposure
Trading/ Range Tracker Advanced -> PROFABIGHI_CAPITAL Strategy🌟 Overview
The Trading/Range Tracker Advanced Strategy is a fully automated swing breakout trading system that combines impulsive candle filtering , multi-channel range/trend detection , and EMA confirmation for systematic trade execution. It features ATR-based market regime classification , separate swing detection for entries and risk placement , dual-mode EMA frameworks , and comprehensive performance metrics for backtesting optimization.
⚙️ Strategy Configuration
- Initial Capital : Starting equity for backtest simulation
- Slippage : Execution slippage modeling for realistic results
- Position Sizing : Percentage of equity allocated per trade
- Pyramiding Disabled : Prevents multiple entries in same direction
- Order Processing : Executes trades on bar close for confirmed signals
- Zero Margin : No leverage applied to long or short positions
📅 Date Range Settings
- Date Filter Toggle : Enable or disable backtesting time restrictions
- Start Date Selection : Specify beginning date for strategy evaluation
- Full Historical Option : Disable filter to test across entire chart history
- In-Range Condition : Ensures trades only execute within specified timeframe
📊 PROFABIGHI_CAPITAL Metrics Display
Performance Curve Options:
- Strategy Equity : Total account value including open positions
- Equity Only : Closed position equity excluding open trades
- Open Profit : Current unrealized profit or loss
- Gross Profit : Total winning trade value before costs
- Net Profit : Final profit after all costs and losses
- None : Hide performance curve display
Metrics Table Configuration:
- Table Position : Place metrics in any screen quadrant or center
- Full Table : Comprehensive statistics including win rate, drawdown, profit factor
- Simple Table : Essential metrics only for minimal display
- None : Hide table for clean chart visualization
⚙️ Mode and Style Settings
- Trading Mode Selection : Choose between long-only, short-only, or bidirectional trading
- Trade Style Configuration : Conservative mode (single position) or Aggressive mode (concurrent trades)
- Sniper Mode Toggle : Require impulsive candles for entries or allow relaxed breakout entries
- Execution Flexibility : Adapt strategy behavior to market conditions and risk appetite
📊 Swing Detection Settings
- Left Bar Lookback : Number of bars before pivot for swing high/low identification
- Right Bar Confirmation : Number of bars after pivot to validate swing structure
- Line Extension Length : Visual display duration for swing level reference lines
- Body-Based Pivots : Uses candle body extremes rather than wicks for cleaner structure
📊 Interim High/Low Detection
Separate SL/TP Calculation Framework:
- Independent Pivot Detection : Dedicated left and right bar parameters for stop loss reference
- Interim Left Bars : Lookback for identifying recent swing extremes
- Interim Right Bars : Confirmation period for interim pivot validation
- Last Candle Tracking : Continuously updates most recent opposing candle body levels
- Dual Reference System : Combines interim pivots with last opposing candle for tighter stops
Risk Placement Logic:
- Long trades use last negative bar low (red candle body low) or interim swing low
- Short trades use last positive bar high (green candle body high) or interim swing high
- Provides more reactive stop placement than main swing levels
📈 EMA Trend Confirmation System
Basis Mode:
- Single pair of short and long EMAs for unified trend determination
- Consistent trend reading across both long and short trade directions
- Simplified decision framework with one trend reference
Advanced Mode:
- Dedicated EMA pairs for long trend detection with separate parameters
- Independent EMA pairs for short trend detection with different periods
- Direction-specific validation for enhanced precision
- Greater flexibility in asymmetric market conditions
EMA Exit Trigger Options:
- Intrabar : Exit signal triggers in real-time during bar formation
- Closed Bar : Exit signal only confirmed at bar close for reduced false exits
⚡ Impulsive Candle Detection
Multi-Factor Validation:
- Size Multiplier : Candle range must exceed average true range by adjustable factor
- Volume Multiplier : Trading volume must exceed average volume by configurable threshold
- Body-to-Wick Ratio : Candle body must represent minimum percentage of total range
- Volume Check Toggle : Optional volume validation (disable for crypto tickers with unreliable volume)
Application in Strategy:
- Breakout Validation : Impulsive candles indicate strong momentum behind swing breaks
- Entry Window : Time-limited entry opportunity after impulsive breakout (adjustable bar count)
- Sniper Mode Filter : When enabled, entries only permitted on impulsive candle breakouts
- Visual Highlighting : Orange bar coloring for impulsive candles outside active trades
🎨 Color Customization
- EMA UpTrend Color : Green color for bullish EMA alignment in Basis mode
- EMA DownTrend Color : Red color for bearish EMA alignment in Basis mode
- Swing Line Color : Yellow for interim high/low reference lines
- Stop Loss Color : Red dashed lines showing risk levels
- Take Profit Color : Green dashed lines showing target levels
- Impulsive Candle Color : Orange bar highlighting when impulse detected
🛡️ Risk Management Framework
- Risk/Reward Ratio Configuration : Adjustable profit target multiplier (default 2.2:1)
- Stop Loss Offset Percentage : Buffer applied to interim swing levels for execution safety
- Long Stop Placement : Below last negative bar low or interim swing low with offset
- Short Stop Placement : Above last positive bar high or interim swing high with offset
- Dynamic Target Calculation : Take profit automatically derived from entry and stop distance
- Offset Protection : Prevents stops too close to structure for stop-hunting protection
📊 Detector Decision Filter
Market Condition Filtering:
- Range Mode : Strategy only executes in ranging market conditions
- Trending Mode : Strategy only executes in trending markets (up or down)
- Off Mode : No market condition filter applied (original behavior)
Conditional Execution:
- Swing high/low detection only active when condition matches
- Entry signals only generated when market regime matches selected filter
- Visual swing labels (SH/SL) only displayed during matching conditions
📈 Trend Range Identifier V2
ATR-Based Trend Detection:
- ATR Length : Period for Average True Range calculation in trend analysis
- ATR Multiplier Trend : Multiplier for trend continuation levels (tighter bands)
- ATR Multiplier Reverse : Multiplier for trend reversal levels (wider bands)
- Asymmetric Bands : Different multipliers create adaptive channel width based on trend direction
Range Detection Parameters:
- Range Length : Lookback period for range channel calculation
- Standard Deviation : Multiplier for channel band width
- Channel Type Selection : Choose between Keltner Channel, Bollinger Bands, or Donchian Channel
Supertrend Integration:
- Supertrend Length : Period for Supertrend indicator calculation
- Supertrend Multiplier : ATR multiplier for Supertrend bands
- Crossover Type Selection : Choose price crossover method (close, highlow, reversehighlow, supertrend)
Channel Display Options:
- Yes : Always show channel bands regardless of market condition
- No : Hide channel bands completely
- Range : Only display channel when market is in range condition
📊 Market Regime Classification
Three-State System:
- Trending Up : Price crosses above upper ATR band and maintains upward momentum
- Trending Down : Price crosses below lower ATR band and maintains downward pressure
- Range : Price oscillates between bands without breaking trend thresholds
Trend Logic Framework:
- Accumulative Trend Tracking : Counts consecutive bars in trend for strength measurement
- Line Compression Detection : Range condition identified when bands narrow over lookback period
- Directional Crossover : Trend initiated when price crosses adaptive ATR levels
- Supertrend Confirmation : Optional supertrend-based crossover validation
Visual Indicators:
- UpLine and DownLine : Color-coded step lines (green for uptrend, red for downtrend, purple for range)
- Channel Bands : Teal-colored upper and lower bands with semi-transparent fill
- Candle Coloring : Silver candles during range conditions when showRange enabled
🎯 Entry Signal Generation
Long Entry Requirements:
- Price breaks above last swing high
- Impulsive candle present (if Sniper Mode enabled)
- EMA trend bullish (short EMA above long EMA or long-specific EMAs aligned)
- Within entry window after breakout (adjustable bar count)
- Market condition matches Detector Decision filter
- Mode permits long trades
- Not already in long position (if Conservative mode)
Short Entry Requirements:
- Price breaks below last swing low
- Impulsive candle present (if Sniper Mode enabled)
- EMA trend bearish (short EMA below long EMA or short-specific EMAs aligned)
- Within entry window after breakout
- Market condition matches Detector Decision filter
- Mode permits short trades
- Not already in short position (if Conservative mode)
Breakout Memory System:
- Breakout Tracking : System remembers when swing levels are breached
- Bar Counting : Tracks bars elapsed since breakout for entry window validation
- Breakout Reset : New swing formation invalidates previous breakout signals
- Entry Window Expiration : Breakout must confirm with EMA within specified bar count
📤 Exit Management Logic
Stop Loss Exit:
- Long position: price touches or crosses below calculated stop level
- Short position: price touches or crosses above calculated stop level
- Strategy closes position immediately on stop hit
Take Profit Exit:
- Long position: price reaches calculated target based on risk/reward ratio
- Short position: price reaches calculated target below entry
- Strategy closes position immediately on target hit
EMA Reversal Exit:
- Basis Mode : Short EMA crosses below long EMA (long exit) or above (short exit)
- Advanced Mode : Direction-specific EMA pair crosses against trade direction
- Intrabar Trigger : Exit in real-time when EMA condition met (if selected)
- Closed Bar Trigger : Exit only after bar confirms (if selected)
- Profit/Loss Classification : Exit marked as profit if price favorable to entry, else loss
Position State Management:
- Trade flags reset after exit
- Conservative mode re-enables entries for both directions
- Breakout conditions cleared after exit
- Stop and target lines deleted from chart
🎨 Visualization Features
Entry and Exit Markers:
- Long Entry Arrows : Green triangles below bars
- Short Entry Arrows : Red triangles above bars
- Profit Exit Markers : Dark blue triangles showing successful exits
- Loss Exit Markers : Purple triangles showing stopped trades
Swing Structure Lines:
- Swing High Lines : Yellow dashed horizontal lines with "SH" labels
- Swing Low Lines : Yellow dashed horizontal lines with "SL" labels
- Stop Loss Lines : Red dashed lines extending forward from entry
- Take Profit Lines : Green dashed lines showing target levels
EMA Trend Lines:
- Basis Mode EMAs : Color-coded for trend (green bullish, red bearish)
- Advanced Mode EMAs : Separate long EMAs (green/gray) and short EMAs (red/gray)
- Dynamic Coloring : Gray when EMA pair not in alignment
Trend Range Visualization:
- UpLine/DownLine : Thick step lines showing ATR-based trend levels (green/red/purple)
- Channel Bands : Upper and lower range boundaries with teal fill
- Conditional Display : Channel only shown based on showChannel setting
Trade Candle Coloring:
- Active Long Position : Green candles during long trade
- Active Short Position : Red candles during short trade
- Range Condition : Silver candles when market in range mode
- Impulsive Highlight : Orange bar color when impulsive candle detected outside trades
📈 Strategy Execution Framework
Entry Execution:
- Long Entry : strategy.entry() called when long signal confirms on bar close
- Short Entry : strategy.entry() called when short signal confirms on bar close
- Date Range Validation : Only executes if within backtesting date range
- Bar Confirmation : Uses barstate.isconfirmed to avoid repainting
Exit Execution:
- Position Closure : strategy.close() called on profit, loss, or EMA reversal exits
- Immediate Execution : Exits processed on same bar as exit condition
- Date Range Check : Continues to manage positions even outside date range
- Bar Confirmation : Exits confirmed at bar close for consistency
Position Management:
- Conservative Mode : Blocks new entries until current position closed
- Aggressive Mode : Allows multiple concurrent positions (pyramiding disabled in settings)
- Direction Blocking : Long entry exits shorts, short entry exits longs
- Trade State Tracking : Boolean flags track active position status
🔔 Alert System
- Long entry alerts with ticker and timeframe
- Short entry alerts with ticker and timeframe
- Stop loss hit alerts (combined for both directions)
- Take profit hit alerts (combined for both directions)
- Long EMA exit alerts
- Short EMA exit alerts
- Impulsive candle detection alerts
🔍 Advanced Features [/b>
Dual Swing Detection:
- Primary Swing Detection : Identifies breakout levels for entry signals
- Interim Swing Detection : Separate parameters for tighter stop loss placement
- Independent Configuration : Each detection system uses own left/right bar settings
- Last Candle Fallback : Uses most recent opposing candle if interim pivot not found
Adaptive ATR Bands:
- Directional Multipliers : Different ATR multiples for continuation vs reversal
- Trend Strength Tracking : Accumulative counter measures bars in trend
- Line Compression Logic : Range detected when bands narrow over specified period
- Crossover Flexibility : Multiple price/indicator crossover methods available
Channel Type Variations:
- Keltner Channel : ATR-based bands for volatility-adjusted ranges
- Bollinger Bands : Standard deviation-based statistical boundaries
- Donchian Channel : High/low range extremes for breakout context
- Unified Interface : Same function handles all channel types
Supertrend Integration:
- Direction Variable : Supertrend state (1 or -1) influences trend calculations
- Optional Crossover : Can use supertrend rather than price for trend triggers
- Combined Logic : Supertrend works with ATR bands for robust regime detection
Performance Optimization:
- Process Orders on Close : Prevents lookahead bias in backtesting
- Confirmed Signals Only : Uses barstate.isconfirmed for all entries/exits
- Slippage Modeling : Includes realistic execution costs
- Zero Pyramiding : Prevents position size inflation
✅ Key Takeaways
- Fully Automated Strategy : Complete execution system with entries, stops, and targets
- Dual Swing Framework : Separate detection for breakouts and risk placement
- ATR-Based Regime Filter : Three-state market classification (trending up/down/range)
- Multi-Channel Options : Choose between Keltner, Bollinger, or Donchian for range detection
- Impulsive Candle Filtering : Optional Sniper Mode ensures entries on momentum candles
- Flexible EMA Framework : Basis mode simplicity or Advanced mode direction-specific optimization
- Adaptive Risk Placement : Uses interim swings and last opposing candles for tighter stops
- Entry Window Control : Time-limited opportunity after breakouts prevents late entries
- Market Condition Filtering : Trade only in preferred environments (range, trending, or both)
- Comprehensive Metrics : Built-in performance analysis with PROFABIGHI_CAPITAL library
- Conservative vs Aggressive : Position management adapts to risk preference
- Multi-Exit Logic : Combines fixed targets with dynamic EMA-based exits
- Backtesting Ready : Date range filtering and confirmed signals prevent repainting
- Visual Trade Tracking : Color-coded candles, lines, and markers show complete trade lifecycle
52WH/last52WH/ATH/lastATHThis indicator determines and displays four values:
First, it determines the current 52-week high and displays it as a line and in a table at the top right with the name, date, and price.
Corresponding color markings are also displayed on the price scale.
Next, the 52-week high that is at least three months ago is determined.
The corresponding candle is also labeled with a date. This past high is also displayed as a line, on the price scale, and in the table.
Next, the current all-time high is determined and also displayed as a line, on the price scale, and in the table.
Finally, the current all-time high that was valid 3 months ago is determined and also displayed as a line, in the price scale, and in the table.
All display values can be switched on or off in the view, and the corresponding colors of the displays can also be freely selected.
Swing Aurora v2.1: The Adaptive Multi-Filter Trend EngineThis is a comprehensive, auto-adaptive trend and swing trading algorithm designed for maximizing signal quality across multiple timeframes. The Swing Algo v2.1 uses a robust scoring system that integrates price action, momentum, volatility, and trend strength indicators to generate high-conviction BUY and SELL signals.
The indicator automatically adjusts key filtering parameters (like entry distance and minimum swing length) based on the chart's current timeframe, ensuring optimal performance whether you're scalping on 5m or swing trading on 4h.
Key Features:
Adaptive Sensitivity: Automatically tunes core filtering parameters to maintain signal relevance from short-term to long-term charts.
High-Conviction Scoring: Signals are generated through a strict multi-factor scoring system incorporating Moving Averages (HMA/EMA), Trend Strength (ADX), Volatility (ATR), and Momentum (StochRSI/MACD).
"STRONG" Signal Logic: Highest-quality signals require maximum alignment across multiple macro-filters, including momentum divergence and strict trend confirmation, ensuring only high-probability reversal points are flagged.
Volatility-Aware Cooldown: Dynamically adjusts the waiting period between signals based on current market volatility, preventing "whiplash" (flip-flopping) during ranging markets and ensuring clean entries.
Visual Clarity: The background shading clearly maps the market state:
Green/Red: Active Swing/Trend Zones.
Orange: Watch/Transition Zone (Potential reversal or momentum weakening).
Gray: No-Trade Zone (Consolidation or low momentum).
The Swing Algo v2.1 is engineered to prioritize signal quality and robustness over frequency, helping traders identify clean, actionable swing opportunities with reduced noise.
Parameters explained :
This section provides a detailed breakdown of the parameters available in the Inputs Menu of the Swing Algo v2.1 script. These settings allow you to fine-tune the algorithm's sensitivity and filtering for your specific trading style and assets.
1. Presets
Mode (Balanced): Sets the overall signal strictness. Defines the minimum score thresholds (minBuy and minStrong). Options are: Aggressive (more frequent signals), Balanced (standard quality/frequency), and Conservative (strictest filters, focusing on high-conviction moves).
Confirmation ON (bar close, no repaint): (Default: True) If checked, signals are only confirmed and displayed on the close of the bar, ensuring the signal is non-repainting.
Cooldown between flips (bars): (Default: 4) Sets the base minimum number of bars the system must wait between a BUY and a SELL (or vice versa). This value is dynamically adjusted by volatility (ATR) when Auto-tune is ON.
Auto-tune settings by chart timeframe: (Default: True) Highly Recommended. If checked, the script automatically adjusts key filtering parameters (Baseline length, Min Distance, Cooldown, Trigger Window) based on the current chart timeframe (e.g., stricter on 5m, looser on 4h).
Trigger Lookback Window (Bars): (Default: 2) Defines the maximum number of bars back a core trigger event (EMA Cross or Stoch signal) must have occurred to be considered valid for the current swing flip. (Auto-tuned to 1 bar on M5/M15 for speed, 3 on H1/H4 for reliability).
2. Core (Baseline, EMAs, ADX)
Baseline (HMA): The primary reference moving average for trend direction. Options are Hull Moving Average (HMA) or Exponential Moving Average (EMA).
Baseline length (100): The lookback period for the primary Baseline.
Fast EMA (breakout) (34): The lookback period for the fast EMA used for momentum and initial breakout confirmation.
Bias EMA (context) (200): A longer-term EMA used to define the macro-contextual bias (e.g., trend is only truly Bullish if price is above the 200 EMA).
Use EMA200 context bias (True): If checked, adds a score penalty for counter-trend signals against the Bias EMA (EMA 200).
ADX length (14): The lookback period for the Average Directional Index (ADX). ADX measures trend strength.
ADX Trend Confirmation Bars (3): The minimum number of recent bars required to show directional ADX strength before a flip is validated.
Sensitivity (10-90) (50): A slider that broadly controls the strictness of volatility and trend filters. Higher sensitivity (e.g., 80) makes the script react faster but increases noise; lower sensitivity (e.g., 30) filters more but can cause lag.
3. VDUBS & Divergence Filters (Fusion Logic)
Vdub EMA 1 (13) / Vdub EMA 2 (21): The lengths for the two short-term EMAs used for the Vdub Trend Filter. When both are aligned (rising/falling), they provide a strong score boost and color the trend lines.
Use Divergence for STRONG Signals (True): If checked, the system requires a confirmed multi-indicator divergence score to issue a STRONG BUY/SELL signal. It acts as a mandatory filter for high quality.
Divergence Lookback Bars (LB/RB) (10): The number of bars left/right used to identify Pivot Highs/Lows and measure the divergence angle.
Min Indicators for Divergence (Score) (2): The minimum number of chosen indicators (RSI, MACD, Stoch) that must show divergence simultaneously to satisfy the divergence filter.
Check RSI Div / MACD Div / Stoch Div (True): Allows you to select which specific momentum indicators contribute to the total divergence score.
4. HTF & StochRSI Filters
Use HTF regime filter (False): Enables the Higher Timeframe (HTF) filter. If checked (or if Mode is set to Conservative), signals are penalized if they counter the trend of the selected HTF.
HTF Timeframe (Auto): The timeframe used for the HTF filter. Auto mode selects a suitable higher TF (e.g., 4H for a 30m chart).
HTF Baseline len (120): The length of the moving average used for the Higher Timeframe check.
Use Stoch RSI filter/trigger (True): Enables the StochRSI indicator logic, adding a score boost when price is oversold/overbought and Stoch K/D cross over or under the bands.
RSI length (for StochRSI) (14) / StochRSI length (14): Standard lengths for the components of the StochRSI calculation.
Stoch K/D smoothing (3): Standard smoothing periods for the StochRSI K and D lines.
Stoch oversold level (20) / Stoch overbought level (80): Defines the critical overbought/oversold bands.
5. Robustness
Min distance from Baseline (×ATR) (0.15): Sets a baseline threshold for the dynamic distance calculation. Signals only occur if the price is far enough from the baseline to indicate real momentum (this value is auto-tuned to be much higher on low TFs).
Min bars per swing (avoid noise) (8): The minimum number of bars required between an entry and exit signal to qualify as a valid swing.
Min slope as % ATR (0.02): Defines the minimum required steepness (slope) for the Baseline/EMA to ensure the market has directional movement. Used to filter signals during flat, choppy periods.
NOTE: All default values shown in parentheses above are the starting points. When Auto-tune is enabled, these values are dynamically adjusted by the script based on the current chart timeframe to provide optimal filtering.
🛑 IMPORTANT RISK DISCLAIMER
THIS INDICATOR IS FOR EDUCATIONAL AND INFORMATIONAL PURPOSES ONLY AND DOES NOT CONSTITUTE FINANCIAL ADVICE.
By using this script, you acknowledge that trading foreign exchange, cryptocurrencies, stocks, and any other financial instruments involves significant risk of loss and is not suitable for all investors. The high degree of leverage that is often available in trading can work against you as well as for you.
Past performance is not indicative of future results. All decisions to buy, sell, or hold a financial instrument remain the sole responsibility of the user. You must rely on your own judgment and discretion. We recommend that you do not invest money that you cannot afford to lose. Never trade with money that is essential to your survival. Neither the creator of this script nor its distributors assume any responsibility for your trading results. Always consult with a qualified financial professional before making any investment decisions.
Salvemoku Salvemoku is a multi-timeframe EMA confluence indicator designed for traders seeking clear market direction and high-probability trade setups. By analyzing the 200 EMA across multiple timeframes (65m, 15m, 5m, 1m), it identifies whether the market is in full bullish or bearish alignment.
Key features include:
Multi-Timeframe Analysis: Checks EMA 200 alignment across 65m, 15m, 5m, and 1m charts for precise trend confirmation.
Dashboard Display: Shows direction per timeframe and overall trade status (Full Confluence BUY/SELL, Wait, or No Trade).
EMA Buffer Zone: Visual buffer around EMA 200 to highlight potential support/resistance areas.
Quick Decision-Making: Helps traders identify high-probability entries and avoid low-probability retracements.
Invite-Only Protection: Script source code is hidden; only authorized users can access the indicator.
Trading Tips:
Look for “✅ Full Confluence BUY” or “✅ Full Confluence SELL” for high-probability trades.
Use buffer zones for entries and exits to manage risk effectively.
“⏳ WAIT” indicates retracement phases — avoid trading during these signals.
Advanced Fibonacci Multi Strategy & Alerts🅰🅻🅿 🇹🇷Advanced Fibonacci Multi Strategy Indicator User Guide
📋 General Information About the Indicator
This indicator is a comprehensive trading tool that combines advanced Fibonacci analysis with a multi-strategy system. It offers intelligent triggering systems, multiple exit strategies, and advanced alarm features.
🎯 Basic Working Logic
Fibonacci System Operation:
Green Fibonacci: Drawn from low to close in an uptrend
Red Fibonacci: Drawn from high to close in a downtrend
Fibonacci levels are automatically calculated and drawn
System Flow:
Triggering → Candle patterns initiate Fibonacci
Fibonacci Drawing → Levels are automatically drawn
Alarm Tracking → Alarms activate at levels
Exit/Continuation → New Fibonacci forms when targets are reached
⚙️ SETTINGS and USAGE
1. CANDLE SETTINGS
text
Green Threshold: 2.5 → Threshold for detecting long green candles
Red Threshold: 2.5 → Threshold for detecting long red candles
Recommendation: Adjust between 1.8-3.0 based on volatility
2. FIBONACCI TRIGGERING SETTINGS (Most Important Section)
Trigger Modes:
Color Only: Any colored candle starts Fibonacci
Long Candle Only: Only long candles start Fibonacci
Long Candle + Trend: Requires both long candle and trend alignment ✅
Trend + Any Candle: Trend alignment + any colored candle
Full Flexible: Manual filter control
Filters:
Trend Filter: Filters trades in trend direction
Long Candle Filter: Requires long candles
3. MULTI-EXIT SYSTEM
Exit Strategies:
Conservative: Early profit taking (%70 at -0.382, %20 at -0.718, %10 at -1.000)
Aggressive: Maximum profit (%20 at -0.382, %20 at -0.718, %20 at -1.000, %40 at -1.618)
Balanced: Balanced distribution ✅
Manual: User-defined exits
4. FIBONACCI SETTINGS
pinescript
Line Length: 50 → Length of Fibonacci lines
Show Lines: true → Show/hide Fibonacci lines
Show Values: true → Display Fibonacci values
5. TREND FILTER SETTINGS
pinescript
Trend Period: 50 → Trend calculation period
Trend Indicator: SMA → Can select SMA or EMA
6. Fibonacci Levels and Alarms
For each Fibonacci level:
✅ Show/Hide option
🔧 Value setting (manual override)
🎨 Color selection
🔔 Alarm active/passive
Standard Fibonacci Levels:
1.000 (High/Low)
0.382
0.500
0.618
0.000 (Base)
-0.382
-0.718
-1.000
-1.618
📊 VISUALIZATION and COLORS
Candle Coloring:
Green: Long green candle or active green Fibonacci
Red: Long red candle or active red Fibonacci
Orange: Waiting mode
Pale colors: Normal candles
Fibonacci Line Colors:
Black: 0.000 and 1.000 levels
Orange: 0.382, 0.500, 0.618 levels
Blue: -0.382 level
Green: -0.718 level
Red: -1.618 level
🔔 ALARM SYSTEM
Alarm Types:
1. Retracement Alarms (0.382, 0.5, 0.618)
Green Fibonacci: Downward touch while green candle is burning
Red Fibonacci: Upward touch while red candle is burning
2. Target Alarms (-0.382, -0.718, -1.000)
Green Fibonacci: Upward target touch (independent of candle color)
Red Fibonacci: Downward target touch (independent of candle color)
3. Stop Alarms (1.000)
Closing price breaking Fib 1.0 level
4. Fibonacci Start Alarms
New green/red Fibonacci formation
🎮 PRACTICAL USAGE EXAMPLES
Scenario 1: Trend Following
text
Trigger Mode: "Long Candle + Trend"
Trend Filter: ACTIVE
Long Candle Filter: ACTIVE
Exit Strategy: "Balanced"
Scenario 2: Scalping
text
Trigger Mode: "Color Only"
Trend Filter: PASSIVE
Exit Strategy: "Conservative"
Scenario 3: Swing Trading
text
Trigger Mode: "Long Candle + Trend"
Trend Filter: ACTIVE
Exit Strategy: "Aggressive"
📈 VISUAL EXPLANATION
text
┌─────────────────────────────────────────────────┐
│ FIBONACCI SYSTEM │
├─────────────────────────────────────────────────┤
│ 🟢 GREEN FIB ACTIVE │
│ Target: 1.23456 | Stop: 1.12345 │
│ 🎯 Multi-Exit: Balanced | Pos: 100% │
│ ⚡ Classic Mode | Mode: Long Candle + Trend │
│ Alarm: ACTIVE 🔔 | Trend: UPWARD 📈 │
└─────────────────────────────────────────────────┘
FIB LEVELS:
1.618 ──────────────────────── 🟥 (-1.618)
1.000 ──────────────────────── ⚫ (-1.000) TARGET
0.718 ──────────────────────── 🟩 (-0.718)
0.382 ──────────────────────── 🟦 (-0.382)
0.000 ──────────────────────── ⚫ (0.000) BASE
0.618 ──────────────────────── 🟧 (0.618)
0.500 ──────────────────────── 🟧 (0.500)
0.382 ──────────────────────── 🟧 (0.382)
1.000 ──────────────────────── ⚫ (1.000) STOP
⚠️ IMPORTANT WARNINGS
Demo Account Testing: Always test before using with real money
Risk Management: Properly adjust position sizing
Market Conditions: Use carefully in sideways markets
Timeframe Compatibility: Choose timeframe suitable for your strategy
🚀 QUICK SETUP FOR BEGINNERS
Basic Settings:
pinescript
Trigger Mode: "Long Candle + Trend"
Trend Filter: true
Long Candle Filter: true
Exit Strategy: "Balanced"
Alarm Settings:
pinescript
0.382 Alarm: true
0.500 Alarm: true
0.618 Alarm: true
-0.382 Alarm: true
-1.000 Alarm: true
1.000 Alarm: true
Visual Settings:
pinescript
Line Length: 50
Show Lines: true
Show Values: true
Pin Bar_ EMA34 _kidumonPin Bar touches EMA34 - kidumon
pin bar candlestick reaction at ema34 shows strong rejection force, can catch reversal trend.
智能资金概念-NEWSmart Fund Concept-NEW
Smart Fund Concept-NEW
Smart Fund Concept-NEW
Smart Fund Concept-NEW
Smart Fund Concept-NEW
Seasonality Forecast 4H A seasonality indicator shows recurring patterns in data that occur at the same time each year, such as retail sales peaking during the holidays or demand for ice cream rising in the summer. These indicators are used in fields like business, economics, and finance to identify predictable, time-based fluctuations, allowing for better forecasting and strategic planning, like adjusting inventory or staffing levels. In trading, a seasonality indicator can show historical patterns, like an asset's tendency to rise or fall in a specific month, to provide additional context for decision-making.
Seasonality reasoning basically seasonality works most stably on the daily frame with the input parameter being trading day 254 or calendar day 365, ..
Use seasonal effects such as sell in May, buy Christmas season, or exploit factors such as sell on Friday, ... to track the price movement.
The lower the time frame, the more parameters need to be calculated and the more complicated. I have tried to code the version with 1 hour, 15 minutes and 4 hours time frames
On the statistical language R and Python, Pine script
Tradingview uses the exclusive and unique Pine language. There is a parameter limit, just need to change the number of forecast days or calculate shorter or only calculate the basic end time value, we seasonality still works
but the overall results are easily noisy and related to controlling the number of orders per week/month and risk management.
The 4-hour frame version works well because we exploit the seasonal factor according to the 4-hour trading session as a trading session
Every 4 hours we have an input value that corresponds to the Asian, European, and American trading sessions
4 hours - half a morning Asian session.4 hours - half an afternoon Asian session, 4 hours - half a morning European session, 4 hours - half an afternoon European session, similar to the US and repeat the cycle.
Input Parameter Declaration
Tradingview does not exist declaration form day_of_year = dayofyear(time) Pine Script v5:
Instead of using dayofyear, we manually calculate the number of days in a year from the time components.
// Extract year, month, day, hour
year_now = year(time)
month_now = month(time)
day_now = dayofmonth(time)
hour_now = hour(time)
// Precomputed cumulative days per month (non-leap year)
days_before_month = array.from(0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334)
// Calculate day-of-year
day_of_year = array.get(days_before_month, month_now - 1) + day_now
Input parameter customization window
Lookback period years default is 10, max - the number of historical bars we have, should only be 5 years, 10 years, 15 years, 20 years, 30 years.
Future project bar default is 180 bars - 1 month. We can adjust arbitrarily 6*24*254 - day/month/year
smoothingLength Smooth the data (1 = no smoothing)
offsetBars Move the forecast line left/right to check the past
How to use
Combine seasonality with Supply Demand, Footprint volume profile to find long-term trends or potential reversal points
day_of_year := day_of_year + ((is_leap and month_now > 2) ? 1 : 0)
// Compute bin index
binIndex = (day_of_year * sessionsPerDay) + math.floor(hour_now / 4)
binIndex := binIndex % binsPerYear // Keep within array bounds
The above is the manual code to replace day of year
iFVG Ultimate+ | DodgysDDOVERVIEW
iFVG Ultimate+ | DodgysDD is a professional-grade visualization framework that automates the identification and management of Inversion Fair Value Gaps (IFVGs)
It is designed for analysts and educators studying institutional price behavior, liquidity dynamics, and displacement-based imbalances.
This indicator does not provide trading signals or forecasts.
All logic serves educational and analytical purposes only.
A Fair Value Gap (FVG) appears when strong directional displacement prevents candle bodies from overlapping.When a liquidity sweep occurs and price later closes through that gap, the imbalance is considered inverted. This often marks a shift in order-flow.
iFVG Ultimate+ tracks these transitions using a rule-based sequence:
Liquidity Sweep – Price sweeps a previous swing high or low.
Displacement – Body-to-body gap forms as price accelerates away.
Inversion – Full candle body closes through the gap after raid.
Validation and Tracking – Confirmed inversions are stored and managed until completion or invalidation.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
The framework serves as a research tool to document and analyze IFVG behavior within liquidity and session contexts.
It is commonly used to:
-Record and journal IFVG formations for back-testing and model study.
-Assess how often gaps complete or invalidate after sweeps.
-Evaluate session-based patterns (London, Asia, New York).
-Overlay HTF PD Arrays to observe inter-timeframe delivery.
-Receive custom alerts to your phone
-----------------------------------------------------------------------------------------------
LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ runs a five-stage validation process to ensure sequential, non-repainting behavior.
Liquidity Framework:
• Detects swing highs and lows on aligned timeframes (automatic or manual selection).
• Logs session highs/lows for Asia (20:00–00:00 NY) and London (02:00–05:00 NY).
• Includes data wicks around 08:30 NY for event reference.
FVG Detection and Displacement Filter:
• Identifies body-based imbalances using ATR-scaled sensitivity modes (Sensitive / Normal / Strict).
• Supports “Single” or “Series” modes to merge adjacent gaps.
• Excludes weak displacements using minimum ATR thresholds.
Inversion Validation:
• Confirms only when a complete candle body closes through a qualifying FVG within a user-defined window (6 or 15 bars).
• Duplicate detections are ignored; mitigation states are recorded.
HTF Context Integration:
• Maps higher-time-frame PD Arrays and tracks their delivery status.
• Labels active zones (e.g. “H4 PDA”) and updates on HTF close.
Model Lifecycle and Limits:
• Plots the inversion line and derives educational limit levels: Break-Even and Stop-Loss.
• Tracks until opposing liquidity is swept (model complete) or an invalidation event occurs.
-----------------------------------------------------------------------------------------------
COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------
-IFVG Line — Marks confirmed inversion at close.
-Break-Even / Stop-Loss Lines — Calculated retrospectively for journal grading.
-Session High/Low Markers — London and Asia reference levels.
-Data Wicks — 8:30 NY “DATA.H/L” labels for event volatility.
-SMTs — Compares current symbol to correlated instrument for divergence confirmation.
-Checklist Panel — Tracks liquidity, momentum, HTF delivery, and SMT conditions.
-Setup Grade Display — Computes qualitative score (A+ to C) based on met conditions.
-----------------------------------------------------------------------------------------------
INPUT CATEGORIES
-----------------------------------------------------------------------------------------------
General — Detection mode, ATR strictness, bias filter, long/short window.
Liquidity — Automatic or manual timeframe alignment, session visuals.
FVG — Color themes, label sizes, inversion color change, HTF inclusion.
Entry / Limits — Enable or hide Entry, Break-Even, and Stop-Loss levels.
Alerts — Individual toggles for IFVG formation, session sweeps, multi-TF inversions, and invalidations.
Display — Info Box, relationship table, and grade styling.
All alerts output plain text messages only and do not execute orders.
-----------------------------------------------------------------------------------------------
ALERT FRAMEWORK
-----------------------------------------------------------------------------------------------
When enabled, alerts may notify for:
-Potential inversion detected.
-Confirmed IFVG formation.
-Liquidity sweeps (high/low or session).
-Multi-time-frame inversion.
-Invalidation or close warning.
-Alerts serve as educational markers only, not trade triggers.
The user will have the ability to create custom messages for each of these alert events.
-----------------------------------------------------------------------------------------------
USAGE GUIDELINES
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ is suited for review and documentation of displacement-based price behavior.
Recommended educational workflows:
-Annotate IFVG events and review delivery into PD Arrays.
-Analyze frequency by session or timeframe.
-Assess how often IFVGs complete versus invalidate.
-Teach ICT-style liquidity mechanics in mentorship or training contexts.
-The indicator works across forex, futures, and crypto markets.
-----------------------------------------------------------------------------------------------
OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------
-HTF calculations finalize on bar close (no look-ahead).
-ATR filter strength affects small-gap visibility.
-Session windows use New York time.
-Break-Even and Stop-Loss lines are visual aids only.
-Performance depends on chart density and bar count.
-No strategy module or backtest engine is included.
-----------------------------------------------------------------------------------------------
ORIGINALITY AND PROTECTION
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ | DodgysDD integrates multiple independent systems into a single engine:
-PD Array context alignment with liquidity tracking.
-Dynamic session detection and macro data integration.
-Sequential IFVG validation pipeline with grade assignment.
-Multi-time-frame SMT confirmation module.
-Structured alerts and mitigation tracking.
The logic is entirely original, written in Pine v6, and protected as invite-only to preserve methodology integrity.
-----------------------------------------------------------------------------------------------
ATTRIBUTION
-----------------------------------------------------------------------------------------------
Core concepts such as Fair Value Gaps, Liquidity Sweeps, PD Arrays, and SMT Divergence are publicly taught within ICT-style market education. This implementation was designed and engineered by TakingProphets as iFVG Ultimate+ | DodgysDD, authored for TradingView publication by TakingProphets.
-----------------------------------------------------------------------------------------------
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is for educational and informational use only. It does not provide financial advice or predictive output. Historical patterns do not guarantee future results. All users remain responsible for their own decisions.Use of this script implies agreement with TradingView’s Vendor Requirements and Terms of Use.
-----------------------------------------------------------------------------------------------
ACCESS INSTRUCTIONS
-----------------------------------------------------------------------------------------------
Access is managed through TradingView’s invite-only framework. Users request access via private message to TakingProphets or access link