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.
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. 🚀
EMA Sniper – Precision Trading with EMA 21/50Title: EMA Sniper – Precision Trading with EMA 21/50
Description:
🚀 EMA Sniper is a powerful trading tool designed to identify trend shifts with precision using the EMA 21/50 crossover, while also displaying Stop Loss (SL) and Take Profit (TP) levels directly on the chart.
🔹 Features:
✅ EMA 21/50 Crossover Signals – Buy signals appear when EMA 21 crosses above EMA 50, and sell signals appear when EMA 21 crosses below EMA 50.
✅ Smart Stop Loss & Take Profit – SL is dynamically placed below/above EMA 50 for optimized risk management, while TP follows a 2:1 risk/reward ratio.
✅ Clear Visual Alerts – The indicator plots SL and TP levels as lines on the chart, along with buy and sell markers for quick decision-making.
✅ Multi-Market & Multi-Timeframe – Works across forex, crypto, stocks, and indices on any timeframe.
🚀 Perfect for traders looking for a structured approach to trend-based trading!
Let me know if you’d like any modifications! 🔥
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.
Supertrend with RSI FilterThis indicator is an enhanced version of the classic Supertrend, incorporating an RSI (Relative Strength Index) filter to refine trend signals. Here is a detailed explanation of its functionality and key advantages over the traditional Supertrend.
1. Indicator Functionality
The indicator uses ATR (Average True Range) to calculate the Supertrend line, just like the classic version. However, it introduces an additional condition based on RSI to strengthen or weaken the Supertrend color based on market momentum.
2. Interpretation of Colors
The indicator displays the Supertrend line with dynamic colors based on trend direction and RSI strength:
- Uptrend (Supertrend in buy mode):
- Dark green (Teal): RSI above the defined threshold (default 50) → Strong bullish confirmation.
- Light gray: RSI below the threshold → Indicates a weaker uptrend or lack of confirmation.
- Downtrend (Supertrend in sell mode):
- Dark red: RSI below the threshold → Strong bearish confirmation.
- Light gray: RSI above the threshold → Indicates a weaker downtrend or lack of confirmation.
The opacity of the color dynamically adjusts based on how far RSI is from its threshold. The greater the difference, the more vivid the color, signaling a stronger trend.
3. Key Advantages Over the Classic Supertrend
- Filters out false signals: The RSI integration helps reduce false signals by only validating trends when RSI aligns with the Supertrend direction.
- Weakens uncertain signals: When RSI is close to its threshold, the color becomes more transparent, alerting traders to a less reliable trend.
- Classic mode available: The 'Use Classic Supertrend' option allows switching to a standard Supertrend display (fixed red/green) without the RSI effect.
4. Customizable Parameters
- ATR Length & ATR Factor: Define the sensitivity of the Supertrend.
- RSI Period & RSI Threshold: Allow refining the RSI filter based on market volatility.
- Classic mode: Enables/disables the RSI filtering to revert to the original Supertrend.
This indicator is especially valuable for traders looking to refine their trend signals based on market momentum measured by RSI.
This indicator is for informational purposes only and should not be considered financial advice. Trading involves risks, and past performance does not guarantee future results. Always conduct your own analysis before making any trading decisions.
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.
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. 😊
Highs & Lows - Multi TimeFrame### **📌 HL-MWD (Highs & Lows - Multi Timeframe Indicator) – Community Release**
#### **🔹 Overview**
The **HL-MWD Indicator** is a **multi-timeframe support & resistance tool** that plots **historical highs and lows** from **daily, weekly, and monthly timeframes** onto an intraday chart. It helps traders **identify key levels of support and resistance** that have influenced price action over different timeframes.
This indicator is useful for **day traders, swing traders, and position traders** who rely on **multi-timeframe analysis** to spot critical price levels.
---
### **🔥 Key Features**
✅ **Plots Highs & Lows for Daily, Weekly, and Monthly Timeframes**
✅ **Customizable Lookback Periods for Each Timeframe**
✅ **Adjustable Line Colors, Styles (Solid, Dotted, Dashed), and Widths**
✅ **Extend Lines into the Future to Identify Key Price Levels**
✅ **Option to Display Price Labels for Each Level**
✅ **Gradient Option to Highlight Recent Highs & Lows (Disabled by Default)**
✅ **Compatible with Intraday, Daily, and Weekly Charts**
---
### **📈 How It Works**
- **Daily Highs & Lows:** Captures the **highest and lowest prices** within the selected lookback period (default: **14 bars**).
- **Weekly Highs & Lows:** Marks the **highest and lowest prices** within the chosen weekly lookback (default: **52 bars**).
- **Monthly Highs & Lows:** Displays the **high and low points** from the monthly timeframe (default: **36 bars**).
- **Extended Lines:** Project past highs and lows **into the future** to help identify **potential support & resistance zones**.
---
### **⚠️ TradingView Lookback Limitations**
🔹 **TradingView has a limit on how many historical bars can be accessed per timeframe**, which affects how far back the indicator can retrieve data.
🔹 **Intraday charts (e.g., 5m, 15m) have a limited number of past bars**, meaning:
- **You won’t be able to view 36 months' worth of monthly levels** on a **5-minute chart**, because TradingView doesn’t store that much data in lower timeframes.
- **If multiple timeframes (e.g., weekly + monthly) are enabled at the same time**, some historical data may **not be available on shorter timeframes**.
🔹 **Recommendation:**
- If using **monthly lookbacks (36 months+), view them on a daily or higher timeframe**.
- If using **weekly lookbacks (52 weeks+), higher intraday timeframes (e.g., 1-hour, 4-hour) are better suited**.
- **Lower timeframes (1m, 5m, 15m) may miss some levels** if TradingView's bar limit is exceeded.
---
### **⚙️ Customization Options**
| **Setting** | **Default Value** | **Description** |
|------------------|----------------|----------------|
| **Daily Lookback** | `14` | Number of bars used to calculate daily highs/lows. |
| **Weekly Lookback** | `52` | Number of bars used to calculate weekly highs/lows. |
| **Monthly Lookback** | `36` | Number of bars used to calculate monthly highs/lows. |
| **Line Colors** | Daily: `Blue` Weekly: `Green` Monthly: `Red` | Customizable colors for each timeframe. |
| **Line Style** | `Solid` | Options: Solid, Dashed, Dotted. |
| **Line Width** | `1` | Thickness of the plotted lines. |
| **Extend Line** | `1` | Controls how far the highs/lows extend into the future. |
| **Display Price Labels** | `Enabled` | Shows price labels on each level. |
---
### **🛠️ How to Use It**
- **Enable/disable different timeframes** based on your strategy.
- **Customize colors, line styles, and widths** to match your charting style.
- **Use extended lines to identify support & resistance zones.**
- **Watch price reactions at these levels** for potential entries, exits, and stop-loss placements.
---
### **🚀 Final Thoughts**
The **HL-MWD Indicator** is a **powerful multi-timeframe tool** that helps traders **visualize key support & resistance levels** from higher timeframes on an intraday chart.
⚠️ **However, TradingView’s lookback limits apply—so for longer-term levels, higher timeframes are recommended.**
📌 **Now published for the community!** Let me know if you need any last-minute tweaks! 🔥
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).
Trend Zone Moving Averages📈 Trend Zone Moving Averages
The Trend Zone Moving Averages indicator helps traders quickly identify market trends using the 50SMA, 100SMA, and 200SMA. With dynamic background colors, customizable settings, and real-time alerts, this tool provides a clear view of bullish, bearish, and extreme trend conditions.
🔹 Features:
Trend Zones with Dynamic Background Colors
Green → Bullish Trend (50SMA > 100SMA > 200SMA, price above 50SMA)
Red → Bearish Trend (50SMA < 100SMA < 200SMA, price below 50SMA)
Yellow → Neutral Trend (Mixed signals)
Dark Green → Extreme Bullish (Price above all three SMAs)
Dark Red → Extreme Bearish (Price below all three SMAs)
Customizable Moving Averages
Toggle 50SMA, 100SMA, and 200SMA on/off from the settings.
Perfect for traders who prefer a cleaner chart.
Real-Time Trend Alerts
Get instant notifications when the trend changes:
🟢 Bullish Zone Alert – When price enters a bullish trend.
🔴 Bearish Zone Alert – When price enters a bearish trend.
🟡 Neutral Zone Alert – When trend shifts to neutral.
🌟 Extreme Bullish Alert – When price moves above all SMAs.
⚠️ Extreme Bearish Alert – When price drops below all SMAs.
✅ Perfect for Any Market
Works on stocks, forex, crypto, and commodities.
Adaptable for day traders, swing traders, and investors.
⚙️ How to Use: Trend Zone Moving Averages Strategy
This strategy helps traders identify and trade with the trend using the Trend Zone Moving Averages indicator. It works across stocks, forex, crypto, and commodities.
🟢 Bullish Trend Strategy (Green Background)
Objective: Look for buying opportunities when the market is in an uptrend.
Entry Conditions:
✅ Background is Green (Bullish Zone).
✅ Price is above the 50SMA (confirming strength).
✅ Price pulls back to the 50SMA and bounces OR breaks above a key resistance level.
Stop Loss:
🔹 Place below the most recent swing low or just under the 50SMA.
Take Profit:
🔹 First target at the next resistance level or recent swing high.
🔹 Second target if price continues higher—trail stops to lock in profits.
🔴 Bearish Trend Strategy (Red Background)
Objective: Look for shorting opportunities when the market is in a downtrend.
Entry Conditions:
✅ Background is Red (Bearish Zone).
✅ Price is below the 50SMA (confirming weakness).
✅ Price pulls back to the 50SMA and rejects OR breaks below a key support level.
Stop Loss:
🔹 Place above the most recent swing high or just above the 50SMA.
Take Profit:
🔹 First target at the next support level or recent swing low.
🔹 Second target if price keeps falling—trail stops to secure profits.
🌟 Extreme Trend Strategy (Dark Green / Dark Red Background)
Objective: Trade with momentum when the market is in a strong trend.
Entry Conditions:
✅ Dark Green Background → Extreme Bullish: Price is above all three SMAs (strong uptrend).
✅ Dark Red Background → Extreme Bearish: Price is below all three SMAs (strong downtrend).
Trade Execution:
🔹 For longs (Dark Green): Look for breakout entries above resistance or pullbacks to the 50SMA.
🔹 For shorts (Dark Red): Look for breakdown entries below support or rejections at the 50SMA.
Risk Management:
🔹 Use tighter stop losses and trail profits aggressively to maximize gains.
🟡 Neutral Trend Strategy (Yellow Background)
Objective: Avoid trading or wait for a breakout.
What to Do:
🔹 Avoid trading in this zone—price is indecisive.
🔹 Wait for confirmation (background turns green/red) before taking a trade.
🔹 Use alerts to notify you when the trend resumes.
📌 Final Tips
Use this strategy with price action for extra confirmation.
Combine with support/resistance levels to improve accuracy.
Set alerts for trend changes so you never miss an opportunity.
Enjoy!
AO Smart Scalper – 5M Dynamic SL Edition📈 AO Signals with Fixed and Dynamic SL – Optimized for 5-Minute Charts 📉
This indicator is built for 5-minute timeframe trading, combining powerful momentum signals from the Awesome Oscillator (AO) with both Fixed and Dynamic Stop Loss (SL) levels to enhance trade management and risk control.
✅ Buy/Sell Signals:
The indicator generates clear BUY and SELL signals based on the AO crossing above or below the zero line, helping traders capture momentum shifts early.
🛑 Fixed Stop Loss:
Each trade signal comes with a Fixed SL, calculated based on the high (for shorts) or low (for longs) of the previous candle, with a customizable percentage offset. This SL is plotted with a red line, providing a clear initial risk level.
⚡ Dynamic Stop Loss: Continuous Presence, Strategic Use:
A secondary Dynamic SL line is plotted, which is continuously present on the chart. This dynamic level responds to market conditions and can serve as a trailing stop or key decision point.
💡 Recommended Use: It is recommended to actively start using the Dynamic SL once the trade has moved into profit. This allows protecting obtained profits and minimizing the risk of losses in case of a market reversal.
🛡️ Enhanced Dynamic Stop-Loss Strategy:
🔒 Initial Protection: Utilize the Fixed SL as the initial stop-loss, placed below relevant lows (for longs) or above relevant highs (for shorts), or as provided by the fixed SL indicator.
🛤️ Dynamic Tracking:
🟢 Long Trades: Once in profit, the Dynamic SL will dynamically adjust, moving upwards as higher lows are formed, effectively trailing the price and securing profits.
🔴 Short Trades: Conversely, in short trades, once in profit, the Dynamic SL will move downwards as lower highs are formed, protecting gains.
🔄 Alternatively the dynamic stop loss will follow the dynamic SL line provided by the indicator.
🚪 Exiting Trades: When the price crosses below the Dynamic SL line in a LONG trade, or above it in a SHORT trade, the recommended action is to exit the trade.
↩️ Re-entry Consideration: You may consider re-entering only if the price clearly returns above the Dynamic SL (for longs) or below it (for shorts).
⚠️ IMPORTANT - 5-Minute Strategy Guidance ⏱️
This tool is specifically optimized for the 5-minute timeframe. This approach helps filter out weak setups and maintain discipline in volatile market conditions.
✨ Additional Features:
👁️ Visual and editable SL levels
📊 200-period SMA for trend context
💻 Simple and effective interface for intraday trading setups
🎯 Ideal for traders seeking a clean, rule-based system that combines momentum entry signals with layered stop loss protection.
🔑 Key Changes:
It was emphasized that the Dynamic SL is always present, but its active use is recommended once the trade is in profit.
It was clarified the use of the Fixed SL, giving the option to use the one provided by the indicator, or to place it according to the price action.
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.
Refined TPO with Precise Signals for 5-Min ChartAdvanced TPO trading confluence indicator to be used on 5min TF with TPO chart as additional confirmation
*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)
The Investment Clock Orbital GraphThe Investment Clock Orbital Graph is an advanced visualization tool designed to help traders and investors track economic cycles using a dynamic scatter plot of GDP growth vs. CPI inflation rates.
This indicator is a fusion of two powerful TradingView indicators:
LuxAlgo ’s Relative Strength Scatter Plot – A robust scatter plot for tracking relative strength.
The Investment Clock Indicator – A cycle-based approach to market rotation. This indicator contains more information regarding The Investment Clock.
By combining these approaches, the Investment Clock Orbital Graph enables traders to visualize economic momentum and inflationary trends in a unique, orbital-style scatter plot.
Key Features & Improvements
Orbital Graph Representation – Displays GDP growth and CPI inflation as a dynamic, evolving scatter plot, showing how the economy moves through different phases.
Quadrant-Based Market Regimes – Identifies four key economic phases:
1)🔥 Overheating (High Growth, High Inflation)
2)📉 Stagflation (Low Growth, High Inflation)
3)🤒 Recovery (High Growth, Low Inflation)
4)🎈 Reflation (Low Growth, Low Inflation)
Data-Driven Analysis – Utilizes FRED (Federal Reserve Economic Data) for accurate real-world GDP & CPI data.
Trailing Path of Economic Evolution – Tracks historical economic cycles over time to show momentum and cyclical movements.
Customizable Parameters – Set sustainable GDP growth and inflation thresholds, adjust trail length, and fine-tune scatter plot resolution.
Auto-Labeled Quadrants & Revised Accurate Market Guidance – Each quadrant includes newly updated tooltips and annotations (like ETF suggestions) to help traders make informed decisions.
Live Macro Forecasting Tool – Helps traders anticipate future market conditions, rate hikes/cuts, and sector rotations.
How to Use for Trading Decisions
The Investment Clock Orbital Graph helps traders and macro investors by identifying market phases and providing insights into asset class performance during different economic conditions.
📌 Step 1: Identify the Current Quadrant
Locate the most recent point on the orbital graph to see if the economy is in Overheating, Stagflation, Recovery, or Reflation.
📌 Step 2: Forecast Market Trends
The trajectory of the points can predict upcoming economic shifts:
Overheating → Stagflation ➡️ Expect economic slowdowns, bearish stock markets.
Stagflation → Reflation ➡️ Interest rate cuts likely, bonds and defensive stocks perform well.
Reflation → Recovery ➡️ Risk-on rally, technology and cyclicals perform best.
Recovery → Overheating ➡️ Commodities surge, inflation rises, and central banks intervene.
📌 Step 3: Align Trading & Investing Strategies
🔥 Overheating – Favor commodities & energy (Oil, Industrial Stocks, Materials).
📉 Stagflation – Favor defensive assets (Cash, Utilities, Healthcare).
🤒 Recovery – Favor growth stocks (Technology, Consumer Discretionary).
🎈 Reflation – Favor bonds, value stocks, and financials.
📌 Step 4: Monitor Trends Over Time
The indicator visualizes economic movement over multiple months, allowing traders to confirm long-term trends vs. short-term noise.
The Investment Clock Orbital Graph is an essential macro trading tool, providing a real-time visualization of economic conditions. By tracking GDP growth vs. CPI inflation, traders and investors can align their portfolios with major macroeconomic shifts, predict sector rotations, and anticipate central bank policy changes.
DIVER RSI + Senyals + DivergenciesAquest indicador és una versió avançada del RSI (Índex de Força Relativa), dissenyat per oferir senyals visuals clares i alertes intel·ligents per millorar la presa de decisions en el trading de criptomonedes (o qualsevol altre actiu).
✅ Funcionalitats configurades:
RSI amb color taronja constant per a una lectura neutra.
Línies horitzontals importants als nivells:
🔴 25 (nivell extrem de sobreventa)
🟢 35 (possible punt de compra)
⚪ 50 (nivell mitjà del RSI)
🔴 65 (possible punt de venda)
🟢 75 (nivell extrem de sobrecompra)
📈 Senyal de Compra
Quan el RSI creua de manera ascendent el nivell 35, es mostra una fletxa verda sobre la línia del RSI. Això indica un possible punt d'entrada en long (compra).
📉 Senyal de Venda
Quan el RSI creua de manera descendent el nivell 65, es mostra una fletxa vermella sobre el RSI. Això indica un possible punt d’entrada en short (venda).
🔁 Divergències RSI
El sistema detecta divergències alcistes i baixistes automàticament, dibuixant línies verdes o vermelles dins el gràfic del RSI (sense etiquetes de text), per marcar punts on el preu i el RSI van en direccions oposades — una senyal de possible canvi de tendència.
🔔 Alertes unificades
S’ha creat una alerta combinada que s’activa tant per a senyals de compra com de venda, així només cal configurar les alertes des de les configuracions del indicador.
Anchored VWAP with Buy/Sell SignalsPurpose: The indicator calculates an Anchored VWAP—a dynamic price level that reflects the average price weighted by volume since a specified starting point (anchor)—and uses it to identify potential trading opportunities with buy and sell signals.
Display: Overlays on the price chart with a VWAP line (blue by default) and green/red triangle markers for buy/sell signals.
Timeframe: Works on any timeframe (e.g., 10-minute for INTC as you tested), with no gaps in VWAP calculation across timeframes.
EBP Candle Marker### **EBP Candle Marker – TradingView Indicator**
The **EBP Candle Marker** is a specialized TradingView indicator designed to identify and highlight potential liquidity sweep candles. This indicator visually emphasizes key price action patterns where the market sweeps previous highs or lows and closes in the opposite direction, often signaling potential reversals or liquidity grabs.
---
### 📊 **Indicator Logic:**
1. **Bullish Sweep:**
- The current candle’s **low** is lower than the previous candle’s **low** (indicating a liquidity sweep).
- The **close** is above both the **open** and **close** of the previous candle.
2. **Bearish Sweep:**
- The current candle’s **high** is higher than the previous candle’s **high** (indicating a liquidity sweep).
- The **close** is below both the **open** and **close** of the previous candle.
---
### 🎨 **Visual Representation:**
- **Yellow Candle Body:** Highlights any candle meeting the bullish or bearish sweep conditions.
---
### 🔔 **Alert Functionality:**
The indicator supports setting custom alerts in TradingView for:
- **Bullish Sweep Detected** – Notifies when a bullish sweep occurs.
- **Bearish Sweep Detected** – Notifies when a bearish sweep occurs.
These alerts are compatible across any timeframe, providing flexibility to monitor key market conditions.
---
### 📈 **Use Cases:**
- **Liquidity Sweep Detection:** Identify areas where the market may be triggering stop-loss orders or liquidity hunts.
- **Reversal Confirmation:** Enhance trade confirmation by identifying potential reversal zones.
- **Scalping & Swing Trading:** Suitable for both short-term and long-term trading strategies across multiple timeframes.
Sweep Engulf CHoCH📖 Indicator Overview
The Sweep Engulf CHoCH indicator is designed to detect the Sweep + Engulf + CHoCH (Change of Character) pattern on price charts. This indicator helps traders identify bullish and bearish entry opportunities based on the last three candles forming this pattern.
📊 How the Indicator Works
The indicator analyzes specific conditions in the last three candles:
🔹 Bullish Entry (Buy Signal)
✔️ Candle 1 must be bearish (close < open )
✔️ Candle 2 must sweep the low of candle 1 (low < low )
✔️ Candle 2 must also engulf candle 1 (close > close )
✔️ Candle 3 must break structure (CHoCH) by closing above the open of candle 1 (close > open )
🔻 Bearish Entry (Sell Signal)
✔️ Candle 1 must be bullish (close > open )
✔️ Candle 2 must sweep the high of candle 1 (high > high )
✔️ Candle 2 must also engulf candle 1 (close < open )
✔️ Candle 3 must break structure (CHoCH) by closing below the open of candle 1 (close < open )
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