Rally Base Drop SND Pivots [LuxAlgo]The Rally Base Drop SND Pivots indicator uses "Rally", "Base", and "Drop" Candles to determine pivot points at which supply and demand (SND) levels are drawn.
🔶 USAGE
Rally, Base, and Drop (RBD) candles create a formula for seeing market structure through a fixed methodology. We are able to use this concept to point out pivot areas where Rallies and Drops directly meet.
The RBD SND Pivots are similar to traditionally identified "fractal" pivot points, with one key difference.
RBD SND Pivots detect a specific number of Rally and Drop candles directly back-to-back, requiring one side of the pivot to contain entirely green candles and the other to be entirely red candles or vice versa.
Since these pivot levels are based on Rally, Base, and Drop candles, the method directly implements rigid logic to further structure a trading system when utilizing these pivot levels with traditional SND concepts.
Furthermore, by implementing this logic when looking for pivots, a significant portion of potential noise is naturally filtered out.
🔶 DETAILS
In typical SND systems, the term "Base" is used for multiple meanings.
In this indicator, the base is a product of a pivot being formed. Once a Pivot is identified, the "Base" is marked as the first Rally or Drop of the second half of the pivot formation.
Once the pivot is identified, the high or low of the base candle is used to measure the pivot level.
🔶 SETTINGS
Length: Sets the number of Rally and Drop Candles that the script will require to identify pivots.
Ex. "3" = 3 Rally followed by 3 Drop
Historical Lookback: Hides historic levels based on a bar # Lookback from the current bar.
When set to 0, all Levels will display. (0 by default)
Indicators and strategies
Sharpe Ratio ScreenerThe original code was created by tim_amblard , and the modifications were made by Mr_Rakun for the purpose of adapting the script into a screener format.
The Sharpe ratio is a popular metric used to measure the risk-adjusted return of an asset or portfolio, which allows traders and investors to assess whether the returns they are receiving are worth the risk they are taking. In this script, the Sharpe ratio is calculated over a 180-day period (approximately 6 months), and several valuation zones are defined based on the ratio to help assess whether an asset is overvalued, undervalued, or critically undervalued.
Key Features:
1. Risk-Free Rate Input: The user can define the risk-free rate (usually the return of government bonds or a similar safe asset) for Sharpe ratio calculation.
2. Lookback Period (180 Days): The default lookback period is set to 180 days (approximately 6 months) to calculate the mean and standard deviation of the asset’s daily returns.
3. Valuation Zones:
• Overvalued Zone: If the Sharpe ratio is greater than 5.
• Undervalued Zone: If the Sharpe ratio is between -1 and 5.
• Critically Undervalued Zone: If the Sharpe ratio is below -3.
• Neutral Zone: If the Sharpe ratio does not meet any of the above conditions.
4. Table View: The script pulls a list of symbols from the user (e.g., cryptocurrency or stock tickers) and displays their latest price, Sharpe ratio, and whether they are in an overvalued, undervalued, or neutral zone in a table format.
5. Custom Symbol Input: The user can input a list of symbols (separated by commas) to track.
6. Daily Timeframe Check: The script warns the user to ensure they are using a daily timeframe, as this indicator is designed specifically for it.
How It Works:
• The script calculates the daily returns for each symbol over the specified lookback period.
• It then calculates the mean and standard deviation of the returns to derive the Sharpe ratio.
• The Sharpe ratio is annualized, and it’s compared to the defined thresholds to categorize the symbol into different valuation zones.
• A table is generated on the chart to show the symbols, their current prices, and their Sharpe ratios, with color-coded background to easily identify whether they are overvalued (red), undervalued (green), or critically undervalued (blue).
This tool is useful for screening multiple assets for their Sharpe ratio to find investment opportunities with optimal risk-adjusted returns.
Original code credit: This code was originally written by tim_amblard and modified by Mr_Rakun for use as a screener.
Türkçe Açıklama:
Orijinal kod tim_amblard tarafından yazılmıştır ve Mr_Rakun tarafından, bu script’in tarayıcı formatına dönüştürülmesi amacıyla değiştirilmiştir.
Sharpe oranı, bir varlığın veya portföyün risk düzeltilmiş getirisini ölçmek için yaygın olarak kullanılan bir metriktir. Bu metrik, yatırımcıların aldıkları risk karşılığında aldıkları getirinin ne kadar verimli olduğunu değerlendirmelerine olanak tanır. Bu script’te, Sharpe oranı 180 günlük bir periyot (yaklaşık 6 ay) boyunca hesaplanır ve oranı baz alarak varlıkların değerleme bölgeleri tanımlanır: aşırı değerli, değerli ve kritik şekilde değersiz.
Ana Özellikler:
1. Risk-Free Rate (Risk-Free Oranı) Girişi: Kullanıcı, Sharpe oranı hesaplaması için risk-free (risksiz) oranı (genellikle devlet tahvilleri veya benzeri güvenli bir varlık getirisi) tanımlayabilir.
2. Lookback (Geribildirim) Periyodu (180 Gün): Varsayılan geribildirim periyodu, varlığın günlük getirilerinin ortalama ve standart sapmalarını hesaplamak için 180 gün (yaklaşık 6 ay) olarak ayarlanmıştır.
3. Değerleme Bölgeleri:
• Aşırı Değerli Bölge: Sharpe oranı 5’ten büyükse.
• Değerli Bölge: Sharpe oranı -1 ile 5 arasında ise.
• Kritik Derecede Değersiz Bölge: Sharpe oranı -3’ten küçükse.
• Nötr Bölge: Sharpe oranı yukarıdaki hiçbir koşulu karşılamıyorsa.
4. Tablo Görünümü: Script, kullanıcıdan alınan semboller listesine göre (örneğin, kripto para veya hisse senedi sembolleri) her bir sembolün son fiyatını, Sharpe oranını ve değerleme bölgesini tablo şeklinde gösterir.
5. Özel Sembol Girişi: Kullanıcı, izlemek istediği semboller listesini (virgülle ayrılmış) girebilir.
6. Günlük Zaman Çerçevesi Kontrolü: Script, kullanıcının doğru sonuçlar almak için günlük zaman çerçevesinde işlem yapması gerektiğini hatırlatır.
Nasıl Çalışır:
• Script, her sembol için belirtilen geribildirim periyodu boyunca günlük getirileri hesaplar.
• Ardından, getirilerin ortalama ve standart sapmasını hesaplayarak Sharpe oranını çıkarır.
• Sharpe oranı yıllıklaştırılır ve tanımlanan eşiklerle karşılaştırılarak sembol, farklı değerleme bölgelerine kategorize edilir.
• Grafik üzerinde, semboller, mevcut fiyatları ve Sharpe oranları gösteren bir tablo oluşturulur. Bu tablo, hangi sembollerin aşırı değerli (kırmızı), değerli (yeşil) veya kritik derecede değersiz (mavi) olduğunu kolayca görmek için renk kodlu arka planlar kullanır.
Bu araç, yatırım fırsatlarını daha verimli bir şekilde değerlendirebilmek için risk düzeltilmiş getiri açısından optimal fırsatları bulmak için birden fazla varlığın Sharpe oranlarını taramak için kullanışlıdır.
Advanced Momentum Scanner [QuantAlgo]Introducing the Advanced Momentum Scanner by QuantAlgo , a sophisticated technical indicator that leverages multiple EMA combinations, momentum metrics, and adaptive visualization techniques to provide deep insights into market trends and momentum shifts. It is particularly valuable for those looking to identify high-probability trading and investing opportunities based on trend changes and momentum shifts across any market and timeframe.
🟢 Technical Foundation
The Advanced Momentum Scanner utilizes sophisticated trend analysis techniques to identify market momentum and trend direction. The core strategy employs a multi-layered approach with four different EMA periods:
Ultra-Fast EMA for quick trend changes detection
Fast EMA for short-term trend analysis
Mid EMA for intermediate confirmation
Slow EMA for long-term trend identification
For momentum detection, the indicator implements a Rate of Change (RoC) calculation to measure price momentum over a specified period. It further enhances analysis by incorporating RSI readings, volatility measurements through ATR, and optional volume confirmation. When these elements align, the indicator generates various trading signals based on the selected sensitivity mode.
🟢 Key Features & Signals
1. Multi-Period Trend Identification
The indicator combines multiple EMAs of different lengths to provide comprehensive trend analysis within the same timeframe, displaying the information through color-coded visual elements on the chart.
When an uptrend is detected, chart elements are colored with the bullish theme color (default: green/teal).
Similarly, when a downtrend is detected, chart elements are colored with the bearish theme color (default: red).
During neutral or indecisive periods, chart elements are colored with a neutral gray color, providing clear visual distinction between trending and non-trending market conditions.
This visualization provides immediate insights into underlying trend direction without requiring separate indicators, helping traders and investors quickly identify the market's current state.
2. Trend Strength Information Panel
The trend panel operates in three different sensitivity modes (Conservative, Aggressive, and Balanced), each affecting how the indicator processes and displays market information.
The Conservative mode prioritizes signal reliability over frequency, showing only strong trend movements with high conviction levels.
The Aggressive mode detects early trend changes, providing more frequent signals but potentially more false positives.
The Balanced mode offers a middle ground with moderate signal frequency and reliability.
Regardless of the selected mode, the panel displays:
Current trend direction (UPTREND, DOWNTREND, or NEUTRAL)
Trend strength percentage (0-100%)
Early detection signals when applicable
The active sensitivity mode
This comprehensive approach helps traders and investors:
→ Assess the strength and reliability of current market trends
→ Identify early potential trend changes before full confirmation
→ Make more informed trading and investing decisions based on trend context
3. Customizable Visualization Settings
This indicator offers extensive visual customization options to suit different trading/investing styles and preferences:
Display options:
→ Fully customizable uptrend, downtrend, and neutral colors
→ Color-coded price bars showing trend direction
→ Dynamic gradient bands visualizing potential trend channels
→ Optional background coloring based on trend intensity
→ Adjustable transparency levels for all visual elements
These visualization settings can be fine-tuned through the indicator's interface, allowing traders and investors to create a personalized chart environment that emphasizes the most relevant information for their strategy.
The indicator also features a comprehensive alert system with notifications for:
New trend formations (uptrend, downtrend, neutral)
Early trend change signals
Momentum threshold crossovers
Other significant market conditions
Alerts can be delivered through TradingView's notification system, making it easy to stay informed of important market developments even when you are away from the charts.
🟢 Practical Usage Tips
→ Trend Analysis and Interpretation: The indicator visualizes trend direction and strength directly on the chart through color-coding and the information panel, allowing traders and investors to immediately identify the current market context. This information helps in assessing the potential for continuation or reversal.
→ Signal Generation Strategies: The indicator generates potential trading signals based on trend direction, momentum confirmation, and selected sensitivity mode. Users can choose between Conservative (fewer but more reliable signals), Balanced (moderate approach), or Aggressive (more frequent but potentially less reliable signals).
→ Multi-Period Trend Assessment: Through its layered EMA approach, the indicator enables users to understand trend conditions across different lookback periods within the same timeframe. This helps in identifying the dominant trend and potential turning points.
🟢 Pro Tips
Adjust EMA periods based on your timeframe:
→ Lower values for shorter timeframes and more frequent signals
→ Higher values for higher timeframes and more reliable signals
Fine-tune sensitivity mode based on your trading style:
→ "Conservative" for position trading/long-term investing and fewer false signals
→ "Balanced" for swing trading/medium-term investing with moderate signal frequency
→ "Aggressive" for scalping/day trading and catching early trend changes
Look for confluence between components:
→ Strong trend strength percentage and direction in the information panel
→ Overall market context aligning with the expected direction
Use for multiple trading approaches:
→ Trend following during strong momentum periods
→ Counter-trend trading at band extremes during overextension
→ Early trend change detection with sensitivity adjustments
→ Stop loss placement using dynamic bands
Combine with:
→ Volume indicators like the Volume Delta & Order Block Suite for additional confirmation
→ Support/resistance analysis for strategic entry/exit points
→ Multiple timeframe analysis for broader market context
Gradient Trend Filter STRATEGY [ChartPrime/PineIndicators]This strategy is based on the Gradient Trend Filter indicator developed by ChartPrime. Full credit for the concept and indicator goes to ChartPrime.
The Gradient Trend Filter Strategy is designed to execute trades based on the trend analysis and filtering system provided by the Gradient Trend Filter indicator. It integrates a noise-filtered trend detection system with a color-gradient visualization, helping traders identify trend strength, momentum shifts, and potential reversals.
How the Gradient Trend Filter Strategy Works
1. Noise Filtering for Smoother Trends
To reduce false signals caused by market noise, the strategy applies a three-stage smoothing function to the source price. This function ensures that trend shifts are detected more accurately, minimizing unnecessary trade entries and exits.
The filter is based on an Exponential Moving Average (EMA)-style smoothing technique.
It processes price data in three successive passes, refining the trend signal before generating trade entries.
This filtering technique helps eliminate minor fluctuations and highlights the true underlying trend.
2. Multi-Layered Trend Bands & Color-Based Trend Visualization
The Gradient Trend Filter constructs multiple trend bands around the filtered trend line, acting as dynamic support and resistance zones.
The mid-line changes color based on the trend direction:
Green for uptrends
Red for downtrends
A gradient cloud is formed around the trend line, dynamically shifting colors to provide early warning signals of trend reversals.
The outer bands function as potential support and resistance, helping traders determine stop-loss and take-profit zones.
Visualization elements used in this strategy:
Trend Filter Line → Changes color between green (bullish) and red (bearish).
Trend Cloud → Dynamically adjusts color based on trend strength.
Orange Markers → Appear when a trend shift is confirmed.
Trade Entry & Exit Conditions
This strategy automatically enters trades based on confirmed trend shifts detected by the Gradient Trend Filter.
1. Trade Entry Rules
Long Entry:
A bullish trend shift is detected (trend direction changes to green).
The filtered trend value crosses above zero, confirming upward momentum.
The strategy enters a long position.
Short Entry:
A bearish trend shift is detected (trend direction changes to red).
The filtered trend value crosses below zero, confirming downward momentum.
The strategy enters a short position.
2. Trade Exit Rules
Closing a Long Position:
If a bearish trend shift occurs, the strategy closes the long position.
Closing a Short Position:
If a bullish trend shift occurs, the strategy closes the short position.
The trend shift markers (orange diamonds) act as a confirmation signal, reinforcing the validity of trade entries and exits.
Customization Options
This strategy allows traders to adjust key parameters for flexibility in different market conditions:
Trade Direction: Choose between Long Only, Short Only, or Long & Short .
Trend Length: Modify the length of the smoothing function to adapt to different timeframes.
Line Width & Colors: Customize the visual appearance of trend lines and cloud colors.
Performance Table: Enable or disable the equity performance table that tracks historical trade results.
Performance Tracking & Reporting
A built-in performance table is included to monitor monthly and yearly trading performance.
The table calculates monthly percentage returns, displaying them in a structured format.
Color-coded values highlight profitable months (blue) and losing months (red).
Tracks yearly cumulative performance to assess long-term strategy effectiveness.
Traders can use this feature to evaluate historical performance trends and optimize their strategy settings accordingly.
How to Use This Strategy
Identify Trend Strength & Reversals:
Use the trend line and cloud color changes to assess trend strength and detect potential reversals.
Monitor Momentum Shifts:
Pay attention to gradient cloud color shifts, as they often appear before the trend line changes color.
This can indicate early momentum weakening or strengthening.
Act on Trend Shift Markers:
Use orange diamonds as confirmation signals for trend shifts and trade entry/exit points.
Utilize Cloud Bands as Support/Resistance:
The outer bands of the cloud serve as dynamic support and resistance, helping with stop-loss and take-profit placement.
Considerations & Limitations
Trend Lag: Since the strategy applies a smoothing function, entries may be slightly delayed compared to raw price action.
Volatile Market Conditions: In high-volatility markets, trend shifts may occur more frequently, leading to higher trade frequency.
Optimized for Trend Trading: This strategy is best suited for trending markets and may produce false signals in sideways (ranging) conditions.
Conclusion
The Gradient Trend Filter Strategy is a trend-following system based on the Gradient Trend Filter indicator by ChartPrime. It integrates noise filtering, trend visualization, and gradient-based color shifts to help traders identify strong market trends and potential reversals.
By combining trend filtering with a multi-layered cloud system, the strategy provides clear trade signals while minimizing noise. Traders can use this strategy for long-term trend trading, momentum shifts, and support/resistance-based decision-making.
This strategy is a fully automated system that allows traders to execute long, short, or both directions, with customizable settings to adapt to different market conditions.
Credit for the original concept and indicator goes to ChartPrime.
AutoFibGauge (TechnoBlooms) AutoFibGauge help users to understand Fibonacci retracement with auto-drawn levels from previous candes, dual moving average crossover for trend confirmation, and a thermometer for quick Fib level identification.
This indicator is designed to streamline your trading decisions. By automatically plotting the Fibonacci levels based on previous candles, it aids in identifying key support and resistance zones. User can choose the number of previous candles for which the Fibonacci is calculated.
Paired with a dual moving average crossover system for robust trend confirmation, this tools helps in aligning with the market's direction.
A dynamic thermometer display that instantly highlights critical Fib levels, making it easier than ever to spot opportunities at a glance.
*Auto Backtest & Optimize EngineFull-featured Engine for Automatic Backtesting and parameter optimization. Allows you to test millions of different combinations of stop-loss and take profit parameters, including on any connected indicators.
⭕️ Key Futures
Quickly identify the optimal parameters for your strategy.
Automatically generate and test thousands of parameter combinations.
A simple Genetic Algorithm for result selection.
Saves time on manual testing of multiple parameters.
Detailed analysis, sorting, filtering and statistics of results.
Detailed control panel with many tooltips.
Display of key metrics: Profit, Win Rate, etc..
Comprehensive Strategy Score calculation.
In-depth analysis of the performance of different types of stop-losses.
Possibility to use to calculate the best Stop-Take parameters for your position.
Ability to test your own functions and signals.
Customizable visualization of results.
Flexible Stop-Loss Settings:
• Auto ━ Allows you to test all types of Stop Losses at once(listed below).
• S.VOLATY ━ Static stop based on volatility (Fixed, ATR, STDEV).
• Trailing ━ Classic trailing stop following the price.
• Fast Trail ━ Accelerated trailing stop that reacts faster to price movements.
• Volatility ━ Dynamic stop based on volatility indicators.
• Chandelier ━ Stop based on price extremes.
• Activator ━ Dynamic stop based on SAR.
• MA ━ Stop based on moving averages (9 different types).
• SAR ━ Parabolic SAR (Stop and Reverse).
Advanced Take-Profit Options:
• R:R: Risk/Reward ━ sets TP based on SL size.
• T.VOLATY ━ Calculation based on volatility indicators (Fixed, ATR, STDEV).
Testing Modes:
• Stops ━ Cyclical stop-loss testing
• Pivot Point Example ━ Example of using pivot points
• External Example ━ Built-in example how test functions with different parameters
• External Signal ━ Using external signals
⭕️ Usage
━ First Steps:
When opening, select any point on the chart. It will not affect anything until you turn on Manual Start mode (more on this below).
The chart will immediately show the best results of the default Auto mode. You can switch Part's to try to find even better results in the table.
Now you can display any result from the table on the chart by entering its ID in the settings.
Repeat steps 3-4 until you determine which type of Stop Loss you like best. Then set it in the settings instead of Auto mode.
* Example: I flipped through 14 parts before I liked the first result and entered its ID so I could visually evaluate it on the chart.
Then select the stop loss type, choose it in place of Auto mode and repeat steps 3-4 or immediately follow the recommendations of the algorithm.
Now the Genetic Algorithm at the bottom right will prompt you to enter the Parameters you need to search for and select even better results.
Parameters must be entered All at once before they are updated. Enter recommendations strictly in fields with the same names.
Repeat steps 5-6 until there are approximately 10 Part's left or as you like. And after that, easily pour through the remaining Parts and select the best parameters.
━ Example of the finished result.
━ Example of use with Takes
You can also test at the same time along with Take Profit. In this example, I simply enabled Risk/Reward mode and immediately specified in the TP field Maximum RR, Minimum RR and Step. So in this example I can test (3-1) / 0.1 = 20 Takes of different sizes. There are additional tips in the settings.
━
* Soon you will start to understand how the system works and things will become much easier.
* If something doesn't work, just reset the engine settings and start over again.
* Use the tips I have left in the settings and on the Panel.
━ Details:
Sort ━ Sorting results by Score, Profit, Trades, etc..
Filter ━ Filtring results by Score, Profit, Trades, etc..
Trade Type ━ Ability to disable Long\Short but only from statistics.
BackWin ━ Backtest Window Number of Candle the script can test.
Manual Start ━ Enabling it will allow you to call a Stop from a selected point. which you selected when you started the engine.
* If you have a real open position then this mode can help to save good Stop\Take for it.
1 - 9 Сheckboxs ━ Allow you to disable any stop from Auto mode.
Ex Source - Allow you to test Stops/Takes from connected indicators.
Connection guide:
//@version=6
indicator("My script")
rsi = ta.rsi(close, 14)
buy = not na(rsi) and ta.crossover (rsi, 40) // OS = 40
sell = not na(rsi) and ta.crossunder(rsi, 60) // OB = 60
Signal = buy ? +1 : sell ? -1 : 0
plot(Signal, "🔌Connector🔌", display = display.none)
* Format the signal for your indicator in a similar style and then select it in Ex Source.
⭕️ How it Works
Hypothesis of Uniform Distribution of Rare Elements After Mixing.
'This hypothesis states that if an array of N elements contains K valid elements, then after mixing, these valid elements will be approximately uniformly distributed.'
'This means that in a random sample of k elements, the proportion of valid elements should closely match their proportion in the original array, with some random variation.'
'According to the central limit theorem, repeated sampling will result in an average count of valid elements following a normal distribution.'
'This supports the assumption that the valid elements are evenly spread across the array.'
'To test this hypothesis, we can conduct an experiment:'
'Create an array of 1,000,000 elements.'
'Select 1,000 random elements (1%) for validation.'
'Shuffle the array and divide it into groups of 1,000 elements.'
'If the hypothesis holds, each group should contain, on average, 1~ valid element, with minor variations.'
* I'd like to attach more details to My hypothesis but it won't be very relevant here. Since this is a whole separate topic, I will leave the minimum part for understanding the engine.
Practical Application
To apply this hypothesis, I needed a way to generate and thoroughly mix numerous possible combinations. Within Pine, generating over 100,000 combinations presents significant challenges, and storing millions of combinations requires excessive resources.
I developed an efficient mechanism that generates combinations in random order to address these limitations. While conventional methods often produce duplicates or require generating a complete list first, my approach guarantees that the first 10% of possible combinations are both unique and well-distributed. Based on my hypothesis, this sampling is sufficient to determine optimal testing parameters.
Most generators and randomizers fail to accommodate both my hypothesis and Pine's constraints. My solution utilizes a simple Linear Congruential Generator (LCG) for pseudo-randomization, enhanced with prime numbers to increase entropy during generation. I pre-generate the entire parameter range and then apply systematic mixing. This approach, combined with a hybrid combinatorial array-filling technique with linear distribution, delivers excellent generation quality.
My engine can efficiently generate and verify 300 unique combinations per batch. Based on the above, to determine optimal values, only 10-20 Parts need to be manually scrolled through to find the appropriate value or range, eliminating the need for exhaustive testing of millions of parameter combinations.
For the Score statistic I applied all the same, generated a range of Weights, distributed them randomly for each type of statistic to avoid manual distribution.
Score ━ based on Trade, Profit, WinRate, Profit Factor, Drawdown, Sharpe & Sortino & Omega & Calmar Ratio.
⭕️ Notes
For attentive users, a little tricks :)
To save time, switch parts every 3 seconds without waiting for it to load. After 10-20 parts, stop and wait for loading. If the pause is correct, you can switch between the rest of the parts without loading, as they will be cached. This used to work without having to wait for a pause, but now it does slower. This will save a lot of time if you are going to do a deeper backtest.
Sometimes you'll get the error “The scripts take too long to execute.”
For a quick fix you just need to switch the TF or Ticker back and forth and most likely everything will load.
The error appears because of problems on the side of the site because the engine is very heavy. It can also appear if you set too long a period for testing in BackWin or use a heavy indicator for testing.
Manual Start - Allow you to Start you Result from any point. Which in turn can help you choose a good stop-stick for your real position.
* It took me half a year from idea to current realization. This seems to be one of the few ways to build something automatic in backtest format and in this particular Pine environment. There are already better projects in other languages, and they are created much easier and faster because there are no limitations except for personal PC. If you see solutions to improve this system I would be glad if you share the code. At the moment I am tired and will continue him not soon.
Also You can use my previosly big Backtest project with more manual settings(updated soon)
Trendlines+ Crypto Smart by Ignotus#### **General Overview**
The **Trendlines+ Crypto Smart by Ignotus** indicator is an advanced technical analysis tool designed to identify trends, detect key supply and demand zones, and provide clear visual signals for trading decisions. This multi-functional script combines several powerful features into a single indicator, making it a comprehensive solution for traders seeking precision in their market analysis.
Developed specifically for the **Crypto Smart Community**, this indicator is inspired by proven strategies and optimized for use in volatile markets like cryptocurrencies. It is equally effective for beginners and experienced traders looking to streamline their technical analysis without sacrificing depth.
---
#### **Key Features**
1. **Trendlines with Breakouts:**
- Automatically detects bullish and bearish trendlines based on fractals.
- Provides visual signals when significant breakouts occur.
- Option to extend trendlines into the future with customizable styles (colors, thickness, line type).
2. **TRAMA (Trend Reversal Adaptive Moving Average):**
- A dynamic indicator that adapts to market conditions using advanced volatility and momentum calculations.
- Helps identify potential trend reversals and acts as a filter to confirm buy/sell signals.
3. **Supply and Demand Zones:**
- Identifies key accumulation and distribution areas in the market using intrabar data and volume analysis.
- Zones are dynamically drawn within the visible range of the chart, highlighting historically relevant levels.
- Fully customizable: adjust colors, transparency, and resolution to suit your trading style.
4. **Clear Visual Signals:**
- Intuitive markers on the chart indicate buy ("L") and sell ("S") signals.
- Seamless integration between trendlines, TRAMA, and supply/demand zones for validated entry and exit points.
5. **Optimized for Cryptocurrencies:**
- Specifically designed for volatile assets like cryptocurrencies but also functional across other markets (stocks, forex, commodities).
- Compatible with all timeframes, from intraday charts to weekly or monthly views.
---
#### **Configuration and Customization**
This indicator offers a wide range of configuration options to adapt to your specific needs:
- **Trendline Parameters:**
- Fractal detection length.
- Slope calculation method (ATR, Standard Deviation, Linear Regression).
- Option to enable/disable extended lines.
- **TRAMA Parameters:**
- Indicator length.
- Data source (default is closing price).
- **Supply/Demand Zone Parameters:**
- Volume threshold (%).
- Zone resolution.
- Customizable colors for supply (red) and demand (green) zones.
- **Visual Style:**
- Adjustable colors and transparency for all components.
- Options to show/hide specific elements (zones, average lines, etc.).
---
#### **How to Use the Indicator**
1. **Trend Identification:**
- Observe bullish (teal) and bearish (red) trendlines to determine the dominant market direction.
- Pay attention to trendline breakouts, which may signal significant changes in the trend.
2. **Confirmation with TRAMA:**
- Use the TRAMA indicator as an additional filter. A buy signal is stronger if the price is above the TRAMA line, while a sell signal is more reliable if the price is below it.
3. **Supply/Demand Zone Analysis:**
- Supply zones (red) indicate areas where the price might face resistance.
- Demand zones (green) highlight potential support areas.
- Look for interactions between the price and these zones to identify trading opportunities.
4. **Visual Signals:**
- The "L" (buy) and "S" (sell) markers help you make quick decisions based on the convergence of signals from the three main components.
---
#### **Requirements and Compatibility**
- **Pine Script Version:** Compatible with Pine Script v6.
- **Platform:** TradingView.
- **Markets:** Ideal for cryptocurrencies but also works for stocks, forex, and commodities.
- **Timeframes:** Functions across all timeframes, from intraday to weekly or monthly charts.
---
#### **Legal Disclaimer**
This indicator is a technical analysis tool and does not guarantee successful trading results. Its use should be accompanied by fundamental analysis and/or discretionary judgment. The author and the **Crypto Smart Community** assume no responsibility for losses or damages resulting from the use of this indicator.
Thank you for using **Trendlines+ Crypto Smart by Ignotus**! We hope this tool enhances your trading experience and helps you achieve your goals in the financial markets. 😊
Multiple AVWAP [OmegaTools]The Multiple AVWAP indicator is a sophisticated trading tool designed for professional traders who require precision in volume-weighted price tracking. This indicator allows for the deployment of multiple Anchored Volume Weighted Average Price (AVWAP) calculations simultaneously, offering deep insights into price movements, dynamic support and resistance levels, and trend structures across multiple timeframes.
This indicator caters to both institutional and retail traders by integrating flexible anchoring methods, multi-timeframe adaptability, and enhanced visualization features. It also includes deviation bands for statistical analysis, making it a comprehensive volume-based trading solution.
Key Features & Functionalities
1. Multiple AVWAP Configurations
Users can configure up to four distinct AVWAP calculations to track different market conditions.
Supports various anchoring methods:
Fixed: A traditional AVWAP that starts from a defined historical point.
Perpetual: A rolling VWAP that continuously adjusts over time.
Extension: An extension-based AVWAP that projects from past calculations.
High Volume: Anchors AVWAP to the highest volume bar within a specified period.
None: Option to disable AVWAP calculation if not required.
2. Advanced Deviation Bands
Implements standard deviation bands (1st and 2nd deviation) to provide a statistical measure of price dispersion from the AVWAP.
Serves as a dynamic method for identifying overbought and oversold conditions relative to VWAP pricing.
Deviation bands are customizable in terms of visibility, color, and transparency.
3. Multi-Timeframe Support
Users can assign different timeframes to each AVWAP calculation for macro and micro analysis.
Helps in identifying long-term institutional trading levels alongside short-term intraday trends.
4. Z-Score Normalization Mode
Option to standardize oscillator values based on AVWAP deviations.
Converts price movements into a statistical Z-score, allowing traders to measure price strength in a normalized range.
Helps in detecting extreme price dislocations and mean-reversion opportunities.
5. Customizable Visual & Aesthetic Settings
Fully customizable line colors, transparency, and thickness to enhance clarity.
Users can modify AVWAP and deviation band colors to distinguish between different levels.
Configurable display options to match personal trading preferences.
6. Oscillator Mode for Trend & Momentum Analysis
The indicator converts price deviations into an oscillator format, displaying AVWAP strength and weakness dynamically.
This provides traders with a momentum-based perspective on volume-weighted price movements.
User Guide & Implementation
1. Configuring AVWAPs for Optimal Use
Choose the mode for each AVWAP instance:
Fixed (set historical point)
Perpetual (rolling, continuously updated AVWAP)
Extension (projection from past AVWAP levels)
High Volume (anchored to highest volume bar)
None (disables the AVWAP line)
Adjust the length settings to fine-tune calculation sensitivity.
2. Utilizing Deviation Bands for Market Context
Activate deviation bands to see statistical boundaries of price action.
Monitor +1 / -1 and +2 / -2 standard deviation levels for extended price movements.
Consider price action outside of deviation bands as potential mean-reversion signals.
3. Multi-Timeframe Analysis for Institutional-Level Insights
Assign different timeframes to each AVWAP to compare:
Daily VWAP (institutional trading levels)
Weekly VWAP (swing trading trends)
Intraday VWAPs (short-term momentum shifts)
Helps identify where institutional liquidity is positioned relative to price.
4. Activating the Oscillator for Momentum & Bias Confirmation
The oscillator converts AVWAP deviations into a normalized value.
Use overbought/oversold levels to determine strength and potential reversals.
Combine with other indicators (RSI, MACD) for confluence-based trading decisions.
Trading Applications & Strategies
5. Trend Confirmation & Institutional VWAP Tracking
If price consistently holds above the primary AVWAP, it signals a bullish trend.
If price remains below AVWAP, it indicates selling pressure and a bearish trend.
Monitor retests of AVWAP levels for potential trend continuation or reversal.
6. Dynamic Support & Resistance Levels
AVWAP lines act as dynamic floating support and resistance zones.
Price bouncing off AVWAP suggests continuation, whereas breakdowns indicate a shift in momentum.
Look for confluence with high-volume zones for stronger trade signals.
7. Mean Reversion & Statistical Edge Trading
Prices that deviate beyond +2 or -2 standard deviations often revert toward AVWAP.
Mean reversion traders can fade extended moves and target AVWAP re-tests.
Helps in identifying exhaustion points in trending markets.
8. Institutional Liquidity & Volume Footprints
Institutions often execute large trades near VWAP zones, causing price reactions.
Tracking multi-timeframe AVWAP levels allows traders to anticipate key liquidity areas.
Use higher timeframe AVWAPs as macro support/resistance for swing trading setups.
9. Enhancing Momentum Trading with AVWAP Oscillator
The oscillator provides a momentum-based measure of AVWAP deviations.
Helps in confirming entry and exit timing for trend-following trades.
Useful for pairing with stochastic oscillators, MACD, or RSI to validate trade decisions.
Best Practices & Trading Tips
Use in Conjunction with Volume Analysis: Combine with volume profiles, OBV, or CVD for increased accuracy.
Adjust Timeframes Based on Trading Style: Scalpers can focus on short-term AVWAP, while swing traders benefit from weekly/daily AVWAP tracking.
Backtest Different AVWAP Configurations: Experiment with different anchoring methods and lookback periods to optimize trade performance.
Monitor Institutional Order Flow: Identify key VWAP zones where institutional traders may be active.
Use with Other Technical Indicators: Enhance trading confidence by integrating with moving averages, Bollinger Bands, or Fibonacci retracements.
Final Thoughts & Disclaimer
The Multiple AVWAP indicator provides a comprehensive approach to volume-weighted price tracking, making it ideal for professional traders. While this tool enhances market clarity and trade decision-making, it should be used as part of a well-rounded trading strategy with risk management principles in place.
This indicator is provided for informational and educational purposes only. Trading involves risk, and past performance is not indicative of future results. Always conduct your own analysis and due diligence before executing trades.
OmegaTools - Enhancing Market Clarity with Precision Indicators
SemiCircle Cycle Notation PivotsFor decades, traders have sought to decode the rhythm of the markets through cycle theory. From the groundbreaking work of HM Gartley in the 1930s to modern-day cycle trading tools on TradingView, the concept remains the same: markets move in repeating waves with larger cycles influencing smaller ones in a fractal-like structure, and understanding their timing gives traders an edge to better anticipate future price movements🔮.
Traditional cycle analysis has always been manual, requiring traders to painstakingly plot semicircles, diamonds, or sine waves to estimate pivot points and time reversals. Drawing tools like semicircle & sine wave projections exist on TradingView, but they lack automation—forcing traders to adjust cycle lengths by eye, often leading to inconsistencies.
This is where SemiCircle Cycle Notation Pivots indicator comes in. Semicircle cycle chart notation appears to have evolved as a practical visualization tool among cycle theorists rather than being pioneered by a single individual; some key influences include HM Gartley, WD Gann, JM Hurst, Walter Bressert, and RayTomes. Built upon LonesomeTheBlue's foundational ZigZag Waves indicator , this indicator takes cycle visualization to the next level by dynamically detecting price pivots and then automatically plotting semicircles based on real-time cycle length calculations & expected rhythm of price action over time.
Key Features:
Automated Cycle Detection: The indicator identifies pivot points based on your preference—highs, lows, or both—and plots semicircle waves that correspond to Hurst's cycle notation.
Customizable Cycle Lengths: Tailor the analysis to your trading strategy with adjustable cycle lengths, defaulting to 10, 20, and 40 bars, allowing for flexibility across various timeframes and assets.
Dynamic Wave Scaling: The semicircle waves adapt to different price structures, ensuring that the visualization remains proportional to the detected cycle lengths and aiding in the identification of potential reversal points.
Automated Cycle Detection: Dynamically identifies price pivot points and automatically adjusts offsets based on real-time cycle length calculations, ensuring precise semicircle wave alignment with market structure.
Color-Coded Cycle Tiers: Each cycle tier is distinctly color-coded, enabling quick differentiation and a clearer understanding of nested market cycles.
RSI & MACD Combo IndicatorThe RSI & MACD Combo Indicator is designed to help traders identify high-probability trend reversal points by combining the Relative Strength Index (RSI) and the Moving Average Convergence Divergence (MACD).
How It Works:
Buy Signal 🟢:
RSI is below 35 (oversold condition).
MACD crosses above the signal line (bullish crossover).
Sell Signal 🔴:
RSI is above 65 (overbought condition).
MACD crosses below the signal line (bearish crossover).
Features:
✅ Customizable RSI & MACD settings.
✅ Background color highlights buy/sell zones.
✅ Alerts for buy and sell signals.
✅ ATR-based labels for trade entries.
This indicator helps traders confirm momentum shifts and avoid false breakouts by requiring confluence between momentum (RSI) and trend confirmation (MACD).
MM Bar CountA revised version of the Bar Count indicator that allows you to set the reset hour and minutes.
This indicator displays a sequential bar count below the chart, automatically resetting at a specified time each day. The counter helps traders track the progression of bars from a consistent starting point, making it easier to identify patterns that occur at specific bar intervals.
Key Features:
Automatically resets count at your specified time (default: 8:30)
Customizable display frequency (show count every X bars)
Adjustable label size and color
Overlays directly on your chart for easy reference
Time-Weighted Price Action IndicatorThe Time-Weighted Price Action Indicator is a simple yet effective tool designed to detect consolidation zones based on time duration and highlight potential reversal points using a contrarian breakout logic. Instead of following traditional breakout strategies, this indicator aims to capitalize on false breakouts and reversal entries.
How It Works
• The indicator identifies a price range (zone) using a configurable lookback period.
• If the price remains within this range for a specified number of bars (threshold), a consolidation zone is confirmed.
• Once a breakout or breakdown from this zone occurs, the indicator triggers a reversed signal — suggesting a potential reversal instead of a trend-following entry.
• Support and resistance levels are marked visually, and BUY/SELL labels are plotted when price re-enters the zone, indicating potential exhaustion or traps.
Key Features
• ✅ Time-based consolidation detection
• ✅ Contrarian signal logic (Buy at breakdowns, Sell at breakouts)
• ✅ Dynamic zone plotting with support/resistance visualization
• ✅ Auto-reset after each breakout for fresh zone detection
• ✅ Visual labels and alerts for BUY/SELL signals
How to Use
• Ideal for range-bound markets or identifying trap zones around support/resistance.
• Use in conjunction with volume, momentum, or trend filters to refine entries.
• Can complement mean reversion strategies or be used as a signal confirmation tool.
Why This Combination?
This approach blends time-based consolidation logic with a contrarian price action perspective, offering traders a different lens to analyze markets. Instead of blindly following breakouts, it highlights areas where price rejections and false breakouts often occur — common in algorithm-driven markets.
Why It’s Worth Using
This indicator helps you stay ahead of trap zones, identify reversal spots, and understand price behavior in consolidation zones — a critical edge, especially in sideways or choppy markets. It adds context to price movement, helping traders avoid common breakout failures.
Note:
• No performance guarantees or exaggerated claims.
• No solicitation or promotional language used.
• This is a free, open-source educational tool meant to aid price action understanding.
Awesome Oscillator (AO) with Signals [AIBitcoinTrend]👽 Multi-Scale Awesome Oscillator (AO) with Signals (AIBitcoinTrend)
The Multi-Scale Awesome Oscillator transforms the traditional Awesome Oscillator (AO) by integrating multi-scale wavelet filtering, enhancing its ability to detect momentum shifts while maintaining responsiveness across different market conditions.
Unlike conventional AO calculations, this advanced version refines trend structures using high-frequency, medium-frequency, and low-frequency wavelet components, providing traders with superior clarity and adaptability.
Additionally, it features real-time divergence detection and an ATR-based dynamic trailing stop, making it a powerful tool for momentum analysis, reversals, and breakout strategies.
👽 What Makes the Multi-Scale AO – Wavelet-Enhanced Momentum Unique?
Unlike traditional AO indicators, this enhanced version leverages wavelet-based decomposition and volatility-adjusted normalization, ensuring improved signal consistency across various timeframes and assets.
✅ Wavelet Smoothing – Multi-Scale Extraction – Captures short-term fluctuations while preserving broader trend structures.
✅ Frequency-Based Detail Weights – Separates high, medium, and low-frequency components to reduce noise and improve trend clarity.
✅ Real-Time Divergence Detection – Identifies bullish and bearish divergences for early trend reversals.
✅ Crossovers & ATR-Based Trailing Stops – Implements intelligent trade management with adaptive stop-loss levels.
👽 The Math Behind the Indicator
👾 Wavelet-Based AO Smoothing
The indicator applies multi-scale wavelet decomposition to extract high-frequency, medium-frequency, and low-frequency trend components, ensuring an optimal balance between reactivity and smoothness.
sma1 = ta.sma(signal, waveletPeriod1)
sma2 = ta.sma(signal, waveletPeriod2)
sma3 = ta.sma(signal, waveletPeriod3)
detail1 = signal - sma1 // High-frequency detail
detail2 = sma1 - sma2 // Intermediate detail
detail3 = sma2 - sma3 // Low-frequency detail
advancedAO = weightDetail1 * detail1 + weightDetail2 * detail2 + weightDetail3 * detail3
Why It Works:
Short-Term Smoothing: Captures rapid fluctuations while minimizing noise.
Medium-Term Smoothing: Balances short-term and long-term trends.
Long-Term Smoothing: Enhances trend stability and reduces false signals.
👾 Z-Score Normalization
To ensure consistency across different markets, the Awesome Oscillator is normalized using a Z-score transformation, making overbought and oversold levels stable across all assets.
normFactor = ta.stdev(advancedAO, normPeriod)
normalizedAO = advancedAO / nz(normFactor, 1)
Why It Works:
Standardizes AO values for comparison across assets.
Enhances signal reliability, preventing misleading spikes.
👽 How Traders Can Use This Indicator
👾 Divergence Trading Strategy
Bullish Divergence
Price makes a lower low, while AO forms a higher low.
A buy signal is confirmed when AO starts rising.
Bearish Divergence
Price makes a higher high, while AO forms a lower high.
A sell signal is confirmed when AO starts declining.
👾 Buy & Sell Signals with Trailing Stop
Bullish Setup:
✅AO crosses above the bullish trigger level → Buy Signal.
✅Trailing stop placed at Low - (ATR × Multiplier).
✅Exit if price crosses below the stop.
Bearish Setup:
✅AO crosses below the bearish trigger level → Sell Signal.
✅Trailing stop placed at High + (ATR × Multiplier).
✅Exit if price crosses above the stop.
👽 Why It’s Useful for Traders
Wavelet-Enhanced Filtering – Retains essential trend details while eliminating excessive noise.
Multi-Scale Momentum Analysis – Separates different trend frequencies for enhanced clarity.
Real-Time Divergence Alerts – Identifies early reversal signals for better entries and exits.
ATR-Based Risk Management – Ensures stops dynamically adapt to market conditions.
Works Across Markets & Timeframes – Suitable for stocks, forex, crypto, and futures trading.
👽 Indicator Settings
AO Short Period – Defines the short-term moving average for AO calculation.
AO Long Period – Defines the long-term moving average for AO smoothing.
Wavelet Smoothing – Adjusts multi-scale decomposition for different market conditions.
Divergence Detection – Enables or disables real-time divergence analysis. Normalization Period – Sets the lookback period for standard deviation-based AO normalization.
Cross Signals Sensitivity – Controls crossover signal strength for buy/sell signals.
ATR Trailing Stop Multiplier – Adjusts the sensitivity of the trailing stop.
Disclaimer: This indicator is designed for educational purposes and does not constitute financial advice. Please consult a qualified financial advisor before making investment decisions.
Ethereum Logarithmic Regression Bands (Fine-Tuned)This indicator, "Ethereum Logarithmic Regression Bands (Fine-Tuned)," is my attempt to create a tool for estimating long-term trends in Ethereum (ETH/USD) price action using logarithmic regression bands. Please note that I am not an expert in financial modeling or coding—I developed this as a personal project to serve as a rough estimation rather than a precise or professional trading tool. The data was fitted to non-bubble periods of Ethereum's history to provide a general trendline, but it’s far from perfect.
I’m sharing this because I couldn’t find a similar indicator available, and I thought it might be useful for others who are also exploring ETH’s long-term behavior. The bands start from Ethereum’s launch price and are adjustable via input parameters, but they are based on my best effort to align with historical data. With some decent coding experience, I’m sure someone could refine this further—perhaps by optimizing the coefficients or incorporating more advanced fitting techniques. Feel free to tweak the code, suggest improvements, or use it as a starting point for your own projects!
How to Use:
** THIS CHART IS SPECIFICALLY CODED FOR ETH/USD (KRAKEN) ON THE WEEKLY TIMEFRAME IN LOG VIEW**
The main band (blue) represents the logarithmic regression line.
The upper (red) and lower (green) bands provide a range around the main trend, adjustable with multipliers.
Adjust the "Launch Price," "Base Coefficient," "Growth Coefficient," and other inputs to experiment with different fits.
Disclaimer:
This is not financial advice. Use at your own risk, and always conduct your own research before making trading decisions.
VWAP Pro ToolkitVWAP Pro Toolkit is an advanced all-in-one indicator designed to enhance market precision and execution. This powerful toolkit integrates institutional trading tools, including VWAP, EMA, Session Volume Profile (SVP), and a Forex Lot Size Calculator, to help traders optimize their entries, exits, and risk management.
Features:
🔹 VWAP & EMA – Identify institutional price levels, trend direction, and dynamic support/resistance.
🔹 Session Volume Profile (SVP) – Visualize key liquidity zones and high-volume areas for strategic trade execution.
🔹 Forex Lot Size Calculator – Automatically determines the ideal position size based on risk management parameters.
🔹 Customizable & User-Friendly – Designed for scalpers, day traders, and swing traders seeking precision and efficiency.
Whether you're trading forex, stocks, or commodities, VWAP Pro Toolkit provides the essential tools to navigate the markets with confidence. 🚀
Breaker, Market Structure, ADR ZonesThis is hybrid of multiple scripts spliced together and consists of the following:
1. LuxAlgo's 2023 Breaker Blocks with Signals
2. LuxAlgo's 2023 Market Structure CHoCH/BOS (Fractal)
3. TFlab's 2024 Market Structures + ZigZag CHoCH/BOS - MSS/MSB
4. KivancOzbiligic's 2021 Supertrend
5. DreadBlitz's 2019 Bollinger Bands on MACD
6. LoneSomeTheBlue's 2021 Higher High Lower Low Strategy (With Source Code)
7. the author(s) of TradingView's in-house VWAP indicator
Special shoutout to the following indicators:
UAlgo's Price Action Volumetric Order Blocks
TTrades Daily Bias by TradeforOpp (based on the youtube video by TTrades
-----------------------------------------------------------------------------------------
The code produces Breaker Blocks (which are based on ICT concepts), shows Changes of Character "ChoCh" and Breaks of Structure "BOS", Higher Highs and Lower Lows, Volume Weighed Average Price (VWAP), and Average Daily Range (ADR) zones.
It also includes an indicator table to show confluence: whether price is currently above or below VWAP, whether the 13, 21, and 50 emas are ordered bearish or bullish, whether SuperTrend is in a bullish or bearish trend, and the current momentum and speed of the current candle via derivations from Commodity Channel Index (CCI). Finally, it also allows the user to the display Heiken Ashi candle shadows to see trend through the noise.
It is intended to be useful for both swing and day trading.
How to Use This Script:
This indicator is intended as a swiss army knife so you can find multiple ways how to use this.
Probably one of best ways to use this script is wait for a bullish or bearish Breaker Block to appear simultaneously or near-simultaneously with a Change of Character "Choch" in the same direction. Use other elements for confluence, such loss or regain of VWAP or its outer bands, state of the SuperTrend, etc. During day trades, this appears to be especially useful when price falls soon outside the 1st outer VWAP band and continues to close outside of it, suggesting a strong trend for the day.
The CCI indicators in the table are useful for showing both speed and momentum. Contrary to the common perception that CCI above 100+ is "overbought" or CCI below -100 is "oversold", you actually want to trade with, not against these conditions because it implies one side has control. The "CCI" in the table simply lists the current index position, whereas CCI is the 1st derivative of CCI (velocity), and the CCI more akin to an acceleration when CCI is extending beyond its bollinger band.
When viewing the daily timeframe, you will see Average Daily Range zones appear. These are useful as they tend to act as "support" and "resistance". A break through the upper or lower ADR zones within the opening minutes of the session indicates a strong breakout/breakdown. See Range Rush Reversal indicator by Kiakili on how to use ADR zones.
Note: This is version 5 script. The conversion to version 6 is not quite so simple as a click of a button.
Final Notes: Please, by all means test this code for algorithmic trading ala "Michael Automates" on Youtube. If you are an aspiring (or actual) statistical modeler, you should be generating multiple decision-tree-like flags to create triggering conditions for buying and selling (feature engineering. Try incorporate moving up stops), then iterate through different model fits to see what generates the highest net profit and profit factor at the lowest drawdown (there's a lot of target variables you could potentially create to model for). Then check for robustness by testing your model on multiple out-of-time vintages and on multiple asset classes. If they are great results, post your code and results here as a Strategy please!
I can be found at @sax_yak on Twitter (now X).
Engulfing Candles (ATR-Based)This indicator detects Engulfing Patterns with an ATR-based filtering mechanism and trend confirmation. Unlike a basic engulfing pattern indicator that only checks if a current candle engulfs the previous one, this script incorporates trend detection using either the 50-period SMA alone or a combination of 50 and 200-period SMAs to ensure that signals align with the broader trend. The indicator identifies Bullish Engulfing patterns when a strong bullish candle engulfs a smaller bearish candle in a downtrend and Bearish Engulfing patterns when a strong bearish candle engulfs a smaller bullish candle in an uptrend. It also generates alerts and visually marks these patterns with labels ("BU" for bullish and "BE" for bearish) while highlighting the background accordingly.
What sets this indicator apart from a normal engulfing indicator is its ATR-based filtering system, which ensures that only significant engulfing candles are considered. Instead of accepting any engulfing pattern, the script measures candle body size relative to 1.5x ATR (configurable) to filter out weak signals. It also differentiates between long-bodied and small-bodied candles to confirm that the engulfing pattern represents real momentum shifts. This approach reduces false signals caused by small, insignificant candles and ensures that traders focus on high-probability reversal patterns. By integrating trend-based filtering and ATR-based confirmation, this indicator provides more reliable and context-aware engulfing signals than a standard engulfing pattern detector.
AVWAP CurvesThis indicator calculates and displays Anchored Volume-Weighted Average Price (AVWAP) for the 15-minute, 1-hour, and 4-hour timeframes. It helps identify volume-weighted support/resistance levels and trends based on volume and price data.
Multiple Timeframes: Displays AVWAP curves for 15m, 1h, and 4h. Users can toggle visibility for each timeframe.
Price Anchor Selection: Choose between Low, High, or HL2 as the price anchor for the AVWAP calculation.
Custom Date & Time Anchor: Set a specific start time for the AVWAP calculation.
Alerts: Alerts are triggered when the price crosses above or below any AVWAP curve.
M2 Global Liquidity Index - 10 Week Lead
M2 Global Liquidity Index - Forward Projection (10 Weeks)
This indicator provides a 10-week forward projection of the M2 Global Liquidity Index, offering traders insight into potential future market conditions based on global money supply trends.
What This Indicator Shows
The M2 Global Liquidity Index aggregates M2 money stock data from five major economies:
- China (CNY)
- United States (USD)
- European Union (EUR)
- Japan (JPY)
- Great Britain (GBP)
All values are converted to USD and presented as a unified global liquidity metric, providing a comprehensive view of worldwide monetary conditions.
Forward Projection Feature
This adaptation displays the indicator 10 weeks ahead of the current price, allowing you to visualize potential future liquidity conditions that might influence market behavior. The projection maintains data integrity while providing an advanced view of the liquidity landscape.
Trading Applications
- Anticipate potential market reactions to changing global liquidity conditions
- Identify divergences between projected liquidity and current price action
- Develop longer-term strategic positions based on forward liquidity projections
- Enhance your macro-economic analysis toolkit
Credit
This indicator is an adaptation of the original "M2 Global Liquidity Index" created by Mik3Christ3ns3n. Full credit for the original concept and implementation goes to the original author. This version simply adds a 10-week forward projection to the existing calculations.
Disclaimer
This indicator is for informational purposes only and should be used as one of many tools in your analysis. Past performance and projections are not guarantees of future results.
Candle markerVue rapide des bougies de 2 h, 9 h, 14 h et 16 h.
Quick view of the candles at 2 AM, 9 AM, 2 PM, and 4 PM.
FxMoriarty**Title:** **VWAP Pro Toolkit – Session Volume & Risk Calculator**
**Description:**
The **VWAP Pro Toolkit** is an advanced trading indicator designed for traders who rely on **VWAP, Session Volume Profile, and precise risk management**. This tool integrates:
✅ **VWAP & Anchored VWAP** – Track institutional positioning by anchoring VWAP to key levels like **London Open, New York Open, or significant S/R zones**.
✅ **Session Volume Profile (SVP)** – Analyze volume distribution across different sessions to identify high liquidity areas and breakout zones.
✅ **Risk Calculator** – Built-in **position size and risk-reward calculator** to optimize trade execution and maintain strict **2.5R risk management**.
✅ **Relative Volume (RVOL) Analysis** – Confirms breakout strength by comparing current volume to historical averages.
Perfect for traders using **Opening Range Breakout (ORB), Volume Profile, and Institutional Order Flow** strategies. Enhance your trading precision with VWAP-driven insights and **avoid false breakouts!** 🚀
#VWAP #TradingIndicator #SessionVolume #RiskManagement #Forex #XAUUSD
Chandelier & Stochastique SESE04⚙️ 1. Indicator Objective: This "Candlestick & Stochastic Touli" indicator aims to help traders automatically identify Japanese candlestick reversal patterns, filtered by a Stochastic oscillator. It thus combines two technical tools: ✅ Candlestick pattern recognition ✅ Overbought/oversold indication via Stochastic
🔔 Important note: This tool is educational and does not constitute financial advice. It should be used as a support for analysis, never as the sole basis for making investment decisions.
🔑 2. Indicator Parameters ✳️ A. Candlestick Pattern Detection Parameters:
Parameter Description
Doji Detection of neutral candles with very small bodies
Shooting Star / Inverted Hammer Bearish and bullish reversal patterns
Hanged Man / Hammer Reversal patterns based on long wicks
Engulfing Bullish and bearish engulfing (2-candle pattern)
Piercing / Dark Cloud Cover Reversal through penetration of the previous body
Morning Star / Evening Star Classic 3-candle patterns (reversal)
Morning Star / Evening Star (4 candles) More complex 4-candle variant for additional confirmation
✳️ B. Stochastic Parameters (STOCHASTICS):
Parameter Description
--- ---
K Periods Length for %K (sensitivity of the stochastic)
D Periods Moving average for %D (smoothing of the stochastic)
Smooth K Additional smoothing for %K
High Borner Overbought threshold (e.g., 80)
Low Borner Oversold threshold (e.g., 20)
🎯 Objective: Filter patterns only when overbought/oversold conditions are met for greater reliability.
📊 3. Technical Operation and Calculation Logic ✅ A. Filtering via Stochastic: ⚡ When Stochastic (%K) is above 80, it suggests an overbought area → Favors bearish patterns. ⚡ When Stochastic (%K) is below 20, it suggests an oversold area → Favors bullish patterns. It filters according to 1 or 2 consecutive candles in these areas (sto_1_candle_up/down, sto_2_candle_up/down). ✅ B. Pattern Detection: Doji: Candle with a small body (open ≈ close), detected in the oversold/overbought zone based on Stochastic. Shooting Star / Inverted Hammer: Small body + long upper or lower wick, filtered by Stochastic. Hammer / Hanged Man: Candle with a long lower or upper wick, small body size, filtered by Stochastic. Bullish/Bearish Engulfing: The body of the second candle engulfs the previous one, opposite direction, filtered. Piercing / Dark Cloud Cover: The second candle significantly penetrates the first body's body (50% or more). Morning Star / Evening Star: Specific 3-candle sequences (direction, body size, gap). Morning Star / Evening Star 4 candles: More complex variant to confirm reversal (e.g., false break). 🎨 4. Visual Display on the Chart: Bullish patterns (buy): 🔵 Blue arrow pointing up below the candle. Bearish patterns (sell): 🔴 Red arrow pointing down above the candle. Neutral (e.g., Doji): ⚫ Black triangle to signal an area of hesitation. 🔔 5. Automatic Alerts: Conditional Alerts: When a pattern is detected, a custom alert can be generated. 🔔 Alert message: "Touli candlesticks & Belkhayate" Allows users to be informed in real-time when a valid signal appears. 📜 6. Legislative and Ethical Reminder (TradingView Compliance) ✅ This indicator does not constitute investment advice. ✅ It is designed for educational and informational purposes to aid in market analysis. ✅ No performance guarantee is provided. It is essential that the user complements this tool with:
Their own analysis.
Rigorous risk management.
Independent decision-making. ⚠️ TradingView specifies: Published scripts must comply with financial advisory laws, and this script should not be used as an automatic buy or sell signal system without manual validation.
🔍 7. Practical Use Example (educational): On an H1 or M15 chart, when a Bullish Engulfing + Stochastic in oversold (< 20) appears, it could signal a bullish opportunity. Confirmation with other tools (e.g., support/resistance, FVG, OB) is recommended to refine the decision. 💡 Summary: Why is this indicator useful? 🔍 Helps quickly visualize potential reversals. 🎯 Advanced filtering with Stochastic to limit false signals. 📈 Useful for refining entry/exit points in a complete strategy.
[S1B] Engulfing Orderblock
The Engulfing Orderblock indicator is a custom script designed to visually highlight and track bullish and bearish engulfing patterns on a price chart. These patterns are widely used in technical analysis to identify potential reversal points. The indicator dynamically draws colored boxes around the previous candle involved in the engulfing event, making it easier for traders to spot these setups in the price action.
Key Features:
Bullish Engulfing Pattern:
When a bearish candle (one where the open is higher than the close) is followed by a candle whose close is above the previous candle’s open, the indicator detects a bullish engulfing pattern. A green box is drawn around the previous candle.
• Box Style Options: Users can choose whether the box represents the candle’s body (from open to close) or its wick (from open to low).
Bearish Engulfing Pattern:
When a bullish candle (one where the open is lower than the close) is followed by a candle whose close is below the previous candle’s open, a bearish engulfing pattern is identified. A red box is drawn around the previous candle.
• Box Style Options: The box can be drawn using the candle’s body (from close to open) or its wick (from high to open), according to the user’s preference.
Dynamic Box Management:
Once a box is drawn, the indicator continuously monitors the price. If the price moves beyond the box’s range, the box is either deleted or its color changes to gray, indicating that the pattern’s relevance may be diminishing.
Max Pattern Tracking:
To prevent clutter, the indicator limits the number of displayed engulfing boxes to 500 by default. Older boxes are removed as new patterns are detected.
Customization:
Users can adjust the number of previous bars scanned for engulfing patterns as well as the maximum number of patterns displayed. An option is also provided to select whether the box should reflect the candle’s body or include the wick.
How It Works:
Pattern Detection:
The script compares the current price with the previous candle’s data to detect either a bullish or bearish engulfing pattern.
Box Creation:
When a pattern is detected, a colored box is drawn around the previous candle’s price range (using the user-selected style) to visually highlight the orderblock.
Pattern Expiry and Cleanup:
The indicator monitors each drawn box, deleting or modifying it (changing the color to gray) if the price moves significantly beyond the box’s range.
Remark:
The original concept for this indicator is from daisukeburn .