MTF ATR BandsA simple but effective MTF ATR bands indicator.
The script calculate and display ATR bands low and high of the current timeframe using high, low inputs and an RMA moving average, adding to it ATR of the period multiplied with the user multiplier, default is set to 1.5.
Than is calculated a smoothed average of the range and the color of it based on its slope, same color is used to fill the atr bands.
Than the higher timeframe bands are calculated and displayed on the chart.
How can be used ?
The higher timeframe average and bands can give you long term direction of the trend and the current timeframes moving average and filling short term trend, for example using the 15 min chart with a 4h HTF bands, or an 1h with a daily, or a daily with an weekly or weekly with bi-monthly atr bands.
Also can be used as a stop loss indicator.
Hope you will like it, any question send me a PM.
Bänder und Kanäle
OrangeCandle 4EMA 55 + Fib Bands + SignalsThe script is a TradingView indicator that combines three popular technical analysis tools: Exponential Moving Averages (EMAs), Fibonacci bands, and buy/sell signals based on these indicators. Here’s a breakdown of its features:
1. EMA Settings and Calculation:
The script calculates and plots several Exponential Moving Averages (EMAs) on the chart with different lengths:
Short-term EMAs: EMA 9, EMA 13, EMA 21, and EMA 55 (used for tracking short-term price trends).
Long-term EMAs: EMA 100 and EMA 200 (used to analyze longer-term trends).
These EMAs are plotted with different colors to visually distinguish between the short-term and long-term trends.
2. Fibonacci Bands:
The script calculates Fibonacci Bands based on the Average True Range (ATR) and a Simple Moving Average (SMA).
Fibonacci factors (1.618, 2.618, 4.236, 6.854, and 11.090) are used to determine the upper and lower bounds of five Fibonacci bands.
Upper Fibonacci Bands (e.g., fib1u, fib2u) represent resistance levels.
Lower Fibonacci Bands (e.g., fib1l, fib2l) represent support levels.
These bands are plotted with different colors for each level, helping traders identify potential price reversal zones.
3. Buy and Sell Signals:
Long Condition: A buy signal occurs when the price crosses above the EMA 55 (long-term trend indicator) and is above the lower Fibonacci band (support zone).
Short Condition: A sell signal occurs when the price crosses below the EMA 55 and is below the upper Fibonacci band (resistance zone).
These conditions trigger visual signals on the chart (green arrow for long, red arrow for short).
4. Alerts:
The script includes alert conditions to notify the trader when a long or short signal is triggered based on the crossover of price and EMA 55 near the Fibonacci support or resistance levels.
Long Entry Alert: Triggers when the price crosses above the EMA 55 and is near a Fibonacci support level.
Short Entry Alert: Triggers when the price crosses below the EMA 55 and is near a Fibonacci resistance level.
5. Visualization:
EMAs are plotted with distinct colors:
EMA 9 is aqua,
EMA 13 is purple,
EMA 21 is orange,
EMA 55 is blue (with thicker line width for emphasis),
EMA 100 is gray,
EMA 200 is black.
Fibonacci bands are plotted with different colors for each level:
Fib Band 1 (upper and lower) in white,
Fib Band 2 in green (upper) and red (lower),
Fib Band 3 in green (upper) and red (lower),
Fib Band 4 in blue (upper) and orange (lower),
Fib Band 5 in purple (upper) and yellow (lower).
Summary:
This script provides a comprehensive strategy for analyzing the market with multiple EMAs for trend detection, Fibonacci bands for support/resistance, and signals based on price action in relation to these indicators. The combination of these tools can assist traders in making more informed decisions by providing potential entry and exit points on the chart.
Ehlers Instantaneous Trendline ATR LevelsOverview
This sophisticated technical analysis tool merges John Ehlers' cutting-edge Instantaneous Trendline methodology with a dynamic ATR-based bands system. The indicator is designed to provide traders with a comprehensive view of market trends while accounting for volatility, making it suitable for both trending and ranging markets. Works on all timeframes and chart types.
Key Features in Detail
1. Ehlers Instantaneous Trendline Implementation
- Advanced algorithm that reduces lag typically associated with moving averages
- Built-in volatility filtering system to minimize false signals
- Adaptive to market conditions through dynamic calculations
- Real-time trend direction identification
2. Multi-layered ATR Band System
- Hierarchical band structure with 18 total bands (9 upper, 9 lower)
- Color-coded visualization system:
Upper bands: Red gradient (darker = further from trendline)
Lower bands: Green gradient (darker = further from trendline)
Central trendline: Yellow for optimal visibility
- Customizable multipliers for each band level
- Independent visibility controls for each band
Configuration Options
Trendline Settings:
- Lower values: More responsive to price changes and faster reacting to break in ATR filter
- Higher values: Smoother trendline with less noise and slower reacting to break in ATR filter
ATR Configuration:
Period: Customizable from 1 to any positive integer
- Longer periods: More stable volatility measurement
- Shorter periods: More reactive to recent volatility changes
Filter Multiplier: Fine-tune volatility filtering
- Higher values: More filtered signals leading to less shift in bands
- Lower values: More sensitive to price movements leading to more band shifts
Practical Applications
1. Trend Analysis
Use the central trendline for primary trend direction
Monitor band crossovers for trend strength confirmation
Track price position relative to bands for trend context
2. Volatility Assessment
Band spacing indicates current market volatility
Width between bands helps identify consolidation vs. expansion phases
Price Extremes
3. Support and Resistance
Each band acts as a dynamic support/resistance level
Multiple timeframe analysis possible adjusting for different timeframe ATR
TWAP & VWAP CombinedThis script integrates Time Weighted Average Price (TWAP) and Volume Weighted Average Price (VWAP) into a single TradingView indicator, allowing traders to analyze both price-weighted and volume-weighted trends simultaneously.
Features:
TWAP Calculation:
Computes the average price over a specified anchor period (e.g., daily).
Resets and recalculates TWAP when the anchor period changes.
Uses the OHLC4 (Open, High, Low, Close average) as the default price source.
VWAP Calculation:
Computes the VWAP based on the selected anchor period (Session, Week, Month, etc.).
Allows the option to hide VWAP when the timeframe is 1D or higher.
Uses HLC3 (High, Low, Close average) as the default source.
Dynamically resets VWAP at the start of a new period.
Customization Options:
Users can modify the source price for TWAP and VWAP calculations.
Adjustable offsets for both indicators to shift plots forward or backward.
Ability to select different VWAP anchor periods, including earnings, dividends, and splits.
Error Handling:
Displays an error message if volume data is missing, ensuring VWAP functions correctly.
Mehul - ADX Zero LagThis script combines two popular technical indicators into a single visualization:
1. **Average Directional Index (ADX)**:
- Measures trend strength on a scale from 0-100 (now normalized to 0-1 by dividing by 100)
- Displayed as a red line
- Adjustable smoothing and length parameters
2. **Zero Lag MACD (Modified Moving Average Convergence Divergence)**:
- An enhanced version of the traditional MACD with reduced lag
- Shows the relationship between fast and slow moving averages
- Main components include:
- MACD line (black)
- Signal line (gray)
- Histogram (green for positive, purple for negative)
- EMA of the MACD line (red)
- Optional crossing dots
Key features of the combined indicator:
- **Scale Adjustment**: Both indicators can be scaled independently (adxScale and macdScale parameters)
- **Visibility Toggles**: Each indicator can be shown or hidden
- **Advanced Customization**: Parameters for both indicators can be fine-tuned
- **Algorithm Selection**: Option to choose between the "Glaz" algorithm or the "real" zero lag algorithm
- **Display Options**: Toggles for visualization elements like crossing dots
The most significant technical aspect is that both indicators are displayed in the same pane with compatible scaling, achieved by normalizing the ADX values and applying user-defined scale factors to both indicators.
This combined indicator is designed to give traders a comprehensive view of both trend strength (from ADX) and momentum/direction (from Zero Lag MACD) in a single, easy-to-read visualization.
Acceleration Bands HTF
This version gives you the ability to see the indicator from the HIGHER timeframes when you are on the timeframes. Please note that this is not the original formula, but a factored one that I found effective for identifying market trends. Thanks to @capissimo who provided the base open-code.
Acceleration Bands are designed to capture potential price breakouts or reversals in an asset. They are calculated based on a stock's price movements over a specified period, typically using the high, low, and closing prices. The idea is to identify moments when the price is accelerating (hence the name) beyond its normal range, which might indicate the beginning of a new trend.
Calculation
Acceleration Bands consist of three lines:
Upper Band (AB Upper): This is calculated by adding a certain percentage of the simple moving average (SMA) to the highest high over a given period.
Middle Band: This is typically the SMA of the stock's price.
Lower Band (AB Lower): This is calculated by subtracting the same percentage of the SMA from the lowest low over a given period.
Mathematically :
AB Upper = SMA + (Highest High * Percentage)
AB Lower = SMA - (Lowest Low * Percentage)
OR
Upper Band = SMA x (1 + (High - Low) / SMA)
Lower Band = SMA x (1 - (High - Low) / SMA)
Interpretation
The bands are used to identify periods when the price of a security is accelerating or decelerating:
Breakout Above Upper Band: This is usually considered a bullish signal, suggesting that the price is accelerating upwards and a new uptrend may be starting.
Breakdown Below Lower Band: This is usually considered a bearish signal, suggesting that the price is accelerating downwards and a new downtrend may be starting.
Reversal Between Bands: When the price re-enters the region between the bands after breaking out, it can be seen as a potential reversal signal.
Trading Strategy
Entry Signals:
Buy when the price breaks above the upper band.
Sell or short when the price breaks below the lower band.
Exit Signals:
Close a long position when the price falls back into the area between the bands.
Close a short position when the price rises back into the area between the bands.
Advantages
Helps capture early trends.
Can be used across various time frames and assets.
Provides clear entry and exit signals.
ReadyFor401ks Just Tell Me When!ReadyFor401ks Just Tell Me When!
LET ME START BY SAYING. NO INDICATOR WILL HELP YOU NAIL THE PERFECT ENTRY/EXIT ON A TRADE. YOU SHOULD ALWAYS EDUCATE YOURSELF AND HAVE A BASIC UNDERSTANDING OF INVESTING, TRADING, CHART ANALYSIS, AND THE RISKS INVOLVED WITH. THAT BEING SAID, WITH THE RIGHT ADJUSTMENTS, IT'S PRETTY D*$N CLOSE TO PERFECTION!
This indicator is designed to help traders identify t rend direction, continuation signals, and potential exits based on a dynamic blend of moving averages, ATR bands, and price action filters. Whether you’re an intraday trader scalping the 5-minute chart or a swing trader analyzing the weekly timeframe for LEAPS , this tool provides a clear, rule-based system to help guide your trading decisions.
⸻
Key Features & Benefits
🔹 Customizable Trend Power (Baseline) Calculation
• Choose from JMA, EMA, HMA, TEMA, DEMA, SMA, VAMA, and WMA for defining your baseline trend direction.
• The baseline helps confirm whether the market is in a bullish or bearish phase.
🔹 ATR-Based Trend Continuation & Volatility Measurement
• ATR bands dynamically adjust to market conditions, helping you spot breakouts and fakeouts.
• The indicator detects when price violates ATR range , which often signals impulse moves.
🔹 Clear Entry & Exit Signals
• Uses a Continuation MA (SSL2) to confirm trends.
• Includes a separate Exit MA (SSL3) that provides crossover signals to indicate when to exit trades or reverse positions .
• Plots trend continuation circles when ATR conditions align with trend signals.
🔹 Keltner Channel Baseline for Market Structure
• A modified Keltner Channel is integrated into the baseline to help filter out choppy conditions .
• If price remains inside the baseline, the market is in consolidation , while breakouts beyond the bands indicate strong trends .
🔹 Adaptive Color Coding for Market Conditions
• Bars change color based on momentum, making trend direction easy to read.
• Green = Bullish Trend, Red = Bearish Trend, Gray = Neutral/Chop.
🔹 Flexible Alerts for Trade Management
• Get real-time alerts when the Exit MA crosses price , helping you l ock in profits or switch directions .
⸻
How to Use This Indicator for Different Trading Styles
🟢 For Intraday Trading (5-Minute Chart Setup)
• Faster MA settings help react quickly to momentum shifts.
• Ideal for scalping breakouts, trend continuation setups, and intraday reversals.
• Watch for ATR violations and price interacting with the baseline/Keltner Channel for entries.
--------------------------------
My Settings for Intraday Trading on 5min Chart
ATR Period: 15
ATR Multi: 1
ATR Smoothing: WMA
Trend Power based off of: JMA
Trend Power Period: 30
Continuation Type: JMA
Continuation Length: 20
Calculate Exit of what MA?: HMA
Calculate Exit off what Period? 30
Source of Exit Calculation: close
JMA Phase *APPLIES TO JMA ONLY: 3
JMA Power *APPLIES TO JMA ONLY: 3
Volatility Lookback Period *APPLIES TO VAMA ONLY 30
Use True Range for Channel? Checked
Base Channel Multiplier: 0.4
ATR Continuation Criteria: 1.1
----------------------------------
🔵 For Swing Trading & LEAPS (Weekly Chart Setup - Default Settings)
• Slower MAs provide a broader view of trend structure.
• Helps capture multi-week trend shifts and confirm entry points for longer-term trades.
• Weekly ATR bands highlight when stocks are entering overextended conditions.
💡 Example:
Let’s say you’re looking at TSLA on a Weekly Chart using the default settings. You notice that price crosses above the continuation MA (SSL2) while remaining above the baseline (trend power MA). The bar turns green, and price breaks above ATR resistance, signaling a strong bullish continuation. This could be a great opportunity to enter a long-term swing trade or LEAPS options position.
On the flip side, if price reverses below the Exit MA (SSL3) and turns red while breaking the lower ATR band, it might signal a good time to exit longs or enter a short trade.
⸻
Final Thoughts
The ReadyFor401ks Just Tell Me When! indicator is an all-in-one trading system that simplifies trend-following, volatility measurement, and trade management. By integrating multiple moving average types, ATR filters, and clear visual cues, it allows traders to stay disciplined and remove emotions from their trading decisions.
✅ Perfect for scalpers, day traders, and swing traders alike!
🔔 Set up alerts for automated trade signals and never miss a key move!
💬 If you find this indicator useful, leave a comment and share how you use it in your trading! 🚀
Smart Trend Lines [The_lurker]"Smart Trend Lines" هو مؤشر متقدم مصمم لرسم خطوط الاتجاه الديناميكية تلقائيًا على الرسم البياني، مع القدرة على اكتشاف الكسور (Breakouts) بدقة باستخدام فلاتر تحليلية مثل ADX، RSI، والحجم. يوفر المؤشر ثلاثة أنواع من خطوط الاتجاه – رئيسية (Main)، متوسطة (Mid)، وقصيرة (Short) – لتلبية احتياجات المتداولين على مختلف الأطر الزمنية، سواء كانوا يركزون على الاتجاهات طويلة الأمد أو قصيرة الأمد.
كيف يعمل :
1- رسم خطوط الاتجاه:
يستخدم المؤشر نقاط الـ Pivot Highs و Pivot Lows لتحديد خطوط الاتجاه الصاعدة والهابطة تلقائيًا.
يتم رسم ثلاثة مستويات لخطوط الاتجاه بناءً على أطوال زمنية قابلة للتخصيص:
Main Trend Lines: لتحليل الاتجاهات طويلة الأمد (افتراضي: 50 شمعة).
Mid Trend Lines: للاتجاهات متوسطة المدى (افتراضي: 21 شمعة).
Short Trend Lines: للاتجاهات قصيرة المدى (افتراضي: 9 شموع).
2- اكتشاف الكسور:
يتم اكتشاف كسر خط الاتجاه عندما يتجاوز السعر (إغلاق، أعلى، أدنى - حسب اختيار المستخدم) الخط.
يتم وضع تسمية (Label) عند نقطة الكسر تحمل معلومات مختصرة عن الشروط المتحققة (مثل الحجم، ADX، RSI).
3- فلاتر التحقق:
ADX: يتحقق من قوة الاتجاه (الحد الأدنى قابل للتعديل، افتراضي: 20).
RSI: يستخدم لتصفية الكسور في مناطق التشبع الشرائي أو البيعي (حدود عليا وسفلى قابلة للتخصيص).
Volume: يقارن الحجم الحالي بالمتوسط المتحرك للحجم للتأكد من قوة الحركة.
4- التنبيهات:
يوفر تنبيهًا موحدًا عند حدوث أي كسر (شراء أو بيع) لجميع أنواع الخطوط، مع إطلاق التنبيه فقط عند شمعة الكسر.
المميزات الرئيسية
خطوط اتجاه متعددة المستويات:
ثلاثة أطوال مختلفة (رئيسية، متوسطة، قصيرة) مع إمكانية إظهارها أو إخفائها بشكل مستقل، مما يتيح المرونة للمتداولين.
تخصيص كامل:
تعديل أطوال خطوط الاتجاه (عدد الشموع).
اختيار الألوان والأنماط (متصل، متقطع، منقط) لكل نوع من الخطوط.
تحديد حجم التسميات (Tiny, Small, Normal, Large, Huge).
اختيار نوع السعر المستخدم لفحص الكسر (Close, High, Low).
فلاتر ذكية:
استخدام ADX لتأكيد قوة الاتجاه.
فلتر RSI لتجنب الإشارات في المناطق المشبعة.
مقارنة الحجم لضمان أهمية الكسر.
تسميات تفاعلية:
تظهر التسميات عند الكسر مع رموز مختصرة (V للحجم، A لـ ADX، R لـ RSI) لتوضيح الشروط المتحققة.
حجم التسميات قابل للتخصيص لتحسين الرؤية.
تنبيهات دقيقة:
تنبيه واحد موحد لجميع الكسور (شراء أو بيع) يُطلق فقط عند شمعة الكسر، مما يقلل من الإزعاج ويزيد من الكفاءة.
عرض الخطوط السابقة:
خيار اختياري لعرض خطوط الاتجاه الرئيسية السابقة لتحليل تاريخي أعمق.
الفوائد
سهولة الاستخدام: يرسم خطوط الاتجاه تلقائيًا دون الحاجة إلى رسم يدوي.
دقة عالية: الفلاتر المتعددة (ADX، RSI، Volume) تقلل من الإشارات الخاطئة وتعزز موثوقية الكسور.
مرونة كبيرة: مناسب لجميع أنواع المتداولين (Scalpers، Swing Traders، Long-term Investors) بفضل الخطوط متعددة الأطوال.
واجهة مرئية واضحة: ألوان وأنماط قابلة للتخصيص تجعل الرسم البياني سهل القراءة.
%% نصائح الاستخدام
للمتداولين قصيري الأمد: ركز على خطوط "Short" واضبط الفلاتر لتكون أكثر حساسية (مثل تقليل عتبة ADX).
للتحليل طويل الأمد: استخدم خطوط "Main" مع إعدادات افتراضية أو أطول لالتقاط الاتجاهات الكبيرة.
قم بتفعيل التنبيهات للحصول على إشعارات فورية عند حدوث كسر مؤكد.
%% الإعدادات
Main/Mid/Short Trend Line Length: اضبط طول كل خط بناءً على استراتيجيتك.
Color & Style: اختر ألوانًا وأنماطًا تناسب تفضيلاتك البصرية.
Break Check Price: حدد نوع السعر المستخدم للكسر (افتراضي: Close).
Label Size: اختر حجم التسميات حسب احتياجاتك.
Filters: فعّل أو عطّل الفلاتر وضبط العتبات (ADX، RSI، Volume) لتتناسب مع السوق.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
"Smart Trend Lines" is an advanced indicator for drawing dynamic trend lines, with the ability to detect breakouts (breakouts) using analytical filters such as ADX, RSI, etc. It provides three types of light lines - main (main), intermediate (intermediate), and short (short) - for the General Pipeline Network Company on various time frames, whether they are set on long-term or precious trends.
How it works:
1- Drawing lines for lines:
Uses the Pivot Highs and Pivot Lows indicator points for guide lines and automatic guide lines.
Three levels of guide lines are drawn along the air lines for customization:
Main trend lines: for analyzing long-term trends (default: 50 candles).
Intermediate trend lines: for medium-term trends (default: 21 candles).
Short trend lines: for short-term trends (default: 9 candles).
2- Fracture detection:
A fault is detected when the price (close, high, low - according to the user's choice) crosses the line.
A label is placed at the break point with brief information about the conditions met (such as volume, ADX, RSI).
3- Validation filters:
ADX: Checks the strength of the fault (simple limit, default: 20).
Relative Strength Index (RSI): Used to filter out fractures in the northern or eastern regions (customizable upper limits).
Volume: Compares the current volume to the moving average of the volume by the strength of the impact.
4- Alerts:
Provides a unified alert when any break (buy or sell) occurs for all types of lines, with the alert being triggered only when the break occurs.
Key features
Multiple trend lines for levels:
Three different lengths (main, medium, short) with the possibility of showing or hiding them independently, allowing traders.
Full translation:
Modify the length of the lines (number of candles).
Choose colors and styles (solid, dashed, dotted) for each type of line.
Select label size (small, small, normal, large, huge).
Select user type to check the breakout (close, high, low).
Smart filters:
Use ADX to confirm the strength of the error.
RSI filter abbreviated in environmental factors.
Compare volume and use of the breakout.
Interactive labels:
Scale labels on the breakout with special symbols (V for volume, A for ADX, R for RSI) to indicate the conditions met.
Customizable label size to customize the search.
Precise alerts:
A single unified alert for all breakouts (buy or sell) is triggered only on the breakout, choosing from celebration to protest for that.
View previous lines:
Option to select previous major lines to analyze their history.
Benefits
Ease of use: Draws freehand lines without the need to draw by hand.
High-precision: Optical filters (ADX, RSI, Volume) are effective from the effective impact and enhance the confidence of the breakouts.
Multiple options: Suitable for all types of traders (scalpers, swing traders, long-term investors) thanks to Malaysia Airlines 24/7.
Visual interface: Colors and patterns can be plotted for easy-to-read charting.
%% Tips for use
For short-term traders: Focus on the "short" lines and adjust the filters to be more visible (e.g. reduce the ADX bar).
For long-term analysis: Use the "main" lines with default or partial settings for key points.
Enable notifications for breakouts on instant notifications when absolutely necessary.
%%Except
Main/Intermediate/Short Trend Line Length: Adjust the length of each line to guide you.
Color and Style: Choose colors and styles to suit your visual preferences.
Verify Price Breakout: Select the type of price used for the breakout (default: Close).
Label Size: Choose the size of the labels as desired.
Filters: Enable or disable filters and adjust thresholds (ADX, RSI, Volume) to suit the market.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of preparation or execution of tasks or endorsed by TradingView.
Custom LevelsThe "Custom Levels" indicator is a tool designed for traders utilizing price action strategies on TradingView. Its core functionality is to dynamically plot a user-defined number of horizontal price levels above and below the current market price, based on a customizable rounding step. This allows traders to quickly identify key support and resistance zones, enhancing their ability to analyze price movements and make informed trading decisions.
How It Works
The indicator calculates levels by rounding the current closing price to the nearest multiple of the specified "Round Step" (e.g., 10.0), then generates up to 10 evenly spaced levels above and below this base. Users can adjust the number of levels (1 to 10), line color, width, and style (solid, dashed, or dotted) directly from the settings menu. Lines are updated in real-time on the last candle, ensuring they reflect the latest price action, while old lines are automatically removed to prevent clutter.
Key Features:
- Customizable rounding step for precise level placement.
- Up to 10 levels above and below the current price for comprehensive analysis.
- Flexible styling options to suit individual preferences.
- Ideal for price action traders seeking to pinpoint critical price thresholds.
ScalpZilla Strategy Claude 0.53====== ScalpZilla Strategy Description ======
ScalpZilla is an advanced algorithmic trading strategy designed for the TradingView platform.
This is a fully reversible system that automatically closes opposing positions and manages multiple trade targets with configurable take-profit and stop-loss levels.
=== STRATEGY ARCHITECTURE ===
The strategy operates with two independent signal sections that can work together or separately:
1. CROSS SECTION: Generates signals based on price crossing a user-defined source indicator
2. SEPARATE SECTION: Uses independent sources for LONG and SHORT signals
=== REVERSIBLE SYSTEM FUNCTIONALITY ===
- The strategy automatically closes all opposing positions when a new signal is triggered
- For example, if a SHORT signal is received while in a LONG position, the system will:
* Close all current LONG positions
* Open a new SHORT position
- This reversible mechanism ensures the strategy always follows the current market direction
=== CONFIRMATION MECHANISM ===
Both sections can be configured to require confirmation from each other:
- When "Use As Confirmation" is enabled for a section, its signals act as confirmation triggers
- Two confirmation modes available:
* DELAYED: Waits for confirmation, opens position either when signal arrives and confirmation exists, or when confirmation arrives for an existing signal
* IMMEDIATE: Opens position only if confirmation already exists when signal arrives, otherwise skips
This allows creating complex conditions like: "Enter LONG only when both Cross and Separate sections agree on the direction"
=== TAKE PROFIT AND STOP LOSS MANAGEMENT ===
- Multiple take-profit levels (TP1-TP5) with individual activation and percentage settings
- Position size is automatically split equally between active TP levels
- Stop-loss protection with customizable percentage-based distance from entry
- All orders are managed separately for each section to avoid conflicts
=== ALERT SYSTEM ===
The strategy includes a comprehensive alert system with formatted messages that include:
- Trading pair/symbol
- Position direction (LONG/SHORT)
- Entry price
- All take-profit target levels (TP1-TP5)
- Stop-loss level
- Recommended leverage (25x)
Three alert configuration options are available:
1. "alert() function calls only" - For entry signals only
2. "Order fills and alert() function calls" - For all events
3. "Order fills only" - For order executions only
Alerts are formatted for compatibility with Cornix automation platform.
Intraday Anchored FanSimilar to an Anchored VWAP, this lets you click a bar on an Intraday chart to add an "Anchored Fan" which displays lines at up to 6 levels above and below the chosen Anchor Point. Useful to measure the retracement during swing moves.
You can reposition the fan by either hovering over the anchor or by clicking the name of the study to "activate" it, and then dragging. You can also change the Anchor Point in Settings.
By default the anchor uses the bar Close, but you can change this manually in settings OR you can use the fancy "Auto high/low" mode which is handy if you are mainly dropping the fan on local swing highs and lows.
The default line measures were chosen for ES (Futures) but the study should be usable with nearly anything as long as you adjust the settings to something appropriate for the ticker. If you want to use this on NQ, for example, it would be reasonable to multiple each of these settings by 3.5 or so.
NOTE: If the fan is off the left side of the chart, one way to see the Anchor handle again easily is to switch to a higher timeframe; for example if you are on the 5min maybe use the 15min or hourly to find the handle -- if it is WAY off the left side (for example if you let many days pass without advancing it) it's generally easiest to use Settings to move it back to "now".
Bollinger Bands Multi TFBollinger Bands Multi TF Indicator
Overview
The Bollinger Bands Multi TF Indicator allows traders to overlay two sets of Bollinger Bands from different timeframes onto the same chart. This provides a broader market perspective by helping identify volatility and trend direction across multiple timeframes.
Features
✅ Dual Timeframe Support – Configure Bollinger Bands for two different timeframes (default: 15 min & 5 min).
✅ Customizable Moving Averages – Choose from SMA, EMA, SMMA (RMA), WMA, or VWMA as the basis line for each band.
✅ Dynamic Standard Deviation – Adjust the standard deviation multiplier for each timeframe.
✅ Visual Clarity – Different colors for each Bollinger Band set, with background filling for better visualization.
How to Use
🔹 Use the higher timeframe Bollinger Bands to identify overall trend and key resistance/support levels.
🔹 Use the lower timeframe Bollinger Bands for fine-tuned entry/exit signals within the broader trend.
🔹 A tightening of bands may indicate low volatility, signaling a potential breakout.
🔹 A widening of bands may suggest increased volatility and trend continuation.
Ideal For
📈 Intraday and swing traders looking for multi-timeframe confluence.
📊 Volatility-based traders who use Bollinger Bands for breakouts or reversals.
📍 Any trader wanting a deeper market context beyond a single timeframe.
VWAP (Enhanced)Structured VWAP Enhanced
A dynamic, multi-functional VWAP indicator designed to help traders visualize key support and resistance levels during the trading session. This indicator computes the Volume Weighted Average Price (VWAP) along with two structured bands derived from customizable multipliers based on either standard deviation or percentage. In addition, it offers the following features:
Dual Bands: Displays two bands (Band #1 and Band #2) that adapt to market volatility, each with its own customizable multiplier.
Dynamic Midlines: Plots both the original midlines (the center of each band) and enhanced midlines between the VWAP and each band edge for clearer visual cues.
Fixed Offset Bands: Includes offset lines set at a fixed 0.25% above and below the VWAP and each band level to help highlight near-term price targets.
Custom VWAP Anchoring: Supports various anchoring periods (Session, Week, Month, etc.) and special events (Earnings, Dividends, Splits) to reset VWAP calculations, making it adaptable to different trading styles.
Visual Customization: Easily toggle the display of each component (bands, midlines, enhanced midlines, and offset lines) to suit your analysis needs.
Whether you are an intraday trader or a longer-term market participant, Structured VWAP Enhanced provides a robust framework to identify price imbalances and potential turning points throughout your trading day.
Add this indicator to your chart for a comprehensive view of VWAP dynamics and structured market levels.
Median Volume Weighted DeviationMVWD (Median Volume Weighted Deviation)
The Median Volume-Weighted Deviation is a technical trend following indicator that overlays dynamic bands on the price chart, centered around a Volume Weighted Average Price (VWAP). By incorporating volume-weighted standard deviation and its median, it identifies potential overbought and oversold conditions, generating buy and sell signals based on price interactions with the bands. The fill color between the bands visually reflects the current signal, enhancing market sentiment analysis.
How it Works
VWAP Calculation: Computes the Volume-Weighted Average Price over a specific lookback period (n), emphasizing price levels with higher volume.
Volume Weighted Standard Deviation: Measures price dispersion around the VWAP, weighted by volume, over the same period.
Median Standard Deviation: Applies a median filter over (m) periods to smooth the stand deviation, reducing noise in volatility estimates.
Bands: Constructs upper and lower bands by adding and subtracting a multiplier (k) times the median standard deviation from the VWAP
Signals:
Buy Signal: Triggers when the closing price crosses above the upper band.
Sell Signal: Triggers when the closing price crosses below the lower band.
Inputs
Lookback (n): Number of periods for the VWAP and standard deviation calculations. Default is set to 14.
Median Standard Deviation (m): Periods for the median standard deviation. Default is set to 2.
Standard Deviation Multiplier (k): Multiplier to adjust band width. Default is set to 1.7 with a step of 0.1.
Customization
Increase the Lookback (n) for a smoother VWAP and broader perspective, or decrease the value for higher sensitivity.
Adjust Median Standard Deviation (m) to control the smoothness of the standard deviation filter.
Modify the multiplier (k) to widen or narrow the bands based on the market volatility preferences.
CBA Block Tops/Bottoms w/TableHow It Works
Separate Block Sizes & Pre-Calculations: • Two inputs let you set the TOP block size and the BOTTOM block size independently (default both 5). • The script pre-calculates the highest high over the TOP block and the lowest low over the BOTTOM block using ta.highest and ta.lowest.
Horizontal Line Customization: • Users can toggle each horizontal line on or off (via showTopLine and showBottomLine). • Colors, widths, and line styles (Solid, Dotted, or Dashed) for TOP and BOTTOM lines are customizable with separate inputs. • When a block ends, if the corresponding line is enabled, a horizontal line is drawn using the user‑selected parameters.
Array Storage and Averaging: • The script appends each block’s TOP value to the tops array and each BOTTOM value to the bottoms array, keeping their sizes to a maximum defined by the lookback (default 25). • A helper function, f_avg(), safely computes the average of the array values.
Table Display: • A table is created with three columns: an index column (with fixed labels “Active”, “Prev”, “Prev-2”, “Prev-3”, “Prev-4”, “Avg”), a TOP column, and a BOTTOM column. • The first five rows display the most recent TOP and BOTTOM signals (“Active” being the most recent), and the final row shows the average values.
This code gives you full control over both the TOP and BOTTOM block calculations and the appearance of their horizontal lines, all while presenting the data in an informative table.
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).
ATR Mean Reversion# ATR Mean Reversion Indicator
## Overview
The ATR Mean Reversion Indicator is designed to identify potential reversal points in the market by detecting when price has become overextended from its mean. The indicator uses Average True Range (ATR) and Keltner Channels to determine when price has moved too far from its average, suggesting a possible reversion back to the mean.
## Key Features
- **Keltner Channels**: Uses EMA as a midline with ATR-based upper and lower bands
- **Trend Detection**: Includes trend strength analysis to avoid countertrend trades
- **Reversal Signals**: Identifies potential buy and sell signals based on price action
- **Risk Management**: Includes parameters for position sizing and stop loss calculations
## Default Settings
- **ATR Period**: 5 (Measures market volatility over the last 5 periods)
- **EMA Period**: 50 (Base line for calculating the mean)
- **Keltner Channel Multiplier**: 2.5 (Width of the bands as a multiple of ATR)
- **Trade Fraction**: 0.5 (Percentage of equity to risk per trade)
- **Stop Loss %**: 0.04 (4% stop loss from entry)
## Visual Elements
- **EMA Line**: Blue line showing the mean price
- **Upper Keltner Channel**: Red line showing overextended high zone
- **Lower Keltner Channel**: Green line showing overextended low zone
- **BUY Signal**: Green triangle below the candle
- **SELL Signal**: Red triangle above the candle
- **Info Panel**: Table in the top-right showing current values and market conditions
## Trading Tips
1. **Best Market Conditions**: This strategy works best in ranging markets or during temporary pullbacks in a trend
2. **Avoid**: Using this strategy in strongly trending markets without confirmation
3. **Confirmation**: Consider waiting for additional confirmation like RSI or volume patterns
4. **Stop Loss**: Always place a stop loss, suggested at the ATR multiplier distance from entry
5. **Take Profit**: Consider taking profits when price approaches the mean (EMA line)
## Risk Management
- Use the trade fraction parameter to control position sizing
- Consider reducing position size in highly volatile markets
- The indicator includes built-in alerts that can be set for both BUY and SELL signals
## Customization
You can adjust the parameters to suit different market conditions:
- Increase the ATR Period for less sensitive volatility measurement
- Increase the Keltner Multiplier for fewer but potentially stronger signals
- Adjust the EMA Period based on your trading timeframe (higher for longer-term trades)
## Best Timeframes
The indicator can be used on any timeframe, but typically works well on:
- 1H, 4H charts for short to medium-term trades
- Daily charts for swing trading opportunities
Remember that no indicator is perfect, and the ATR Mean Reversion indicator should be used as part of a complete trading system with proper risk management.
Consolidation Zones [ActiveQuants]The Consolidation Zones indicator is an innovative tool designed to help traders pinpoint periods of low volatility and market balance . By dynamically plotting zones where price action remains confined within an ATR-defined range around a simple moving average (SMA), this indicator highlights periods of consolidation that often precede breakouts or reversals .
█ KEY FEATURES
Dynamic Zone Detection : Automatically identifies consolidation zones when the price remains within a tight range defined by the SMA and ATR over a specified number of bars, signaling balanced market conditions.
Customizable Parameters : Adjust key inputs such as Minimum Zone Length , ATR Length , the number of bars to display, and zone color, enabling you to tailor the indicator to various market conditions and trading styles.
Automated Zone Management : Efficiently plots consolidation zones and cleans up older ones to maintain a clear and focused chart, ensuring you always have an up-to-date view of recent market behavior.
Enhanced Market Analysis : By visualizing areas of price stability, the indicator aids in spotting potential breakout or reversal points, which can be critical for fine-tuning entry and exit strategies.
█ CONCLUSION
The Consolidation Zones indicator is an essential tool for traders who value volatility analysis and precision timing. By marking key periods of price consolidation, it enhances your market analysis, helping you anticipate potential moves and refine your trading strategy.
█ IMPORTANT
⚠ Consolidation signals should be used alongside other technical indicators or analysis techniques such as trend lines, support/resistance levels, or volume to confirm trading decisions.
⚠ Adjust the indicator’s settings based on your preferred timeframe and asset class to achieve the best results.
█ RISK DISCLAIMER
Trading involves significant risk, and you may lose capital. Past performance is not indicative of future results. This tool provides informational signals only and does not constitute financial advice. Use it at your own risk and consult a qualified financial professional before making trading decisions.
Incorporate this indicator into your trading workflow to improve market timing and optimize your entry and exit strategies.
📈 Happy trading! 🚀
[GrandAlgo] Liquidity Pivot Cloud - LPCLiquidity Pivot Cloud (LPC) is a visualization tool that extends all pivot levels to the right, creating a structured liquidity map across the chart. Instead of treating pivot points as static levels, LPC transforms them into a dynamic cloud, highlighting key areas where price has historically reacted.
Key Features:
Extended Pivot Levels – Automatically stretches all pivot highs and lows, forming a continuous liquidity zone.
Clear Structure – Provides an organized view of price action, making it easy to identify reaction zones.
Dynamic Liquidity Map – Helps traders spot potential liquidity sweeps and areas of price absorption.
How to Use:
Identify Liquidity Zones – Areas with multiple overlapping pivots signal strong liquidity pools.
Look for Reactions – Price often consolidates, wicks, or reverses around extended pivot clouds.
Combine with Confluence – Use alongside Fair Value Gaps, Institutional Price Blocks, or Market Structure shifts for higher probability setups.
LPC aligns with smart money concepts by revealing key liquidity areas where stop hunts, liquidity grabs, and institutional activity are likely to occur. It helps traders see where price is likely to be drawn before a major move, making it a valuable tool for those trading liquidity-based strategies.
Median Volume Weighted Standard Deviation | QuantumResearchMedian Volume Weighted Standard Deviation (MVWSD) | QuantumResearch
The MVWSD Indicator is a powerful market analysis tool that integrates median-based volume-weighted calculations with standard deviation analysis to help traders identify trend shifts, volatility expansion, and breakout opportunities. This adaptive approach minimizes noise while enhancing the accuracy of support/resistance levels and trade signals. 🚀📊
🔍 Key Features
✅ Volume-Weighted Median Calculation – Uses a VWMA-based median to emphasize price points backed by high trading volume, reducing the impact of erratic price movements.
✅ Standard Deviation & ATR-Based Volatility Bands – Expands or contracts dynamically based on market volatility, providing adaptive support & resistance levels.
✅ Bullish/Bearish Trend Signals – Detects shifts in market momentum by analyzing price movements relative to the deviation bands.
✅ Customizable Visualization & Alerts – Traders can adjust sensitivity, choose color themes, and set alerts for breakout conditions.
✅ Multi-Asset Compatibility – Works across various markets, including Bitcoin, Altcoins, and cross-asset pairs.
📈 How It Works
1️⃣ Volume-Weighted Median Calculation
A VWMA-based median is applied to smooth price fluctuations and highlight dominant trends.
This method improves accuracy over simple moving averages by factoring in trade volume influence.
2️⃣ Adaptive Volatility Bands
Upper & Lower Bands adjust dynamically using standard deviation and ATR multipliers, expanding during high volatility and contracting during stable conditions.
These bands act as dynamic support/resistance levels, helping traders gauge potential trend breakouts or reversals.
3️⃣ Trade Signal Generation
🟢 Long Signal (Bullish): When the price breaks above the upper ATR-based band, signaling potential uptrend continuation.
🔴 Short Signal (Bearish): When the price drops below the lower ATR-based band, indicating possible downside movement.
⚪ Neutral (No Signal): When price fluctuates within the bands without a decisive breakout.
4️⃣ Trend Confirmation via Color-Coded Bars
Green bars = Bullish conditions 📈
Blue bars = Bearish conditions 📉
📊 Performance Across Different Markets
🔹 Solana (SOL/USD) Analysis:
🔹 Sui (SUI/USD) Analysis:
🔹 PancakeSwap (CAKE/USD) Analysis:
🔹 Solana vs. Bitcoin (SOL/BTC) Pair:
🔹 Solana vs. Ethereum (SOL/ETH) Pair:
🔹 Bitcoin (BTC/USD) Analysis:
🎯 Trading Applications
📌 Trend Identification – Helps traders determine whether the market is trending or ranging based on price interactions with the deviation bands.
📌 Volatility Breakouts – Expanding standard deviation bands indicate an increase in market volatility, often preceding large price movements.
📌 Dynamic Support & Resistance – Unlike static levels, these adaptive bands adjust to real-time market conditions, providing more accurate trading zones.
📌 Risk Management & Confluence – Works well when combined with other indicators to confirm trade setups and risk levels.
⚙️ Customization & Settings
🔧 Volume-Weighted Length – Adjust the VWMA period to emphasize short-term or long-term price movements.
🔧 Median Calculation Length – Fine-tune the median smoothing effect for optimal signal clarity.
🔧 ATR & Standard Deviation Multipliers – Modify sensitivity to capture early trend shifts or more confirmed moves.
🔧 Color Themes & Visibility Settings – Personalize the indicator’s appearance to match your preferred trading style.
🚀 Final Thoughts
The MVWSD Indicator provides a unique blend of volume analysis, standard deviation filtering, and trend confirmation, making it a powerful tool for traders.
While it effectively highlights volatility shifts and trend momentum, traders should always use additional confluence factors before making trade decisions.
Alerts & Visual Cues ensure that users receive real-time notifications when key trade signals emerge.
⚠️ Disclaimer: The content is for informational and educational purposes only. Nothing contained within should be considered financial, investment, legal, or other professional advice. Past performance does not guarantee future results. Trading cryptocurrencies involves substantial risk of loss and is not suitable for every investor.
📌 TradingView Alerts: Set alerts to get notified when a new long or short condition is detected.
Accumulation & Breakout Detectorاستراتيجية كشف التجميع والاستعداد للانطلاق
الوصف العام:
تهدف هذه الاستراتيجية إلى اكتشاف الأصول المالية (الأسهم أو العملات الرقمية) التي تمر بمرحلة التجميع، حيث يتحرك السعر في نطاق ضيق مع انخفاض في حجم التداول، مما يشير إلى احتمال قرب حدوث انطلاق صعودي. بمجرد تحقق شروط معينة، تعطي الاستراتيجية إشارة تفيد بأن الأصل المالي جاهز للخروج من التجميع والانطلاق في اتجاه صاعد.
شروط التجميع (Accumulation Phase):
تشير مرحلة التجميع إلى فترة يتم فيها تكديس الأصول من قبل المستثمرين الكبار قبل التحرك الكبير. تحدث إشارات التجميع عندما تتحقق الشروط التالية:
السعر يتحرك داخل نطاق ضيق بين الحد العلوي والسفلي لمؤشر بولينجر باند.
السعر أقل من المتوسط المتحرك 50 والمتوسط المتحرك 200، مما يدل على وجود اتجاه هابط أو فترة تكديس.
مؤشر القوة النسبية (RSI) أقل من 40، مما يشير إلى التشبع البيعي واحتمالية حدوث انعكاس قريب.
حجم التداول أقل من متوسط حجم التداول (50 شمعة) بنسبة 1.2، مما يدل على انخفاض الاهتمام بالأصل قبل الحركة القوية.
عند تحقق هذه الشروط، يظهر نقطة زرقاء على المخطط، مما يشير إلى أن الأصل المالي قد يكون في مرحلة تجميع.
شروط قرب الانطلاق (Breakout Readiness Phase):
عند انتهاء مرحلة التجميع، يدخل الأصل المالي في مرحلة الاستعداد للانطلاق، والتي تحدث عند تحقق الشروط التالية:
السعر يخترق المتوسط المتحرك 50، مما يدل على بداية اتجاه صعودي.
حجم التداول يرتفع فوق متوسط حجم التداول (50 شمعة) بنسبة 1.5، مما يشير إلى دخول سيولة قوية.
مؤشر القوة النسبية (RSI) يتجاوز 50، مما يعكس تحسن الزخم الصعودي.
عند تحقق هذه الشروط، تظهر نقطة خضراء على المخطط، مما يشير إلى أن الأصل المالي جاهز للانطلاق.
كيفية استخدام الإشارات؟
النقاط الزرقاء تعني أن الأصل المالي في مرحلة تجميع محتملة، وقد يكون من المناسب مراقبته استعدادًا لحركة قادمة.
النقاط الخضراء تعني أن الأصل المالي جاهز للخروج من التجميع وقد يكون في طريقه للانطلاق الصعودي.
يمكن استخدام هذه الإشارات مع أدوات تحليل إضافية مثل مستويات الدعم والمقاومة، النماذج السعرية، أو المؤشرات الأخرى لتأكيد القرار قبل التداول.
🚀 هذه الاستراتيجية مفيدة للمتداولين الذين يبحثون عن فرص دخول مبكرة في الاتجاهات الصاعدة بعد انتهاء فترات التجميع.
Accumulation & Breakout Detection Strategy
General Description:
This strategy aims to identify financial assets (stocks or cryptocurrencies) that are in an accumulation phase, where price moves within a narrow range with low trading volume, signaling a potential breakout. Once certain conditions are met, the strategy provides an alert indicating that the asset is ready to break out and move upward.
Accumulation Phase Conditions:
The accumulation phase occurs when large investors accumulate assets before a significant price move. The strategy detects accumulation when the following conditions are met:
Price moves within a narrow range between the upper and lower Bollinger Bands.
Price is below both the 50-period and 200-period moving averages, indicating a downtrend or consolidation.
Relative Strength Index (RSI) is below 40, suggesting an oversold condition with a possible reversal.
Trading volume is less than 1.2 times the 50-period average volume, indicating weak activity before a strong move.
When these conditions are met, a blue dot appears on the chart, signaling a potential accumulation phase.
Breakout Readiness Phase Conditions:
Once the accumulation phase ends, the asset enters the breakout readiness phase, which occurs when the following conditions are met:
Price breaks above the 50-period moving average, signaling the start of an uptrend.
Trading volume increases above 1.5 times the 50-period average volume, indicating strong liquidity inflow.
RSI rises above 50, reflecting positive momentum and increasing bullish strength.
When these conditions are met, a green dot appears on the chart, indicating that the asset is ready for a breakout.
How to Use the Signals?
Blue dots indicate that the asset is in a potential accumulation phase, suggesting it may soon break out.
Green dots indicate that the asset is ready to break out and move upward.
These signals can be combined with additional technical analysis tools such as support/resistance levels, chart patterns, or other indicators for confirmation before making a trade.
🚀 This strategy is useful for traders looking for early entry points in uptrending markets following accumulation phases.
Auto Fib Retracement with Buy/SellKey Features of the Advanced Script:
Multi-Timeframe (MTF) Analysis:
We added an input for the higher timeframe (higher_tf), where the trend is checked on a higher timeframe to confirm the primary trend direction.
Complex Trend Detection:
The trend is determined not only by the current timeframe but also by the trend on the higher timeframe, giving a more comprehensive and reliable signal.
Dynamic Fibonacci Levels:
Fibonacci lines are plotted dynamically, extending them based on price movement, with the Fibonacci retracement drawn only when a trend is identified.
Background Color & Labels:
A background color is added to give a clear indication of the trend direction. Green for uptrend, red for downtrend. It makes it visually easier to understand the current market structure.
"Buy" or "Sell" labels are shown directly on the chart to mark possible entry points.
Strategy and Backtesting:
The script includes strategy commands (strategy.entry and strategy.exit), which allow for backtesting the strategy in TradingView.
Stop loss and take profit conditions are added (loss=100, profit=200), which can be adjusted according to your preferences.
Next Steps:
Test with different timeframes: Try changing the higher_tf to different timeframes (like "60" or "240") and see how it affects the trend detection.
Adjust Fibonacci settings: Modify how the Fibonacci levels are calculated or add more Fibonacci levels like 38.2%, 61.8%, etc.
Optimize Strategy Parameters: Fine-tune the entry/exit logic by adjusting stop loss, take profit, and other strategy parameters.
This should give you a robust foundation for creating advanced trend detection strategies
Demand, Supply and Channel by BULL┃NET
The B | N DESC (Demand, Supply, and Channel by BULL / NET)
Indicator helps traders identify demand and supply lines. Breakouts are detected, and potential targets are calculated. Additionally, channels are automatically detected.
⚠️ Disclaimer – Please Read Before Using ⚠️
Concepts
Trend, demand, and supply lines are fundamental concepts in trading to identify a trend and detect a potential trend change. However, there’s a significant issue: if you show a chart to 10 traders and ask them to draw trend, demand, and supply lines, you’ll likely get 10 different results. This is where B | N DESC comes into play. The indicator defines demand and supply lines objectively using pivot points of different levels.
A pivot point is a high or low on the chart surrounded by bars that form lower highs or higher lows. The number of bars to the left and right defines the pivot length or level. Supply lines connect pivot highs top-down, and demand lines connect pivot lows bottom-up. Unlike traditional trendlines, which are drawn from left to right and require three anchor points, supply and demand lines are drawn from right to left.
Features
Supply Line Options
These settings control how supply lines and channels are calculated and drawn on the chart. You can display up to three supply lines.
- 1st, 2nd, and 3rd Supply Line : By default, two supply lines are active. Each line can be enabled or disabled individually.
- Channel: Determines whether channels are displayed.
- Confirm : If enabled, the channel will not be shown until confirmed by the price.
- Fill : When enabled, the channel will be filled with the chosen color once confirmed by the price.
- Level : You can define pivot points for any level between 1 and 100. Default values are 3, 5, and 15.
- Color, Style, Width: These settings customize the appearance of the supply lines.
Demand Line Options
Similar to the supply lines, these settings control how demand lines and channels are calculated and displayed on the chart. You can display up to three demand lines.
- 1st, 2nd, and 3rd Demand Line : By default, two demand lines are active.
- Channel and Confirm : Functions similarly to supply lines.
- Level: Levels between 1 and 100 are available, with default values of 3, 5, and 15.
- Color, Style, Width : These settings allow you to adjust the appearance of the demand lines.
Level Label Options
When a new demand or supply line is drawn, a small label appears at the x2 coordinate of the line. The label shows the height of the extreme point and the direction (up or down) along with the line type (D = Demand, S = Supply) and the selected pivot level.
Breakout Label Options
- Show in Timeframe : Breakout and target labels are shown by default in timeframes above 30 minutes. In shorter timeframes, pivot points can change rapidly, causing the labels to cover the bars.
- Breakout : The breakout label contains the breakout price, direction, pivot level, and breakout attempts.
- Target : A label that displays the target price, which is linked to the breakout point on the supply or demand line.
Additional Options
- Burned Line : Supply and demand lines remain active until new pivot points create a new line of the same level. After the 4th breakout, the line is marked as “burned” and will no longer be monitored for further breakouts.
- Spread : This feature allows you to account for your broker’s spread in the target calculation to avoid discrepancies.
-------------------------------------
Disclaimer BullNet: [ /i] The information provided in this document is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Any use of the content is at your own risk. No liability is assumed for any losses or damages resulting from reliance on this information. Trading financial instruments involves significant risks, including the potential loss of all invested capital. There is no guarantee of profits or specific outcomes. Please conduct your own research and consult a professional financial advisor if needed.
Disclaimer TradingView: According to the www.tradingview.com
Copyright: 2025-BULLNET - All rights reserved.
Roadmap:
Version 1.0 03.03.2025
[3Commas] Turtle StrategyTurtle Strategy
🔷 What it does: This indicator implements a modernized version of the Turtle Trading Strategy, designed for trend-following and automated trading with webhook integration. It identifies breakout opportunities using Donchian channels, providing entry and exit signals.
Channel 1: Detects short-term breakouts using the highest highs and lowest lows over a set period (default 20).
Channel 2: Acts as a confirmation filter by applying an offset to the same period, reducing false signals.
Exit Channel: Functions as a dynamic stop-loss (wait for candle close), adjusting based on market structure (default 10 periods).
Additionally, traders can enable a fixed Take Profit level, ensuring a systematic approach to profit-taking.
🔷 Who is it for:
Trend Traders: Those looking to capture long-term market moves.
Bot Users: Traders seeking to automate entries and exits with bot integration.
Rule-Based Traders: Operators who prefer a structured, systematic trading approach.
🔷 How does it work: The strategy generates buy and sell signals using a dual-channel confirmation system.
Long Entry: A buy signal is generated when the close price crosses above the previous high of Channel 1 and is confirmed by Channel 2.
Short Entry: A sell signal occurs when the close price falls below the previous low of Channel 1, with confirmation from Channel 2.
Exit Management: The Exit Channel acts as a trailing stop, dynamically adjusting to price movements. To exit the trade, wait for a full bar close.
Optional Take Profit (%): Closes trades at a predefined %.
🔷 Why it’s unique:
Modern Adaptation: Updates the classic Turtle Trading Strategy, with the possibility of using a second channel with an offset to filter the signals.
Dynamic Risk Management: Utilizes a trailing Exit Channel to help protect gains as trades move favorably.
Bot Integration: Automates trade execution through direct JSON signal communication with your DCA Bots.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Best suited for trending markets; higher timeframes (e.g., H4, D1) are recommended to minimize noise.
Sideways Markets: In choppy conditions, breakouts may lead to false signals—consider using additional filters.
Backtesting & Demo Testing: It is crucial to thoroughly backtest the strategy and run it on a demo account before risking real capital.
Parameter Adjustments: Ensure that commissions, slippage, and position sizes are set accurately to reflect real trading conditions.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:ETHUSDT (Spot).
Timeframe: 4h.
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
Period Channel 1: 20.
Period Channel 2: 20.
Period Channel 2 Offset: 20.
Period Exit: 10.
Take Profit %: Disable.
Strategy: Long & Short.
🔷 STRATEGY RESULTS
⚠️Remember, past results do not guarantee future performance.
Net Profit: +516.87 USDT (+5.17%).
Max Drawdown: -100.28 USDT (-0.95%).
Total Closed Trades: 281.
Percent Profitable: 40.21%.
Profit Factor: 1.704.
Average Trade: +1.84 USDT (+1.80%).
Average # Bars in Trades: 29.
🔷 How to Use It:
🔸 Adjust Settings:
Select your asset and timeframe suited for trend trading.
Adjust the periods for Channel 1, Channel 2, and the Exit Channel to align with the asset’s historical behavior. You can visualize these channels by going to the Style tab and enabling them.
For example, if you set Channel 2 to 40 with an offset of 40, signals will take longer to appear but will aim for a more defined trend.
Experiment with different values, a possible exit configuration is using 20 as well. Compare the results and adjust accordingly.
Enable the Take Profit (%) option if needed.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot:
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable the option to receive long or short signals (Entry | TP | SL), copy and paste the messages for the DCA Bots configured.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only".
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL.
For more details, refer to the section: "How to use TradingView Custom Signals".
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format.
🔷 INDICATOR SETTINGS
Period Channel 1: Period of highs and lows to trigger signals
Period Channel 2: Period of highs and lows to filter signals
Offset: Move Channel 2 to the right x bars to try to filter out the favorable signals.
Period Exit: It is the period of the Donchian channel that is used as trailing for the exits.
Strategy: Order Type direction in which trades are executed.
Take Profit %: When activated, the entered value will be used as the Take Profit in percentage from the entry price level.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
Check Messages: Check Messages: Enable this option to review the messages that will be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals.
Deal Entry and Deal Exit: Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the bot so that it can process properly.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the correct format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.