FRAMA Channel [BigBeluga]This is a trend-following indicator that utilizes the Fractal Adaptive Moving Average (FRAMA) to create a dynamic channel around the price. The FRAMA Channel helps identify uptrends, downtrends, and ranging markets by examining the relationship between the price and the channel's boundaries. It also marks trend changes with arrows, optionally displaying either price values or average volume at these key points.
🔵 IDEA
The core idea behind the FRAMA Channel indicator is to use the fractal nature of markets to adapt to different market conditions. By creating a channel around the FRAMA line, it not only tracks price trends but also adapts its sensitivity based on market volatility. When the price crosses the upper or lower bands of the channel, it signals a potential shift in trend direction. If the price remains within the channel and crosses over the upper or lower bands without a breakout, the market is likely in a ranging phase with low momentum. This adaptive approach makes the FRAMA Channel effective in both trending and ranging market environments.
🔵 KEY FEATURES & USAGE
◉ Dynamic FRAMA Channel with Trend Signals:
The FRAMA Channel uses a fractal-based moving average to create an adaptive channel around the price. When the price crosses above the upper band, it signals an uptrend and plots an upward arrow with the price (or average volume) value. Conversely, when the price crosses below the lower band, it signals a downtrend and marks the point with a downward arrow. This dynamic adaptation to market conditions helps traders identify key trend shifts effectively.
◉ Ranging Market Detection:
If the price remains within the channel, and only the high crosses the upper band or the low crosses the lower band, the indicator identifies a ranging market with low momentum. In this case, the channel turns gray, signaling a neutral trend. This is particularly useful for avoiding false signals during periods of market consolidation.
◉ Color-Coded Candles and Channel Bands:
Candles and channel bands are color-coded to reflect the current trend direction. Green indicates an upward trend, blue shows a downward trend, and gray signals a neutral or ranging market. This visual representation makes it easy to identify the market condition at a glance, helping traders make informed decisions quickly.
◉ Customizable Display of Price or Average Volume:
On trend change signals, the indicator allows users to choose whether to display the price at the point of trend change or the average volume of 10 bars. This flexibility enables traders to focus on the information that is most relevant to their strategy, whether it's the exact price entery or the volume context of the market shift. Displaying the average volume allows to see the strength of the trend change.
Price Data:
Average Volume of points:
🔵 CUSTOMIZATION
Length & Bands Distance: Adjust the length for the FRAMA calculation to control the sensitivity of the channel. A shorter length makes the channel more reactive to price changes, while a longer length smooths it out. The Bands Distance setting determines how far the bands are from the FRAMA line, helping to define the breakout and ranging conditions.
Signals Data: Choose between displaying the price or the average volume on trend change arrows. This allows traders to focus on either the exact price level of trend change or the market volume context.
Color Settings: Customize the colors for upward momentum, downward momentum, and neutral states to suit your charting preferences. You can also toggle whether to color the candles based on the momentum for a clearer visual of the trend direction.
The FRAMA Channel indicator adapts to market conditions, providing a versatile tool for identifying trends and ranging markets with clear visual cues.
Indikator dan strategi
Zigzag3 -Invincible3Description:
Zigzag3 - Invincible3 is a powerful and flexible support and resistance indicator for TradingView. Utilizing an enhanced ZigZag algorithm and Dow Theory principles, it detects price pivots, higher highs (HH), lower highs (LH), higher lows (HL), and lower lows (LL). The indicator draws lines and labels to visualize these pivots, making it easier to identify market structure, trends, and potential reversal points.
The Length input allows traders to control the sensitivity of pivot detection.
Support and Resistance Lines:
Displays dotted and solid SR lines based on significant pivots to highlight key market zones.
Option to extend support/resistance lines dynamically with real-time progression for the latest pivot.
Labels for Dow Theory Points:
Mark higher highs, lower highs, higher lows, and lower lows with customizable colors.
Identifies market direction and potential breakout levels with visual clarity.
ZigZag Line Visualization:
Toggle the ZigZag lines to connect pivots for a better understanding of price movement.
Dynamic Dotted Line Progression:
A dotted line extends in real-time from the most recent significant pivot point, aiding in quick analysis.
This indicator is ideal for traders looking to analyze market structure, identify trends, and spot potential reversals. It can be used as a standalone tool or in combination with other strategies for enhanced precision.
Support & Resistance with Buy/Sell signal -DHJ
Features: Support & Resistance with Buy/Sell signal -
EMA 9 and EMA 21: These two EMAs are calculated and plotted on the chart. They are commonly used to identify short-term and medium-term trends.
Dynamic EMA Color: The colors of the EMAs change dynamically depending on their current direction. If an EMA is rising, it turns green (uptrend), and if it is falling, it turns red (downtrend). The user can toggle this feature on or off.
User Customization: Users can define custom colors for both EMAs and toggle the dynamic color feature on/off via input options.
Crossover and Crossunder Signals:
Crossover Signal (Long Condition): A Buy signal is generated when EMA 9 crosses above EMA 21.
Crossunder Signal (Short Condition): A Sell signal is generated when EMA 9 crosses below EMA 21.
The signals are displayed as up and down arrows below or above the bars.
Support and Resistance Levels:
Pivot Points: The script calculates pivot highs and lows to identify potential support and resistance levels in the market.
Volume-Weighted Support/Resistance: Support and resistance levels are filtered based on volume. Stronger support levels are identified when volume is high, while weaker resistance levels are marked when volume is low.
Boxes for Support/Resistance: The support and resistance levels are drawn as colored boxes with adjustable width. These boxes represent significant price levels where the price might reverse or face resistance.
Dynamic Color of Boxes: The color of the support box turns green when the price is above the support, and it turns red when the price breaks below it. Similarly, the resistance box color changes based on the price interaction.
Breakout/Breakdown Alerts:
Breakout Signals: The script tracks price movements that break support or resistance levels. If the price breaks above a resistance level, the support box is marked as a breakout, and if the price breaks below a support level, the resistance box is marked as a breakdown.
Visual Alerts: Breakouts and breakdowns are visually indicated using "Break Sup" and "Break Res" labels at the relevant price levels. These labels are drawn on the chart, and users can quickly identify price movements through these markers.
Previous Day High and Low:
The Previous Day High and Low levels are plotted on the chart as horizontal lines. These levels serve as reference points for potential price reactions and market sentiment, often acting as dynamic support and resistance levels.
Volume Analysis:
The script includes a volume-based filter, where high volume is used to identify stronger support levels, and low volume is used to mark potential resistance zones. The volume filter helps to confirm the strength of the identified support and resistance levels.
Customizable Settings:
Lookback Period: Users can adjust the lookback period to define how far back the script should look to identify pivot points and support/resistance levels.
Volume Length: The script allows users to modify the length used in the volume analysis to filter out low-volume levels.
Box Width Adjustment: The width of the support and resistance boxes can be customized to adjust their visibility based on the user's preferences.
Visual Enhancements:
The chart is clutter-free with support and resistance levels drawn only when they are significant. The boxes are dynamic, resizing as new data is processed, ensuring that they remain relevant to the current price action.
Buy/Sell Signals are shown using plotshape(), with green arrows for long positions and red arrows for short positions.
Use Case:
Trend Following: The script is ideal for traders who follow trends. The EMAs help identify the prevailing market trend, while the crossover signals can be used to enter trades at the right moment.
Breakout Trading: The support and resistance levels, along with the breakout labels, help traders spot when a price is likely to make a significant move beyond key levels.
Volume Confirmation: The inclusion of volume analysis adds another layer of decision-making, helping traders confirm the strength of support or resistance levels based on trading volume.
Previous Day Levels: The inclusion of previous day high/low levels can act as critical reference points for price action and help traders anticipate future market behavior.
This script offers an all-in-one solution for analyzing trend direction, support/resistance levels, and potential breakout opportunities, making it a powerful tool for technical traders.
ICT Candle Block (fadi)ICT Candle Block
When trading using ICT concepts, it is often beneficial to treat consecutive candles of the same color as a single entity. This approach helps traders identify Order Blocks, liquidity voids, and other key trading signals more effectively.
However, in situations where the market becomes choppy or moves slowly, recognizing continuous price movement can be challenging.
The ICT Candle Block indicator addresses these challenges by combining consecutive candles of the same color into a single entity. It redraws the resulting candles, making price visualization much easier and helping traders quickly identify key trading signals.
FVGs and Blocks
In the above snapshot, FVGs/Liquidity Voids, Order Blocks, and Breaker Blocks are easily identified. By analyzing the combined candles, traders can quickly determine the draw on liquidity and potential price targets using ICT concepts.
Unlike traditional higher timeframes that rigidly combine lower timeframe candles based on specific start and stop times, this indicator operates as a "mixed timeframe." It combines all buying and all selling activities into a single candle, regardless of when the transactions started and ended.
Limitations
There are currently TradingView limitations that affect the functionality of this indicator:
TradingView does not have a Candle object; therefore, this indicator relies on using boxes and lines to mimic the candles. This results in wider candles than expected, leading to misalignment with the time axis below (plotcandle is not the answer).
There is a limit on the number of objects that can be drawn on a chart. A maximum of 500 candles has been set.
A rendering issue may cause a sideways box to appear across the chart. This is a display bug in TradingView; scroll to the left until it clears.
Flag Screener [QuantVue]Flag Screener is a screening tool that identify bull and bear flags in up to 40 different symbols.
The indicator takes a comma separated list of symbols and then scans the symbols in real time to detect bull or bear flags.
What are flags
Flags are continuation patterns that occur within the general trend of the security. A bull flag represents a temporary pause or consolidation before price resumes it's upward movement, while a bear flag occurs before price continues its downward movement.
Both flag patterns consist of two components:
The Pole
The Flag
The pole is the initial strong upward surge or decline that precedes the flag. The pole is usually a fast move accompanied by heavy volume signaling significant buying or selling pressure.
The flag is then formed as price consolidates after the initial surge or decline from the pole. For a bull flag price will drift slightly downward to sideways, a bear flag will drift upward to sideways. The best flags often see volume dry up during this phase of the pattern.
Indicator Settings
Both components are fully customizable in the indicator so the user can adjust for any time frame or volatility. Select the minimum and maximum accepted limits from the % gain loss required for the pole, the maximum acceptable flag depth or rally and the minimum and maximum number of bars for each component.
Adaptive Supertrend with Dynamic Optimization [EdgeTerminal]The Enhanced Adaptive Supertrend represents a significant evolution of the traditional Supertrend indicator, incorporating advanced mathematical optimization, dynamic volatility adjustment, intelligent signal filtering, reduced noise and false positives.
Key Features
Dynamic volatility-adjusted bands
Self-optimizing multiplier
Intelligent signal filtering system
Cooldown period to prevent signal clustering
Clear buy/sell signals with optimal positioning
Smooth trend visualization
RSI and MACD integration for confirmation
Performance-based optimization
Dynamic Band Calculation
// Dynamic volatility adjustment
volatility = ta.sma(ta.stdev(close, atrPeriod) / close, smoothPeriod)
dynMult = isOptimized ? mult * (1 + volatility) : mult
// Enhanced band calculation
upperBand = medianPrice + dynMult * atr * momentumFactor
lowerBand = medianPrice - dynMult * atr * momentumFactor
Dynamic Band Calculation automatically adapts to market volatility, generates wider bands in volatile periods, reducing false signals. It also generates tighter bands in stable periods, capturing smaller moves and smooth transitions between different volatility regimes.
Momentum Integration
momentum = ta.sma(ta.rsi(close, atrPeriod), smoothPeriod)
momentumFactor = momentum < 30 ? 1.2 : momentum > 70 ? 0.8 : 1.0
Momentum Integration prevents false signals in extreme conditions, It adjusts dynamic bands based on market momentum, improves trend confirmation in strong moves and reduces whipsaws during consolidations.
Improved signals
There are a few systems to generate better signals, allowing for generally faster signals compared to original supertrend, such as:
Enforced cooldown period between signals
Prevents signal clustering
Clearer entry/exit points
Reduced false signals during choppy markets
Performance Optimization
This script implements a Sharpe ratio-inspired optimization algorithm to balance returns against risk, penalize large drawdowns, adapt parameters in real-time and improve risk-adjusted performance
// Calculate risk-adjusted returns
ret = (close - close ) / close
signal = trend == 1 ? 1 : -1
tradeReturn = signal * ret
// Calculate Sharpe-like ratio
volatility = ta.stdev(tradeReturn, optPeriod)
sharpeRatio = volatility != 0 ? totalProfit / volatility : 0
// Complex scoring function
score = sharpeRatio * (1 - maxDrawdown/2)
Parameter Settings
ATR Period: 10 (default) - adjust based on timeframe
Initial Multiplier: 3.0 (default) - will self-optimize
Optimization Period: 50 (default) - longer periods for more stability
Smoothing Period: 3 (default) - adjust for signal smoothness
Best Practices
Use on multiple timeframes for confirmation
Allow the optimization process to run for at least 50 bars
Monitor the adaptive multiplier for trend strength indication
Consider RSI and MACD alignment for stronger signals
DB369 - Directional Bias 369
DB369 - Directional Bias 369 Indicator
The **DB369** indicator helps traders identify key market levels and trends by combining multiple timeframes' price action analysis. It highlights important **pivot points** on the chart and provides visual cues to help you make more informed buy and sell decisions based on the overall market direction.
Key Features
1. Pivot Points Across Multiple Timeframes**:
- The indicator calculates and displays pivot points for the **Monthly**, **Weekly**, **Daily**, **4-Hour**, and **1-Hour** timeframes (or 30-minute equivalent if desired). These pivots represent significant price levels where the market may retest.
2. **Trend Detection**:
- The indicator evaluates the relationship between the current price and the pivot point for each timeframe. Based on this comparison, it classifies the market as **Bullish**, **Bearish**, or **Neutral** on each timeframe.
3. **Pivot Lines**:
- Horizontal lines are drawn to mark the key pivot points for each selected timeframe. These lines extend into the future and adjust dynamically as the market moves in real time.
- **Customizable**: You can choose which timeframes to display pivot points by enabling/disabling them in the settings.
4. **Trend Table**:
- A **table** is displayed at the top-right of the chart to show the trend for the **Daily**, **4-Hour**, and **30-Minute** timeframes. It provides an easy-to-read view of the trend direction across these timeframes.
5. **Buy/Sell Arrows**:
- **Buy Arrow**: A green arrow will appear when the **Daily**, **4-Hour**, and **30-Minute** trends are all **Bullish** (aligned in the same direction).
- **Sell Arrow**: A red arrow will appear when all three timeframes show a **Bearish** trend.
- These arrows appear only once per alignment change and can be enabled or disabled for alerts. This helps avoid clutter on the chart and ensures that you only see a signal when the alignment occurs or changes.
### **How to Use the DB369 Indicator**:
1. **Pivot Points**:
- The pivot points represent significant price levels where the market might retest in the future. For instance:
- **Bullish Market**: If the price is above the pivot point, the market is considered bullish.
- **Bearish Market**: If the price is below the pivot point, the market is considered bearish.
- **Neutral Market**: When the price is near the pivot point, the market is neither strongly bullish nor bearish.
2. **Trend Alignment**:
- When the **Daily**, **4-Hour**, and **30-Minute** timeframes all show the same trend direction (either **Bullish** or **Bearish**), this alignment signifies a stronger trend.
- You will receive a **Buy Arrow** when all three timeframes are aligned bullish, and a **Sell Arrow** when they are aligned bearish.
- These arrows are displayed at the point when the alignment is first detected and can also trigger **alerts**.
3. **Alerts**:
- You can choose to enable alerts for when a **Buy** or **Sell** arrow appears on the chart. This allows you to be notified in real-time when the alignment conditions are met.
4. **Using the Pivot Points for Entry**:
- **Buy Trade**: Look for a buy trade when the price is near the **pivot line** of the higher timeframes, particularly when the trend across all three timeframes is **Bullish**.
- **Sell Trade**: Similarly, look for a sell trade when the price is near a **pivot line** and the trend is **Bearish**.
5. **Customization**:
- You can customize which timeframes' pivots are shown on the chart by toggling the visibility of the **Monthly**, **Weekly**, **Daily**, **4-Hour**, and **1-Hour** pivots in the settings.
- The indicator automatically adjusts the pivot levels in real-time as the market progresses.
**Important Notes**:
- This indicator does not guarantee successful trades; it is intended to assist in identifying potential trade opportunities based on the alignment of higher timeframe trends.
- Always combine the information from the DB369 indicator with other technical analysis tools and risk management strategies to ensure more accurate trade decisions.
Lakush bhai hi kehdeThis script appears to be a custom indicator for TradingView that combines **Volumatic Variable Index Dynamic Average (VIDYA)** with **liquidity zone detection** and volume analysis. Here's a breakdown of its main components and functionality:
### Key Features
1. **VIDYA Calculation**:
- Implements a Variable Index Dynamic Average using momentum and length parameters to adapt to price action.
- Smoothes the trend dynamically based on volume and price momentum.
2. **Liquidity Zone Detection**:
- Identifies pivot highs and lows, and marks support (low) and resistance (high) zones on the chart.
- Tracks and extends these zones dynamically to visualize potential price liquidity levels.
3. **Trend Detection**:
- Tracks whether the trend is up or down by comparing the price source against VIDYA-based bands.
- Includes upper and lower bands calculated with a distance factor and ATR for flexibility.
4. **Volume Analysis**:
- Aggregates volumes during uptrends and downtrends to show the dominance of buying or selling pressure.
- Displays the delta volume percentage to highlight the difference between buying and selling volumes.
5. **Annotations**:
- Adds labels and markers for significant events:
- Liquidity zones are labeled with volume data.
- Trend changes are highlighted with up and down arrows.
6. **Plot and Styling**:
- VIDYA is plotted along with its bands, and the area between price and VIDYA is shaded to emphasize trend direction.
- Supports customizable colors for uptrends and downtrends.
---
### Usage
- **Inputs**:
- `vidya_length` and `vidya_momentum`: Control the sensitivity of the VIDYA calculation.
- `band_distance`: Determines the width of upper and lower bands.
- Source: Defines the data used for calculations, typically `close`.
- **Outputs**:
- Trendlines, arrows, and shaded areas showing trend direction.
- Liquidity lines marking support/resistance zones.
- Volume statistics for trends and delta volume percentage.
---
### How to Use in TradingView
1. **Copy the Code**:
- Copy the script and paste it into the Pine Script editor in TradingView.
2. **Customize Inputs**:
- Adjust the parameters in the input section (`VIDYA Length`, `Momentum`, etc.) to suit your trading style.
3. **Add to Chart**:
- Save and add the script to your desired chart.
4. **Interpret Signals**:
- Use liquidity zones for potential reversal areas.
- Observe the trend and volume indicators for entries and exits.
---
### Potential Improvements
1. **Optimization**:
- Fine-tune the default values for `vidya_length`, `momentum`, and `band_distance` based on backtesting.
2. **Performance**:
- Limit the number of liquidity lines stored to enhance performance for charts with extensive data.
3. **Alerts**:
- Add alert conditions for trend changes, significant volume shifts, or price crossing liquidity zones.
alertsLibrary "alerts"
The library provides options to run alert() calls in loop without worrying about limitations of frequency options.
When an alert statement is called within a loop,
it will fire just once per bar irrespective of how many iterations allowed when fequency is set to alert.freq_once_per_bar or alert.freq_once_per_bar_close
it will fire continuously till it breaks when frequency is set to alert.freq_all
The function helps overcome this issue by using varip key array which resets on every bar
method alert(message, key)
Enhanced alert which can be used in loops
Namespace types: series string, simple string, input string, const string
Parameters:
message (string) : Alert message to be fired
key (string) : Key to be checked to avoid repetitive alerts
Returns: array containing id of already fired alerts
method updateAlertTemplate(this, template)
Updates alert template with given keys and values
Namespace types: map
Parameters:
this (map) : map containing key value pair
template (string) : Alert message template
Returns: updated alert message
Stochastic RSI + AlertThe **Stochastic RSI** indicator combines the Stochastic Oscillator and RSI to measure momentum and identify overbought or oversold conditions. It calculates the RSI first and then applies the Stochastic formula to it. Key levels are 80 (overbought) and 20 (oversold), where potential reversal signals may occur. This script adds visual labels and alerts for clear entry or exit points. It’s suitable for traders seeking precise momentum-based trading signals.
Eze Profit - Advanced Trade FilterThe Eze Profit - Advanced Trade Filter is a versatile indicator designed to help traders identify and follow trends while minimizing market noise. By utilizing a dual smooth range filtering approach, this script highlights directional bias and potential reversal points, making it an excellent tool for both trend-following and breakout strategies.
How It Works:
Dual Smooth Range Filtering:
The indicator calculates two smooth ranges: a fast range and a slow range, based on user-defined periods and multipliers.
These smooth ranges are combined to create a robust range filter that adapts to price movements.
Range Filtering Logic:
The filtered price moves only when the price exceeds a dynamic range threshold, helping to reduce false signals caused by market noise.
Trend Detection:
Upward Trend: When the filtered price rises, an upward counter tracks the trend duration.
Downward Trend: When the filtered price falls, a downward counter tracks the trend duration.
Long and Short Signal Conditions:
Long Signal: Triggered when the price is above the filter and exhibits upward momentum.
Short Signal: Triggered when the price is below the filter and exhibits downward momentum.
Features:
Customizable Inputs:
Configure fast and slow periods, range multipliers, and source price to tailor the indicator to different assets and timeframes.
Visualization Enhancements:
Trend Filter Line: A dynamic line showing the filtered price for trend direction.
High and Low Bands: Optional upper and lower bands to visualize the range of price movements.
Buy and Sell Labels: Clearly marked labels for long and short signals.
Real-Time Alerts:
Alerts for long and short signals help traders stay updated on potential trading opportunities.
Background Color Highlighting:
Green and red background colors visually indicate bullish and bearish conditions, enhancing clarity.
How to Use:
Trend Following:
Use the trend filter line to identify the overall direction of the market.
Enter long positions when the price is above the filter line and upward momentum is detected.
Enter short positions when the price is below the filter line and downward momentum is detected.
Breakout Trading:
Watch for price movements that breach the high or low bands to identify potential breakout opportunities.
Custom Settings:
Adjust the fast and slow periods, as well as the range multipliers, to optimize the indicator for different timeframes and asset classes.
Confirmation:
Combine this indicator with additional tools like volume analysis, support/resistance zones, or oscillators for greater confidence in signals.
Customization Options:
Smooth Range Settings:
Fast Period and Multiplier.
Slow Period and Multiplier.
Visualization:
Toggle visibility of the trend line, bands, and labels.
Customize line colors and widths.
Credits:
This script is inspired by range filtering techniques and utilizes custom logic for dual smooth range filtering. It builds upon open-source concepts while adding unique features for enhanced usability.
Notes:
The Eze Profit - Advanced Trade Filter is intended for educational purposes and should be used alongside a comprehensive trading strategy. It is not financial advice.
Liquidity Swings & Range Detector [MED89]### Trading Strategy Using the **Liquidity Swings & Range Detector** Indicator
The provided indicator is designed to identify liquidity swings (highs and lows) and detect trading ranges. Below is a step-by-step strategy to utilize it effectively in trading:
---
### 1. **Understanding the Indicator**
- **Liquidity Swings:**
- **Swing Highs:** These represent significant price resistance levels and are highlighted as peaks.
- **Swing Lows:** These represent significant price support levels and are highlighted as troughs.
- **Range Detector:**
- It identifies price ranges where the market is consolidating, using a combination of moving averages and ATR-based thresholds to define the range.
---
### 2. **The Trading Strategy**
#### A) **Buying Opportunities (Long Entries):**
1. **Breakout above Swing Highs:**
- When the price breaks above a recent **Swing High**:
- Confirm the breakout with volume or momentum indicators (e.g., RSI or MACD).
- Enter a long position.
- Place a stop-loss below the previous **Swing High** level.
2. **Within a Range:**
- Buy near the **Bottom Range** (the lower boundary of the detected range).
- Place a stop-loss slightly below the range.
#### B) **Selling Opportunities (Short Entries):**
1. **Breakdown below Swing Lows:**
- When the price breaks below a recent **Swing Low**:
- Confirm the breakdown with volume or momentum indicators.
- Enter a short position.
- Place a stop-loss above the previous **Swing Low** level.
2. **Within a Range:**
- Sell near the **Top Range** (the upper boundary of the detected range).
- Place a stop-loss slightly above the range.
---
### 3. **Range-Based Trading:**
- When the indicator detects a trading range:
- **Buy** at the lower boundary (**Bottom Range**).
- **Sell** at the upper boundary (**Top Range**).
- Avoid trading if the price is moving in the middle of the range unless confirmed by strong directional momentum.
---
### 4. **Risk Management**
- **Position Sizing:** Limit your risk to 2-3% of your capital per trade.
- **Take Profits:** Use the **Swing High** or **Swing Low** levels as logical profit targets.
- **Stop-Loss Placement:** Always place stop-loss orders based on recent **Swing Highs** or **Swing Lows**, depending on your trade direction.
---
### 5. **Additional Tips**
- Test the indicator on a demo account to fine-tune the settings.
- Use other complementary indicators like RSI, MACD, or volume to confirm trade signals.
- Stay updated on market news and events that might cause sudden price movements.
---
BY AHMED ELMORTADA
Algo 5- Auto (Optimized Version with RSI, ATR, and Time Filter)1. Script Title: Algo 5 - Auto (Optimized Version with RSI, ATR, and Time Filter) - Enhanced Entry Conditions for Increased Flexibility
2. Originality and Usefulness
2.1. Integrates multiple indicators: RSI, ATR, EMA, Bollinger Bands, and SSL Channels.
2.2. Provides highly adaptive trade entry and exit strategies through multiple confirmation signals.
2.3. Ensures flexibility across various market conditions.
3. Strategy Results
3.1. Backtesting Highlights:
Net Profit: +332,950 USDT (33.30% gain).
Win Rate: 81.82%, indicating strong reliability.
Profit Factor: 6.122, ensuring an optimal risk-to-reward ratio.
Maximum Loss Per Trade: 8.70%, adhering to sustainable risk levels.
Average Trade Holding Time: 318 bars, suitable for short-to-medium term traders.
3.2. Key Advantages:
Provides both Partial Take Profit and Full Take Profit levels for enhanced risk management.
Dynamically adjusts to market volatility using ATR for stop-loss and take-profit targets.
Combines trend confirmation and momentum-based signals to minimize false positives.
4. Indicators and Their Roles
4.1. SSL Channel:
Defines market trends through SMA-based crossovers.
Enhances sensitivity to market reversals with higher crossover frequency.
4.2. Relative Strength Index (RSI):
Identifies overbought/oversold zones with flexible thresholds (85/15).
Bullish and bearish divergence markers improve trend detection.
4.3. Average True Range (ATR):
Dynamically sets stop-loss and take-profit targets based on market volatility.
Ensures adaptability to different trading conditions.
4.4. Exponential Moving Averages (EMA):
Combines short-term (9), mid-term (15), and long-term (21) EMAs to confirm trends.
Reduces lag for better trend alignment.
4.5. Bollinger Bands:
Tracks price volatility and identifies breakout opportunities or range-bound movements.
Provides additional confirmation for entries.
5. How to Use This Script
5.1. Parameter Adjustments:
Customize RSI thresholds, SSL periods, ATR multipliers, and Bollinger Band deviations to suit specific conditions.
5.2. Trading Signals:
Long Entry: SSL indicates an uptrend, RSI confirms non-overbought conditions, and EMAs align upward.
Short Entry: SSL indicates a downtrend, RSI confirms overbought conditions, and EMAs align downward.
5.3. Stop-Loss and Take-Profit Logic:
Partial Take Profit: Closes part of the position at a predefined ATR level.
Full Take Profit: Closes the remaining position at a higher ATR threshold.
Dynamic Risk Management: Adapts to market fluctuations to minimize unexpected losses.
5.4. Compatibility:
Ideal for 30-minute to 1-hour timeframes.
Works well with volatile assets like SOLUSDT or forex pairs.
6. Additional Features
6.1. Visual Clarity:
SSL Channel Lines: Green and red lines clearly indicate uptrends and downtrends.
RSI Divergence Labels: Bullish and bearish markers help identify potential reversals.
Trade Signals on Chart: Visualizes long/short entries and partial/full exits for better understanding.
6.2. Risk-Reward Optimization:
Enables fine-tuning of the risk percentage per trade for capital preservation while maximizing profits.
7. Important Notes
7.1. Practice First: Thoroughly backtest the script before live trading.
7.2. Market Uncertainty: Past performance is not indicative of future results. Trade cautiously.
7.3. Open Source: Published under the Mozilla Public License 2.0. Users can study or modify the script responsibly.
© xxxaak
RSI Strategy With TP/SLThis Pine Script™ strategy combines RSI-based entries with automated Take Profit (TP) and Stop Loss (SL) levels to manage risk effectively. The strategy is designed to enter trades based on the Relative Strength Index (RSI) signals, allowing traders to choose between long-only, short-only, or both directions. Positions are entered when RSI conditions are met, with customizable parameters for RSI length, buy/sell thresholds, take profit, and stop loss percentages.
A notable feature is the comprehensive monthly performance table from @MAURYA_ALGO_TRADER, helping traders visualize their profit/loss over time. Alerts are integrated to notify traders of buy and sell opportunities, as well as TP/SL triggers. This strategy is suitable for traders looking for automated entries with a clear risk management approach, accompanied by helpful monthly performance tracking.
Stock_Cloud-EMA,VWAP,ST Indicator_V1Stock_Cloud-EMA,VWAP,ST Indicator
A simple indicator combining three popular technical indicators: EMA, VWAP, and SuperTrend. It generates clear trading signals when price moves above or below all three indicators.
Features:
• EMA (Exponential Moving Average) - Blue line
• VWAP (Volume Weighted Average Price) - Purple line
• SuperTrend - Green/Red line
• Background color changes to light green in bullish conditions and light red in bearish conditions
• Small triangles mark entry/exit points when price crosses all indicators
Signals:
▲ Green triangle: Bullish signal when price crosses above all indicators
▼ Red triangle: Bearish signal when price crosses below all indicators
Settings:
- EMA Length: 20 (default)
- SuperTrend Period: 10 (default)
- SuperTrend Multiplier: 3.0 (default)
How to Use:
Look for trade entries when all three indicators align and the triangle signal appears. The background color helps confirm the overall trend direction.
Truly Iterative Gaussian ChannelOVERVIEW
The Truly Iterative Gaussian Channel is a robust channeling system that integrates a Gaussian smoothing kernel with a rolling standard deviation to create dynamically adaptive upper and lower boundaries around price. This indicator provides a smooth, yet responsive representation of price movements while minimizing lag and dynamically adjusting channel width to reflect real-time market volatility. Its versatility makes it effective across various timeframes and trading styles, offering significant potential for experimentation and integration into advanced trading systems.
TRADING USES
The Gaussian indicator can be used for multiple trading strategies. Trend following relies on the middle Gaussian line to gauge trend direction: prices above this line indicate bullish momentum, while prices below signal bearish momentum. The upper and lower boundaries act as dynamic support and resistance levels, offering breakout or pullback entry opportunities. Mean reversion focuses on identifying reversal setups when price approaches or breaches the outer boundaries, aiming for a return to the Gaussian centerline. Volatility filtering helps assess market conditions, with narrow channels indicating low volatility or consolidation and suggesting fewer trading opportunities or an impending breakout. Adaptive risk management uses channel width to adjust for market volatility, with wider channels signaling higher risk and tighter channels indicating lower volatility and potentially safer entry points.
THEORY
Gaussian kernel smoothing, derived from the Gaussian normal distribution, is a cornerstone of probability and statistics, valued for its ability to reduce noise while preserving critical signal features. In this indicator, it ensures price movements are smoothed with precision, minimizing distortion while maintaining responsiveness to market dynamics.
The rolling standard deviation complements this by dynamically measuring price dispersion from the mean, enabling the channel to adapt in real time to changing market conditions. This combination leverages the mathematical correctness of both tools to balance smoothness and adaptability.
An iterative framework processes data efficiently, bar by bar, without recalculating historical value to ensure reliability and preventing repainting to create a mathematically grounded channel system suitable for a wide range of market environments.
The Gaussian channel excels at filtering noise while remaining responsive to price action, providing traders with a dependable tool for identifying trends, reversals, and volatility shifts with consistency and precision.
CALIBRATION
Calibration of the Gaussian channel involves adjusting its length to modify sensitivity and adaptability based on trading style. Shorter lengths (e.g., 50-100) are ideal for intraday traders seeking quick responses to price fluctuations. Medium lengths (e.g., 150-200) cater to swing traders aiming to capture broader market trends. Longer lengths (e.g., 250-400+) are better suited for positional traders focusing on long-term price movements and stability.
MARKET USAGE
Stock, Forex, Crypto, Commodities, and Indices.
BeautifulStochRSIBeautifulStochRSI: A Unique and Clear Approach to Stochastic RSI
Introducing the BeautifulStochRSI, an colorfull approach to the popular Stochastic RSI indicator. This script goes beyond the standard representation by offering visually distinct and intuitive signals to enhance your trading experience.
The BeautifulStochRSI is ideal for traders who value both precision and simplicity. It combines functional enhancements with a polished design, ensuring that crucial market insights are presented clearly and effectively. Created by rektbyhielke, this script leverages the capabilities of Pine Script™ v5 for optimal performance.
By sharing this script, the aim is not only to provide a practical trading solution but also to inspire others to create indicators that are both beautiful and efficient.
the script includes fully customizable parameters for RSI length, stochastic length, and smoothing factors, allowing traders to tailor the indicator to their specific strategies. Overbought and oversold zones are marked with dots at levels 80 and 20, complemented by a subtle teal background fill to emphasize these areas.
Trend Runner
Heiken Ashi Candles Smoothed Indicator With Color Change Alerts.
Very useful indicator to identify potential trends.
Using a bar chart with grey or black bars helps to see the indicator better.
Non-Psychological Levels🟩 Non-Psychological Levels is a structural analysis tool that segments price action into objective ranges, identifying Broken and Unbroken levels without relying on psychological or time-based assumptions. By emphasizing mechanically derived price behavior, it provides traders with a clear framework for analyzing support and resistance in a consistent and unbiased manner across various market conditions.
This indicator introduces a new approach to understanding market structure by focusing on price movement within defined segments, free from behavioral patterns, round numbers, or specific time intervals. While the indicator is time-agnostic in design, it works within the natural time progression of the chart, ensuring that segmentation aligns with the inherent structure of price movement. Broken levels, where price has breached a structural boundary, and Unbroken levels, which remain intact, are visualized with horizontal lines. These structural zones are complemented by dynamically boxed segments that contextualize both historical and ongoing price behavior.
By offering an objective perspective, the Non-Psychological Levels indicator complements psychology-based tools, helping traders explore market dynamics from multiple angles. When structural levels align with psychological zones, they reinforce critical price areas; when they differ, they provide opportunities to analyze price behavior from an alternative lens. This indicator is designed as both an educational framework and a practical tool, encouraging a deeper understanding of structural price behavior in technical analysis.
⭕ THEORY AND CONCEPT ⭕
The Non-Psychological Levels indicator is grounded in the principle of analyzing price behavior without reliance on psychological assumptions or time-based factors. Its primary purpose is to provide a structural framework for identifying support and resistance levels by focusing solely on price movement within mechanically defined segments. By removing external influences such as sentiment, time intervals, or market sessions, the indicator offers an unbiased lens through which traders can observe price dynamics.
Non-psychology, as defined here, refers to an approach that excludes behavioral and emotional patterns—like fear, greed, or herd mentality—from price analysis. Traditional tools often depend on these patterns to identify zones such as pivots or Fibonacci retracements, but these methods can be inconsistent in volatile markets. In contrast, the Non-Psychological Levels indicator focuses entirely on what price is doing, free from assumptions about trader behavior or external time constraints.
The indicator’s time-agnostic and mechanically driven design segments price action into consistent ranges, highlighting "Broken" levels (where price breaches structural boundaries) and "Unbroken" levels (where price holds). These structural zones remain unaffected by subjective or external influences, ensuring clarity and consistency across different markets and timeframes. By doing so, the indicator reveals a pure view of price structure, independent of psychological biases.
Importantly, the Non-Psychological Levels indicator is not intended to replace psychology-based tools but to complement them. When its structural levels align with psychological zones like round numbers or session highs/lows, the significance of these areas is reinforced. Conversely, when the levels differ, the contrast provides traders with alternative insights into market dynamics. This dual perspective—blending mechanical objectivity with behavioral analysis—enhances the depth and flexibility of market evaluation.
The following principles outline the theoretical foundation of the indicator and its unique contribution to structural price analysis:
Time-Agnostic Design : The indicator avoids reliance on time-based factors like daily opens, session intervals, or specific events. Instead, it segments price action using bar indexes, ensuring that structural levels are identified independently of external time variables. While the x-axis of a chart inherently represents time, this indicator abstracts away its influence, allowing traders to focus purely on price movement without the bias of temporal context.
Mechanical and Neutral Framework : Every calculation within the indicator is predetermined by a set of mechanical rules, ensuring no subjective input or interpretation affects the results. This objectivity guarantees that levels are derived solely from observed price behavior, providing a reliable framework that traders can trust to remain consistent across different assets, timeframes, and market conditions.
Broken and Unbroken Levels : Broken levels represent zones where price has breached a structural boundary, while Unbroken levels highlight areas where price has consistently respected its range. This distinction provides a clear and systematic method for identifying key support and resistance levels, offering insights into where future price interactions are most likely to occur.
Neutral Price Behavior : By dividing price action into equal segments, the indicator removes the influence of external factors like trader sentiment or psychological expectations. Each segment independently determines significant levels based purely on price action, enabling a structural view of the market that abstracts away behavioral or emotional biases.
Complement to Psychological Tools : While the indicator itself avoids behavioral assumptions, its levels can align with psychological zones like round numbers, pivots, or Fibonacci levels. When these structural and psychological levels overlap, it reinforces the importance of key areas, while divergences offer opportunities to examine price behavior from a new perspective.
Educational Value : The indicator encourages traders to explore the contrast between structural and psychological analysis. By introducing a framework that isolates price behavior from external influences, it challenges traditional methods of technical analysis, fostering deeper insights into market structure and behavior.
🔍 UNDERSTANDING STRUCTURAL LEVELS 🔍
The Non-Psychological Levels indicator offers a straightforward yet powerful way to understand market structure by segmenting price action into mechanically defined ranges. This segmentation highlights two key elements: "Broken" levels, where price has breached structural boundaries, and "Unbroken" levels, which remain intact and respected by price action. Together, these components create a framework for identifying potential areas of support and resistance.
Broken Levels : These are structural boundaries that price has surpassed, indicating areas where previous support or resistance failed. Broken levels often signal transitions in price behavior, such as shifts in momentum or the start of trending movements. They provide insight into zones where price has already tested and moved beyond.
Unbroken Levels : These levels remain intact within a given price segment, marking areas where price has consistently respected boundaries. Unbroken levels are particularly useful for identifying potential reversal points or zones of continued support or resistance. Their persistence across price action often makes them reliable indicators of market structure.
The visual segmentation of price action into distinct ranges allows traders to observe how price transitions between structural zones. For example:
- Clusters of Unbroken levels near the current price may suggest strong support or resistance, offering areas of interest for reversals or breakouts.
- Gaps between Unbroken levels highlight areas of price inefficiency or low interaction, which may become significant if revisited.
By focusing solely on structural price behavior, the Non-Psychological Levels indicator enables traders to analyze price independently of time or psychological factors. This makes it a valuable tool for understanding price dynamics objectively, whether used on its own or alongside other indicators.
🛠️ SETTINGS 🛠️
The Non-Psychological Levels indicator offers various customizable settings to help users tailor its visualization to their specific trading style and market conditions. These settings allow adjustments to sensitivity, level projection, and the source of price calculations (e.g., wicks or closing prices). Below, we outline each setting and its impact on the chart, along with examples to illustrate their functionality.
Custom Settings
Sensitivity : This setting adjusts the balance between detailed and broader structural levels by controlling the number of segments. Higher values result in more segments, revealing finer price levels, while lower values consolidate segments to highlight major price movements.
Source : Allows the user to choose between 'Wick' or 'Close' for detecting levels. Selecting 'Wick' emphasizes the absolute highs and lows of price action, while 'Close' focuses on closing prices within each segment.
Level Labels : Configures the visual representation of price levels, allowing users to toggle between price values, symbols (▲ ▼), or disabling labels altogether. This setting ensures clarity in how Broken and Unbroken levels are displayed on the chart.
Unbroken Levels : - - - Users can customize the colors and label styles for Unbroken levels, which highlight areas where price has respected structural boundaries.
Broken Levels : -|- Similar to Unbroken levels, users can specify the visual appearance of Broken levels, including color customization for Broken highs and lows. These settings help distinguish areas where price has breached a structural boundary.
Projection Options : This setting allows users to control how broken and unbroken levels are visually extended on the chart. The Future option projects lines forward to the right of the current price, showing potential future relevance of levels. The All option extends lines both forward and backward, providing a comprehensive view of how levels align with historical and potential future price action. The None option disables projections, keeping the chart focused solely on current segment levels without any extensions.
Segments : Includes options for customizing the segment visualization:
- Live Segment : Toggles the display of a highlighted box representing the current developing segment, helping users focus on ongoing price action.
- Boxes : Allows users to display filled boxes around each segment for additional visual emphasis.
- Segment Colors : Users can define separate colors for support (lower) and resistance (upper) segments, making it easier to interpret directional trends.
- Boundaries : Enables or disables vertical lines to mark segment boundaries, providing a clearer view of structural divisions.
Repaint : This setting allows users to enable or disable triangle labels within the live segment. When enabled, the triangles dynamically update to reflect real-time price behavior during the live bar but will repaint until the bar is fully confirmed. Disabling this option prevents the triangles from appearing during the live bar, reducing potential confusion as they may otherwise flash on and off during price updates. This setting ensures users can choose their preferred visualization while maintaining clarity in real-time analysis.
Color Settings : Offers extensive customization for all visual elements, including Broken and Unbroken levels, segment boundaries, and live segments. These settings ensure the indicator can adapt to individual preferences for chart readability.
🖼️ CHART EXAMPLES 🖼️
The following chart examples illustrate different configurations and features of the Non-Psychological Levels indicator. These examples highlight how the indicator’s settings influence the visualization of structural price behavior, helping traders understand its functionality in various scenarios.
Broken and Unbroken Levels : Orange prices are Broken HIghs. Blue prices are Broken Lows. Green and Red are Unbroken.
Boundaries : Enable Boundaries to visualize segments.
High Sensitivity Setting : A high sensitivity setting produces fewer segments and levels, emphasizing broader price ranges and major structural zones. This configuration is better suited for higher timeframes or identifying overarching trends.
Low Sensitivity Setting : A low sensitivity setting results in a greater number of segments and levels, offering a granular view of price structure. This configuration is ideal for analyzing detailed price movements on lower timeframes.
Live Segment with Triangles Enabled : This example shows the live segment box with triangle labels enabled. These triangles update dynamically during the live bar but may repaint until the bar is confirmed, helping traders observe real-time price behavior.
Broken and Unbroken Levels : This example highlights Broken levels (where price has breached structural boundaries and are drawn through subsequent price action) and Unbroken levels (where price has respected structural boundaries). These distinctions visually identify areas of potential support and resistance.
Broken and Unbroken Levels with Projection: All : This example demonstrates the "Project All" feature, where broken and unbroken levels are extended both forward and backward on the chart. This visualization highlights historical and potential future support and resistance zones, helping traders better understand how price interacts with these structural levels over time.
Segment Boxes with Boundaries : Filled boxes around individual segments visually distinguish each price interval, offering clarity in observing structural price transitions.
📊 SUMMARY 📊
The Non-Psychological Levels indicator provides a unique framework for analyzing structural price behavior through the identification of Broken and Unbroken levels. These levels act as a mechanical representation of support and resistance, independent of psychological biases or time-based factors. By focusing purely on price movement within defined segments, the indicator offers a neutral and consistent approach to understanding market dynamics.
This method complements traditional tools by providing an unbiased perspective. When structural levels align with psychological zones—such as round numbers or session-based highs and lows—they reinforce the significance of these areas as key price zones. When they diverge, the indicator introduces an alternative view, prompting further exploration of price behavior. This dual perspective enhances the depth of analysis by combining the mechanical and behavioral aspects of price action.
The Non-Psychological Levels indicator is not designed to generate trading signals or predict future price movements but serves as a visual and educational tool. Its adaptability across all markets and timeframes allows traders to integrate it into their broader strategies. By highlighting structural price dynamics, the indicator offers a fresh perspective on market analysis while remaining compatible with other technical tools.
⚙️ COMPATIBILITY AND LIMITATIONS ⚙️
Asset Compatibility :
The Non-Psychological Levels indicator is compatible with all asset classes, including cryptocurrencies, forex, stocks, and commodities. It can be applied to any chart or timeframe, making it a flexible tool for structural price analysis. Users should adjust the Sensitivity setting to ensure the segmentation aligns with the price behavior of the specific asset being analyzed. For instance, higher sensitivity values are more suitable for assets with large price ranges, while lower values work well for assets with tighter ranges.
Visual Range Dependency :
The indicator is optimized to perform calculations only within the visible range of the chart. This is a significant advantage, as it prevents unnecessary calculations and maintains efficient performance. However, because of this dependency, levels may appear to "recalculate" when the chart is zoomed in or out quickly or shifted abruptly. While this does not affect the integrity of the levels, it may cause a temporary lag as the indicator adjusts to the new visual range.
Persistence of Levels Beyond Visibility :
Even if levels are not visible on the chart due to zoom or scroll settings, they still exist in the background and are recalculated when revisited. This ensures that the structural price analysis remains consistent, regardless of the chart view.
Box Limitations in Pine Script :
The indicator is subject to Pine Script's inherent limitation of 500 boxes. This means that no more than 500 segments or level boxes can be drawn on the chart simultaneously. For most configurations, this limitation is mitigated by focusing on the visual range, but users employing very low sensitivity settings may exceed the limit. In such cases, only the most recent 500 boxes will be displayed, potentially omitting earlier segments.
Lag with Low Sensitivity Settings :
When sensitivity is set to a low value, the indicator creates many more segments, resulting in finer granularity and a higher number of boxes. While this provides detailed structural levels, it may increase the likelihood of exceeding Pine Script’s 500-box limit or cause a temporary lag when rendering a dense set of boxes over a wide visual range. Users should adjust sensitivity to balance detail with performance, especially on assets with high volatility or broad price ranges.
Live Segment Caution :
The live segment box updates in real time to reflect price movements as the segment is still developing. Since the segment high and segment low are not yet finalized, users should interpret this feature as a dynamic visualization of current price behavior rather than a definitive structural analysis. This ensures clarity during ongoing price action while maintaining the integrity of the indicator's framework.
Cross-Market Versatility :
The indicator’s time-agnostic and mechanical design ensures that it functions identically across all markets and timeframes. However, users should consider the unique characteristics of different markets when interpreting the results, as certain assets (e.g., highly volatile cryptocurrencies) may require sensitivity adjustments for optimal segmentation.
Visual Range Dependency: Levels recalculate efficiently within the chart's visible range but may lag temporarily when zooming or scrolling quickly.
These considerations ensure that the Non-Psychological Levels indicator remains robust and versatile while highlighting some inherent limitations of Pine Script and real-time recalculations. Users can mitigate these constraints by carefully adjusting sensitivity and understanding how the visual range dependency affects performance.
⚠️ DISCLAIMER ⚠️
The Non-Psychological Levels indicator is a visual analysis tool and is not designed as a predictive or trading signal indicator. Its primary purpose is to highlight structural price levels, providing an objective framework for understanding support and resistance within mechanically segmented price action.
The indicator operates within the visible range of the chart to ensure efficiency and adaptiveness, but this recalculation should not be interpreted as a forecast of future price behavior. While the structural levels may align with significant price zones in hindsight, they are purely a reflection of observed price dynamics and should not be used as standalone trading signals.
This indicator is intended as an educational and visual aid to complement other analysis methods. Users are encouraged to integrate it into a broader trading strategy and make adjustments to the settings based on their individual needs and market conditions.
🧠 BEYOND THE CODE 🧠
The Non-Psychological Levels indicator, like other xxattaxx indicators , is designed with education and community collaboration in mind. Its open-source nature encourages exploration, experimentation, and the development of new approaches to price analysis. By focusing on structural price behavior rather than psychological or time-based factors, this indicator introduces a fresh perspective for users to study.
Beyond its visual utility, the indicator serves as an educational framework for understanding the concept of non-psychological analysis. It offers traders an opportunity to explore price dynamics in a purely mechanical way, challenging conventional methods and fostering deeper insights into structural behavior. This approach is especially valuable for those interested in exploring new concepts or seeking alternative perspectives on market analysis.
Your comments, suggestions, and discussions are invaluable in shaping the future of this project. We actively encourage your feedback and contributions, which will directly help us refine and improve the Non-Psychological Levels indicator. We look forward to seeing the creative ways in which you use and enhance this tool. MVS
Advanced Pattern Detector**Script Overview**
**Indicator Name:** Advanced Pattern Detector
**Pine Script Version:** v5
**Indicator Type:** Overlaid on the chart (overlay=true)
**Main Features:**
- Detection and visualization of various technical patterns.
- Generation of BUY and SELL signals based on detected patterns.
- Display of Fibonacci levels to identify potential support and resistance levels.
- Ability to enable or disable each pattern through the indicator settings.
---
**Indicator Settings**
**Switches to Enable/Disable Patterns**
At the top of the indicator, there are parameters that allow the user to select which patterns will be displayed on the chart:
- Three Drives
- Rounding Top
- Rounding Bottom
- ZigZag Pattern
- Inverse Head and Shoulders
- Fibonacci Retracement
**Parameters for ZigZag**
Settings are also available for the ZigZag pattern, such as the depth of peak and trough detection, allowing the user to adjust the indicator's sensitivity to price changes.
---
**Pattern Detection**
Each pattern is implemented with its own logic, which checks specific conditions on the current bar (candle). Below are the main patterns:
1. **Three Drives**
- **Description:** This pattern consists of three consecutive price movements in one direction (up or down). It can signal the continuation of the current trend or its reversal.
- **How It Works:**
- **Upward Drive:** The indicator checks that the closing price of each subsequent candle is higher than the previous one for three bars.
- **Downward Drive:** The indicator checks that the closing price of each subsequent candle is lower than the previous one for three bars.
2. **Rounding Top**
- **Description:** A pattern representing a smooth decrease in maximum prices over several bars, which may indicate a potential downward trend reversal.
- **How It Works:**
- The indicator checks that the maximum prices of the last five bars are gradually decreasing, and the current bar shows a decrease in the maximum price.
3. **Rounding Bottom**
- **Description:** A pattern characterized by a smooth increase in minimum prices over several bars, signaling a possible upward trend reversal.
- **How It Works:**
- The indicator checks that the minimum prices of the last five bars are gradually increasing, and the current bar shows an increase in the minimum price.
4. **ZigZag Pattern**
- **Description:** Used to identify corrective movements on the chart. The pattern shows peak and trough points connected by lines, helping to visualize the main price movement.
- **How It Works:**
- The indicator uses a function to determine local maxima and minima based on the specified depth.
- Detected peaks and troughs are connected by lines to create a visual zigzag structure.
5. **Inverse Head and Shoulders**
- **Description:** An inverted head and shoulders formation signals a possible reversal of a downward trend to an upward one.
- **How It Works:**
- The indicator looks for three local minima: the left shoulder, the head (the lowest minimum), and the right shoulder.
- It checks that the left and right shoulders are approximately at the same level and below the head.
6. **Fibonacci Retracement Levels**
- **Description:** Automatically builds key Fibonacci levels based on the maximum and minimum prices over the last 50 bars. These levels are often used as potential support and resistance levels.
- **How It Works:**
- Daily, the minimum and maximum prices over the last 50 bars are calculated.
- Based on these values, Fibonacci levels are drawn: 100%, 23.6%, 38.2%, 50%, 61.8%, and 0%.
- Old levels are removed when a new day begins to keep the chart clean and up-to-date.
---
**Generation of Buy and Sell Signals**
The indicator combines the results of detected patterns to generate trading signals:
- **Buy Signals (BUY):**
- Rounding Bottom
- Three Drives Up
- Inverse Head and Shoulders
- ZigZag Low
- **Sell Signals (SELL):**
- Rounding Top
- Three Drives Down
- Inverse Head and Shoulders
- ZigZag High
**How It Works:**
- If one or more buy conditions are met, a "BUY" label is displayed below the corresponding bar on the chart.
- If one or more sell conditions are met, a "SELL" label is displayed above the corresponding bar on the chart.
---
**Visualization of Patterns on the Chart**
Each detected pattern is visualized using various graphical elements, allowing traders to easily identify them on the chart:
- **Three Drives Up:** Green upward triangle below the bar.
- **Three Drives Down:** Red downward triangle above the bar.
- **Rounding Top:** Orange "RT" label above the bar.
- **Rounding Bottom:** Blue "RB" label below the bar.
- **Inverse Head and Shoulders:** Turquoise "iH&S" label below the bar.
- **ZigZag High/Low:** Purple circles at the peaks and troughs of the zigzag.
---
**Displaying Fibonacci Levels**
Fibonacci levels are displayed as horizontal lines on the chart with corresponding labels. These levels help traders determine potential entry and exit points, as well as support and resistance levels.
---
**Drawing ZigZag Lines**
ZigZag lines connect the detected peaks and troughs, visualizing corrective movements. To avoid cluttering the chart, the number of lines is limited, and old lines are automatically removed as new ones are added.
FluidTrades - SMC Lite with EMAs by ARANاین اندیکاتور هم تنظیمات EMA را دارد هم اوردر بلاک های معتبر را نشان میدهد
Supertrend with Bollinger BandsThe indicator combines Bollinger Bands and Supertrend.
Hope it helps traders make profits from the market.
Trading the TrendTrading the Trend Indicator by Andrew Abraham (TASC, 1998)
The Trading the Trend indicator, developed by Andrew Abraham, combines volatility and trend-following principles to identify market direction. It uses a 21-period weighted average of the True Range (ATR) to measure volatility and define uptrends and downtrends.
Calculation: The True Range (highest high minus lowest low) is smoothed using a 21-period weighted moving average. This forms the basis for the trend filter, setting dynamic thresholds for trend identification.
Uptrend: Higher highs are confirmed when price stays above the upper threshold, signaling long opportunities.
Downtrend: Lower lows are identified when price stays below the lower threshold, favoring short positions.
This system emphasizes trading only in the direction of the prevailing trend, filtering out market noise and focusing on sustained price movements.
The trendline changes her color. When there is an uptrend the trendline is blue and when the trend is downward the trendline is yellow.