Vortex Sniper Elite @DaviddTechVortex Sniper Elite @DaviddTech
Vortex Sniper Elite @DaviddTech is a comprehensive trading system designed to deliver high-probability trade setups across all market conditions. By seamlessly integrating adaptive baseline detection, squeeze momentum analysis, and advanced vortex filtering, this indicator provides traders with a complete edge-based approach to market analysis.
🔥 Key Features:
Complete Model Integration:
Baseline: Advanced McGinley Dynamic indicator for superior trend detection
Confirmation #1: Enhanced TTM Squeeze for momentum and volatility analysis
Confirmation #2: Dual Tether Line system for dynamic market structure mapping
Volatility Filter: Specialized Vortex indicator for precision entry timing
Adaptive Stop Loss: Proprietary trailing stop system based on ATR calculations
Advanced Visual Dashboard:
Real-time component analysis with strength metrics
Color-coded signal status for immediate trade assessment
Squeeze state monitoring with visual confirmation
Vortex divergence strength percentage for optimal entries
Premium Signal Detection:
Multi-timeframe compatible system for scaling strategies
Automated buy/sell signals at optimal entry points
Clear exit signals for risk management
Squeeze momentum visualization for timing precision
DaviddTech Alpha Edge System:
Gradient transparency algorithm for visual trend strength confirmation
Bar coloring system based on momentum direction
Background highlighting for active signal states
Dashboard for ease of understanding
💰 Trading Applications:
Sniper Entries: Utilize the Vortex confirmation to pinpoint precise entry points
Trend Alignment: McGinley baseline establishes the primary market direction
Volatility Awareness: TTM Squeeze identifies optimal market conditions
Risk Management: Set stops based on the adaptive trailing stop system
Position Management: Monitor dashboard metrics for changing market conditions
Vortex Sniper Elite @DaviddTech represents the culmination of the DaviddTech methodology in one cohesive system. Whether you're a day trader seeking precise entries or a swing trader looking for significant market moves, this indicator delivers the structured approach needed to consistently extract profits from any market condition.
DaviddTech Trading System Explained:
The DaviddTech methodology follows a strict component-based approach:
The Baseline establishes the primary trend direction, acting as your first filter
Confirmation Indicators validate potential trade setups only when aligned with the baseline
The Volatility/Volume Indicator ensures you only enter trades with sufficient directional momentum
A Trailing Stop System provides mathematically optimized exit points
Vortex Sniper Elite integrates all these components into a visually intuitive system that eliminates guesswork and enforces disciplined trading decisions.
Recommended Settings:
This indicator comes pre-configured with optimized parameters, but feel free to adjust based on your timeframe:
For day trading: Reduce Baseline and TTM lengths by 30-40%
For swing trading: Consider increasing Tether and Trail Stop lengths by 25-50%
For scalping: Focus on Vortex confirmation with shorter timeframes
Best Practices:
Wait for all components to align before entering trades
Use the dashboard to evaluate the strength of each signal
Monitor squeeze states for potential volatility expansion
Let the trailing stop system handle your exits
Backtest across multiple timeframes to find your optimal settings
Wskaźniki i strategie
Liquidity Location Detector [BigBeluga]
This indicator helps traders identify potential liquidity zones by detecting significant volume levels at key highs and lows. By using color intensity and scoring numbers, it visually highlights areas where liquidity concentration may be highest while incorporating trend analysis through EMAs.
🔵Key Features:
Liquidity Zone Detection: Automatically detects and marks areas where significant volume has accumulated at swing highs and lows.
Dynamic Box Plotting: Draws liquidity boxes at key highs and lows, updating based on market conditions.
Volume Strength Scaling: Uses a scoring system to rank liquidity zones, helping traders identify the strongest areas.
Color Intensity for Volume Strength: More transperent color indicate less liquidity, while less transperent represent stronger volume concentrations.
Customizable Display: Users can adjust the number of displayed liquidity zones and modify colors to suit their trading style.
Real-Time Liquidity Adaptation: As price interacts with liquidity zones, the indicator updates dynamically to reflect changing market conditions.
Auto-Stopping Liquidity Zones: Liquidity boxes automatically stop extending to the right once price crosses them, preventing outdated zones from interfering with live market action.
Trend Analysis with EMAs: Includes two optional EMAs (fast and slow) to help traders analyze market trends. Users can enable or disable these EMAs in the settings and use crossover signals for trend confirmation.
🔵Usage:
Identify Key Liquidity Areas: Use color intensity and transparency levels to determine high-impact liquidity zones.
Support & Resistance Confirmation: Liquidity zones can act as potential support and resistance levels, enhancing trade decision-making.
Market Structure Analysis: Observe how price interacts with liquidity to anticipate breakout or reversal points.
Scalping & Swing Trading: Works for both short-term and long-term traders looking for liquidity-based trade setups.
Liquidation Map Insight: A liquidity map highlights areas where large amounts of leveraged positions (both long and short) are likely to get liquidated. Since many traders use leverage, sharp price movements can trigger a cascade of liquidations, leading to rapid price surges or drops. Monitoring these liquidity zones and trends helps traders anticipate where price might react strongly.
Liquidity Location Detector is an essential tool for traders seeking to map out potential liquidity zones, providing deeper insights into market structure and trading volume dynamics.
Daily Standard Deviation (fadi)The Daily Standard Deviation indicator uses standard deviation to map out daily price movements. Standard deviation measures how much prices stray from their average—small values mean steady trends, large ones mean wild swings. Drawing from up to 20 years of data, it plots key levels using customizable Fibonacci lines tied to that standard deviation, giving traders a snapshot of typical price behavior.
These levels align with a bell curve: about 68% of price moves stay within 1 standard deviation, 95% within roughly 2, and 99.7% within roughly 3. When prices break past the 1 StDev line, they’re outliers—only 32% of moves go that far. Prices often snap back to these lines or the average, though the reversal might not happen the same day.
How Traders Use It
If prices surge past the 1 StDev line, traders might wait for momentum to fade, then trade the pullback to that line or the average, setting a target and stop.
If prices dip below, they might buy, anticipating a bounce—sometimes a day or two later. It’s a tool to spot overstretched prices likely to revert and/or measure the odds of continuation.
Settings
Open Hour: Sets the trading day’s start (default: 18:00 EST).
Show Levels for the Last X Days: Displays levels for the specified number of days.
Based on X Period: Number of days to calculate standard deviation (e.g., 20 years ≈ 5,040 days). Larger periods smooth out daily level changes.
Mirror Levels on the Other Side: Plots symmetric positive and negative levels around the average.
Fibonacci Levels Settings: Defines which levels and line styles to show. With mirroring, negative values aren’t needed.
Overrides: Lets advanced users input custom standard deviations for specific tickers (e.g., NQ1! at 0.01296).
CCI with Signals & Divergence [AIBitcoinTrend]👽 CCI with Signals & Divergence (AIBitcoinTrend)
The Hilbert Adaptive CCI with Signals & Divergence takes the traditional Commodity Channel Index (CCI) to the next level by dynamically adjusting its calculation period based on real-time market cycles using Hilbert Transform Cycle Detection. This makes it far superior to standard CCI, as it adapts to fast-moving trends and slow consolidations, filtering noise and improving signal accuracy.
Additionally, the indicator includes real-time divergence detection and an ATR-based trailing stop system, helping traders identify potential reversals and manage risk effectively.
👽 What Makes the Hilbert Adaptive CCI Unique?
Unlike the traditional CCI, which uses a fixed-length lookback period, this version automatically adjusts its lookback period using Hilbert Transform to detect the dominant cycle in the market.
✅ Hilbert Transform Adaptive Lookback – Dynamically detects cycle length to adjust CCI sensitivity.
✅ Real-Time Divergence Detection – Instantly identifies bullish and bearish divergences for early reversal signals.
✅ Implement Crossover/Crossunder signals tied to ATR-based trailing stops for risk management
👽 The Math Behind the Indicator
👾 Hilbert Transform Cycle Detection
The Hilbert Transform estimates the dominant market cycle length based on the frequency of price oscillations. It is computed using the in-phase and quadrature components of the price series:
tp = (high + low + close) / 3
smooth = (tp + 2 * tp + 2 * tp + tp ) / 6
detrender = smooth - smooth
quadrature = detrender - detrender
inPhase = detrender + quadrature
outPhase = quadrature - inPhase
instPeriod = 0.0
deltaPhase = math.abs(inPhase - inPhase ) + math.abs(outPhase - outPhase )
instPeriod := nz(3.25 / deltaPhase, instPeriod )
dominantCycle = int(math.min(math.max(instPeriod, cciMinPeriod), 500))
Where:
In-Phase & Out-Phase Components are derived from a detrended version of the price series.
Instantaneous Frequency measures the rate of cycle change, allowing the CCI period to adjust dynamically.
The result is bounded within a user-defined min/max range, ensuring stability.
👽 How Traders Can Use This Indicator
👾 Divergence Trading Strategy
Bullish Divergence Setup:
Price makes a lower low, while CCI forms a higher low.
Buy signal is confirmed when CCI shows upward momentum.
Bearish Divergence Setup:
Price makes a higher high, while CCI forms a lower high.
Sell signal is confirmed when CCI shows downward momentum.
👾 Trailing Stop & Signal-Based Trading
Bullish Setup:
✅ CCI crosses above -100 → Buy signal.
✅ A bullish trailing stop is placed at Low - (ATR × Multiplier).
✅ Exit if the price crosses below the stop.
Bearish Setup:
✅ CCI crosses below 100 → Sell signal.
✅ A bearish trailing stop is placed at High + (ATR × Multiplier).
✅ Exit if the price crosses above the stop.
👽 Why It’s Useful for Traders
Hilbert Adaptive Period Calculation – No more fixed-length periods; the indicator dynamically adapts to market conditions.
Real-Time Divergence Alerts – Helps traders anticipate market reversals before they occur.
ATR-Based Risk Management – Stops automatically adjust based on volatility.
Works Across Multiple Markets & Timeframes – Ideal for stocks, forex, crypto, and futures.
👽 Indicator Settings
Min & Max CCI Period – Defines the adaptive range for Hilbert-based lookback.
Smoothing Factor – Controls the degree of smoothing applied to CCI.
Enable Divergence Analysis – Toggles real-time divergence detection.
Lookback Period – Defines the number of bars for detecting pivot points.
Enable Crosses Signals – Turns on CCI crossover-based trade signals.
ATR Multiplier – Adjusts trailing stop sensitivity.
Disclaimer: This indicator is designed for educational purposes and does not constitute financial advice. Please consult a qualified financial advisor before making investment decisions.
Supertrend Trading✨ Supertrend Trading by Mars ✨
This indicator is an extension to the popular Supertrend indicator, adding trading information (long only) and a built-in backtest feature that helps you find the best stocks to trade using the Supertrend strategy.
Core Features
Clear entry signals (🟢) when trend turns bullish (with alert)
Clear exit signals (🔴) when trend reverses or stop loss is hit (with alert)
Built-in statistics table showing win rate, profit factor, and more
Risk:Reward visualization with target levels
Stop loss guidance with distance percentage
Active trade tracking with current P/L
How It Works
This indicator uses standard Supertrend calculation (ATR-based) to determine trend direction, but adds entry and exit rules with visual markers:
Entry Rules:
Enter long when Supertrend flips from bearish to bullish (red to green)
Entry marked with green circle (🟢)
Exit Rules:
Exit when Supertrend flips from bullish to bearish
Exit when price touches/crosses below the Supertrend line during uptrend
Exit when price gaps down below stop loss level
Exit marked with red circle (🔴)
Finding The Best Stocks
The built-in statistics table helps identify which stocks work best with the Supertrend strategy:
Look for win rates above 50%
Target profit factors above 2.0
Check for reasonable drawdowns (under 15-20%)
Review the automatic performance rating (Strong ✨, Good ✅, Mixed 📋, Poor ⚠️)
The ATR multiple used will significantly impact the trades performance, try 1.5, 2 or 3.
Risk Management Tools
The indicator provides multiple risk management features:
Stop loss line with percentage distance
R-multiple levels to visualize potential reward (1R, 2R, 3R)
Maximum drawdown tracking
Current position status with P/L percentage
Statistics Table
The backtest results display key metrics:
Total trades and win rate
Average win/loss percentages
Profit factor (total gains divided by total losses)
Maximum drawdown during trades
Average days held per trade
Usage Tips
Apply to multiple timeframes (daily/weekly recommended)
Compare backtest results across different stocks/instruments
Use R-multiple levels to set realistic profit targets
The statistics table helps identify which market environments work best
Default settings (10, 1.5) should work well for daily charts
This indicator provides a complete trading system based on Supertrend - from entry to exit, with performance tracking. The backtest feature lets you quickly test different stocks to find those that respond best to Supertrend strategy.
I welcome your feedback and suggestions!
开盘反转检测I have encountered many times that after using indicators or signals to open a position, the trend immediately reversed and I could only be stopped out.
To summarize the rules, if the current K-line is reversed from the previous K-line, and the lower shadow is very short, and the reversal strength is very large, then a signal is sent.
This is only a stop-loss indicator and cannot be used as an opening indicator!
遇到很多次, 使用指标或者信号开仓后, 走势立马反转, 最终只能被止损,
总结规律, 当前k线如果与前一根k线形势反转, 且下影线很短, 反转强度又很大, 则发送信号,
这只是一个止损指标, 不能作为开仓指标!
StDev 2.0Standard Deviation indicator with an option to anchor from Open or EQ (middle of period resolution conducting analysis). The standard deviations are derived from the true range of the most recent resolution and applied to the forth coming period. For instance if you select daily then the analysis will use yesterday true range to derive the standard deviations and anchor them off the open of the new day or off the mid point from the prior days true range. Or if you choose 4 hour time period then it will derive standard deviation levels for the forth coming 4 hour period off the true range of the 4 hour period that just ended.
Additionally you can choose to view as lines that are unconnected period to period or connect them and view as channels. If viewing as channels it is recommended to limit to out edge standard deviation levels.
As a note, you will notice if anchored off EQ that the high and low are the same as the +-0.5 standard deviation thus proving the math is aligned.
Multi-Filter Momentum OscillatorMulti-Filter Momentum Oscillator
Description
The Multi-Filter Momentum Oscillator is an advanced technical indicator that leverages multiple moving average filters to identify trend strength, momentum shifts, and potential reversal points in price action. This indicator combines a cluster-based approach with momentum analysis to provide traders with a comprehensive view of market conditions.
Key Components
Filter Cluster Analysis: The indicator creates an array of moving averages with different periods using your choice of filter (PhiSmoother, EMA, DEMA, TEMA, WMA, or SMA). These filters form a cluster that helps identify the underlying trend direction.
Composite Score: The relative positions of these filters are analyzed to generate a net score, which represents the overall trend strength and direction.
Signal Line: A smoothed version of the composite score that helps identify momentum shifts.
Four-Color Histogram: Visualizes the relationship between the score and signal line with four distinct colors:
Bright Green (Bullish Rising): Positive momentum that is accelerating
Olive Green (Bullish Falling): Positive momentum that is decelerating
Dark Red (Bearish Rising): Negative momentum that is improving
Bright Red (Bearish Falling): Negative momentum that is worsening
LazyLine Overlay: An additional triple-smoothed WMA that can be displayed on the price chart to visualize the dominant trend.
Trading Applications
Trend Direction: The oscillator's position above or below zero indicates the prevailing trend direction.
Momentum Shifts: The histogram's color changes signal momentum shifts before they become apparent in price.
Divergence Detection: Compare oscillator peaks/troughs with price action to identify potential divergences.
Overbought/Oversold Conditions: Extreme readings near the upper and lower threshold levels can indicate potential reversal zones.
Trend Confirmation: The LazyLine overlay confirms the broader trend direction on the price chart.
Customization Options
The indicator offers extensive customization through multiple parameters:
Filter type selection (PhiSmoother, EMA, DEMA, TEMA, WMA, SMA)
Cluster dispersion and trim settings
Post-smoothing options
Signal line parameters
Threshold levels
Color preferences for various elements
Histogram width and visibility
Optional swing signals with customizable placement
Modes
Trend Strength Mode: Focuses on the directional movement of the filter cluster.
Volatility Mode: Weights the score based on the bandwidth of the filter cluster, making it more responsive during volatile periods.
This versatile oscillator combines elements of trend following, momentum analysis, and volatility assessment to provide traders with actionable signals across different market conditions. The four-color histogram adds another dimension to traditional oscillator analysis by visually representing both the direction and strength of momentum shifts.
Avi - Trendlines EnhancedDeveloped from open-source code by © pikusov (Diagonal Supports and Resistances), this indicator provides traders with a robust and visually intuitive method to identify and monitor key support and resistance levels. Its ability to check for multiple test touches, combined with dynamic updates, customizable visuals, and integrated alert systems, makes it an effective tool for comprehensive technical market analysis.
This advanced TradingView Pine Script indicator dynamically detects and draws support and resistance trendlines based on historical pivot points while also checking for multiple test touches. Here’s a detailed summary of its functionality:
Customizable Trendline Detection:
Historical Analysis: Users specify the number of historical bars to examine for identifying pivot points, enabling a deep scan for reliable support and resistance levels.
Pivot Lookback Settings: The primary pivot lookback period (x1) is user-defined, with a secondary period (x2) calculated as half of x1, allowing the indicator to capture both local lows and highs accurately.
Dynamic Trendline Construction and Multiple Test Validation:
Iterative Pivot Pairing: The script uses nested loops to identify pairs of pivot points (lows for support, highs for resistance) and calculates an interpolated price along the line connecting these pivots.
Testing and Updating Trendlines:
The indicator continuously checks whether the price respects the drawn trendlines.
It verifies if the trendlines have been tested multiple times by iterating through historical bars, ensuring that the level holds up under repeated tests.
When a level is retested, the trendline is updated and a test counter is incremented, thereby reinforcing the significance of the support or resistance level.
Visual Customization Options:
Line Appearance: Users can tailor the trendlines with customizable thickness, dash patterns (solid, dotted, or dashed), and specific colors for support and resistance lines.
Label Settings: Labels display the precise price levels (and optionally the number of tests), with configurable sizes and styles, offering clear visual cues on the chart.
Alerting and Confirmation Mechanisms:
Breakout Alerts: The script triggers alerts when the price action breaches a trendline. It differentiates between standard alerts and those that are volume-confirmed—where the volume exceeds a set multiple of the average—thus minimizing false signals.
RSI-Based Bar Coloring: When enabled, the Relative Strength Index (RSI) is computed, and bars at trendline test points are color-coded (dark red for overbought and dark green for oversold conditions), providing immediate visual feedback on market momentum.
Supporting Analytical Tools:
Pivot Labels: The indicator can display pivot labels using built-in functions, marking key pivot highs and lows with their corresponding price values.
Moving Averages: Two customizable moving averages (fast and slow) can be plotted (using either SMA or EMA), helping to contextualize the trendlines within the broader market trend.
Efficient Object Management:
Array-Based Storage and Cleanup: Arrays are used to store drawn objects (lines and labels), and a cleanup routine ensures that outdated objects are removed with every new bar, keeping the chart clutter-free.
Helper Functions: Utility functions such as price_at for interpolating prices along the trendline and round_to_tick for rounding values enhance the script’s precision and usability.
BTC-USDT Liquidity Trend [Ajit Pandit]his script helps traders visualize trend direction and identify liquidity zones where price might react due to past pivot levels. The color-coded candles and extended pivot lines make it easier to spot support/resistance levels and potential breakout points.
Key Features:
1. Trend Detection Using EMA
Uses two EMA calculations to determine the trend:
emaValue: Standard EMA based on length1
correction: Adjusted price movement relative to EMA
Trend: Another EMA of the corrected value
Determines bullish (signalUp) and bearish (signalDn) signals when Trend crosses emaValue.
2. Candlestick Coloring Based on Trend
Candlesticks are colored:
Uptrend → Blue (up color)
Downtrend → Pink (dn color)
Neutral → No color
3. Liquidity Zones (Pivot Highs & Lows)
Identifies pivot highs and lows using a customizable pivot length.
Draws liquidity lines:
High pivot lines (Blue, adjustable width)
Low pivot lines (Pink, adjustable width)
Extends lines indefinitely until price breaks above/below the level.
Removes broken pivot levels dynamically.
FinFluential Global M2 Money Supply // Days Offset =The "Global M2 Money Supply" indicator calculates and visualizes the combined M2 money supply from multiple countries and regions worldwide, expressed in trillions of USD.
M2 is a measure of the money supply that includes cash, checking deposits, and easily convertible near-money assets. This indicator aggregates daily M2 data from various economies, converts them into a common USD base using forex exchange rates, and plots the total as a single line on the chart.
It is designed as an overlay indicator aligned to the right scale, making it ideal for comparing global money supply trends with price action or other market data.
Key Features
Customizable Time Offset: Users can adjust the number of days to shift the M2 data forward or backward (from -1000 to +1000 days) via the indicator settings. This allows for alignment with historical events or forward-looking analysis.
Global Coverage Includes:
Eurozone: Eurozone M2 (converted via EUR/USD)
North America: United States, Canada
Non-EU Europe: Switzerland, United Kingdom, Finland, Russia
Pacific: New Zealand
Asia: China, Taiwan, Hong Kong, India, Japan, Philippines, Singapore
Latin America: Brazil, Colombia, Mexico
Middle East: United Arab Emirates, Turkey
Africa: South Africa
DOGE/USDT 5X Scalping Strategy//@version=6
strategy("DOGE/USDT 5X Scalping Strategy", overlay=true, margin_long=20, margin_short=0)
// === Core Parameters ===
fastEMA = input.int(3, "Fast EMA Length", minval=1, maxval=20)
slowEMA = input.int(8, "Slow EMA Length", minval=2, maxval=50)
trendEMA = input.int(55, "Trend EMA Length", minval=10, maxval=200)
atrPeriod = input.int(14, "ATR Period", minval=1, maxval=50)
tradeInterval = input.int(72, "Minutes Between Trades", minval=1, maxval=1440)
// Risk Management
slMultiplier = input.float(1.2, "Stop-Loss (ATR Multiple)", minval=0.5, maxval=5.0, step=0.1)
tpMultiplier = input.float(2.0, "Take-Profit (ATR Multiple)", minval=0.5, maxval=10.0, step=0.1)
riskPct = input.float(1.0, "Risk Per Trade (%)", minval=0.1, maxval=10.0, step=0.1)
leverage = 5.0 // Fixed 5x leverage
// === Calculate Indicators ===
fastLine = ta.ema(close, fastEMA)
slowLine = ta.ema(close, slowEMA)
trendLine = ta.ema(close, trendEMA)
atrValue = ta.atr(atrPeriod)
// === Visualize Indicators ===
// Using explicit colors to ensure visibility
fastColor = #2196F3 // Blue
slowColor = #FF9800 // Orange
trendColor = #757575 // Gray
p1 = plot(fastLine, "Fast EMA", color=fastColor, linewidth=2)
p2 = plot(slowLine, "Slow EMA", color=slowColor, linewidth=2)
p3 = plot(trendLine, "Trend EMA", color=trendColor, linewidth=1)
// Cross detection for visualization
crossUp = ta.crossover(fastLine, slowLine)
crossDown = ta.crossunder(fastLine, slowLine)
plotshape(crossUp, "EMA Cross Up", style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small)
plotshape(crossDown, "EMA Cross Down", style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small)
// === Trade Logic ===
// Cooldown mechanism
var int lastTradeBarIndex = 0
timeElapsed = (bar_index - lastTradeBarIndex) >= tradeInterval
noActivePosition = strategy.position_size == 0
// Entry conditions
emaCross = ta.crossover(fastLine, slowLine)
trendFilter = close > trendLine
validEntry = emaCross and trendFilter and timeElapsed and noActivePosition
// Position sizing calculation
equity = strategy.equity
riskAmount = equity * (riskPct / 100)
stopDistance = atrValue * slMultiplier
positionSize = math.round((riskAmount / stopDistance) * leverage) // Round to whole tokens for DOGE
// Visualize entry signals
plotshape(validEntry, "Entry Signal", style=shape.circle, location=location.belowbar, color=color.lime, size=size.normal)
// === Strategy Execution ===
if (validEntry)
// Entry
strategy.entry("Long", strategy.long, qty=positionSize)
// Set exit points
stopPrice = close - (atrValue * slMultiplier)
targetPrice = close + (atrValue * tpMultiplier)
strategy.exit("Exit", "Long", stop=stopPrice, limit=targetPrice)
// Reset cooldown timer
lastTradeBarIndex := bar_index
// Draw stop and target levels for visualization
line.new(bar_index, stopPrice, bar_index+20, stopPrice, color=color.red, width=1)
line.new(bar_index, targetPrice, bar_index+20, targetPrice, color=color.green, width=1)
Time Box Breakout IndicatorPlots Boxes with breakout signals on whatever timeframe the user selects.
Allows for users to see higher timeframe ranges on lower timeframes.
Useful for scalpers taking advantage of momentum, combined with support and resistance on higher timeframes.
Aids in visualizing risk, ranges and trends.
Angel Signal proAngel Signal Pro is a comprehensive technical analysis tool that integrates multiple indicators to provide a structured market assessment.
RSI, MACD, and ADX – evaluate trend strength and identify potential entry and exit points.
Momentum and ATR – measure price acceleration and volatility, assisting in risk management.
Stochastic Oscillator – detects overbought and oversold conditions.
SMA (50, 100, 200) – allows tracking of key moving averages with the option to enable all at once.
Cryptocurrency price display – select and monitor real-time prices of any cryptocurrency available on the BINANCE exchange.
Automatic trend detection – classifies trends as bullish, bearish, or neutral based on RSI and MACD signals.
Customizable table – presents key indicator values in a structured and convenient format.
Suitable for traders of all experience levels, Angel Signal Pro helps navigate market conditions with confidence.
BBVOL SwiftEdgeBBVOL SwiftEdge – Precision Scalping with Trend Awareness
Enhance your trading analysis with BBVOLK a versatile indicator designed for scalpers and short-term traders. Optimized for timeframes like the 1-minute chart, this tool integrates Bollinger Bands, volume analysis, and trend-aware signals to provide potential entry points while visually indicating market direction through colored candlesticks. Suitable for forex, crypto, and stocks, it supports informed decision-making across various markets.
What Does BBVOL Do?
Potential Entry Points: Identifies "Buy Point" and "Sell Point" labels near the lower and upper Bollinger Bands, filtered by trend momentum and volume strength. Ideal for analyzing quick market moves.
Trend Visualization with Colored Candles: Gain insight into market direction with candlestick coloring:
Green Candles: Price is above the trend baseline (blue line), suggesting a bullish tendency.
Red Candles: Price is below the baseline, indicating a bearish tendency.
Purple Candles: Price is consolidating near the baseline, highlighting potential ranging conditions.
Volume-Based Confirmation: Signals are supported by buy and sell volume percentages, aligning with market momentum.
Trend Support with EMA: An Exponential Moving Average (EMA) helps filter signals based on short-term trend direction.
Customizable Settings: Adjust Bollinger Bands length, multiplier, volume thresholds, and EMA length to suit your trading style and market conditions
Strategy Overview
HeikinBBVolStrategy is designed for scalping and short-term trading, especially on 1-minute charts. The approach utilizes:
Bollinger Bands to detect overbought and oversold conditions, offering potential entry points at band crossings.
Heikin Ashi Filtering: Employs Heikin Ashi calculations to confirm trend direction for signal reliability.
Volume Analysis to validate momentum with buy or sell volume thresholds.
EMA Trend Support to align trades with the short-term trend.
Trend Coloring to visually distinguish trending and consolidating markets, aiding in trade planning.
Simple Gap IndicatorThe Simple Gap Indicator is a powerful tool designed to detect and visualize price gaps in the market, helping traders identify key levels of support and resistance. Whether you're analyzing gap-up or gap-down scenarios, this indicator provides clear visual cues to enhance your trading decisions.
Key Features:
Gap Detection: Automatically identifies gap-up and gap-down events based on user-defined sensitivity.
Customizable Display Styles: Choose between lines or boxes to represent gaps visually, depending on your preference.
Extend Options: Control how far the lines or boxes extend on the chart (None, Right, Left, Both).
User-Friendly Inputs: Adjust the number of bars to examine and sensitivity to gap size for precise customization.
Dynamic Visualization:
Gap-Up Events: Highlighted in green for easy identification of bullish gaps.
Gap-Down Events: Highlighted in red for bearish gaps.
AVWAP Band✨ AVWAP Band by Mars ✨
The AVWAP Band indicator eliminates the guesswork of selecting multipliers for your VWAP analysis. Instead of using arbitrary deviations, this indicator provides three distinct VWAP lines calculated from different price points - giving you a complete VWAP band with just one tool.
What Makes This Different From Standard VWAP
Traditional VWAP indicators use multipliers (1.0, 2.0, 3.0) which require constant adjustment across different markets and timeframes. The AVWAP Band simplifies this by using natural price points:
Low-based VWAP (green) - acts as support
High-based VWAP (red) - acts as resistance
HL2-based VWAP (gray) - acts as the centerline
Key Features
Reduces cognitive load - no more guessing which multiplier to use
User-selected anchor point (click to set date)
Customizable colors and line styles
Built-in alerts for all crossover/crossunder events
Visual anchor point marker
How To Use It
After adding the indicator to your chart, you have to click on your anchor point
Watch for price reactions at each VWAP line
Look for crossovers between price and the different VWAPs
Use the HL2 VWAP as a centerline to determine overall bias
Trading Applications
Support/Resistance levels for intraday trading
Mean-reversion signals when price touches band extremes
Trend confirmation when price holds above/below centerline
Range identification between upper and lower bands
Volatility assessment based on band width
Customization Options
Toggle each VWAP line individually
Adjust line colors to match your chart theme
Control line width and transparency
Enable/disable anchor point label
This indicator simplifies VWAP analysis by giving you natural price-based bands without the need to adjust multipliers across different markets. The high, low, and HL2 sources create a complete VWAP picture with just one tool.
VIDEO
Feedback and suggestions welcome!
UT Bot Alerts – Time Filtered with ExitsThis indicator combines several technical approaches to generate precise entry and exit signals, while incorporating time filters that ensure signals are sent only during desired time windows and with defined cooldown periods. It is based on the original idea by QuantNomad.
Main Components:
ATR-based Trailing Stop:
Using the Average True Range (ATR) and an adjustable multiplier ("Key Value"), a dynamic trailing stop is calculated that adapts to the current price. This trailing stop forms the basis for the signal generation.
EMA-based Entry Signals:
A very short exponential moving average (EMA, period 1) is used in combination with the trailing stop to identify clear buy (long) and sell (short) signals via crossovers. An additional buffer zone helps reduce false signals.
Persistent Trade State:
The current state (long, short, or neutral) is maintained so that the system remains in the trend until a new signal is generated.
Linear Regression as Reference:
A linear regression line computed over a defined period serves as a reference for determining exit levels.
Exit Signals with Delay:
Exit signals are generated when the price deviates from the linear regression line by a defined percentage (Exit Signal Deviation) and the condition persists for at least a specified number of bars (Exit Signal Delay). Only one exit signal is issued per trade to avoid excessive exits.
Time Filters and Cooldown:
Session Filter: A user-defined session (e.g., "2200-0500") can disable signals during specified periods.
Cooldown Period: After a signal is triggered, a cooldown phase (in minutes) can be set during which no new signals are sent.
Visual Display and Alerts:
Entry Signals: Buy and sell signals are displayed as labels (green for long, red for short).
Exit Signals: Exit signals appear as triangles, with the exit long signal text displayed in white.
Reference Lines:
The upper exit level (Exit Short Level) is drawn as a solid line in turquoise (color.aqua).
The lower exit level (Exit Long Level) is drawn as a solid line in yellow.
Additionally, the ATR trailing stop and the linear regression line are clearly plotted on the chart.
Alerts can be configured for all signal types.
In Summary:
The indicator delivers precise entry signals based on an ATR trailing stop and a short EMA, supplemented by dynamic exit levels determined via linear regression. With integrated time filters (session and cooldown) and a flexible exit mechanism, this indicator offers controlled trade management—ideal for traders who wish to receive signals only during desired time periods.
Original Author: QuantNomad
Supertrend TP SL (PRO)2. Main Components:
Supertrend Indicator:
Theoretical basis: The Supertrend indicator is based on two main concepts: Average True Range (ATR) and Factor. ATR measures the extent of price fluctuations in a given period of time, while Factor determines the sensitivity of the indicator to price changes.
Mechanism of operation: The indicator calculates two possible lines: one line representing the potential support level and another line representing the potential resistance level. The selection of the appropriate line depends on the current price direction. When the price is above the line, the indicator is considered to be in an uptrend, and vice versa.
Customizable inputs:
atrPeriod: Allows the trader to specify the time period for calculating the ATR. Shorter periods make the indicator more sensitive to price changes, while longer periods reduce its sensitivity.
factor: Allows the adjustment of the factor. Higher values make the indicator less likely to give false signals, but they may also delay entry signals.
Risk Management:
Take Profit and Stop Loss Orders:
TPPoints: Specifies the distance between the entry price and the take profit level. This distance is expressed in points, and is converted to an actual price value using syminfo.mintick (the smallest possible price movement of the traded asset).
SLPoints: Specifies the distance between the entry price and the stop loss level.
Importance: These orders allow the trader to specify the maximum loss he is willing to take and the profit target he is aiming to achieve, which helps in effective risk management.
Activate/Disable Trades:
isLongEnabled: Allows buy trades to be enabled or disabled, which allows the trader to trade in one direction only (for example, only trade in the uptrend during a bull market).
isShortEnabled: Allows sell trades to be enabled or disabled.
isTakeProfitEnabled: Allows take profit orders to be enabled or disabled. The trader may wish to disable them if he prefers to manage his trades manually.
isStopLossEnabled: Allows you to enable or disable stop loss orders. Although disabling them may seem tempting in some cases, it is a very risky move.
Visual Customization:
Line Style and Width:
lineStyle: Allows the trader to choose the style of lines used to draw TP and SL levels (Solid, Dashed, Dotted).
lineWidth: Sets the thickness of the lines.
Label Size:
labelSize: Allows you to set the size of the labels that display TP and SL levels (Small, Normal, Large).
Colors:
bullColor, bearColor, tpColor, slColor: Allows the trader to customize the colors of the different elements on the chart, making visual analysis easier.
3. Strategy Logic:
Determining Entry Signals: The strategy relies on the Supertrend indicator to determine entry signals. When the Supertrend trend changes from bearish to bullish, a buy trade is triggered (if isLongEnabled is enabled). When the trend changes from bullish to bearish, a sell trade is triggered (if isShortEnabled is enabled).
Order Execution: Once the entry signal is triggered, the strategy automatically places buy or sell orders.
Trade Management: After opening a trade, the strategy monitors the price and automatically triggers Take Profit and Stop Loss orders if the price reaches the specified levels.
Visualization: The strategy displays useful information on the chart, such as TP and SL lines, entry and exit signals, which helps the trader understand the strategy’s behavior and evaluate its performance.
4. Advanced Tips:
Optimizing Settings: The strategy’s performance can be improved by adjusting different input values. For example, the trader can experiment with different values for atrPeriod and factor to improve the accuracy of Supertrend signals.
Combining Indicators: This strategy can be combined with other indicators to improve the accuracy of entry signals. For example, the Relative Strength Index (RSI) can be used to confirm Supertrend signals.
Time Analysis: The strategy’s performance can be analyzed over different time periods to evaluate its effectiveness in various market conditions.
Strategy Testing: Before using the strategy in real trading, it should be tested on historical data (Backtesting) to evaluate its performance and determine the optimal settings.
5. Associated Risks:
False Signals: The Supertrend indicator may sometimes give false signals, especially in volatile markets.
Losses: Even with the use of stop loss orders, the trader may be exposed to significant losses.
Over-optimization: Over-optimization of settings on historical data may lead to misleading results. The trader should be careful about generalizing the results to future data.
Over-reliance on automation: The automated strategy should not be relied upon completely. The trader should monitor the trades and make appropriate decisions when necessary.
6. Disclaimer:
I am not a licensed financial advisor. This strategy is provided for educational and illustrative purposes only and should not be considered as investment advice. Trading in financial markets involves significant risks and you may lose your invested capital. Before making any investment decisions, consult a qualified financial advisor and conduct your own research. You alone are responsible for your trading decisions and their results. By using this strategy, you acknowledge and agree that I am not responsible for any losses or damages you may incur.
2. المكونات الرئيسية:
مؤشر Supertrend:
الأساس النظري: يعتمد مؤشر Supertrend على مفهومين رئيسيين هما: متوسط المدى الحقيقي (Average True Range - ATR) ومعامل الضرب (Factor). ATR يقيس مدى تقلبات الأسعار في فترة زمنية محددة، بينما Factor يحدد مدى حساسية المؤشر لتغيرات الأسعار.
آلية العمل: يقوم المؤشر بحساب خطين محتملين: خط يمثل مستوى الدعم المحتمل وخط آخر يمثل مستوى المقاومة المحتمل. يعتمد اختيار الخط المناسب على اتجاه السعر الحالي. عندما يكون السعر أعلى من الخط، يعتبر المؤشر في اتجاه صاعد، والعكس صحيح.
المدخلات القابلة للتخصيص:
atrPeriod: يتيح للمتداول تحديد الفترة الزمنية لحساب ATR. الفترات الأقصر تجعل المؤشر أكثر حساسية لتغيرات الأسعار، بينما الفترات الأطول تقلل من حساسيته.
factor: يسمح بتعديل معامل الضرب. القيم الأعلى تجعل المؤشر أقل عرضة لإعطاء إشارات خاطئة، ولكنها قد تؤخر أيضًا إشارات الدخول.
إدارة المخاطر:
أوامر جني الأرباح وإيقاف الخسارة:
TPPoints: يحدد المسافة بين سعر الدخول ومستوى جني الأرباح. يتم التعبير عن هذه المسافة بالنقاط (Points)، ويتم تحويلها إلى قيمة سعرية فعلية باستخدام syminfo.mintick (أصغر حركة سعرية ممكنة للأصل المتداول).
SLPoints: يحدد المسافة بين سعر الدخول ومستوى إيقاف الخسارة.
الأهمية: تتيح هذه الأوامر للمتداول تحديد الحد الأقصى للخسارة التي يرغب في تحملها والهدف الربحي الذي يسعى لتحقيقه، مما يساعد على إدارة المخاطر بشكل فعال.
تفعيل/تعطيل الصفقات:
isLongEnabled: يسمح بتفعيل أو تعطيل صفقات الشراء، مما يمكن المتداول من التداول في اتجاه واحد فقط (على سبيل المثال، التداول فقط في الاتجاه الصاعد خلال سوق صاعدة).
isShortEnabled: يسمح بتفعيل أو تعطيل صفقات البيع.
isTakeProfitEnabled: يسمح بتفعيل أو تعطيل أوامر جني الأرباح. قد يرغب المتداول في تعطيلها إذا كان يفضل إدارة صفقاته يدويًا.
isStopLossEnabled: يسمح بتفعيل أو تعطيل أوامر إيقاف الخسارة. على الرغم من أن تعطيلها قد يبدو مغريًا في بعض الحالات، إلا أنه يعتبر خطوة محفوفة بالمخاطر للغاية.
التخصيص المرئي:
نمط وعرض الخطوط:
lineStyle: يتيح للمتداول اختيار نمط الخطوط المستخدمة لرسم مستويات TP و SL (Solid, Dashed, Dotted).
lineWidth: يحدد سمك الخطوط.
حجم الملصقات:
labelSize: يسمح بتحديد حجم الملصقات التي تعرض مستويات TP و SL (Small, Normal, Large).
الألوان:
bullColor, bearColor, tpColor, slColor: تتيح للمتداول تخصيص ألوان العناصر المختلفة على الرسم البياني، مما يسهل عملية التحليل البصري.
3. منطق عمل الاستراتيجية:
تحديد إشارات الدخول: تعتمد الاستراتيجية على مؤشر Supertrend لتحديد إشارات الدخول. عندما يتغير اتجاه Supertrend من هابط إلى صاعد، يتم تفعيل صفقة شراء (إذا كانت isLongEnabled مفعلة). وعندما يتغير الاتجاه من صاعد إلى هابط، يتم تفعيل صفقة بيع (إذا كانت isShortEnabled مفعلة).
تنفيذ الأوامر: بمجرد تفعيل إشارة الدخول، تقوم الاستراتيجية بوضع أوامر الشراء أو البيع تلقائيًا.
إدارة الصفقات: بعد فتح الصفقة، تقوم الاستراتيجية بمراقبة السعر وتفعيل أوامر جني الأرباح وإيقاف الخسارة تلقائيًا في حالة وصول السعر إلى المستويات المحددة.
التمثيل المرئي: تعرض الاستراتيجية معلومات مفيدة على الرسم البياني، مثل خطوط TP و SL وإشارات الدخول والخروج، مما يساعد المتداول على فهم سلوك الاستراتيجية وتقييم أدائها.
4. نصائح متقدمة:
تحسين الإعدادات: يمكن تحسين أداء الاستراتيجية من خلال تعديل قيم المدخلات المختلفة. على سبيل المثال، يمكن للمتداول تجربة قيم مختلفة لـ atrPeriod و factor لتحسين دقة إشارات Supertrend.
الجمع بين المؤشرات: يمكن دمج هذه الاستراتيجية مع مؤشرات أخرى لتحسين دقة إشارات الدخول. على سبيل المثال، يمكن استخدام مؤشر القوة النسبية (RSI) لتأكيد إشارات Supertrend.
التحليل الزمني: يمكن تحليل أداء الاستراتيجية على مدى فترات زمنية مختلفة لتقييم مدى فعاليتها في ظروف السوق المتنوعة.
اختبار الاستراتيجية: قبل استخدام الاستراتيجية في التداول الحقيقي، يجب اختبارها على بيانات تاريخية (Backtesting) لتقييم أدائها وتحديد الإعدادات المثلى.
5. المخاطر المرتبطة:
الإشارات الخاطئة: قد يعطي مؤشر Supertrend إشارات خاطئة في بعض الأحيان، خاصة في الأسواق المتقلبة.
الخسائر: حتى مع استخدام أوامر إيقاف الخسارة، قد يتعرض المتداول لخسائر كبيرة.
التحسين المفرط: قد يؤدي التحسين المفرط للإعدادات على بيانات تاريخية إلى نتائج مضللة. يجب أن يكون المتداول حذرًا بشأن تعميم النتائج على البيانات المستقبلية.
الاعتماد الزائد على الأتمتة: يجب عدم الاعتماد بشكل كامل على الاستراتيجية الآلية. يجب على المتداول مراقبة الصفقات واتخاذ القرارات المناسبة عند الضرورة.
6. إخلاء المسؤولية:
أنا لست مستشارًا ماليًا مرخصًا. هذه الاستراتيجية مقدمة لأغراض تعليمية وتوضيحية فقط، ولا ينبغي اعتبارها نصيحة استثمارية. التداول في الأسواق المالية ينطوي على مخاطر كبيرة، وقد تخسر رأس المال المستثمر. قبل اتخاذ أي قرارات استثمارية، استشر مستشارًا ماليًا مؤهلاً وقم بإجراء بحثك الخاص. أنت وحدك المسؤول عن قراراتك التجارية ونتائجها. باستخدام هذه الاستراتيجية، فإنك تقر وتوافق على أنني لست مسؤولاً عن أي خسائر أو أضرار قد تتكبدها.
ind wfp 1.2//@version=6
indicator('ind wfp 1.2', overlay = true, max_bars_back = 300)
// Input parameters (Existing)
lookbackPeriod = input.int(50, 'Lookback Period', minval = 5, maxval = 200)
minimumPoleHeight = input.float(1.0, 'Minimum Pole Height %', minval = 0.1, maxval = 10.0)
maximumFlagDepth = input.float(75.0, 'Maximum Flag Depth %', minval = 10.0, maxval = 100.0)
// New Input Parameters for Trend Detection
shortTermN = input.int(5, 'Short-term Pivot Lookback', minval=1)
longTermN = input.int(20, 'Long-term Pivot Lookback', minval=1)
// Variables (Existing)
var float wBottom1 = na
var float wTop = na
var float wBottom2 = na
var float flagHigh = na
var float flagLow = na
var int wBottom1Bar = na
var int wTopBar = na
var int wBottom2Bar = na
var int flagStartBar = na
var int flagEndBar = na
var bool flagDetected = false
var bool patternValid = false
var bool plotBreakout = false
// New Variables for Trend and Support/Resistance
var array shortTermHighs = array.new_float(0)
var array shortTermHighBars = array.new_int(0)
var array shortTermLows = array.new_float(0)
var array shortTermLowBars = array.new_int(0)
var array longTermHighs = array.new_float(0)
var array longTermHighBars = array.new_int(0)
var array longTermLows = array.new_float(0)
var array longTermLowBars = array.new_int(0)
var line shortTermUptrendLine = na
var line shortTermDowntrendLine = na
var line longTermUptrendLine = na
var line longTermDowntrendLine = na
var line shortTermSupport = na
var line shortTermResistance = na
var line longTermSupport = na
var line longTermResistance = na
// W Pattern Detection (only on new bars) - Unchanged
if barstate.islast
for i = 1 to math.min(lookbackPeriod - 1, bar_index) by 1
if low < low and low < low and na(wBottom1)
wBottom1 := low
wBottom1Bar := bar_index - i
label.new(wBottom1Bar, low , 'W1', color = color.green, textcolor = color.white, style = label.style_label_up)
continue
if high > high and high > high and not na(wBottom1) and na(wTop)
wTop := high
wTopBar := bar_index - i
label.new(wTopBar, high , 'WT', color = color.red, textcolor = color.white, style = label.style_label_down)
continue
if low < low and low < low and not na(wTop) and na(wBottom2)
wBottom2 := low
wBottom2Bar := bar_index - i
label.new(wBottom2Bar, low , 'W2', color = color.green, textcolor = color.white, style = label.style_label_up)
break
// Verify W pattern - Unchanged
patternValid := false
if not na(wBottom1) and not na(wTop) and not na(wBottom2)
poleHeight = (wTop - math.min(wBottom1, wBottom2)) / math.min(wBottom1, wBottom2) * 100
if poleHeight >= minimumPoleHeight
patternValid := true
label.new(bar_index, high, 'W Valid', color = color.blue, textcolor = color.white, style = label.style_label_down)
// Flag Detection - Unchanged
if patternValid
flagHigh := wTop
flagLow := wTop
flagStartBar := wBottom2Bar
flagDetected := false
for i = math.max(0, bar_index - wBottom2Bar - 1) to 0
if high > wTop
flagEndBar := bar_index - i
break
flagHigh := math.max(flagHigh, high )
flagLow := math.min(flagLow, low )
flagDepth = (wTop - flagLow) / (wTop - math.min(wBottom1, wBottom2)) * 100
if flagDepth <= maximumFlagDepth
flagDetected := true
label.new(flagStartBar, flagHigh, 'Flag', color = color.yellow, textcolor = color.black, style = label.style_label_down)
else
break
// Breakout Detection - Unchanged
plotBreakout := patternValid and flagDetected and close > flagHigh and close <= flagHigh
if plotBreakout
label.new(bar_index, close, 'Breakout', color = color.blue, textcolor = color.white, style = label.style_label_up)
// Plotting (in global scope) - Unchanged
plotshape(patternValid ? wBottom1Bar : na, 'Bottom1', shape.triangleup, location.belowbar, color.green, size = size.tiny)
plotshape(patternValid ? wTopBar : na, 'Top', shape.triangledown, location.abovebar, color.red, size = size.tiny)
plotshape(patternValid ? wBottom2Bar : na, 'Bottom2', shape.triangleup, location.belowbar, color.green, size = size.tiny)
line.new(patternValid ? wBottom1Bar : na, patternValid ? wBottom1 : na, patternValid ? wTopBar : na, patternValid ? wTop : na, color = color.blue, width = 2)
box.new(left = flagDetected and not na(flagEndBar) ? flagStartBar : na, top = flagDetected and not na(flagEndBar) ? flagHigh : na, right = flagDetected and not na(flagEndBar) ? flagEndBar : na, bottom = flagDetected and not na(flagEndBar) ? flagLow : na, bgcolor = color.new(color.yellow, 80), border_color = color.yellow)
plotshape(plotBreakout ? bar_index : na, 'Breakout', shape.labelup, location.belowbar, color.blue, size = size.small)
// Reset variables after breakout - Unchanged
if patternValid and flagDetected and close > flagHigh
wBottom1 := na
wTop := na
wBottom2 := na
flagHigh := na
flagLow := na
wBottom1Bar := na
wTopBar := na
wBottom2Bar := na
flagStartBar := na
flagEndBar := na
flagDetected := false
patternValid := false
plotBreakout := false
// Alert - Unchanged
alertcondition(plotBreakout, 'Breakout', 'W Pattern Flag Breakout')
// New Code: Swing Detection
shortTermHigh = ta.pivothigh(high, shortTermN, shortTermN)
shortTermLow = ta.pivotlow(low, shortTermN, shortTermN)
longTermHigh = ta.pivothigh(high, longTermN, longTermN)
longTermLow = ta.pivotlow(low, longTermN, longTermN)
// Update Arrays with Pivot Points
if not na(shortTermHigh)
array.push(shortTermHighs, shortTermHigh)
array.push(shortTermHighBars, bar_index - shortTermN)
if not na(shortTermLow)
array.push(shortTermLows, shortTermLow)
array.push(shortTermLowBars, bar_index - shortTermN)
if not na(longTermHigh)
array.push(longTermHighs, longTermHigh)
array.push(longTermHighBars, bar_index - longTermN)
if not na(longTermLow)
array.push(longTermLows, longTermLow)
array.push(longTermLowBars, bar_index - longTermN)
// Update Short-term Trend Lines
if array.size(shortTermLowBars) >= 2
x1 = array.get(shortTermLowBars, array.size(shortTermLowBars)-2)
y1 = array.get(shortTermLows, array.size(shortTermLows)-2)
x2 = array.get(shortTermLowBars, array.size(shortTermLowBars)-1)
y2 = array.get(shortTermLows, array.size(shortTermLows)-1)
if na(shortTermUptrendLine)
shortTermUptrendLine := line.new(x1, y1, x2, y2, extend=extend.right, color=color.lime)
else
line.set_xy1(shortTermUptrendLine, x1, y1)
line.set_xy2(shortTermUptrendLine, x2, y2)
if array.size(shortTermHighBars) >= 2
x1 = array.get(shortTermHighBars, array.size(shortTermHighBars)-2)
y1 = array.get(shortTermHighs, array.size(shortTermHighs)-2)
x2 = array.get(shortTermHighBars, array.size(shortTermHighBars)-1)
y2 = array.get(shortTermHighs, array.size(shortTermHighs)-1)
if na(shortTermDowntrendLine)
shortTermDowntrendLine := line.new(x1, y1, x2, y2, extend=extend.right, color=color.orange)
else
line.set_xy1(shortTermDowntrendLine, x1, y1)
line.set_xy2(shortTermDowntrendLine, x2, y2)
// Update Long-term Trend Lines
if array.size(longTermLowBars) >= 2
x1 = array.get(longTermLowBars, array.size(longTermLowBars)-2)
y1 = array.get(longTermLows, array.size(longTermLows)-2)
x2 = array.get(longTermLowBars, array.size(longTermLowBars)-1)
y2 = array.get(longTermLows, array.size(longTermLows)-1)
if na(longTermUptrendLine)
longTermUptrendLine := line.new(x1, y1, x2, y2, extend=extend.right, color=color.green)
else
line.set_xy1(longTermUptrendLine, x1, y1)
line.set_xy2(longTermUptrendLine, x2, y2)
if array.size(longTermHighBars) >= 2
x1 = array.get(longTermHighBars, array.size(longTermHighBars)-2)
y1 = array.get(longTermHighs, array.size(longTermHighs)-2)
x2 = array.get(longTermHighBars, array.size(longTermHighBars)-1)
y2 = array.get(longTermHighs, array.size(longTermHighs)-1)
if na(longTermDowntrendLine)
longTermDowntrendLine := line.new(x1, y1, x2, y2, extend=extend.right, color=color.red)
else
line.set_xy1(longTermDowntrendLine, x1, y1)
line.set_xy2(longTermDowntrendLine, x2, y2)
// Update Support and Resistance Lines
if not na(shortTermLow)
if not na(shortTermSupport)
line.delete(shortTermSupport)
shortTermSupport := line.new(bar_index - shortTermN, shortTermLow, bar_index, shortTermLow, extend=extend.right, color=color.blue, style=line.style_dashed)
if not na(shortTermHigh)
if not na(shortTermResistance)
line.delete(shortTermResistance)
shortTermResistance := line.new(bar_index - shortTermN, shortTermHigh, bar_index, shortTermHigh, extend=extend.right, color=color.red, style=line.style_dashed)
if not na(longTermLow)
if not na(longTermSupport)
line.delete(longTermSupport)
longTermSupport := line.new(bar_index - longTermN, longTermLow, bar_index, longTermLow, extend=extend.right, color=color.navy, style=line.style_dashed)
if not na(longTermHigh)
if not na(longTermResistance)
line.delete(longTermResistance)
longTermResistance := line.new(bar_index - longTermN, longTermHigh, bar_index, longTermHigh, extend=extend.right, color=color.maroon, style=line.style_dashed)
ICT Venom model | By noteThis is ICT Venom model indicator made by Note
twitter: @thenotecrypto
the model work as follow
1. wait for a liquidity sweep
2. after a liquidity sweep wait for a bpr to form
3. after a bpr is formed take a entry on retest on the bpr
Blue candles are bullish and red candles are bearish in this indicator
this is Mark v1 and more changes are yet to come your feedback on how I can improve this will be very helpful too