OHLC Line ViewerThis indicator allows you to look at the chart differently.
How many times have we had that we wanted to look at pure LOW and HIGH data as a line?
Now it's possible!
Now you can look at all these candlesticks as lines and with bonuses!
The following options are available for viewing: Open, High, Low, Close.
Also, if you want, when some data rises/falls, your color will change.
There are also points on each of the data, which will make it convenient to look at the graph.
There are flags for quick viewing: purely Open and Close, as well as purely High and Low.
The color changes in "Styles".
Color 0 -> base color / growing color
Color 1 -> falling color
Chỉ báo và chiến lược
Médias Móveis Personalizadas por TipoContains 9, 20, 50, and 200 moving averages and a VWAP, allowing selection between simple and exponential with different colors and more!
Contem medias de 9 20 50 e 200 e uma vwap podendo escolher entre simples e exponencial com diferentes cores e etc!
Vulkan Profit
Overview
The Vulkan Profit indicator is a trend-following tool that identifies potential entry and exit points by monitoring the relationship between short-term and long-term moving averages. It generates clear buy and sell signals when specific moving average conditions align, making it useful for traders looking to confirm trend changes across multiple timeframes.
How It Works
The indicator utilizes four different moving averages:
Fast WMA (period 3) - A highly responsive weighted moving average
Medium WMA (period 8) - A less sensitive weighted moving average
Fast EMA (period 18) - A responsive exponential moving average
Slow EMA (period 28) - A slower exponential moving average
These moving averages are grouped into two categories:
Short-term MAs: Fast WMA and Medium WMA
Long-term MAs: Fast EMA and Slow EMA
Signal Generation Logic
The Vulkan Profit indicator generates signals based on the relative positions of these moving averages:
Buy Signal (Green Triangle)
A buy signal appears when the minimum value of the short-term MAs becomes greater than the maximum value of the long-term MAs. In other words, when both short-term MAs cross above both long-term MAs.
Sell Signal (Red Triangle)
A sell signal appears when the maximum value of the short-term MAs becomes less than the minimum value of the long-term MAs. In other words, when both short-term MAs cross below both long-term MAs.
Visual Components
Moving Averages - All four moving averages can be displayed or hidden
Signal Arrows - Green triangles for buy signals, red triangles for sell signals
Colored Line - A line that changes color based on the current market stance (green for bullish, red for bearish)
Customization Options
The indicator offers several customization settings:
Toggle the visibility of moving averages
Toggle the visibility of buy/sell signals
Adjust the color, width, and position of the signal line
Choose between different line styles (Line, Stepline, Histogram)
Practical Trading Applications
Trend Identification: The relative positioning of all moving averages helps identify the current market trend
Entry/Exit Points: The buy and sell signals can be used as potential entry and exit points
Trend Confirmation: The colored line provides ongoing confirmation of the trend direction
Filter: Can be used in conjunction with other indicators as a trend filter
Trading Strategy Suggestions
Trend Following: Enter long positions on buy signals and exit on sell signals during trending markets
Confirmation Tool: Use the signals to confirm trades identified by other indicators
Timeframe Analysis: Apply the indicator across multiple timeframes for stronger confirmation
Risk Management: Place stop-loss orders below recent swing lows for long positions and above recent swing highs for short positions
Tips for Best Results
The indicator performs best in trending markets and may generate false signals in ranging or highly volatile markets
Consider the broader market context before taking trades based solely on these signals
Use appropriate position sizing and risk management regardless of the indicator's signals
The longer timeframes generally produce more reliable signals with fewer false positives
The Vulkan Profit indicator combines the responsiveness of short-term averages with the stability of long-term averages to capture significant trend changes while filtering out minor price fluctuations.
EMA TTEMA Trend Tracker (EMA TT) is a dynamic TradingView indicator that helps visualize market trends by changing the EMA line color based on price action. Choose your preferred EMA length, and the line will adjust—turning bullish when price is above and bearish when price is below. This makes it easy to identify trend direction at a glance, improving decision-making for scalping and swing trading.
Disclaimer: This indicator is for informational and educational purposes only and should not be considered financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always conduct your own analysis and consult with a professional before making any trading decisions. Use this tool at your own discretion.
ATR - Asymmetric Turbulence Ribbon🧭 Asymmetric Turbulence Ribbon (ATR)
The Asymmetric Turbulence Ribbon (ATR) is an enhanced and reimagined version of the standard Average True Range (ATR) indicator. It visualizes not just raw volatility, but the structure, momentum, and efficiency of volatility through a multi-layered visual approach.
It contains two distinct visual systems:
1. A zero-centered histogram that expresses how current volatility compares to its historical average, with intensity and color showing speed and conviction
2. A braided ribbon made of dual ATR-based moving averages that highlight transitions in volatility behavior—whether volatility is expanding or contracting
The name reflects its purpose: to capture asymmetric, evolving turbulence in market behavior, through structure-aware volatility tracking.
_______________________________________________________________
🔧 Inputs (Fibonacci defaults)
ATR Length
Lookback period for ATR calculation (default: 13)
ATR Base Avg. Length
Moving average period used as the zero baseline for histogram (default: 55)
ATR ROC Lookback
Number of bars to measure rate of change for histogram color mapping (default: 8)
Timeframe Override
Optionally calculate ATR values from a higher or fixed timeframe (e.g., 1D) for macro-volatility overlay
Show Ribbon Fill
Toggles colored fill between ATR EMA and HMA lines
Show ATR MAs
Toggles visibility of ATR EMA and HMA lines
Show Crossover Markers
Shows directional triangle markers where ATR EMA and HMA cross
Show Histogram
Toggles the entire histogram display
_______________________________________________________________
📊 Histogram Component: Volatility Energy Profile
The histogram shows how far the current ATR is from its moving average baseline, centered around zero. This lets you interpret volatility pressure—whether it's expanding, contracting, or preparing to reverse.
To complement this, the indicator also plots the raw ATR line in aqua. This is the actual average true range value—used internally in both the histogram and ribbon calculations. By default, it appears as a slightly thicker line, providing a clear reference point for comparing historical volatility trends and absolute levels.
Use the baseline ATR to:
- Compare real-time volatility to previous peaks or troughs
- Monitor how ATR behaves near histogram flips or ribbon crossovers
- Evaluate volatility phases in absolute terms alongside relative momentum
The ATR line is particularly helpful for users who want to keep tabs on raw volatility values while still benefiting from the enhanced visual storytelling of the histogram and ribbon systems.
Each histogram bar is colored based on the rate of change (ROC) in ATR: The faster ATR rises or falls, the more intense the color. Meanwhile, the opacity of each bar is adjusted by the effort/result ratio of the price candle (body vs. range), showing how much price movement was achieved with conviction.
Color Interpretation:
🔴 Red
Strong volatility expansion
Market entering or deepening into a volatility burst
Seen during breakouts, panic moves, or macro shock events
Often accompanied by large real candle bodies
🟠 Orange
Moderate volatility expansion
Heating up phase, often precedes breakouts
Common in strong trending environments
Signals tightening before acceleration
🟡 Yellow
Mild volatility increase
Transitional state—energy building, not yet exploding
Appears in early trend development or pullbacks
🟢 Green
Mild volatility contraction
ATR cooling off
Seen during consolidation, reversion, or range balance
Good time to assess upcoming directional setups
🔵 Aqua
Moderate compression
Volatility is clearly declining
Signals consolidation within larger structure
Pre-breakout zones often form here
🔵 Deep Blue
Strong volatility compression
Market is coiling or dormant
Can signal upcoming squeeze or fade environment
Often followed by sharp expansion
Opacity scaling:
Brighter bars = efficient, directional price action (strong bodies)
Faded bars = indecision, chop, absorption, or wick-heavy structure
Together, color and opacity give a 2D view of market volatility: Hue = the type and direction of volatility
Opacity = the quality and structure behind it
Use this to gauge whether volatility is rising with conviction, fading into neutrality, or compressing toward breakout potential.
_______________________________________________________________
🪡 Ribbon Component: Volatility Rhythm Structure
The ribbon overlays two moving averages of ATR:
EMA (yellow) – faster, more reactive
HMA (orange) – smoother, more rhythmic
Their relationship creates the ribbon logic:
Yellow fill (EMA > HMA)
Short-term volatility is increasing faster than the longer-term rhythm
Signals active expansion and engagement
Orange fill (HMA > EMA)
Volatility is decaying or leveling off
Suggests possible exhaustion, pullback, or range
Crossover triangle markers (optional, off by default to avoid clutter) identify the moment of shift in volatility phase.
The ribbon reflects the shape of volatility over time—ideal for mapping cyclical energy shifts, transitional states, and alignment between current and average volatility.
_______________________________________________________________
📐 Strategy Application
Use the Asymmetric Turbulence Ribbon to:
- Detect volatility expansions before breakouts or directional runs
- Spot compression zones that precede structural ruptures
- Visually separate efficient moves from noisy market activity
- Confirm or fade trade setups based on underlying energy state
- Track the volatility environment across multiple timeframes using the override
_______________________________________________________________
🎯 Ideal Timeframes
Designed to function across all timeframes, but particularly powerful on intraday to daily ranges (1H to 1D)
Use the timeframe override to anchor your chart in higher-timeframe volatility context, like daily ATR behavior influencing a 1H setup.
_______________________________________________________________
🧬 Customization Tips
- Increase ATR ROC Lookback for smoother color transitions
- Extend ATR Base Avg Length for more macro-driven histogram centering
- Disable the histogram for ribbon-only rhythm view
- Use opacity and color shifts in the histogram to detect stealth energy builds
- Align ATR phases with structure or order flow tools for high-quality setups
CFD Lot Calculator [MT5 Optimized]CFD Position Size Calculator for MT5 (ES/NQ)
A clean, professional Pine Script tool that calculates optimal position sizes in lots for ES/NQ CFDs based on:
Account balance
Risk percentage per trade
Stop loss in pips
Contract size (default = 1 for MT5)
Features:
✅ Bottom-right compact table
✅ Displays risk amount, stop loss, and lot size
✅ Works with any CFD broker (adjust pip/contract values if needed)
✅ Detailed tooltips explain all inputs
Perfect for traders who want precise position sizing without chart clutter.
VOLGHAN STGForex Robots: A Comprehensive Guide for Traders
Introduction
In the dynamic world of Forex trading, various tools exist to assist traders in making decisions and executing trades. One popular yet controversial tool is the Forex Robot, also known as an Expert Advisor (EA). These robots are software programs designed to automatically execute trades based on a predefined set of rules and algorithms.
What is a Forex Robot and How Does It Work?
A Forex robot is a computer program that connects directly to your trading platform (like MetaTrader 4 or 5). These robots are designed to analyze currency price movements. They use technical indicators, price patterns, or custom trading strategies to identify buy or sell signals.
When a signal matching the robot's programmed rules is detected, the robot can automatically open or close a trade in your account without human intervention. The primary goal of using robots is to automate the trading process and eliminate the need for constant market monitoring.
Advantages of Using Forex Robots:
Automated & 24/7 Trading: Robots can analyze the market and trade continuously, even while you are asleep or busy with other activities.
High Execution Speed: Robots can react to market changes and execute trades in fractions of a second, much faster than a human can.
Emotionless Trading: One of the biggest challenges for traders is overcoming emotions like fear and greed. Robots operate purely based on logic and programmed rules, unaffected by emotions.
Backtesting: Most robots offer the ability to test their strategy on historical market data. This allows you to evaluate the robot's potential performance before using real money.
Strategy Adherence: Robots strictly and consistently follow the defined trading strategy without deviating from the rules.
Disadvantages and Risks of Using Forex Robots:
No Profit Guarantee: No Forex robot can guarantee profits. Past performance is not indicative of future results, as market conditions are constantly changing.
Need for Optimization: Strategies that work today may not work tomorrow. Robots require periodic monitoring, adjustments, and optimization to adapt to new market conditions.
Risk of Scams: The market is flooded with robots sold with unrealistic promises of huge profits. Many of these robots are either ineffective or outright scams.
Technical Issues: Robots require a stable internet connection and an active trading platform to function correctly. Internet outages or server problems can lead to missed trades or incorrect execution. Using a Virtual Private Server (VPS) is often recommended.
Curve Fitting: Some robots might be overly optimized to perform well on specific historical data (curve fitting), leading to poor performance in live, real-time market conditions.
Things to Consider Before Using a Forex Robot:
Thorough Research: Before buying or using any robot, research it extensively. Look for independent reviews, verified performance results (e.g., via sites like Myfxbook), and feedback from other users.
Understand the Strategy: Try to understand the logic and trading strategy behind the robot. Not knowing how the robot works makes risk management difficult.
Demo Account Testing: Always test the robot extensively on a demo account before using it with real money to familiarize yourself with its performance and settings.
Risk Management: Even when using a robot, risk management principles are crucial. Carefully set parameters for trade size (lot size), stop-loss, and take-profit.
Realistic Expectations: Remember that robots are tools to aid trading, not magical money-making machines. There is always a risk of losing capital.
Conclusion
Forex robots can be powerful tools for automating trades and capitalizing on market opportunities, especially for those who lack the time or inclination for constant market analysis. However, their use is not without risk. Success with Forex robots requires careful selection, proper understanding, thorough testing, appropriate risk management, and realistic expectations. Never risk money you cannot afford to lose, whether trading manually or using a robot.
ATR and Moving AverageUsing ATR and Moving Average: A Technical Analysis Strategy
The Average True Range (ATR) and the Moving Average are two important technical analysis tools that can be used together to identify trading opportunities in the market. In this article, we will explore how to use these two tools and how the crossover between them can indicate changes in the market.
What is ATR?
The Average True Range (ATR) is a measure of the volatility of an asset, which calculates the average true range of an asset over a period of time. The true range is the difference between the closing price and the opening price of an asset, or the difference between the closing price and the highest or lowest price of the day. ATR is an important measure of volatility, as it helps to identify the magnitude of price fluctuations of an asset.
What is Moving Average?
The Moving Average is a technical analysis tool that calculates the average price of an asset over a period of time. The Moving Average can be used to identify trends and price patterns, and is an important tool for traders. There are different types of Moving Averages, including the Simple Moving Average (SMA), the Exponential Moving Average (EMA), and the Weighted Moving Average (WMA).
Crossover between ATR and Moving Average
The crossover between ATR and Moving Average can be an important indicator of changes in the market. When ATR crosses above the Moving Average, it may indicate that the volatility of the asset is increasing and that the price may be about to rise. This occurs because ATR is increasing, which means that the true range of the asset is increasing, and the Moving Average is being surpassed, which means that the price is rising.
On the other hand, when ATR crosses below the Moving Average, it may indicate that the volatility of the asset is decreasing and that the price may be about to fall. This occurs because ATR is decreasing, which means that the true range of the asset is decreasing, and the Moving Average is being surpassed, which means that the price is falling.
Trading Strategies
There are several trading strategies that can be used with the crossover between ATR and Moving Average. Some of these strategies include:
Buying when ATR crosses above the Moving Average, with the expectation that the price will rise.
Selling when ATR crosses below the Moving Average, with the expectation that the price will fall.
Using the crossover between ATR and Moving Average as a filter for other trading strategies, such as trend analysis or pattern recognition.
In summary, the crossover between ATR and Moving Average can be an important indicator of changes in the market, and can be used as a technical analysis tool to identify trading opportunities. However, it is important to remember that no trading strategy is foolproof, and that it is always important to use a disciplined approach and manage risk adequately.
Maple&CBC StrategyEntry signal when:
ema's bullish or bearish in line + above/below vwap + cbc signal closed + profit taking on next cbc flip signal in reversed direction
INWISTA Trading SignalUnlock the power of precision trading with INWISTA—a sophisticated, multi-indicator tool designed to deliver actionable BUY and SELL signals directly on your TradingView charts. Whether you're a day trader, swing trader, or long-term investor, INWISTA combines proven technical analysis methods to help you navigate the markets with confidence.
Key Features:
Multi-Indicator Fusion: Integrates Simple Moving Averages (SMA), Exponential Moving Averages (EMA), Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), Bollinger Bands, Average True Range (ATR), On-Balance Volume (OBV), and Chaikin Money Flow (CMF) into one seamless system.
Clear Signals: Visual BUY (green triangles) and SELL (red triangles) signals plotted in real-time, based on advanced market conditions.
Customizable Parameters: Adjust periods for each indicator to suit your trading style—perfect for stocks, forex, crypto, and more.
Trend and Momentum Insights: Identifies overbought/oversold levels, momentum shifts, and volume-driven trends to optimize your entries and exits.
Alert Ready: Set up TradingView alerts to never miss a signal, with customizable messages for BUY and SELL triggers.
How It Works:
INWISTA analyzes price action, volatility, and volume using a proprietary blend of indicators:
RSI flags overbought (>70) or oversold (<30) conditions.
MACD detects momentum crossovers for trend confirmation.
Bollinger Bands highlight breakout or reversal opportunities.
OBV and CMF reveal volume strength behind price movements.
SMA and EMA overlays provide a clear trend context.
Why Choose INWISTA?
Unlike single-indicator strategies, INWISTA’s layered approach reduces noise and enhances signal reliability. It’s built for traders who demand precision without complexity—saving you time while boosting decision-making power.
Get Started:
Purchase access to INWISTA and add it to your TradingView charts today. Perfect for any timeframe or market—test it risk-free and see the difference a smarter signal system can make!
Note: INWISTA is a trading tool, not financial advice. Always combine it with your own analysis and risk management.
NY Midnight josefreisVertical lines signaling NY midnight.
Works from 4h to lower.
Trying to fix lines from previous weeks.
Quadruple Moving Average with Alerts [FitzTello]This indicator plots 4 Simple Moving Averages to your chart and alerts when price touches each. It also has the ability to be customized by timframe and the inputs.
Volume Delta DashboardHow It Works:
This script creates a Volume Delta Dashboard on TradingView, which helps traders visualize the balance between buying and selling volume (Volume Delta) directly on the chart. Here's a breakdown of the key components:
Volume Delta Calculation:
The script calculates the Volume Delta by comparing the volume of bars where the price closed higher (buying pressure) to those where the price closed lower (selling pressure).
Positive Volume Delta (green background) indicates more buying activity than selling, suggesting upward price movement. Negative Volume Delta (red background) indicates more selling than buying, signaling a potential downward move.
Smoothing with EMA:
To make the volume delta trend smoother and more consistent, an Exponential Moving Average (EMA) of the Volume Delta is used. This helps to reduce noise and highlight the prevailing buying or selling pressure over a 14-period.
Dynamic Position Selection:
The user can choose where the Volume Delta dashboard table will appear on the chart by selecting a position: top-left, top-right, bottom-left, or bottom-right. This makes the indicator adaptable to different chart setups.
Coloring:
The background of the table changes color based on the value of the Volume Delta. Green indicates a positive delta (more buyers), and Red indicates a negative delta (more sellers).
Use of This Strategy:
This Volume Delta Dashboard strategy is particularly useful for traders who want to:
Monitor Market Sentiment:
By observing the volume delta, traders can get a sense of whether there is more buying or selling pressure in the market. Positive volume delta can indicate a bullish sentiment, while negative delta can point to bearish sentiment.
Confirm Price Action:
The Volume Delta can be used alongside price action to confirm the strength of a price move. For example, if the price is moving up and the volume delta is positive, it suggests that the price increase is supported by buying pressure.
Identify Divergences:
Volume delta can help traders spot divergences between price and volume. For example, if the price is moving higher but the volume delta is negative, it may suggest a weakening trend and a potential reversal.
Optimize Entry/Exit Points:
By understanding the relationship between price movement and volume, traders can make more informed decisions about entering or exiting positions. For instance, a sudden increase in buying volume (positive delta) may indicate a good entry point for a long position.
Overall, the Volume Delta Dashboard can serve as a powerful tool for improving decision-making, by providing real-time insights into market dynamics and trading sentiment.
Momentum Breakout OscillatorUses VIX volatility, MACD, RSI, SMA, VWAP to determine buy and sell. Checks volume, must be beyond a certain threshold (eg. 1.5x regular volume)
Omar TradingOmar Trading Indicator – Description
The Omar Trading Indicator is a custom-built trading tool designed to identify potential buy signals based on multiple technical analysis factors. This indicator combines several key elements to improve trade accuracy and reliability.
Key Features:
✅ Zero Reversal from the Bottom – Detects price reversals from recent lows.
✅ Liquidity Check – Uses volume analysis to confirm market strength.
✅ MACD Crossover – Identifies bullish momentum when the MACD line crosses above the signal line.
✅ Moving Average Crossover – Confirms trend direction when a fast-moving average crosses a slow-moving average.
✅ Fibonacci Levels – Displays key Fibonacci retracement levels to identify potential support and resistance zones.
How It Works:
• The indicator scans for a zero-level price reversal from recent lows.
• It checks if volume is above the average liquidity level to confirm trade strength.
• A bullish MACD crossover is required to ensure upward momentum.
• A moving average crossover provides additional confirmation.
• Fibonacci retracement levels help traders identify key price zones for entry or exit.
Alerts & Notifications:
• The indicator plots buy signals directly on the chart.
• TradingView alerts can be set up to notify traders when all conditions align.
• Telegram integration allows automatic notifications for trade opportunities.
This tool is ideal for traders looking for a systematic and multi-confirmation approach to identifying potential buy opportunities.
EURUSD Swing High/Low ProjectionBikini Bottom custom projection tool. Aimed to project tops and bottoms. Don't use unless you understand how it works :)
Swing Buy Signal PRO [RSI + MACD + EMA50 + Volume + ATR]This swing trading script generates Buy Signals based on:
MACD Bullish Cross
RSI between 40 and 60
Price above EMA50
Volume confirmation (above 20-day average)
Additionally, it displays a dynamic trailing stop level calculated as Close - 3×ATR(14) to assist in risk management.
Ideal for daily timeframe swing trades (5–15 days). Use with large/mid cap liquid stocks.
Developed for high-conviction entries with momentum, trend, and participation confirmation.
Bollinger Bands with Narrow ConsolidationBollinger Bands with Narrow Consolidation
🔹 Indicator Description
This indicator is an enhanced version of the classic Bollinger Bands with a built-in narrow consolidation detection function. It helps identify low-volatility phases that may precede strong price movements.
🔹 How Does the Indicator Work?
Bollinger Bands Calculation: Based on the selected moving average type (SMA, EMA, RMA, WMA, VWMA) with an adjustable standard deviation.
Narrow Consolidation Detection: The indicator calculates the relative band width and highlights low-volatility zones.
Flexible Settings:
Choice of base moving average type.
Adjustable sensitivity to narrow consolidations.
Option to hide Bollinger Bands outside consolidation zones.
🔹 How to Use?
Monitoring Consolidation Zones: If the price is tightening in a narrow range, a strong movement may follow.
Combining with Other Tools: The indicator works well with volume analysis and oscillators.
Signal Filtering: You can hide Bollinger Bands and only display narrow consolidation zones.
🔹 Trading Strategies
✅ Breakout Strategy – A sharp move beyond the narrow range may signal a trade entry.
✅ Range Trading – Buy near the lower band and sell near the upper band in sideways markets.
✅ Signal Filtering with Oscillators – Use RSI or MACD to confirm directional moves.
🔹 Disclaimer
This indicator is for analytical purposes only and does not constitute financial advice. Trading in financial markets involves risks, including potential loss of capital. Always verify signals, use proper risk management, and never invest more than you can afford to lose.
🔹 Conclusion
The indicator helps traders identify low-volatility periods and prepare for strong moves. Its flexible settings allow customization for any trading strategy.
📈 Add this indicator to your toolkit and stay ahead of the market! 🚀
Полосы Боллинджера с узкой консолидацией
🔹 Описание индикатора
Этот индикатор – улучшенная версия классических полос Боллинджера с функцией определения узкой консолидации. Он помогает выявлять фазы низкой волатильности, которые могут предшествовать сильным движениям цены.
🔹 Как работает индикатор?
Полосы Боллинджера: Рассчитываются на основе выбранного типа скользящей средней (SMA, EMA, RMA, WMA, VWMA) с регулируемым стандартным отклонением.
Определение узкой консолидации: Индикатор вычисляет относительную ширину полос и выделяет зоны сжатой волатильности.
Гибкие настройки:
Выбор типа базовой скользящей средней.
Регулируемая чувствительность к узкой консолидации.
Режим скрытия полос Боллинджера вне зон консолидации.
🔹 Как использовать?
Мониторинг зон консолидации: Если цена сжимается в узком диапазоне, стоит подготовиться к сильному движению.
Комбинация с другими инструментами: Индикатор отлично сочетается с объемами и осцилляторами.
Фильтрация сигналов: Можно скрыть полосы Боллинджера и оставить только зоны узкой консолидации.
🔹 Торговые стратегии
✅ Пробой консолидации – Резкое движение за границы узкой зоны может служить сигналом на вход в рынок.
✅ Торговля от границ – Покупка у нижней границы и продажа у верхней при флэтовом движении.
✅ Фильтрация сигналов с осцилляторами – Использование RSI или MACD для подтверждения направленного движения.
🔹 Предупреждение
Этот индикатор предназначен исключительно для аналитики и не является финансовым советом. Торговля на финансовых рынках сопряжена с рисками, включая возможную потерю капитала. Всегда проверяйте сигналы, используйте управление рисками и не инвестируйте больше, чем можете позволить себе потерять.
🔹 Заключение
Индикатор помогает трейдерам находить периоды низкой волатильности и готовиться к мощным движениям. Гибкие настройки позволяют адаптировать его под любую стратегию.
📈 Добавьте индикатор в свой арсенал и оставайтесь на шаг впереди рынка! 🚀
Combined + Reversal By DemirkanThis indicator is a comprehensive tool designed to identify potential trend reversals, trend direction, and entry/exit points by combining multiple technical analysis instruments. It includes the following components:
Two Reversal Lines (Based on Donchian Channel): Two lines with different periods indicate potential support/resistance levels and trend changes.
Hull Moving Average (HMA): A smoother, less lagging moving average helps determine trend direction and short-term momentum.
Fibonacci Level: A dynamic Fibonacci retracement level, calculated based on the highest high and lowest low over a specific period, serves as a potential support or area of interest.
Signal Generation: Produces Buy/Sell signals based on the crossovers and conditions of these components.
Visual Aids: Enhances interpretation by coloring the area between lines, coloring candlesticks, and adding labels.
Detailed Component Description:
Input Parameters (Settings):
Reversal Line 1 Length (Default: 100): The period (number of bars) used to calculate the first reversal line. Longer periods capture slower, more significant trends.
Reversal Line 2 Length (Default: 33): The period used to calculate the second reversal line. Shorter periods react to faster, shorter-term changes.
HMA Length (Default: 100): The period for calculating the Hull Moving Average.
Source (Default: close): The price source used for all calculations (close, open, high, low, etc.).
Reversal Line Bar Offset (Default: 3): Determines how many bars forward the Reversal Lines are shifted on the chart. This can make signals appear slightly earlier (or later, depending on the strategy). 0 means no shift.
Fibonacci Level (Default: 0.382): Specifies the Fibonacci retracement level (between 0.0 and 1.0). Common levels like 0.382, 0.5, 0.618 can be used.
Lookback Period (Default: 20): The period (number of bars) over which to look back for the highest high and lowest low to calculate the Fibonacci level.
Price Margin (Default: 0.005): Tolerance (as a percentage) determining how close the price needs to be to the Fibonacci level to be considered "at the level". E.g., 0.005 = 0.5%. If the price is within 0.5% of the calculated Fibonacci level, the condition is met.
Calculations:
donchian(len) Function: Calculates the average (math.avg) of the highest high (ta.highest) and lowest low (ta.lowest) over a specific period (len). This is effectively the midline of a classic Donchian Channel and is used here as the "Reversal Line".
Reversal Lines (conversionLine1, conversionLine2): Calculated using the donchian function based on the user-defined conversionPeriods1 and conversionPeriods2 lengths.
Hull Moving Average (hullMA): Calculated using the hma function. This function uniquely combines Weighted Moving Averages (WMA) to achieve less lag.
Fibonacci Level Calculation (fibLevel1, isAtFibLevel): Finds the highest high and lowest low within the lookbackPeriod, calculates the range (priceRange). fibLevel1 is determined by subtracting priceRange * fibLevel from the highest high (representing a retracement level). isAtFibLevel checks if the current closing price is within the priceMargin tolerance of the calculated fibLevel1.
Visual Elements (Plots/Drawing):
plot(conversionLine1 , ...): Plots the first reversal line in blue, shifted forward by barOffset.
plot(conversionLine2 , ...): Plots the second reversal line in black, shifted forward by barOffset.
plot(hullMA, ...): Plots the Hull Moving Average in orange.
plot(fibLevel1, ...): Plots the calculated Fibonacci level as a light blue, dashed line.
fill(...): Fills the area between the two (shifted) reversal lines. The area is colored blue if conversionLine1 > conversionLine2 (often interpreted as bullish) and red otherwise (bearish). The color transparency is set to 90 (almost opaque).
label.*: Adds labels at trend change points. A "Buy" label appears when the area turns blue (Line 1 crosses above Line 2), and a "Sell" label appears when it turns red (Line 1 crosses below Line 2). Labels appear once when the trend starts and are updated/deleted when the trend changes.
plotshape(...): Plots shapes (arrows/labels) on the chart when specific conditions are met:
Reversal Crossover Signals: A green up arrow (shape.labelup) appears when conversionLine2 crosses above conversionLine1 (Buy Signal - buySignal). A red down arrow (shape.labeldown) appears when conversionLine1 crosses below conversionLine2 (Sell Signal - sellSignal).
Hull MA Signals: A green up arrow (hullBuySignal) appears when the price closes above the HMA after being below it. A red down arrow (hullSellSignal) appears when the price closes below the HMA after being above it.
Fibonacci Buy Signal: A purple up arrow (fibBuySignal) appears when both the price is near the calculated Fibonacci level (isAtFibLevel) and a Hull MA Buy signal (hullBuySignal) occurs simultaneously. This signifies a "confluence" signal.
barcolor(...): Changes the color of the candlesticks. Bars turn blue on a Hull MA Buy signal (hullBuySignal) and red on a Hull MA Sell signal (hullSellSignal). Otherwise, the bar color remains the default chart color.
How to Use / Interpret:
Trend Direction:
Observe the color of the filled area between the reversal lines (Blue = Uptrend, Red = Downtrend).
Note whether the price is above or below the Hull MA.
Consider the slope of the Hull MA (upward or downward).
Entry/Exit Signals:
Aggressive: Use the crossovers of the reversal lines (buySignal, sellSignal). Green arrow suggests buy, red arrow suggests sell.
Trend Following: Use the HMA crossovers (hullBuySignal, hullSellSignal). Green arrow suggests buy, red arrow suggests sell. The bar colors also confirm these signals visually.
Confirmed Buy: Look for the Fibonacci Buy Signal (Purple arrow). When the price reaches a potential support level (Fibonacci) and simultaneously gets an HMA Buy signal, it can be considered a stronger buy indication.
Support/Resistance:
The reversal lines themselves can act as dynamic support/resistance levels.
The plotted Fibonacci level (fibLevel1) can be monitored as a potential retracement and support zone.
Strategy:
Confluence (multiple signals aligning) can increase confidence. For example, a buySignal or hullBuySignal occurring while the HMA is pointing up and the fill area is blue might be considered stronger.
Adjust the barOffset parameter to fine-tune the timing of the visual signals according to your trading style.
Use the Fibonacci Buy signal to potentially find entry points after pullbacks in an uptrend or near potential bottoms after a decline.
Important Notes:
No single indicator provides 100% accurate signals. It's crucial to use this indicator in conjunction with other analysis methods (price action, chart patterns, volume, etc.) and sound risk management strategies.
The indicator's performance might vary in different market conditions (trending, sideways) and across different timeframes. Backtesting before live trading is recommended.
The barOffset value shifts the plotting of the lines forward visually but does not change the time at which the underlying calculation occurs (it's still based on the data up to the current closing bar).
15-Min Breakout Strategy✅ Marks the highest high & lowest low from the 2nd and 3rd 15-minute candles
✅ Plots horizontal lines from the 3rd candle onwards (not extending forever)
✅ Detects when the next candle (4th or beyond) crosses these levels
✅ Plots a Green "Buy Signal" if price breaks the highest high
✅ Plots a Red "Sell Signal" if price breaks the lowest low
币安BTC事件合约BINANCE:BTCUSDT //@version=5
indicator("币安BTC事件合约", overlay=true, max_labels_count=500)
// 黄色柱子条件 -----------------------------------
yellowCandle = close > open and open > close and open >= close and open >= close and (open - close) > (close - open ) and barstate.isconfirmed
// 黑色柱子条件 -----------------------------------
blackCandle = open > close and close > open and close >= open and close >= open and (close - open) > (open - close ) and barstate.isconfirmed
// 白色柱子条件 -----------------------------------
whiteCandle = close > open and open > close and open <= close and open <= close and (open - close) < (close - open ) and barstate.isconfirmed
// 蓝色柱子条件 -----------------------------------
blueCandle = open > close and close > open and close <= open and close <= open and (close - open) < (open - close ) and barstate.isconfirmed
// 判断是否为夏令时
isInDaylightSavingTime() =>
// 定义夏令时开始和结束的时间
dstStart = timestamp(year, 3, 25, 2, 0) // 每年3月最后一个周日2点开始
dstEnd = timestamp(year, 10, 25, 2, 0) // 每年10月最后一个周日2点结束
// 根据当前时间判断是否处于夏令时
time >= dstStart and time < dstEnd
// 用户选择时区
shanghaiTimeZone = input.bool(defval=true, title="上海时区")
londonTimeZone = input.bool(defval=true, title="伦敦时区")
newYorkTimeZone = input.bool(defval=true, title="纽约时区")
// 根据时区调整时间
adjustTimeZone(hour) =>
timeZoneOffset = 0
if shanghaiTimeZone
timeZoneOffset := timeZoneOffset + 8
if londonTimeZone
timeZoneOffset := timeZoneOffset + (isInDaylightSavingTime() ? 1 : 0)
if newYorkTimeZone
timeZoneOffset := timeZoneOffset - 5 + (isInDaylightSavingTime() ? 1 : 0)
hour + timeZoneOffset
// 获取当前时区的小时
currentHour = adjustTimeZone(hour)
// ========== 选择交易时间和日期 ========== //
// ========== 三大时区时间条件 ========== //
isAsianSession = shanghaiTimeZone and (currentHour >= 8 and currentHour < 16) // 亚洲时段 08:00-16:00
isLondonSession = londonTimeZone and ((currentHour >= 16) or (currentHour < 1)) // 伦敦时段 16:00-01:00
isNewYorkSession = newYorkTimeZone and ((currentHour >= 21) or (currentHour < 6)) // 纽约时段 21:00-06:00
inTradingHours() =>
isAsianSession or isLondonSession or isNewYorkSession
inTradingTime() =>
inTradingHours()
// ———— 参数设置 ————
atrPeriod =10
setting =input.float(0.5, title="0.1-1", minval=0.1, maxval=1, step=0.1)
lookbackBars = 1 // 验证周期
maxHistory = 100 // 最大统计交易数
showLabels =true // 显示信号标签
= ta.supertrend(setting, atrPeriod)
// ----------------------------------------------------------------------------------------------------------------------
// handle entry & exit signals
// 2. 成交量确认过滤
volumeFilterEnabled = false
volumeMALength = 20
volumeFilter = not volumeFilterEnabled or (volume > ta.sma(volume, volumeMALength)*1.2)
// 3. EMA200趋势过滤
emaFilterEnabled = false
emaBufferPerc = 0.5/100
emaz = 200
ema200 = ta.ema(close, emaz)
trendFilterLong = not emaFilterEnabled or (close > ema200*(1+emaBufferPerc))
trendFilterShort = not emaFilterEnabled or (close < ema200*(1-emaBufferPerc))
priceFilterEnabled = false
Pm3 = 3
minTick = syminfo.mintick * Pm3 // 3倍最小波动单位过滤无效信号
validPriceMove =not priceFilterEnabled or (ta.change(close) >= minTick)
adxlen = 14
dilen = 14
dirmov(len) =>
up7 = ta.change(high)
down7 = -ta.change(low)
plusDM = na(up7) ? na : (up7 > down7 and up7 > 0 ? up7 : 0)
minusDM = na(down7) ? na : (down7 > up7 and down7 > 0 ? down7 : 0)
truerange = ta.rma(ta.tr, len)
plus = fixnan(100 * ta.rma(plusDM, len) / truerange)
minus = fixnan(100 * ta.rma(minusDM, len) / truerange)
adx(dilen, adxlen) =>
= dirmov(dilen)
sum = plus + minus
adx = 100 * ta.rma(math.abs(plus - minus) / (sum == 0 ? 1 : sum), adxlen)
sig = adx(dilen, adxlen)
sig1 = 25
adxFilterEnabled = true
adxMove =not adxFilterEnabled or (sig >sig1 )
adxFilterEnabled1 = false
adxMove1 =not adxFilterEnabled1 or (sig >sig )
// ========== RSI参数 ========== //
relativeStrengthIndexLength = 14
smoothingLength = 21
rsiInputSource =close
isSmoothed = false
// ========== 超级趋势参数 ========== //
trendFactor = 0.5
averageTrueRangeLength = 10
// ========== 指标计算 ========== //
rsiValue = isSmoothed ? ta.hma(ta.rsi(rsiInputSource, relativeStrengthIndexLength), smoothingLength) : ta.rsi(rsiInputSource, relativeStrengthIndexLength)
calculateATR(source, atrLength) =>
highestHigh = ta.highest(source, atrLength)
lowestLow = ta.lowest(source, atrLength)
trueRange = na(highestHigh ) ? highestHigh - lowestLow : math.max(highestHigh - lowestLow, math.abs(highestHigh - source ), math.abs(lowestLow - source ))
ta.rma(trueRange, atrLength)
calculateSupertrend(factor, atrPeriod, source) =>
priceSource = source
atr = calculateATR(source, atrPeriod)
upperBand = priceSource + factor * atr
lowerBand = priceSource - factor * atr
prevLowerBand = nz(lowerBand )
prevUpperBand = nz(upperBand )
lowerBand := lowerBand > prevLowerBand or priceSource < prevLowerBand ? lowerBand : prevLowerBand
upperBand := upperBand < prevUpperBand or priceSource > prevUpperBand ? upperBand : prevUpperBand
int trendDirection = na
float supertrendValue = na
prevSupertrend = supertrendValue
if na(atr )
trendDirection := 1
else if prevSupertrend == prevUpperBand
trendDirection := priceSource > upperBand ? -1 : 1
else
trendDirection := priceSource < lowerBand ? 1 : -1
supertrendValue := trendDirection == -1 ? lowerBand : upperBand
rsi70L = 65
rsi30L = 60
rsi70S = 45
rsi30S = 35
rsi70T = 25
rsi30T = 100
= calculateSupertrend(trendFactor, averageTrueRangeLength, rsiValue)
finalLongCondition = volumeFilter and trendFilterLong and validPriceMove and adxMove and adxMove1
finalShortCondition = volumeFilter and trendFilterShort and validPriceMove and adxMove and adxMove1
// ———— 信号识别 ————
buySignal = direction == 1 and (yellowCandle or whiteCandle) and finalLongCondition and (rsiValue> rsiSupertrend) and ((rsiSupertrend >= rsi30L and rsiSupertrend <= rsi70L)or rsiSupertrend <= rsi70T) and inTradingTime() and volume>volume
sellSignal = direction == -1 and (blackCandle or blueCandle ) and finalShortCondition and (rsiValue< rsiSupertrend) and ((rsiSupertrend >= rsi30S and rsiSupertrend <= rsi70S)or rsiSupertrend >= rsi30T) and inTradingTime() and volume>volume
// ———— 交易记录系统 ————
var float entryPrices = array.new_float()
var int entryBars = array.new_int()
var bool tradeTypes = array.new_bool() // true=多头, false=空头
var float longSuccess = array.new_float()
var float shortSuccess = array.new_float()
// ———— 记录新交易 ————
if buySignal
array.unshift(entryPrices, close)
array.unshift(entryBars, bar_index)
array.unshift(tradeTypes, true)
if sellSignal
array.unshift(entryPrices, close)
array.unshift(entryBars, bar_index)
array.unshift(tradeTypes, false)
// ———— 交易结果验证 ————
if array.size(entryBars) > 0
for i = 0 to math.min(array.size(entryBars)-1, maxHistory-1)
entryBar = array.get(entryBars, i)
barsPassed = bar_index - entryBar
if barsPassed >= lookbackBars
entryPrice = array.get(entryPrices, i)
isLong = array.get(tradeTypes, i)
// 计算交易结果
success = isLong ? (close >= entryPrice ? 1 : 0) : (close <= entryPrice ? 1 : 0)
// 存储结果并移除旧记录
if isLong
array.push(longSuccess, success)
else
array.push(shortSuccess, success)
array.remove(entryPrices, i)
array.remove(entryBars, i)
array.remove(tradeTypes, i)
// ———— 统计计算 ————
longWinRate = array.size(longSuccess) > 0 ? array.avg(longSuccess)*100 : na
shortWinRate = array.size(shortSuccess) > 0 ? array.avg(shortSuccess)*100 : na
// ———— 专业可视化 ————
// 1. Supertrend 线
plot(supertrend, "Supertrend",
color = direction == 1 ? color.new(#F44336, 0) : color.new(#4CAF50, 0),
linewidth=2)
// 2. 买卖信号标记
plotshape(showLabels and buySignal ? supertrend : na,
"Buy", shape.labelup, location.belowbar,
color=#4CAF50, textcolor=color.white, size=size.small)
plotshape(showLabels and sellSignal ? supertrend : na,
"Sell", shape.labeldown, location.abovebar,
color=#F44336, textcolor=color.white, size=size.small)
// 3. 统计面板
var table statsTable = table.new(position.top_right, 3, 6,
frame_width=1,
frame_color=color.new(#787B86, 50),
border_width=1)
if barstate.islast
table.cell(statsTable, 0, 0, "策略统计",
width=3, text_color=color.white, text_size=size.normal)
// 表头
table.cell(statsTable, 0, 1, "类型",
text_color=color.gray)
table.cell(statsTable, 1, 1, "成功率",
text_color=color.gray)
table.cell(statsTable, 2, 1, "样本量",
text_color=color.gray)
// 多头统计
table.cell(statsTable, 0, 2, "多头交易",
text_color=color.new(#4CAF50, 70))
table.cell(statsTable, 1, 2, str.format("{0}%", longWinRate),
text_color=color.new(#4CAF50, 0))
table.cell(statsTable, 2, 2, str.tostring(array.size(longSuccess)),
text_color=color.new(#4CAF50, 30))
// 空头统计
table.cell(statsTable, 0, 3, "空头交易",
text_color=color.new(#F44336, 70))
table.cell(statsTable, 1, 3, str.format("{0}%", shortWinRate),
text_color=color.new(#F44336, 0))
table.cell(statsTable, 2, 3, str.tostring(array.size(shortSuccess)),
text_color=color.new(#F44336, 30))
// 参数显示
table.cell(statsTable, 0, 4, "验证周期",
text_color=color.gray, width=2)
table.cell(statsTable, 1, 4, str.tostring(lookbackBars)+"根K线",
text_color=color.gray)
table.cell(statsTable, 0, 5, "数据保留",
text_color=color.gray)
table.cell(statsTable, 1, 5, str.tostring(maxHistory)+"笔交易",
text_color=color.gray)
// ———— 背景趋势标识 ————
bgcolor(direction == 1 ? color.new(#4CAF50, 90) : color.new(#F44336, 90))
alertcondition(buySignal, title='Buy signal', message='Trend line is changing to green.')
alertcondition(sellSignal, title='Sell signal', message='Trend line is changing to red.')
事件合约event contracts
只在10分钟图的币安的BTC/USDT现货交易对,默认设置为0.5或者1. 选择1的话交易次数较少.
暂不支持30分钟或者1小时,或者ETH/USDT.
可以在币安联系我
Cyno1
ID: 66102371