50-100-200 MA Crosses with Priority (Open Source)Shows MA-EMA-WMA crosses with priority. Also has 2 additional customizable options you can add for scalping and such. It's an open source code so you can change 50-100-200 moving averages to your personal use by just changing the code.
Göstergeler ve stratejiler
Extremum Range MA Crossover Strategy1. Principle of Work & Strategy Logic ⚙️📈
Main idea: The strategy tries to catch the moment of a breakout from a price consolidation range (flat) and the start of a new trend. It combines two key elements:
Moving Average (MA) 📉: Acts as a dynamic support/resistance level and trend filter.
Range Extremes (Range High/Low) 🔺🔻: Define the borders of the recent price channel or consolidation.
The strategy does not attempt to catch absolute tops and bottoms. Instead, it enters an already formed move after the breakout, expecting continuation.
Type: Trend-following, momentum-based.
Timeframes: Works on different TFs (H1, H4, D), but best suited for H4 and higher, where breakouts are more meaningful.
2. Justification of Indicators & Settings ⚙️
A. Moving Average (MA) 📊
Why used: Core of the strategy. It smooths price fluctuations and helps define the trend. The price (via extremes) must cross the MA → signals a potential trend shift or strengthening.
Parameters:
maLength = 20: Default length (≈ one trading month, 20-21 days). Good balance between sensitivity & smoothing.
Lower TF → reduce (10–14).
Higher TF → increase (50).
maSource: Defines price source (default = Close). Alternatives (HL2, HLC3) → smoother, less noisy MA.
maType: Default = EMA (Exponential MA).
Why EMA? Faster reaction to recent price changes vs SMA → useful for breakout strategies.
Other options:
SMA 🟦 – classic, slowest.
WMA 🟨 – weights recent data stronger.
HMA 🟩 – near-zero lag, but “nervous,” more false signals.
DEMA/TEMA 🟧 – even faster & more sensitive than EMA.
VWMA 🔊 – volume-weighted.
ZLEMA ⏱ – reduced lag.
👉 Choice = tradeoff between speed of reaction & false signals.
B. Range Extremes (Previous High/Low) 📏
Why used: Define borders of recent trading range.
prevHigh = local resistance.
prevLow = local support.
Break of these levels on close = trigger.
Parameters:
lookbackPeriod = 5: Searches for highest high / lowest low of last 5 candles. Very recent range.
Higher value (10–20) → wider, stronger ranges but rarer signals.
3. Entry & Exit Rules 🎯
Long signals (BUY) 🟢📈
Condition (longCondition): Previous Low crosses MA from below upwards.
→ Price bounced from the bottom & strong enough to push range border above MA.
Execution: Auto-close short (if any) → open long.
Short signals (SELL) 🔴📉
Condition (shortCondition): Previous High crosses MA from above downwards.
→ Price rejected from the top, upper border failed above MA.
Execution: Auto-close long (if any) → open short.
Exit conditions 🚪
Exit Long (exitLongCondition): Close below prevLow.
→ Uptrend likely ended, range shifts down.
Exit Short (exitShortCondition): Close above prevHigh.
→ Downtrend likely ended, range shifts up.
⚠️ Important: Exit = only on candle close beyond extremes (not just wick).
4. Trading Settings ⚒️
overlay = true → indicators shown on chart.
initial_capital = 10000 💵.
default_qty_type = strategy.cash, default_qty_value = 100 → trades fixed $100 per order (not lots). Can switch to % of equity.
commission_type = strategy.commission.percent, commission_value = 0.1 → default broker fee = 0.1%. Adjust for your broker!
slippage = 3 → slippage = 3 ticks. Adjust to asset liquidity.
currency = USD.
margin_long = 100, margin_short = 100 → no leverage (100% margin).
5. Visualization on Chart 📊
The strategy draws 3 lines:
🔵 MA line (thickness 2).
🔴 Previous High (last N candles).
🟢 Previous Low (last N candles).
Also: entry/exit arrows & equity curve shown in backtest.
Disclaimer ⚠️📌
Risk Warning: This description & code are for educational purposes only. Not financial advice. Trading (Forex, Stocks, Crypto) carries high risk and may lead to full capital loss. You trade at your own risk.
Testing: Always backtest & demo test first. Past results ≠ future profits.
Responsibility: Author of this strategy & description is not responsible for your trading decisions or losses.
Volume Profile Auto POC📌 Overview
Volume Profile Auto POC is a trend-following strategy that uses the automatically calculated Point of Control (POC) from the volume profile, combined with ATR zones, to capture reversals and breakouts.
By basing decisions on volume concentration, it dynamically visualizes the price levels most watched by market participants.
⚠️ This strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
🎯 Strategy Objectives
Automatically detect the volume concentration area (POC) to improve entry accuracy
Optimize risk management through ATR-based volatility adjustment
Provide early and consistent signals when trends emerge
✨ Key Features
Automatic POC Detection : Updates the volume profile over a defined lookback window in real time
ATR Zone Integration : Defines a POC ± 0.5 ATR zone to clarify potential reversals/breakouts
Visual Support : Plots the POC line and zones on the chart for intuitive decision-making
📊 Trading Rules
Long Entry:
Price breaks above the POC + 0.5 ATR zone
Volume is above average to support the breakout
Short Entry:
Price breaks below the POC - 0.5 ATR zone
Volume is above average to support the downside move
Exit (or Reverse Position):
Price returns to the POC area
Or touches the ATR band
⚙️ Trading Parameters & Considerations
Indicator Name: Volume Profile Auto POC
Parameters:
Lookback Bars: 50
Bins for Volume Profile: 24
ATR Length: 14
ATR Multiplier: 2.0
🖼 Visual Support
POC line plotted in red
POC ± 0.5 ATR zone displayed as a semi-transparent box
ATR bands plotted in blue for confirmation
🔧 Strategy Improvements & Uniqueness
This strategy is inspired by traditional Volume Profile + ATR analysis,
while adding the improvement of a sliding-window mechanism for automatic POC updates.
Compared with conventional trend-following approaches,
its strength lies in combining both price and volume perspectives for decision-making.
✅ Summary
Volume Profile Auto POC automatically extracts key market levels (POC) and combines them with ATR-based zones,
providing a responsive trend-following method.
It balances clarity with practicality, aiming for both usability and reproducibility.
⚠️ This strategy is based on historical data and does not guarantee future profits.
Always use proper risk management when applying it.
EMA+RSI Buy/Sell with Fibonacci GuideSingle-Instance EUR/USD & GBP/USD Trend+MACD ATR EA
Purpose:
This EA is designed for automated Forex trading on EUR/USD and GBP/USD. It identifies trend-based trading opportunities, dynamically calculates position sizes based on your available capital and risk percentage, and manages trades with ATR-based stop-loss and take-profit levels, including optional trailing stops.
Key Features:
Auto Pair Selection:
Compares the trend strength of EUR/USD vs GBP/USD using a combination of EMA slopes and MACD direction.
Automatically trades the stronger trending pair.
Trend & Signal Detection:
Uses Fast EMA / Slow EMA crossover for trend direction.
Confirms trend with MACD line vs signal line.
Generates long and short signals only when trend and MACD align.
Dynamic SL/TP:
Stop-loss and take-profit are calculated based on ATR (Average True Range).
Supports optional trailing stops to lock in profits.
Position Sizing:
Automatically calculates micro-lot sizes based on your capital and risk percentage.
Ensures risk per trade does not exceed the defined % of your account equity.
Chart Visualization:
Plots Fast EMA / Slow EMA.
Displays SL and TP levels on the chart.
Shows a label indicating the active pair currently being traded.
Alerts:
Generates alerts for long and short signals.
Can be used with TradingView alerts to notify or trigger webhooks.
Single Strategy Instance:
Fully compatible with Pine Script v6.
Only one strategy instance runs on the chart to prevent “too many strategies” errors.
Advanced Trading Dashboard📊 Advanced Trading Dashboard - Multi-Indicator Analysis Tool
Comprehensive Market Analysis at a Glance
This professional trading dashboard consolidates multiple technical indicators into a single, easy-to-read overlay table that provides instant market insights for informed trading decisions.
✨ Key Features:
📈 Multi-Indicator Analysis:
Real-time Price Action vs EMA8 with percentage strength
RSI momentum with overbought/oversold signals
MACD trend confirmation with bullish/bearish status
Multi-timeframe trend analysis (EMA50/200 + Supertrend)
Volume analysis with ratio to moving average
Bollinger Bands positioning with band width metrics
ATR volatility measurements with percentage levels
Stochastic oscillator for entry/exit timing
🎯 Advanced Market Intelligence:
Automated Market Structure detection (Higher Highs/Lower Lows)
Dynamic Support & Resistance level identification
Smart Overall Signal generation based on 5+ confluence factors
Color-coded status indicators for quick visual assessment
⚙️ Customization Options:
Repositionable dashboard (6 position options)
Toggle visibility on/off
Clean, professional interface with intuitive color coding
💡 Perfect For:
Day traders seeking quick market assessment
Swing traders analyzing trend strength
Multi-timeframe analysis confirmation
Risk management and volatility assessment
Entry/exit signal confluence
The dashboard eliminates the need to switch between multiple indicators, providing all essential market data in one consolidated view. Each metric includes both numerical values and interpretive status, making it suitable for both novice and experienced traders.
Compatible with all markets and timeframes. Best used as a supplementary analysis tool alongside your existing trading strategy.
Harmonic Super GuppyHarmonic Super Guppy – Harmonic & Golden Ratio Trend Analysis Framework
Overview
Harmonic Super Guppy is a comprehensive trend analysis and visualization tool that evolves the classic Guppy Multiple Moving Average (GMMA) methodology, pioneered by Daryl Guppy to visualize the interaction between short-term trader behavior and long-term investor trends. into a harmonic and phase-based market framework. By combining harmonic weighting, golden ratio phasing, and multiple moving averages, it provides traders with a deep understanding of market structure, momentum, and trend alignment. Fast and slow line groups visually differentiate short-term trader activity from longer-term investor positioning, while adaptive fills and dynamic coloring clearly illustrate trend coherence, expansion, and contraction in real time.
Traditional GMMA focuses primarily on moving average convergence and divergence. Harmonic Super Guppy extends this concept, integrating frequency-aware harmonic analysis and golden ratio modulation, allowing traders to detect subtle cyclical forces and early trend shifts before conventional moving averages would react. This is particularly valuable for traders seeking to identify early trend continuation setups, preemptive breakout entries, and potential trend exhaustion zones. The indicator provides a multi-dimensional view, making it suitable for scalping, intraday trading, swing setups, and even longer-term position strategies.
The visual structure of Harmonic Super Guppy is intentionally designed to convey trend clarity without oversimplification. Fast lines reflect short-term trader sentiment, slow lines capture longer-term investor alignment, and fills highlight compression or expansion. The adaptive color coding emphasizes trend alignment: strong green for bullish alignment, strong red for bearish, and subtle gray tones for indecision. This allows traders to quickly gauge market conditions while preserving the granularity necessary for sophisticated analysis.
How It Works
Harmonic Super Guppy uses a combination of harmonic averaging, golden ratio phasing, and adaptive weighting to generate its signals.
Harmonic Weighting : Each moving average integrates three layers of harmonics:
Primary harmonic captures the dominant cyclical structure of the market.
Secondary harmonic introduces a complementary frequency for oscillatory nuance.
Tertiary harmonic smooths higher-frequency noise while retaining meaningful trend signals.
Golden Ratio Phase : Phases of each harmonic contribution are adjusted using the golden ratio (default φ = 1.618), ensuring alignment with natural market rhythms. This reduces lag and allows traders to detect trend shifts earlier than conventional moving averages.
Adaptive Trend Detection : Fast SMAs are compared against slow SMAs to identify structural trends:
UpTrend : Fast SMA exceeds slow SMA.
DownTrend : Fast SMA falls below slow SMA.
Frequency Scaling : The wave frequency setting allows traders to modulate responsiveness versus smoothing. Higher frequency emphasizes short-term moves, while lower frequency highlights structural trends. This enables adaptation across asset classes with different volatility characteristics.
Through this combination, Harmonic Super Guppy captures micro and macro market cycles, helping traders distinguish between transient noise and genuine trend development. The multi-harmonic approach amplifies meaningful price action while reducing false signals inherent in standard moving averages.
Interpretation
Harmonic Super Guppy provides a multi-dimensional perspective on market dynamics:
Trend Analysis : Alignment of fast and slow lines reveals trend direction and strength. Expanding harmonics indicate momentum building, while contraction signals weakening conditions or potential reversals.
Momentum & Volatility : Rapid expansion of fast lines versus slow lines reflects short-term bullish or bearish pressure. Compression often precedes breakout scenarios or volatility expansion. Traders can quickly gauge trend vigor and potential turning points.
Market Context : The indicator overlays harmonic and structural insights without dictating entry or exit points. It complements order blocks, liquidity zones, oscillators, and other technical frameworks, providing context for informed decision-making.
Phase Divergence Detection : Subtle divergence between harmonic layers (primary, secondary, tertiary) often signals early exhaustion in trends or hidden strength, offering preemptive insight into potential reversals or sustained continuation.
By observing both structural alignment and harmonic expansion/contraction, traders gain a clear sense of when markets are trending with conviction versus when conditions are consolidating or becoming unpredictable. This allows for proactive trade management, rather than reactive responses to lagging indicators.
Strategy Integration
Harmonic Super Guppy adapts to various trading methodologies with clear, actionable guidance.
Trend Following : Enter positions when fast and slow lines are aligned and harmonics are expanding. The broader the alignment, the stronger the confirmation of trend persistence. For example:
A fast line crossover above slow lines with expanding fills confirms momentum-driven continuation.
Traders can use harmonic amplitude as a filter to reduce entries against prevailing trends.
Breakout Trading : Periods of line compression indicate potential volatility expansion. When fast lines diverge from slow lines after compression, this often precedes breakouts. Traders can combine this visual cue with structural supports/resistances or order flow analysis to improve timing and precision.
Exhaustion and Reversals : Divergences between harmonic components, or contraction of fast lines relative to slow lines, highlight weakening trends. This can indicate liquidity exhaustion, trend fatigue, or corrective phases. For example:
A flattening fast line group above a rising slow line can hint at short-term overextension.
Traders may use these signals to tighten stops, take partial profits, or prepare for contrarian setups.
Multi-Timeframe Analysis : Overlay slow lines from higher timeframes on lower timeframe charts to filter noise and trade in alignment with larger market structures. For example:
A daily bullish alignment combined with a 15-minute breakout pattern increases probability of a successful intraday trade.
Conversely, a higher timeframe divergence can warn against taking counter-trend trades in lower timeframes.
Adaptive Trade Management : Harmonic expansion/contraction can guide dynamic risk management:
Stops may be adjusted according to slow line support/resistance or harmonic contraction zones.
Position sizing can be modulated based on harmonic amplitude and compression levels, optimizing risk-reward without rigid rules.
Technical Implementation Details
Harmonic Super Guppy is powered by a multi-layered harmonic and phase calculation engine:
Harmonic Processing : Primary, secondary, and tertiary harmonics are calculated per period to capture multiple market cycles simultaneously. This reduces noise and amplifies meaningful signals.
Golden Ratio Modulation : Phase adjustments based on φ = 1.618 align harmonic contributions with natural market rhythms, smoothing lag and improving predictive value.
Adaptive Trend Scaling : Fast line expansion reflects short-term momentum; slow lines provide structural trend context. Fills adapt dynamically based on alignment intensity and harmonic amplitude.
Multi-Factor Trend Analysis : Trend strength is determined by alignment of fast and slow lines over multiple bars, expansion/contraction of harmonic amplitudes, divergences between primary, secondary, and tertiary harmonics and phase synchronization with golden ratio cycles.
These computations allow the indicator to be highly responsive yet smooth, providing traders with actionable insights in real time without overloading visual complexity.
Optimal Application Parameters
Asset-Specific Guidance:
Forex Majors : Wave frequency 1.0–2.0, φ = 1.618–1.8
Large-Cap Equities : Wave frequency 0.8–1.5, φ = 1.5–1.618
Cryptocurrency : Wave frequency 1.2–3.0, φ = 1.618–2.0
Index Futures : Wave frequency 0.5–1.5, φ = 1.618
Timeframe Optimization:
Scalping (1–5min) : Emphasize fast lines, higher frequency for micro-move capture.
Day Trading (15min–1hr) : Balance fast/slow interactions for trend confirmation.
Swing Trading (4hr–Daily) : Focus on slow lines for structural guidance, fast lines for entry timing.
Position Trading (Daily–Weekly) : Slow lines dominate; harmonics highlight long-term cycles.
Performance Characteristics
High Effectiveness Conditions:
Clear separation between short-term and long-term trends.
Moderate-to-high volatility environments.
Assets with consistent volume and price rhythm.
Reduced Effectiveness:
Flat or extremely low volatility markets.
Erratic assets with frequent gaps or algorithmic dominance.
Ultra-short timeframes (<1min), where noise dominates.
Integration Guidelines
Signal Confirmation : Confirm alignment of fast and slow lines over multiple bars. Expansion of harmonic amplitude signals trend persistence.
Risk Management : Place stops beyond slow line support/resistance. Adjust sizing based on compression/expansion zones.
Advanced Feature Settings :
Frequency tuning for different volatility environments.
Phase analysis to track divergences across harmonics.
Use fills and amplitude patterns as a guide for dynamic trade management.
Multi-timeframe confirmation to filter noise and align with structural trends.
Disclaimer
Harmonic Super Guppy is a trend analysis and visualization tool, not a guaranteed profit system. Optimal performance requires proper wave frequency, golden ratio phase, and line visibility settings per asset and timeframe. Traders should combine the indicator with other technical frameworks and maintain disciplined risk management practices.
Dynamic FIB Retracement Dynamic FIB Retracement.
Description:
This indicator automatically plots dynamic Fibonacci retracement levels (0.382, 0.5, 0.618) based on the highest high and lowest low of the selected lookback period on the current timeframe. It also provides Buy Above / Sell Below signals at the 0.5 Fibonacci level with trend confirmation, making it easier to spot high-probability trade setups.
Key Features:
Dynamic Fibonacci Levels – Automatically calculates 0.382, 0.5, and 0.618 retracements based on recent price action.
Trend Filter Confirmation – Signals only trigger in the direction of the trend using an EMA-based trend filter (user-adjustable).
Customizable Lookback – Choose how many bars the script should use to detect the high and low for Fibonacci levels.
Visual Alerts – Signals are displayed directly on the chart with triangles, and alerts can be configured for both Buy and Sell events.
Easy to Use – Works on any timeframe and updates automatically as price moves.
Inputs:
Lookback Bars: Determines the number of bars to calculate high and low for Fibonacci levels.
EMA Length: Sets the period for EMA used in trend filtering signals.
Use Cases:
Identify potential retracement zones for entries and exits.
Filter trades in the direction of the trend for higher accuracy.
Quick visualization of key Fibonacci levels for swing or intraday trading.
How to Use:
Apply the indicator to your chart.
Adjust the lookback period and EMA length to match your trading style.
Watch for Buy Above / Sell Below signals near the 0.5 Fibonacci level aligned with the trend.
Optionally, set alerts for automatic notifications when signals occur.
High/Low Targets - Abu Aydسكربت
//@version=5
indicator("High/Low Targets - Abu Ayd", overlay = true, max_lines_count = 200, ع")
widthLow = input.int(2, "سماكة خط القاع", minval=1, maxval=5)
colorHigh = input.color(color.purple, "لون خط القمة")
widthHigh = input.int(2, "سماكة خط القمة", minval=1, maxval=5)
colorUp = input.color(color.green, "لون أهداف الصعود")
widthUp = input.int(1, "سماكة أهداف الصعود", minval=1, maxval=5)
colorDown = input.color(color.red, "لون أهداف الهبوط")
widthDown = input.int(1, "سماكة أهداف الهبوط", minval=1, maxval=5)
//========= مكان كتابة الأهداف =========//
labelPosition = input.string("يمين", "مكان كتابة الأهداف", options= )
offsetBars = input.int(5, "المسافة أفقياً للكتابة", minval=1, maxval=50)
//========= عدد الأهداف =========//
targetsUpNum = input.int(5, "عدد أهداف الصعود", minval=1, maxval=20)
targetsDownNum = input.int(5, "عدد أهداف الهبوط", minval=1, maxval=20)
//========= حساب القاع والقمة =========//
srcLow = request.security(syminfo.tickerid, tf == "" ? timeframe.period : tf, ta.lowest(low, lookback))
srcHigh = request.security(syminfo.tickerid, tf == "" ? timeframe.period : tf, ta.highest(high, lookback))
// قاع أمس
yLow = request.security(syminfo.tickerid, "D", low )
yHigh = request.security(syminfo.tickerid, "D", high )
yOpen = request.security(syminfo.tickerid, "D", open )
yClose = request.security(syminfo.tickerid, "D", close )
yBodyLow = math.min(yOpen, yClose)
yLowerWick = yBodyLow - yLow
yRange = yHigh - yLow
isValidYesterdayLow = yLowerWick > yRange * wickRatio
// اختيار القاع
lowPoint =
mode == "Manual" ? manualLow :
(mode == "Auto" and useYesterdayLow and isValidYesterdayLow) ? yLow :
srcLow
// اختيار القمة
highPoint = mode == "Auto" ? srcHigh : manualHigh
//========= دالة لحساب مكان الليبل =========//
f_getXoffset(_pos) =>
_pos == "يمين" ? bar_index + offsetBars : _pos == "يسار" ? bar_index - offsetBars : bar_index
//========= أهداف القاع =========//
if mode == "Manual" or (mode == "Auto" and showLowAuto and not na(lowPoint))
// أهداف فوق القاع
for i = 1 to targetsUpNum
levelUp = lowPoint + stepUp * i
line.new(bar_index, levelUp, bar_index+1, levelUp, color=colorUp, width=widthUp, extend=extend.right)
if barstate.islast
label.new(f_getXoffset(labelPosition), levelUp, "🎯 " + str.tostring(levelUp),
textcolor=color.white, color=colorUp, style=label.style_label_left,
xloc=xloc.bar_index, yloc=yloc.price)
// أهداف تحت القاع إذا اخترنا "فوق وتحت"
if lowTargetsMode == "فوق وتحت"
for i = 1 to targetsDownNum
levelDownFromLow = lowPoint - stepDown * i
line.new(bar_index, levelDownFromLow, bar_index+1, levelDownFromLow, color=colorDown, width=widthDown, extend=extend.right)
if barstate.islast
label.new(f_getXoffset(labelPosition), levelDownFromLow, "🎯 " + str.tostring(levelDownFromLow),
textcolor=color.white, color=colorDown, style=label.style_label_left,
xloc=xloc.bar_index, yloc=yloc.price)
//========= أهداف القمة =========//
if mode == "Manual" or (mode == "Auto" and showHighAuto)
oi + funding oscillator cryptosmartThe oi + funding oscillator cryptosmart is an advanced momentum tool designed to gauge sentiment in the crypto derivatives market. It combines Open Interest (OI) changes with Funding Rates, normalizes them into a single oscillator using a z-score, and identifies potential market extremes.
This provides traders with a powerful visual guide to spot when the market is over-leveraged (overheated) or when a significant deleveraging event has occurred (oversold), signaling potential reversals.
How It Works
Combined Data: The indicator tracks the rate of change in Open Interest and the value of Funding Rates.
Oscillator: It blends these two data points into a single, smoothed oscillator line that moves above and below a zero line.
Extreme Zones:
Overheated (Red Zone): When the oscillator enters the upper critical zone, it suggests excessive greed and high leverage, increasing the risk of a sharp correction (long squeeze). A cross below this level generates a potential sell signal.
Oversold (Green Zone): When the oscillator enters the lower critical zone, it indicates panic, liquidations, and a potential market bottom. A cross above this level generates a potential buy signal.
Trading Strategy & Timeframes
This oscillator is designed to be versatile, but its effectiveness can vary depending on the timeframe.
Optimal Timeframes (1H and 4H): The indicator has shown its highest effectiveness on the 1-hour and 4-hour charts. These timeframes are ideal for capturing significant shifts in market sentiment reflected in OI and funding data, filtering out short-term noise while still providing timely reversal signals.
Lower Timeframes (e.g., 1-min, 5-min, 15-min): On shorter timeframes, the oscillator is still a highly effective tool, but it is best used as a confluence factor within a broader trading system. Due to the increased noise on these charts, it is not recommended to use its signals in isolation. Instead, use it as a final argument for entry. For example, if your primary scalping strategy gives you a buy signal, you can check if the oscillator is also exiting the oversold (green) zone to add a powerful layer of confirmation to your trade.
Market Structure - BOS LinesMarket Structure - BOS Lines individuazione delle 3cf e segnalazione con il bos
IV Rank (tasty-style) — VIXFix / HV ProxyIV Rank (tasty-style) — VIXFix / HV Proxy
Overview
This indicator replicates tastytrade’s IV Rank calculation—but built entirely inside TradingView.
Because TradingView does not expose live option-chain implied volatility, the script lets you choose between two widely used price-based IV proxies:
VIXFix (Williams VIX Fix): a fast-reacting volatility estimate derived from price extremes.
HV(30): 30-day annualized historical volatility of daily log returns.
The goal is to approximate the “rich vs. cheap” option volatility environment that traders use to decide whether to sell or buy premium.
Formula
IV Rank answers the question: Where is current implied volatility relative to its own 1-year range?
𝐼
𝑉
𝑅
=
𝐼
𝑉
𝑐
𝑢
𝑟
𝑟
𝑒
𝑛
𝑡
−
𝐼
𝑉
1
𝑦
𝐿
𝑜
𝑤
𝐼
𝑉
1
𝑦
𝐻
𝑖
𝑔
ℎ
−
𝐼
𝑉
1
𝑦
𝐿
𝑜
𝑤
×
100
IVR=
IV
1yHigh
−IV
1yLow
IV
current
−IV
1yLow
×100
IVcurrent: Current value of the chosen IV proxy.
IV1yHigh/Low: Highest and lowest proxy values over the user-defined lookback (default 252 trading days ≈ 1 year).
IVR = 0 → Current IV equals its 1-year low
IVR = 100 → Current IV equals its 1-year high
IVR ≈ 50 → Current IV sits mid-range
How to Use
High IV Rank (≥50–60%)
Options are relatively expensive → short-premium strategies (credit spreads, iron condors, straddles) may be more attractive.
Low IV Rank (≤20%)
Options are relatively cheap → long-premium strategies (debit spreads, calendars, diagonals) may offer better risk/reward.
Combine with your own analysis, liquidity checks, and risk management.
Inputs & Customization
IV Source: Choose “VIXFix” or “HV(30)” as the volatility proxy.
IVR Lookback: Rolling window for 1-year high/low (default 252 trading days).
VIXFix Parameters: Length and stdev multiplier to fine-tune sensitivity.
Info Label: Optional on-chart label displays current IV proxy, 1-year high/low, and IV Rank.
Alerts: Optional alerts when IVR crosses 50, falls below 20, or rises above 80.
Notes & Limitations
This indicator does not pull real option-chain IV.
It provides a close structural analogue to tastytrade’s IV Rank using price-derived proxies for markets where options data is not directly available.
For live option IV, use broker platforms or third-party data feeds alongside this script.
Tags: IV Rank, Implied Volatility, Tastytrade, VIXFix, Historical Volatility, Options, Premium Selling, Debit Spreads, Market Volatility
ICT Macros All hours - credit to luxalgoICT Macros custom original one from LuxAlgo
default indicator does not enabled for all hours
this one have options to enable all hours
ColorSMAColorSMA Indicator – Description & Usage Guide
Overview
The ColorSMA indicator is a dynamic trend-following moving average designed to adapt to volatility and provide clearer visual cues for traders. Unlike a standard simple moving average (SMA), this tool applies a volatility filter using a standard deviation channel and then smooths the price before calculating the moving average.
The result is a single line on the chart that changes color depending on its trend direction:
Blue (Uptrend) – The moving average is rising compared to the previous bar.
Red (Downtrend) – The moving average is falling compared to the previous bar.
This visual coloring makes it easier to spot the trend direction at a glance.
How It Works
Baseline SMA
The script first calculates a classic SMA based on the selected Length (default = 9).
This baseline acts as the foundation of the indicator.
Volatility Filter (SD Channel)
A standard deviation multiplier is applied to create an upper and lower channel around the SMA.
If price moves outside this channel, it gets “clamped” back within the channel range.
This reduces noise and prevents false signals in highly volatile conditions.
Smoothed Price (Extra Smooth)
The filtered price is then smoothed with another SMA (default = 3).
This step makes the line cleaner and easier to interpret.
Trend Coloring
If the current smoothed SMA is higher than its previous value → the line is Blue.
If it is lower → the line is Red .
This simple but effective color-coding highlights trend shifts without cluttering the chart.
Inputs & Settings
Source: The price source used in the calculation (default = close).
Length: The SMA period length (default = 9).
Extra Smooth : Additional smoothing for the final line (default = 3). Lower values make it more responsive, higher values make it smoother.
Width (Volatility Filter – SD Channel): The multiplier applied to the standard deviation. Controls how wide the channel is (default = 0.3).
Length (Volatility Filter – SD Channel): The period for calculating standard deviation (default = 1).
What You See on the Chart
A single moving average line that changes color:
Blue (Up) = trend strength or bullish direction.
Red (Down) = trend weakness or bearish direction.
The line itself is already filtered through a volatility channel and smoothing, so it reacts to market conditions while reducing noise.
How to Use It
Trend Identification
Use the color changes (Blue/Red) to quickly identify short-term trend shifts.
Blue phases suggest bullish bias, Red phases suggest bearish bias.
Entry/Exit Guidance
Traders can align entries with the trend color (e.g., buy when it turns Blue, sell/short when it turns Red).
Combine with price action or other indicators for confirmation.
Volatility Filtering
Adjust the Width and SD Length parameters to tune how sensitive the indicator is to price fluctuations. Narrower channels give more signals; wider channels filter out more noise.
Smoothing Control
If you prefer faster reactions, lower the smoothing value.
If you want steadier signals, increase smoothing.
Summary
The ColorSMA is a visually enhanced moving average that adapts to volatility and simplifies trend detection. It is especially useful for traders who prefer:
Clean charts with minimal clutter.
Clear, color-coded signals for trend direction.
Flexibility to adjust responsiveness via smoothing and channel width.
This indicator is best used as a trend confirmation tool or combined with other strategies such as support/resistance, candlestick patterns, or oscillators for robust trade setups.
EMA (20, 50, 100, 200) incl. TIMEFRAME!Multi-Timeframe EMA Indicator
Indicator designed for TradingView that plots up to four distinct Exponential Moving Average (EMA) lines on your chart. The script is highly flexible, allowing you to configure each EMA's length and color individually. Additionally, it features a crucial timeframe parameter, which enables you to apply the EMAs from a different, higher timeframe directly to your current chart.
Key Features:
Four Independent EMAs : The indicator calculates and displays four separate EMA lines simultaneously. The default lengths are set to the popular values of 20, 50, 100, and 200, which are commonly used for short-term, medium-term, and long-term trend analysis.
Customizable Length and Color: You have full control over each EMA. In the indicator's settings, you can easily change the length of each moving average to suit your trading strategy. You can also customize the color of each line, making it easy to distinguish them on the chart.
Multi-Timeframe Analysis (MTF) : The most powerful feature is the timeframe parameter. By entering a different timeframe (e.g., "D" for daily, "W" for weekly, or "60" for hourly), the indicator will calculate the EMAs based on that specific timeframe's data, regardless of your chart's current resolution. This is invaluable for traders who want to see long-term trends on a short-term chart without having to switch timeframes.
8, 21 & 50 EMA, 100 & 200 SMA Able to identify trends with key moving averages to enable you to make better informed trading decisions.
TTP ADXTTP ADX Indicator
Description:
A clean and simplified ADX (Average Directional Index) indicator that focuses solely on trend strength measurement. This indicator removes the traditional DI+ and DI- lines, displaying only the core ADX line for a cleaner chart appearance.
Key Features:
Pure ADX Focus: Displays only the ADX line without directional indicators
Customizable Parameters: Adjustable length (default: 14) and threshold level (default: 20)
Clean Interface: Minimal visual clutter with a single trend strength line
Professional Styling: Navy blue ADX line with dashed threshold reference
How to Use:
ADX values above the threshold (default 20) indicate strong trending conditions
ADX values below the threshold suggest weak or sideways market conditions
Rising ADX suggests increasing trend strength (regardless of direction)
Falling ADX indicates weakening trend strength
Technical Details:
Uses Wilder's smoothing method for accurate ADX calculation
Built on Pine Script v5 for optimal performance
Non-overlay indicator displayed in separate pane
Default settings: 14-period length, 20 threshold level
Ideal For:
Traders who want to focus purely on trend strength
Clean chart setups without directional bias
Confirming trend conditions for entry/exit strategies
Market strength analysis across all timeframes
This streamlined version provides the essential trend strength information without the visual complexity of directional movement lines, making it perfect for traders who prefer minimalist indicators.
mara Dynamic RangeUpdated pp dynamic zone indicator, which helps to provide support/resistance for intra day and swing trade
Emas cryptosmart## General Summary
The Emas cryptosmart indicator is a technical analysis tool designed to provide a clear and comprehensive view of the market trend. It combines a long-term Hull Moving Average (HMA) to establish the overall trend with a faster, more responsive Triple Hull Moving Average (THMA) to identify short-term momentum.
Its primary feature is the dynamic candle coloring, which offers immediate visual cues about price direction, simplifying trading decisions.
## Indicator Components
This indicator is composed of two main lines:
Hull 200 (HMA): The Long-Term Trend Anchor
This line (dynamic lime/red by default) acts as a filter for the main market trend. Due to its 200-period setting, it moves smoothly and establishes the general context.
Uptrend: When the Hull 200 is rising (lime color), it indicates the macro trend is bullish.
Downtrend: When it is falling (red color), the macro trend is bearish.
THMA 55: The Short-Term Momentum Line
This line (dynamic aqua/orange by default) is a Triple Hull Moving Average. It is extremely fast and sensitive to recent price changes, designed to capture immediate momentum.
This is the key line for the candle coloring and for identifying potential entry or exit points.
## How to Interpret It
The primary strategy is to use the Hull 200 to define the direction for your trades and the THMA 55 to fine-tune your timing.
Candle Coloring (Main Signal):
Bullish Candles (default: aqua): When the price closes above the THMA 55, the candles turn to a bullish color. This signals that immediate momentum is positive and can be considered a buy signal or confirmation to stay in a long position.
Bearish Candles (default: orange): When the price closes below the THMA 55, the candles turn to a bearish color. This indicates that immediate momentum is negative, suggesting a potential sell or an exit from a long position.
Confluence Strategy:
The highest-probability signals occur when both moving averages are aligned.
Strong Buy Example: Look for a situation where the Hull 200 is rising (lime color) and wait for the candles to turn bullish as the price crosses above the THMA 55.
Strong Sell Example: Look for a situation where the Hull 200 is falling (red color) and wait for the candles to turn bearish as the price crosses below the THMA 55.
## Key Features
Visual Clarity: Automatic candle coloring eliminates the need to constantly interpret crosses, allowing for a quick read of the market's state.
Dual Perspective: Offers a balanced view by combining a slow trend indicator with a fast momentum indicator.
Reduced Lag: The use of Hull variants minimizes the delay typical of conventional moving averages (SMAs/EMAs).
Fully Customizable: All colors, for both the lines and the candles, can be adjusted in the settings menu to fit your visual style.
Scalp EMA+RSI+ADX+Vol v7 (универсальная, x25)// @version=6
// Scalp EMA+RSI+ADX+Vol v7 — универсальная версия с ликвидационным стопом (x25)
// Автор: ChatGPT
// === ПАРАМЕТРЫ ===
percent_of_equity = input.float(2.0, "Position size (% of equity)", step=0.1, minval=0.1)
fastLen = input.int(8, "Fast EMA length", minval=1)
slowLen = input.int(21, "Slow EMA length", minval=1)
rsiLen = input.int(7, "RSI length", minval=1)
rsiConfirm= input.int(50, "RSI confirmation level")
adxLen = input.int(10, "ADX length", minval=1)
adxThresh = input.int(15, "ADX threshold (min trend strength)")
volSmaLen = input.int(20, "Volume SMA length", minval=1)
volMult = input.float(0.8, "Min volume multiplier", step=0.1, minval=0.1)
atrLen = input.int(10, "ATR length", minval=1)
atrTP = input.float(1.6, "TP = x * ATR", step=0.1, minval=0.1)
useTrailing = input.bool(false, "Use trailing stop")
trailOffsetMult = input.float(0.8, "Trailing offset = x * ATR", step=0.1, minval=0.1)
maxTradesPerDay = input.int(0, "Max trades per day (0 = unlimited)")
useTimeFilter = input.bool(false, "Enable time filter (exchange time)")
startH = input.int(0, "Start hour (0-23)")
startM = input.int(0, "Start minute (0-59)")
endH = input.int(23, "End hour (0-23)")
endM = input.int(59, "End minute (0-59)")
leverage = input.int(25, "Leverage (для расчета ликвидации)", minval=1) // ← по умолчанию 25
// === STRATEGY DECLARATION ===
strategy("Scalp EMA+RSI+ADX+Vol v7 (универсальная, x25)", overlay=true,
default_qty_type=strategy.percent_of_equity, default_qty_value=2.0,
initial_capital=10000, pyramiding=1)
// === ИНДИКАТОРЫ ===
fastEMA = ta.ema(close, fastLen)
slowEMA = ta.ema(close, slowLen)
rsi = ta.rsi(close, rsiLen)
volSMA = ta.sma(volume, volSmaLen)
atr = ta.atr(atrLen)
plot(fastEMA, title="Fast EMA", linewidth=1, color=color.teal)
plot(slowEMA, title="Slow EMA", linewidth=1, color=color.orange)
// === ADX (ручной расчет) ===
upMove = high - high
downMove = low - low
plusDM = (upMove > downMove and upMove > 0) ? upMove : 0.0
minusDM = (downMove > upMove and downMove > 0) ? downMove : 0.0
tr = math.max(high - low, math.max(math.abs(high - close ), math.abs(low - close )))
atr_adx = ta.rma(tr, adxLen)
smPlus = ta.rma(plusDM, adxLen)
smMinus = ta.rma(minusDM, adxLen)
plusDI = atr_adx == 0 ? 0.0 : 100.0 * smPlus / atr_adx
minusDI = atr_adx == 0 ? 0.0 : 100.0 * smMinus / atr_adx
sumDI = plusDI + minusDI
dx = sumDI == 0 ? 0.0 : 100.0 * math.abs(plusDI - minusDI) / sumDI
adx = ta.rma(dx, adxLen)
// === СИГНАЛЫ ===
crossUp = ta.crossover(fastEMA, slowEMA)
crossDown = ta.crossunder(fastEMA, slowEMA)
volOK = volume > volSMA * volMult
rsiOK_long = rsi > rsiConfirm
rsiOK_short = rsi < rsiConfirm
adxOK = adx >= adxThresh
candleBull= close > open
candleBear= close < open
longSignal = crossUp and rsiOK_long and adxOK and volOK and candleBull
shortSignal = crossDown and rsiOK_short and adxOK and volOK and candleBear
// === TIME FILTER ===
s = useTimeFilter ? timestamp(year(time), month(time), dayofmonth(time), startH, startM) : na
e = useTimeFilter ? timestamp(year(time), month(time), dayofmonth(time), endH, endM) : na
inTradeHours = not useTimeFilter ? true : (e > s ? (time >= s and time <= e) : (time >= s or time <= e))
// === DAILY COUNTER ===
var int tradesToday = 0
var int lastDay = na
if dayofmonth(time) != lastDay
tradesToday := 0
lastDay := dayofmonth(time)
canOpenMore = (maxTradesPerDay == 0) or (tradesToday < maxTradesPerDay)
// === ENTRIES / EXITS ===
if longSignal and inTradeHours and canOpenMore and strategy.position_size == 0
entryPrice = close
liqPrice = entryPrice - entryPrice / leverage // стоп по ликвидации x25
takePrice = entryPrice + atr * atrTP
if useTrailing
strategy.entry("Long", strategy.long)
strategy.exit("Long Exit", from_entry="Long", limit=takePrice, trail_offset=atr * trailOffsetMult)
else
strategy.entry("Long", strategy.long)
strategy.exit("Long Exit", from_entry="Long", stop=liqPrice, limit=takePrice)
tradesToday += 1
if shortSignal and inTradeHours and canOpenMore and strategy.position_size == 0
entryPrice = close
liqPrice = entryPrice + entryPrice / leverage // стоп по ликвидации x25
takePrice = entryPrice - atr * atrTP
if useTrailing
strategy.entry("Short", strategy.short)
strategy.exit("Short Exit", from_entry="Short", limit=takePrice, trail_offset=atr * trailOffsetMult)
else
strategy.entry("Short", strategy.short)
strategy.exit("Short Exit", from_entry="Short", stop=liqPrice, limit=takePrice)
tradesToday += 1
// === ВИЗУАЛИЗАЦИЯ ===
plotshape(longSignal, title="Long Signal", location=location.belowbar, style=shape.triangleup, size=size.small, color=color.green, text="LONG")
plotshape(shortSignal, title="Short Signal", location=location.abovebar, style=shape.triangledown, size=size.small, color=color.red, text="SHORT")
// INFO BOX
var label info = na
if barstate.islast
label.delete(info)
infoText = "EMA: " + str.tostring(fastLen) + "/" + str.tostring(slowLen) +
" | RSI: " + str.tostring(rsiLen) + " (conf=" + str.tostring(rsiConfirm) + ")" +
" | ADX: " + str.tostring(adxLen) + "(thr=" + str.tostring(adxThresh) + ")" +
" | VolMult=" + str.tostring(volMult) +
" | ATR TP=" + str.tostring(atrTP) +
" | Leverage=" + str.tostring(leverage) + "x" +
" | TradesToday=" + str.tostring(tradesToday)
info := label.new(bar_index, high, infoText, xloc=xloc.bar_index, yloc=yloc.abovebar,
style=label.style_label_left, size=size.small, color=color.new(color.blue, 70))
MACD Split (Top/Bottom)📘 Script Explanation – MACD Split (Top/Bottom)
Purpose
Splits MACD into two separate panels for better visibility:
Top panel → MACD line (orange) & Signal line (black)
Bottom panel → Histogram (colored line) & Histogram EMA (black)
Color Rules for Histogram
Above 0 & Rising → Light Green
Above 0 & Falling → Dark Green
Below 0 & Falling → Dark Red
Below 0 & Rising → Light Red
Histogram EMA → Black
Zero Line
A gray dashed baseline is drawn at 0 for reference.
How to Use
Add the indicator twice.
Set the first one’s Mode = Top.
Set the second one’s Mode = Bottom.
Save as a template → next time, both panels load together.
Combined Signal EMA + HHV-ATR Trail (Srinu)Green “BUY: ” below bars.
Red “SELL: ” above bars.
Alerts also include the triggered close price.
macd color bar cryptosmartDescription
The MACD Color Bar CryptoSmart indicator is a visual trading tool designed to help traders quickly identify trend changes by coloring the chart's price bars based on MACD (Moving Average Convergence Divergence) signals.
Instead of looking down at the MACD panel, you can see the trend's momentum directly on your price chart, making it easier to spot potential entries and exits.
How It Works
The indicator monitors the MACD line and its signal line in the background.
Bullish Trend (Green Bars): When the MACD line crosses above the signal line, the price bars will turn green. This color persists, signaling that the momentum is currently bullish.
Bearish Trend (Red Bars): When the MACD line crosses below the signal line, the price bars will turn red. This color persists, indicating that the momentum has shifted to bearish.
This immediate visual feedback helps you stay aligned with the current trend as defined by the MACD.
How to Use
Trend Identification: Use the bar colors for a quick "at-a-glance" understanding of the prevailing trend. Green bars suggest an uptrend, while red bars suggest a downtrend.
Entry Signals: A color change from red to green can be seen as a potential bullish entry signal. Conversely, a change from green to red can suggest a potential bearish entry.
Confirmation: Use the bar colors to confirm signals from your primary trading strategy. For example, if you get a buy signal from another indicator, a green bar color adds confluence to your trade idea.
All MACD settings (Fast Length, Slow Length, Signal Length) and the bar colors are fully customizable in the indicator's settings menu.