Custom RSI & EMA Crosscreated a turkey that shows when the conditions of the RSI and EMA match from different TF and values
Indicatori e strategie
Pivot Reversal StrategyPIVOT REVERSAL STRATAGY has a little bit of noise but i use HEIKEN ASHI 1 HOUR CANDLES for best results
ADX and DI - Trader FelipeADX and DI - Trader Felipe
This indicator combines the Average Directional Index (ADX) and the Directional Indicators (DI+ and DI-) to help traders assess market trends and their strength. It is designed to provide a clear view of whether the market is in a trending phase (either bullish or bearish) and helps identify potential entry and exit points.
What is ADX and DI?
DI+ (Green Line):
DI+ measures the strength of upward (bullish) price movements. When DI+ is above DI-, it signals that the market is experiencing upward momentum.
DI- (Red Line):
DI- measures the strength of downward (bearish) price movements. When DI- is above DI+, it suggests that the market is in a bearish phase, with downward momentum.
ADX (Blue Line):
ADX quantifies the strength of the trend, irrespective of whether it is bullish or bearish. The higher the ADX, the stronger the trend:
ADX > 20: Indicates a trending market (either up or down).
ADX < 20: Indicates a weak or sideways market with no clear trend.
Threshold Line (Gray Line):
This horizontal line, typically set at 20, represents the threshold for identifying whether the market is trending or not. If ADX is above 20, the market is considered to be in a trend. If ADX is below 20, it suggests that the market is not trending and is likely in a consolidation phase.
Summary of How to Use the Indicator:
Trend Confirmation: Use ADX > 20 to confirm a trending market. If ADX is below 20, avoid trading.
Long Entry: Enter a long position when DI+ > DI- and ADX > 20.
Short Entry: Enter a short position when DI- > DI+ and ADX > 20.
Avoid Sideways Markets: Do not trade when ADX is below 20. Look for other strategies for consolidation phases.
Exit Strategy: Exit the trade if ADX starts to decline or if the DI lines cross in the opposite direction.
Combine with Other Indicators: Use additional indicators like RSI, moving averages, or support/resistance to filter and confirm signals.
Yearly History Calendar-Aligned Price up to 10 Years)Overview
This indicator helps traders compare historical price patterns from the past 10 calendar years with the current price action. It overlays translucent lines (polylines) for each year’s price data on the same calendar dates, providing a visual reference for recurring trends. A dynamic table at the top of the chart summarizes the active years, their price sources, and history retention settings.
Key Features
Historical Projections
Displays price data from the last 10 years (e.g., January 5, 2023 vs. January 5, 2024).
Price Source Selection
Choose from Open, Low, High, Close, or HL2 ((High + Low)/2) for historical alignment.
The selected source is shown in the legend table.
Bulk Control Toggles
Show All Years : Display all 10 years simultaneously.
Keep History for All : Preserve historical lines on year transitions.
Hide History for All : Automatically delete old lines to update with current data.
Individual Year Settings
Toggle visibility for each year (-1 to -10) independently.
Customize color and line width for each year.
Control whether to keep or delete historical lines for specific years.
Visual Alignment Aids
Vertical lines mark yearly transitions for reference.
Polylines are semi-transparent for clarity.
Dynamic Legend Table
Shows active years, their price sources, and history status (On/Off).
Updates automatically when settings change.
How to Use
Configure Settings
Projection Years : Select how many years to display (1–10).
Price Source : Choose Open, Low, High, Close, or HL2 for historical alignment.
History Precision : Set granularity (Daily, 60m, or 15m).
Daily (D) is recommended for long-term analysis (covers 10 years).
60m/15m provides finer precision but may only cover 1–3 years due to data limits.
Adjust Visibility & History
Show Year -X : Enable/disable specific years for comparison.
Keep History for Year -X : Choose whether to retain historical lines or delete them on new year transitions.
Bulk Controls
Show All Years : Display all 10 years at once (overrides individual toggles).
Keep History for All / Hide History for All : Globally enable/disable history retention for all years.
Customize Appearance
Line Width : Adjust polyline thickness for better visibility.
Colors : Assign unique colors to each year for easy identification.
Interpret the Legend Table
The table shows:
Year : Label (e.g., "Year -1").
Source : The selected price type (e.g., "Close", "HL2").
Keep History : Indicates whether lines are preserved (On) or deleted (Off).
Tips for Optimal Use
Use Daily Timeframes for Long-Term Analysis :
Daily (1D) allows 10+ years of data. Smaller timeframes (60m/15m) may have limited historical coverage.
Compare Recurring Patterns :
Look for overlaps between historical polylines and current price to identify potential support/resistance levels.
Customize Colors & Widths :
Use contrasting colors for years you want to highlight. Adjust line widths to avoid clutter.
Leverage Global Toggles :
Enable Show All Years for a quick overview. Use Keep History for All to maintain continuity across transitions.
Example Workflow
Set Up :
Select Projection Years = 5.
Choose Price Source = Close.
Set History Precision = 1D for long-term data.
Customize :
Enable Show Year -1 to Show Year -5.
Assign distinct colors to each year.
Disable Keep History for All to ensure lines update on year transitions.
Analyze :
Observe how the 2023 close prices align with 2024’s price action.
Use vertical lines to identify yearly boundaries.
Common Questions
Why are some years missing?
Ensure the chart has sufficient historical data (e.g., daily charts cover 10 years, 60m/15m may only cover 1–3 years).
How do I update the data?
Adjust the Price Source or toggle years/history settings. The legend table updates automatically.
Risk ModuleRisk Module
This indicator provides a visual reference to determine position sizing and approximate stop placement. It is designed to support trade planning by calculating equalized risk per trade based on a stop distance derived from volatility. The tool offers supportive reference points that allow for quick evaluation of risk and position size consistency across varying markets.
Equalized Risk Per Trade
The indicator calculates the number of shares that can be traded to maintain consistent monetary risk. The formula is based on the distance between the current price and the visual stop reference, adjusting the position size proportionally.
Position Size = Dollar Risk / (Entry Price – Stop Price)
The risk is calculated as a percentage of account size; both of which can be set in the indicator’s settings tab. This creates a consistent risk exposure across trades regardless of volatility or structural stop distance.
Stop Placement Reference
The visual stop reference is derived from the Average True Range (ATR), providing a volatility-based anchor. The default value is set to 2 × ATR, but this can be customized.
Price Model: Uses the current price ± ATR × multiplier. This model reacts to price movement and is set as the default option.
EMA Model: Uses the 20-period EMA ± ATR × multiplier. This model is less reactive and can be an option when used in combination with an envelope indicator.
Chart Elements
Stop Levels: Plotted above and below either the current price or EMA, depending on the selected model. These serve as visual reference points for stop placement; the lower level a sell stop for long trades, the upper level a buy stop for short trades.
Information Table: Displays the number of shares to trade, stop level and percentage risk. A compact mode is available to reduce the table to essential information (H/L and Shares).
Settings Overview
Stop Model: Choose between “Price” or “EMA” stop calculation logic.
ATR Multiplier: Change the distance between price/EMA and the stop reference.
Account Size / Risk %: These risk parameters are used to calculate dollar risk per trade.
Visible Bars: Number of recent bars to show stop markers on.
Compact Mode: Minimal table view for reduced chart footprint.
Table Position / Size: Controls table placement and scale on the chart.
Moving Average Channel Avancé# Moving Average Channel Avancé (MAC)
This versatile TradingView indicator provides a dynamic channel around a central moving average, offering a comprehensive tool for trend identification, volatility assessment, and potential entry/exit signals.
## Key Features:
* **Flexible Moving Average Core:** Choose from a variety of popular moving average types (SMA, EMA, WMA, VWMA, HMA, TEMA) to serve as the baseline for your channel. Customize the length and price source for tailored analysis.
* **Multiple Channel Calculation Methods:**
* **Standard Deviation:** Creates Bollinger Band-like channels based on price volatility.
* **ATR (Average True Range):** Generates Keltner Channel-style bands that adapt to market volatility.
* **Percentage:** Defines channel width as a fixed percentage of the moving average.
* **Donchian:** Uses highest highs and lowest lows over a specified period to form the channel.
* **Visual Customization:**
* Toggle visibility of the midline, channel fill, and breakout signals.
* Full color customization for upper/lower bands, midline, channel fill, and bullish/bearish breakout signals.
* **Breakout Signals:** Displays arrows when the price crosses above the lower band (potential buy) or below the upper band (potential sell).
* **Overbought/Oversold Visualization:** Bar coloring highlights potential overbought (price near upper band) and oversold (price near lower band) conditions.
* **Information Panel:** A convenient on-chart table displays the selected MA type and the current price position within the channel as a percentage.
* **Alert Conditions:** Set up alerts for:
* Price crossing above/below the upper band.
* Price crossing above/below the lower band.
* Overbought and oversold conditions.
## How to Use:
The Moving Average Channel Avancé can be used in various ways:
* **Trend Following:** Trade in the direction of the channel. When the price is consistently above the midline and respecting the lower band as support, it can indicate an uptrend. Conversely, price action below the midline, with the upper band acting as resistance, can suggest a downtrend.
* **Volatility Breakouts:** Look for price breakouts above the upper band or below the lower band as potential entry signals, especially when accompanied by increased volume.
* **Mean Reversion:** In ranging markets, prices may tend to revert towards the central moving average after touching the outer bands.
* **Support and Resistance:** The channel bands can act as dynamic levels of support and resistance.
This indicator is designed to be intuitive for novice traders while offering the depth of customization that experienced analysts require. Experiment with different settings and MA types to find what best suits your trading style and the specific market you are analyzing.
Hidden Gap`s VSA Volume Auto-TimeframeHidden Gap's VSA Volume with Auto-Timeframe Adaptation
Enhanced Version of Classic Volume Spread Analysis Indicator
Description:
This evolved version of the original "Hidden Gap's VSA Volume" indicator introduces intelligent timeframe adaptation while preserving its core Volume Spread Analysis (VSA) logic. The key enhancement automatically synchronizes volume calculations with your chart's current timeframe, eliminating manual resolution adjustments.
New Features:
✅ Auto-Timeframe Detection
Dynamically adjusts to any chart timeframe (1M/5M/1H/4H/D/W/M)
✅ Smart Resolution Switching
Seamlessly works across multiple timeframes without parameter changes
✅ Manual Override Option
Retains custom resolution input for multi-timeframe analysis (e.g., view weekly volume on daily charts)
✅ Modernized Engine
Upgraded to Pine Script v6 for optimal TradingView performance
Core Functionality Preserved:
• Multi-layer volume analysis using 40/20/2-period comparisons
• Color-coded histogram detecting:
Black: 40-period high volume
Gray: 20-period low volume
Purple: 2-period volume contraction
Blue/Red: Immediate volume changes
• Integrated 20-period SMA reference line
Usage Scenarios:
Intraday Trading: Auto-adjusts from 1-minute to 4-hour charts
Multi-Timeframe Analysis: Compare current volume against higher timeframe patterns
Swing Trading: Maintain consistent analysis across D/W/M timeframes
QoQ PAT, Sales & OPM% Labels by GauravThis indicator automatically displays the Quarter-over-Quarter (QoQ) percentage change in Sales, PAT (Profit After Tax), and Operating Profit Margin (OPM%) directly on the price chart.
It fetches quarterly financial data using TradingView’s request.financial() function for:
Sales (TOTAL_REVENUE),
PAT (NET_INCOME),
Operating Profit (OPER_INCOME).
For each earnings update, it calculates:
Sales QoQ %: Growth in sales vs. the previous quarter,
PAT QoQ %: Growth in PAT vs. the previous quarter,
OPM %: Operating Profit Margin = (Operating Profit / Sales) × 100.
This helps traders and investors quickly visualize fundamental growth trends right alongside the candlestick chart, improving fundamental + technical analysis integration.
Watermark Stepped GridAdd a clean, professional watermark grid to any chart. “Watermark Stepped Grid” repeats your custom text in a diagonal or block pattern with adjustable rows, columns, font size, spacing, transparency, and optional semi‑transparent boxes—perfect for branding screenshots and shared analyses.
RSI-WMA + EMA Trend Filter | Signal OnlyThis is the specialized Indicator to create the internal Strategy for the class of Rio & Friend base on RSI-WMA with the EMA Trend Filter.
Enjoy and have fun with it!
[T] Current Candle High/Low - Left LinesThis script can be used to see if the current candle has hit a FVG or OB to the left.
Useful for setting if price has hit the CE of a previous FVG or OB on the same timeframe.
ClarityTrend SwiftEdge# TrendSync Indicator
## Overview
The TrendSync Indicator is a powerful tool designed to help traders identify high-probability trading opportunities by combining two proven technical analysis methods: Linear Regression-based candlesticks and an ATR-based trailing stop strategy (UT Bot Alerts). This indicator enhances these components with unique features, including candlestick smoothing for improved visual clarity and signal reinforcement to reduce noise, making it ideal for trend-following and swing trading across various markets and timeframes.
## Originality and Purpose
This indicator merges the strengths of Linear Regression Candles and UT Bot Alerts to create a synergistic approach to trend detection:
- **Linear Regression Candles** use linear regression to smooth price data, producing candlesticks that highlight the underlying trend while filtering out market noise. This helps traders visualize trend direction more clearly.
- **UT Bot Alerts** employ an ATR-based trailing stop to generate dynamic buy and sell signals, adapting to market volatility and identifying key reversal points.
- **Unique Contributions**:
- **Candlestick Smoothing**: Added an optional SMA or EMA-based smoothing feature to make candlesticks visually cleaner and easier to interpret, especially in volatile markets.
- **Signal Reinforcement**: Introduces a filter that only displays buy/sell signals when both Linear Regression Candles and UT Bot Alerts confirm the same trend direction, reducing false signals and improving reliability.
The combination is purposeful: Linear Regression Candles provide a smoothed trend context, while UT Bot Alerts pinpoint precise entry and exit points. The reinforcement feature ensures that only the strongest signals are shown, enhancing decision-making for traders.
## How It Works
### Linear Regression Candles
- The indicator applies linear regression to OHLC (open, high, low, close) prices over a user-defined period (default: 11 bars) to create smoothed candlesticks.
- Bullish candlesticks (green) are plotted when the smoothed open is below the smoothed close, and bearish candlesticks (red) when the open is above the close.
- An optional smoothing layer (SMA or EMA, default length: 5 bars) can be applied to further reduce noise, making trends visually clearer.
- A signal line (SMA or EMA, default length: 11 bars) tracks the smoothed close price to highlight the overall trend direction.
### UT Bot Alerts
- Uses an ATR-based trailing stop (default ATR period: 10 bars, sensitivity: 1) to generate buy and sell signals.
- A buy signal is triggered when the price crosses above the trailing stop, and a sell signal when it crosses below, confirmed by a 1-period EMA crossover.
- Optionally, signals can be based on Heikin Ashi close prices (manually calculated) for smoother trend detection.
### Signal Reinforcement
- When enabled (default: true), buy signals are only shown if the Linear Regression Candles are bullish, and sell signals if they are bearish. This ensures alignment between the trend context and signal triggers, reducing false positives.
### Visuals
- **Candlesticks**: Semi-transparent green (bullish) and red (bearish) candlesticks for clear trend visualization.
- **Signal Line**: A white line (thicker for visibility) showing the smoothed trend.
- **Signals**: Large "BUY" (green) and "SELL" (red) labels below/above bars for easy identification.
- **Bar Coloring**: Green bars for bullish UT Bot conditions, red for bearish, enhancing trend awareness.
## How to Use
1. **Add to Chart**: Apply the TrendSync Indicator to any chart in TradingView.
2. **Configure Inputs** (accessible via the indicator’s settings):
- **LinReg Settings**:
- *Signal Smoothing (default: 11)*: Length of the signal line (SMA or EMA).
- *Use SMA for Signal Line*: Toggle between SMA (checked) or EMA (unchecked).
- *Enable Linear Regression (default: true)*: Turn on/off linear regression for candlesticks.
- *Linear Regression Length (default: 11)*: Period for linear regression calculation.
- *Smooth Candlesticks (default: false)*: Enable smoothing for cleaner candlesticks.
- *Candlestick Smoothing Length (default: 5)*: Period for SMA/EMA smoothing.
- *Smoothing Type (default: SMA)*: Choose SMA or EMA for candlestick smoothing.
- **UT Bot Settings**:
- *Key Value (Sensitivity, default: 1)*: Adjusts the ATR multiplier for the trailing stop. Higher values widen the stop, reducing signals.
- *ATR Period (default: 10)*: Period for ATR calculation.
- *Use Heikin Ashi for Signals (default: false)*: Use Heikin Ashi close prices for UT Bot signals.
- **Signal Settings**:
- *Reinforce Signals (default: true)*: Only show signals when LinReg and UT Bot agree.
3. **Interpret Signals**:
- **BUY**: A green "BUY" label below a bar indicates a potential long entry, especially strong when reinforced.
- **SELL**: A red "SELL" label above a bar indicates a potential short entry.
- Use the signal line and candlestick colors to confirm the trend context.
4. **Set Alerts**:
- Create alerts for "TrendSync Long" (buy) and "TrendSync Short" (sell) to receive notifications when reinforced signals occur.
## Best Practices
- **Timeframes**: Works on all timeframes, but 1H-4H charts are recommended for swing trading, and 5M-15M for scalping.
- **Markets**: Suitable for stocks, forex, crypto, and commodities. Test on your preferred market to optimize settings.
- **Settings Optimization**:
- Increase `Candlestick Smoothing Length` (e.g., 7-10) for volatile markets to reduce noise.
- Adjust `Key Value` (e.g., 0.5-2) to balance signal frequency and reliability.
- Disable `Reinforce Signals` for more frequent signals, but expect potential noise.
- **Confirmation**: Combine with other tools (e.g., support/resistance, volume) for better trade validation.
## Credits
- **Original Scripts**: Built upon "Humble LinReg Candles" and "UT Bot Alerts" from TradingView’s public library.
- **Enhancements by **: Developed candlestick smoothing, signal reinforcement, and custom visuals to create a unique, trader-friendly tool.
## License
MIT License: Free to use, modify, and share, provided original credits are retained.
## Disclaimer
This indicator is for educational and informational purposes only and should not be considered financial advice. Always conduct your own research and test strategies before trading.
QoQ PAT & Sales % Labels by GauravThis indicator automatically displays the Quarter-over-Quarter (QoQ) percentage change of Sales and PAT (Profit After Tax) directly under the candlestick chart whenever quarterly results are released. It fetches financial data using TradingView’s request.financial() function and calculates the % change compared to the previous quarter. Labels are plotted at the exact bar where earnings are announced, helping traders quickly visualize fundamental growth alongside price action.
XAUUSD Buy/Sell with TP & SLXAUUSD Buy/Sell Signal Guidance with TP & SL based on crossover of 2 moving average lines
DispersionLibLibrary "DispersionLib"
dispersionCore(ma5, use5, ma20, use20, ma50, use50, ma200, use200, weightMethod, w5, w20, w50, w200, normMethod, srcClose, srcATR, avgMA)
Parameters:
ma5 (float)
use5 (bool)
ma20 (float)
use20 (bool)
ma50 (float)
use50 (bool)
ma200 (float)
use200 (bool)
weightMethod (string)
w5 (float)
w20 (float)
w50 (float)
w200 (float)
normMethod (string)
srcClose (float)
srcATR (float)
avgMA (float)
Time Markers (corrected for UTC-4)Places lines on a chart to indicate US, UK, and Chinese opens (for futures trading)
Fab 4 OVdraw a box for fabulous four which covers 20 sma and 200 sma , high and low of last 20 candles, closing price of the last candle of the day
NY Exchanges Trading Hours ShadingThis indicator shades 24-hour charts (e.g. crypto), similar to how TradingView can shade NYSE and NASDAQ traded securities for after-hours and pre-market trading hours.
But unlike standard securities charts, it doesn't also hide fully-closed hours - it shades them a third color.
Why?
- Even when trading crypto or non-Yew York market securities, you need to be aware of when the New York markets open and close. The whole world, including crypto price action, is often strongly affected by the New York stock markets. (Especially just after opening, and just before closing.)
- "After-hours" trading hours (4:OOPM to 8:00PM) are shaded with a subtle blue background, by default.
- "Pre-market" trading hours (4:00AM to 9:30 AM) are shaded a subtle orange background, by default.
- Completely closed hours in between - and weekends - are shaded a subtle dark green, by default.
This has no awareness of trading holidays - only weekends.
By default it disables itself on day view and higher.
Regular trading hours are from 9:30AM to 4:00PM Eastern time, Monday through Friday. Those may be different times in your time zone, which this takes into account, including daylight savings time. (Obviously if you aren't in US Eastern time, you don't want it shaded based on 9:30 to 4:00 your local time - you want it based on whatever New York time is for you.)
EMA CCI SSL Buy Sell Signal[THANHCONG]🔰 Introduction
EMA CCI SSL Buy Sell Signal is a strategy indicator that combines three popular factors:
EMA (8, 21, 89): Identifies the main trend.
CCI (6, 14): Detects momentum for buying and selling.
SSL Channel (HTF): Filters noise and confirms signals based on higher timeframes.
Together, this indicator provides reliable Buy/Sell signals that are easy to observe directly on the chart.
🛠 How to Use
Apply the indicator to the chart on any timeframe (M5 → D1).
Buy/Sell signals will appear when there is an SSL crossover along with trend/momentum confirmation.
Check the table on the top right for the most recent entry price and % change.
Note: Signals are only shown when all conditions are met to reduce noise (not generating continuous or misleading signals like single-indicator tools).
📌 Recommendations
Combine with confirmation from larger timeframes or support/resistance zones.
Use proper risk management & stop-loss to control risk.
Do not rely solely on the indicator; combine with your own technical analysis.
🙏 Thanks
Thank you for using this indicator!
If you find it useful, please click "★ Favorite" and Follow to get more tools from me.
I’m always open to feedback to improve.
⚠️ Disclaimer
This indicator is shared for educational and research purposes only.
It should not be considered as investment advice or a guarantee of profit.
Users are solely responsible when applying it in real trading...
Smart FlexRange Breakout [The_lurker]The Smart FlexRange Breakout tool aims to identify trading opportunities based on price breakouts of dynamic levels (CALL, PUT) with a dotted centerline and the ability to select the applicable market. The tool relies on candlestick analysis over a specific time period (such as 3 hours). Candle data (searchHours) is collected to identify the most significant candle based on candlestick patterns and trading volume during the selected timeframe. Breakout levels and take-profit (TP) targets are then plotted, along with buy and sell signals, breakout notifications, and up/down trend lines based on Pivot Points.
The tool is run according to the selected timeframe.
Practical Use
1- Setup: Adjust the market, timeframe, number of hours, and time zone to suit the trader's needs.
2- Trading: Monitor signals (BUY/SELL) and TP levels to determine entry and exit points.
3- Trend Lines: Use them to understand the overall trend and confirm signals.
---
1. Objective: Identify trading opportunities based on price breakouts
- Trading opportunities: The indicator is designed to help traders identify moments when significant price movements are likely, allowing them to enter buy or sell trades based on market changes.
- Price breakouts: The indicator focuses on moments when prices break through key levels (resistance or support). A breakout occurs when the price exceeds a resistance level (up) or breaks a support level (down), indicating a potential continuation of the movement in the same direction.
- Dynamic: Resistance and support levels are not static; rather, they are calculated based on candlestick analysis over a specific period of time, making them adaptive to current market conditions.
---
2. Dynamic levels (resistance and support levels)
- Resistance levels: These represent prices that the price is difficult to break above, defined here as the high of the most significant candle during the specified period.
- Support levels: These represent prices below which the price is difficult to fall, defined as the low of the most significant candle.
- Dynamic: These levels are recalculated every new search period (searchHours), meaning they change based on the latest market data, unlike traditional static levels.
---
3. Adding a Dotted Center Line
- Center Line: A horizontal dotted line is drawn at the midpoint between the high and low of the most significant candle.
- Purpose:
- Provides a visual reference point for determining the current price position relative to support and resistance levels.
- Helps assess whether the price is moving toward a breakout (near resistance) or a breakout (near support).
- Dotted: The dotted pattern distinguishes it from the solid upper and lower lines, making it easier to distinguish visually.
---
4. Relying on candlestick analysis over a specific time period (searchHours)
- Candlestick Analysis: The indicator examines candlesticks to determine which ones have the most influence on price movement.
- Timeframe (searchHours):
- The user specifies the number of hours (1-6) for candle analysis, which determines the range of data the indicator relies on.
- Example: If searchHours = 3 and timeframe = 30 minutes, 6 candles are analyzed (3 hours ÷ 30 minutes).
- Flexibility: This period can be adjusted to suit different markets (such as volatile cryptocurrencies or more stable Forex).
---
5. Determining the Most Important Candle Based on Candle Patterns and Volume
- The most important candle: is the candle believed to have the greatest impact on price movement based on specific criteria.
- Candle Patterns:
- Candles are analyzed using a candlestick pattern library (such as Engulfing, Hammer, Doji).
- Reversal patterns (such as Morning Star, Shooting Star) are given a high importance score (100 points) because they indicate potential trend changes.
- Trading Volume:
- The trading volume of each candle is measured and compared to the maximum and minimum during the period.
- Volume is calculated as a percentage (0-100) and added to the pattern score to determine the most significant candle.
- Result: The candle with the highest score (patterns + volume) is used to determine support and resistance levels.
---
6. Timeframe
- Time interval: The user selects a time frame for the candles (15, 30, or 60 minutes).
- Importance:
- Determines the number of candles analyzed during the searchHours period.
- Affects the accuracy and speed of the signals (shorter timeframe = faster but less reliable signals; longer timeframe = slower but more reliable signals).
- Example: If the timeframe is 60 minutes and searchHours is 3, only 3 candles are analyzed.
---
7. Drawing Breakout Levels and Take Profit Targets (TP)
- Breakout Levels:
- Upper line (resistance): Drawn at the highest price of the most significant candle and is labeled "CALL".
- Lower line (support): Drawn at the lowest price of the most important candle and is called "PUT."
- These lines represent levels where a breakout is expected to lead to a strong price movement.
- Take Profit Targets (TP):
- Up to 8 bullish (above the upper line) and bearish (below the lower line) TP levels are calculated.
- They are calculated based on a percentage (tpPercentage) added or subtracted from the base lines.
- Example: If tpPercentage = 0.6% and the high price = 100, then bullish TP1 = 100.6, TP2 = 101.2, etc.
- Labels: Labels are drawn for each TP level indicating the value and level (TP1, TP2, etc.).
---
8. Buy and Sell Signals
- Buy (BUY) signal:
- Generated when the price breaks the upper line (ta.crossover).
- The "BUY" label is drawn with the redrawing of the TP levels.
- Sell signal (SELL):
- Generated when the price breaks the lower line (ta.crossunder).
- The "SELL" label is drawn with the redrawing of the TP levels.
- Purpose: To provide clear signals to the trader for making trade entry decisions.
=========================================================================
Thank you, n00btraders.
For using the import library: n00btraders/Timezone/1
For using the import library: The_lurker/AllCandlestickPatternsLibrary/1
========================================================================
Disclaimer:
The information and publications are not intended to be, nor do they constitute, financial, investment, trading, or other types of advice or recommendations provided or endorsed by TradingView.
تهدف أداة Smart FlexRange Breakout إلى تحديد فرص التداول بناءً على اختراقات الأسعار للمستويات الديناميكية (CALL، PUT) مع خط مركزي منقط، مع إمكانية اختيار السوق المناسب. تعتمد الأداة على تحليل الشموع اليابانية على مدى فترة زمنية محددة (مثل 3 ساعات). تُجمع بيانات الشموع (searchHours) لتحديد أهم شمعة بناءً على أنماط الشموع وحجم التداول خلال الإطار الزمني المحدد. ثم تُرسم مستويات الاختراق وأهداف جني الأرباح (TP)، بالإضافة إلى إشارات البيع والشراء، وإشعارات الاختراق، وخطوط الاتجاه الصعودي/الهبوطي بناءً على نقاط المحور.
يتم تشغيل الاداه حسب الفاصل المختار timeframe
الاستخدام العملي
1- الإعداد: اضبط السوق، والإطار الزمني، وعدد الساعات، والمنطقة الزمنية لتناسب احتياجات المتداول.
2- التداول: راقب إشارات (الشراء/البيع) ومستويات جني الأرباح لتحديد نقاط الدخول والخروج.
3- خطوط الاتجاه: استخدمها لفهم الاتجاه العام وتأكيد الإشارات.
1. الهدف: تحديد فرص التداول بناءً على اختراقات الأسعار
- فرص التداول: صُمم هذا المؤشر لمساعدة المتداولين على تحديد اللحظات التي يُحتمل فيها حدوث تحركات سعرية كبيرة، مما يسمح لهم بالدخول في صفقات شراء أو بيع بناءً على تغيرات السوق.
- اختراقات الأسعار: يُركز المؤشر على اللحظات التي تخترق فيها الأسعار مستويات رئيسية (مقاومة أو دعم). يحدث الاختراق عندما يتجاوز السعر مستوى مقاومة (صعودًا) أو يخترق مستوى دعم (هبوطًا)، مما يُشير إلى احتمال استمرار الحركة في نفس الاتجاه.
- ديناميكي: مستويات المقاومة والدعم ليست ثابتة؛ بل تُحسب بناءً على تحليل الشموع اليابانية على مدى فترة زمنية محددة، مما يجعلها مُكيفة مع ظروف السوق الحالية.
2. المستويات الديناميكية (مستويات المقاومة والدعم)
- مستويات المقاومة: تُمثل هذه الأسعار التي يصعب على السعر تجاوزها، وتُعرف هنا بأنها ارتفاع الشمعة الأكثر أهمية خلال الفترة المحددة.
- مستويات الدعم: تُمثل هذه الأسعار التي يصعب على السعر الانخفاض دونها، وتُعرف بأنها أدنى مستوى للشمعة الأكثر أهمية.
- ديناميكي: تُعاد حساب هذه المستويات مع كل فترة بحث جديدة (ساعات البحث)، مما يعني أنها تتغير بناءً على أحدث بيانات السوق، على عكس المستويات الثابتة التقليدية.
3. إضافة خط مركزي منقط
- خط المركز: يُرسم خط أفقي منقط عند نقطة المنتصف بين أعلى وأدنى شمعة ذات أهمية.
- الغرض:
- يوفر نقطة مرجعية بصرية لتحديد وضع السعر الحالي بالنسبة لمستويات الدعم والمقاومة.
- يساعد في تقييم ما إذا كان السعر يتحرك نحو اختراق (بالقرب من المقاومة) أو اختراق (بالقرب من الدعم).
- منقط: يُميزه النمط المنقط عن الخطوط العلوية والسفلية المتصلة، مما يُسهّل تمييزه بصريًا.
4. الاعتماد على تحليل الشموع اليابانية على مدى فترة زمنية محددة (ساعات البحث)
- تحليل الشموع اليابانية: يفحص المؤشر الشموع اليابانية لتحديد أيها الأكثر تأثيرًا على حركة السعر.
- الإطار الزمني (ساعات البحث):
- يُحدد المستخدم عدد الساعات (من 1 إلى 6) لتحليل الشموع، والذي يُحدد نطاق البيانات التي يعتمد عليها المؤشر.
- مثال: إذا كانت ساعات البحث = 3 والإطار الزمني = 30 دقيقة، فسيتم تحليل 6 شموع (3 ساعات ÷ 30 دقيقة).
- المرونة: يُمكن تعديل هذه الفترة لتناسب الأسواق المختلفة (مثل العملات المشفرة المتقلبة أو سوق الفوركس الأكثر استقرارًا).
5. تحديد الشمعة الأكثر أهمية بناءً على أنماط الشموع وحجم التداول
- الشمعة الأكثر أهمية: هي الشمعة التي يُعتقد أن لها التأثير الأكبر على حركة السعر بناءً على معايير محددة.
- أنماط الشموع:
- يتم تحليل الشموع باستخدام مكتبة أنماط الشموع (مثل شمعة الابتلاع، وشمعة المطرقة، وشمعة الدوجي).
- تُمنح أنماط الانعكاس (مثل نجمة الصباح، ونجم الشهاب) درجة أهمية عالية (100 نقطة) لأنها تُشير إلى تغيرات محتملة في الاتجاه.
- حجم التداول:
- يُقاس حجم تداول كل شمعة ويُقارن بالحد الأقصى والأدنى خلال الفترة.
- يُحسب الحجم كنسبة مئوية (0-100) ويُضاف إلى درجة النمط لتحديد الشمعة الأكثر أهمية.
- النتيجة: تُستخدم الشمعة ذات أعلى درجة (الأنماط + الحجم) لتحديد مستويات الدعم والمقاومة.
٦. الإطار الزمني
- الفاصل الزمني: يختار المستخدم إطارًا زمنيًا للشموع (١٥، ٣٠، أو ٦٠ دقيقة).
- الأهمية:
- يحدد عدد الشموع المُحللة خلال فترة ساعات البحث.
- يؤثر على دقة وسرعة الإشارات (الإطار الزمني الأقصر = إشارات أسرع ولكن أقل موثوقية؛ الإطار الزمني الأطول = إشارات أبطأ ولكن أكثر موثوقية).
- مثال: إذا كان الإطار الزمني ٦٠ دقيقة وساعات البحث ٣، فسيتم تحليل ٣ شموع فقط.
---
٧. رسم مستويات الاختراق وأهداف جني الأرباح (TP)
- مستويات الاختراق:
- الخط العلوي (المقاومة): يُرسم عند أعلى سعر للشمعة الأكثر أهمية ويُسمى "CALL".
- الخط السفلي (الدعم): يُرسم عند أدنى سعر للشمعة الأكثر أهمية ويُسمى "PUT".
- تمثل هذه الخطوط المستويات التي يُتوقع أن يؤدي فيها الاختراق إلى حركة سعرية قوية.
- أهداف جني الأرباح (TP):
- يتم حساب ما يصل إلى 8 مستويات جني أرباح صعودية (فوق الخط العلوي) وهبوطية (تحت الخط السفلي).
- يتم حسابها بناءً على نسبة مئوية (tpPercentage) تُضاف أو تُطرح من خطوط الأساس.
- مثال: إذا كانت نسبة جني الأرباح = 0.6% وكان أعلى سعر = 100، فإن هدف الربح الصعودي الأول = 100.6، وهدف الربح الثاني = 101.2، وهكذا.
- العلامات: تُرسم علامات لكل مستوى جني أرباح تشير إلى القيمة والمستوى (TP1، TP2، وهكذا).
---
8. إشارات الشراء والبيع
- إشارة الشراء (BUY):
- تُولّد عند اختراق السعر للخط العلوي (ta.crossover).
- تُرسم علامة "الشراء" مع إعادة رسم مستويات جني الأرباح.
- إشارة البيع (SELL):
- تُولّد عند اختراق السعر للخط السفلي (ta.crossunder). - يُرسم مؤشر "بيع" مع إعادة رسم مستويات جني الأرباح.
- الغرض: توفير إشارات واضحة للمتداول لاتخاذ قرارات دخول الصفقة.
==========================================================================
شكرًا لكم، أيها المتداولون الجدد.
لاستخدام مكتبة الاستيراد: n00btraders/Timezone/1
لاستخدام مكتبة الاستيراد: The_lurker/AllCandlestickPatternsLibrary/1
==============================================================================
إخلاء مسؤولية:
لا يُقصد بهذه المعلومات والمنشورات أن تكون، ولا تُشكل، نصائح أو توصيات مالية أو استثمارية أو تجارية أو أي نوع آخر من النصائح أو التوصيات المُقدمة من TradingView أو المُعتمدة منها.
VWAP Support/Resistance Strategy - EnhancedThis strategy works well on Gold and specifically on 15 minutes time frame. I have been back testing this strategy and forward testing as well, it is working well. Just use the basic price action as well to stay abide with the risk management and to execute the trades with effectiveness.
The ratio of winning and losing trades is very unfavourable but still we managed to close in green, it means it is effective. Also, we do not need to take each and every trade. Just be mindful with the limited trades and follow basic risk management rules. Back test the strategy on your own.
Deviation over Deviation (DoD) (DAFE) Deviation over Deviation (DoD)
Let’s call it out: The vast majority of “volatility” tools on TradingView are just new wrappers on old math—ATR, bands, and basic deviation, all chasing the same tired after-the-fact moves. They’re built to describe the aftermath, not the ignition. If you’re still relying on these, you’re trading in the rearview mirror while the real edge is already gone. That’s not our game, and it shouldn’t be yours.
Why is this different?
Deviation over Deviation (DoD) is built for one purpose:
To expose the hidden regime shifts—the moments when volatility itself becomes volatile, when the market’s “normal” deviation is no longer normal, and when the next move is about to erupt. This isn’t just another overlay. This is a quant-grade anomaly detector, engineered to show you the probability surface before the crowd even knows it’s changed.
What sets this apart:
Deviation over Deviation (DoD):
Not just “how much did price move,” but “how unusual is the current volatility compared to its own history?” This is the Z-score of Z-scores—a true rarity detector for market stress, lull, or impending breakout.
VoVix Integration:
Select VoVix as your source and you’re not just tracking price, but the volatility of volatility—the same math that powers institutional regime models. This is the edge that front-runs the move, not follows it.
Multi-Timeframe Comparative Engine:
Instantly compare current and higher timeframe DoD Z-scores. See when the micro and macro regimes align—or when they’re about to collide.
Professional, Adaptive Dashboard:
No cosmetic fluff, always showing you the real quant state: current DoD Z, HTF DoD Z, and regime warnings. Every color, every plot, every signal is a direct function of the logic—no distractions, no lag.
How this destroys the lag:
Standard deviation, ATR, and “volatility bands” are always late. They tell you what just happened. DoD and VoVix show you when the nature of volatility itself is changing—when the market is about to leave the old regime behind. This is the difference between trading the past and trading the future.
Inputs/Signals—explained for clarity:
Deviation Lookback & DoD Lookback:
Control the sensitivity and selectivity of the regime detector. Shorter = more signals, longer = only the rarest events.
Source Selection:
Choose from price, volume, volatility, or VoVix. Each source gives you a different lens on market stress. VoVix is for those who want to see the “regime quake” before the aftershocks.
HTF (Comparative Timeframe):
Set your higher timeframe for macro regime confirmation. When both DoD Z-scores align, you’re seeing a true market inflection.
VoVix Parameters:
Fine-tune the volatility-of-volatility engine for your market. Lower ATR Fast = more responsive; higher ATR Slow = more selective. Adjust for your asset, your timeframe, your edge.
Bottom line:
This isn’t just another “volatility” script. This is a regime anomaly detector, built for traders who want to anticipate, not react. Every input is there for a reason. Every plot is a direct readout of the quant logic. Use it to filter your entries, to time your exits, or to simply see the market’s hidden structure in real time.
Disclaimer:
Trading is risky. This script is for research and informational purposes only, not financial advice. Backtest, paper trade, and know your risk before going live. Past performance is not a guarantee of future results.
To TradingView mods and serious users:
This isn’t just another indicator. This is a quant tool for the next era. If flagged, we’ll keep adapting and republishing until real quant innovation gets its place.
Use with discipline. Trade your edge.
— Dskyz, for DAFE Trading Systems
Bull vs Bear Volume (Overlay Histogram)This script overlays estimated bullish and bearish volume directly on the price chart, making it easy to spot buying vs. selling pressure without switching to a separate volume pane.
🔍 Features:
📈 Bullish volume markers appear as green triangles below the candle.
📉 Bearish volume markers appear as red triangles above the candle.
🔄 Optional smoothing to reduce noise using simple moving average (SMA).
⚠️ Volume spike highlights: Bullish spikes turn lime green, bearish spikes turn bright red.
🔢 Toggle labels to see estimated volume values above/below each candle.
🔄 Works on all timeframes, from intraday to weekly/monthly charts.
📐 Methodology:
Bullish and bearish volume are estimated using the candle's range:
More bullish volume when the close is near the high.
More bearish volume when the close is near the low.
This is a visual proxy, not true order flow data.