FVG - NibzDescription: Fair Value Gap (FVG) Indicator - Nibz
This Pine Script identifies and visualizes Fair Value Gaps (FVGs) on your TradingView chart. FVGs are price inefficiencies left behind when the market moves too quickly, skipping price levels that might not be tested. These gaps often act as magnets, attracting price for potential reversals or continuations.
The script works by detecting upward (bullish) and downward (bearish) price imbalances based on specific candlestick criteria and then marks these zones on your chart using customizable shaded boxes. This tool is essential for traders looking to identify key areas of market inefficiency that could signify support/resistance levels, potential reversal zones, or areas to monitor for market rebalancing.
How It Works
1. Bullish FVG Detection
The script identifies an upward imbalance when:
The low of the candlestick two bars back is less than or equal to the open of the previous bar.
The high of the current candlestick is greater than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a green box is drawn from the low of the second candlestick back to the high of the current candlestick.
2. Bearish FVG Detection
The script identifies a downward imbalance when:
The high of the candlestick two bars back is greater than or equal to the open of the previous bar.
The low of the current candlestick is less than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a red box is drawn from the low of the current candlestick to the high of the second candlestick back.
Customization Options
This script is highly customizable, allowing you to tailor the appearance of the FVG boxes to suit your trading style and chart aesthetics:
Bullish FVG:
Fill color and transparency.
Border color and transparency.
Bearish FVG:
Fill color and transparency.
Border color and transparency.
The settings are user-friendly, with intuitive sliders for transparency and color pickers for customization.
How to Use the Indicator
Adding the Script:
Add the indicator to your chart, and it will automatically mark bullish (green) and bearish (red) FVGs.
Interpreting FVGs:
Bullish FVGs (green zones): These often act as support or areas of potential price rebalancing on retracement.
Bearish FVGs (red zones): These often act as resistance or areas of interest for short entries.
Trade Ideas:
Use FVG zones to confirm other trade signals or strategies.
Watch for price interaction with these zones to time entries and exits.
Key Features
Automated detection of Fair Value Gaps.
Customizable visual representation to match your chart preferences.
Enhances trading precision by identifying price inefficiencies.
Suitable for scalping, day trading, or swing trading strategies.
This script provides a powerful tool to highlight important price levels and inefficiencies in the market, enabling traders to make informed decisions. Whether you're using it as a standalone indicator or combining it with other tools, the 'FVG - Nibz' indicator is a valuable addition to any trader's toolkit!
Indicatori e strategie
RSI Below 40 Buy and Sell on 5% Profit (Auto-Trading Enabled)RSI %40 altinda düstügünde alim yapacak sekilde ve %5 kar yapildiginda satacak
Bull Bear Candles with Volume ProfileUser Guide for Bull Bear Candles Indicator with Keltner Channels
Author: NellyN
Introduction
This indicator helps identify potential bullish and bearish trends in the market by analyzing buying and selling volume over two configurable timeframes. It calculates the percentage of buying and selling volume and displays the current market condition based on two moving averages for 2 periods.
Key Features
• Volume Analysis : Calculates Buy and Sell Volume for two configurable timeframes (e.g., 5 min, 15 min, 15 min. and 1 hour, etc.) and displays them as percentages.
• Moving Averages : Uses one Moving Average (MA) for two different time periods to identify trends (uptrend when shorter-term MA is above longer-term MA). You can also choose other Moving Average types like SMA, EMA, WMA, RMA, VWMA, or HMA.
• Colored Candles : Candles are colored green for bullish conditions, red for bearish conditions, and gray for neutral conditions.
• Market Condition Labels : Displays labels in table-view indicating the current market condition based on Buy and Sell Volume (Very Bullish, Very Bearish, Bullish/Bearish Retracement, Chop).
• Alerts: Generates alerts for potential buy and sell signals based on indicator conditions (Note: Enable alerts in the indicator settings).
• Visual Signals: Provides visual signals through colored candles and market condition labels in addition to alerts.
Input Parameters
• Source: Close price (default) or Heikin Ashi
• Timeframe: Select the timeframe for price and volume data used in the indicator (e.g., Daily, Hourly).
• Colored Candles On: Enable (True) or disable (False) coloring candles based on market conditions.
• Enable Alerts: Enable (True) or disable (False) alerts for buy/sell signals.
• Length of MA: Sets the length for the MAs used in trend identification (minimum 1).
• Lookback Period Vol. 1 & 2: Define the timeframes used to calculate buying and selling volume and the MA calculation (e.g., 5 min, 15 min).
Understanding the Outputs
• Cloud Fill: The area between two MAs is filled with a color that reflects the trend (green for uptrend, red for downtrend).
• Table: Shows Buy Volume, Sell Volume, Buy Percentage, Sell Percentage, and the current Market Condition Labels. (If you decide to see them uncomment them from the code simply removing the // in front of the code)
• Colored Candles and Market Condition Labels: Look for green candles and bullish labels for potential buying opportunities, and vice versa for red candles and bearish labels.
Bullish green label appears when short-term MA is above long-term MA AND Buy Volume percentage is greater than 50%.
Red cross for exiting long entry appears when we have bearish volume OR bearish crossover of the MA for the 2 periods.
Bearish red label appears when short-term MA is below long-term MA AND Buy Volume percentage is less than 50%.
Green cross for exiting short entry appears when we have bullish volume OR bullish crossover of the MA for the 2 periods.
• Bullish/Bearish Retracement: The moving averages indicate a potential trend reversal, while the Buy Volume percentage suggests a continuation of the prior trend. The candle color may be green, red, or gray depending on the current price position relative to the moving averages.
• Chop (Gray Candle): The moving averages are flat and the Buy Volume percentage is not significantly above or below 50%.
• Buy/Sell Alerts: The indicator generates alerts based on specific conditions, but these should be used in conjunction with other trading strategies and careful risk management.
Important Notes
• This indicator is for informational purposes only and should not be considered financial advice. Back-test the indicator with historical data to understand its performance before using it for live trading.
• Combine this indicator with other technical analysis tools.
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.
ICT Macro Sessions by @zeusbottradingICT Macro Sessions Indicator
The ICT Macro Sessions Indicator is a powerful tool designed for traders who follow the ICT (Inner Circle Trader) methodology and want to optimize their trading during specific high-probability time intervals. This indicator highlights all the key macro sessions throughout the trading day in the GMT+8 (Hong Kong) time zone.
What Does the Indicator Do?
This indicator visually marks ICT Macro Sessions on your trading chart using background colors and optional labels. Each session corresponds to specific time intervals when institutional activity is most likely to drive price action. By focusing on these periods, traders can align their strategies with market volatility and liquidity, increasing their chances of success.
Highlighted Sessions
The indicator covers all major ICT Macro Sessions, each with a unique color for easy identification:
London Macro 1 (15:33–16:00 GMT+8):
- Marks the early London session, often characterized by strong directional moves.
London Macro 2 (17:03–17:30 GMT+8):
- Captures the mid-London session, where price frequently reacts to liquidity levels.
New York AM Macro 1 (22:50–23:10 GMT+8):
- Highlights the start of the New York session, a prime time for price reversals or continuations.
New York AM Macro 2 (23:50–00:10 GMT+8):
- Focuses on late-morning New York activity, often aligning with key news releases.
New York Lunch Macro (00:50–01:10 GMT+8):
- Covers the lunch period in New York, where price may consolidate or set up for afternoon moves.
New York PM Macro 1 (02:10–02:40 GMT+8):
- Tracks post-lunch activity in New York, often featuring renewed volatility.
New York PM Macro 2 (04:15–04:45 GMT+8):
- Captures late-session moves as institutional traders finalize their positions.
Features of the Indicator
Fixed Time: The indicator is pre-configured for GMT+8 but it will adapt automatically to your timezone. No need to change anything in the code.
Background Highlighting: Each session is visually marked with a unique background color for quick recognition.
Optional Labels: Traders can enable or disable labels for each session, providing flexibility in how information is displayed.
Session Toggles: You can choose which sessions to display based on your trading preferences and strategy.
Intraday Timeframes: The indicator is optimized for intraday charts with timeframes of 45 minutes or less. You can change it to anything you like.
Why Use This Indicator?
The ICT Macro Sessions Indicator helps traders focus on the most critical times of the trading day when institutional activity is at its peak. These periods often coincide with significant price movements, making them ideal for scalping, day trading, or even swing trading setups. By visually highlighting these sessions, the indicator eliminates guesswork and allows traders to plan their trades with precision.
heavy gustavo Order Block B/SThis indicator helps traders visually identify order blocks and key levels, which are critical areas where price action is expected to react strongly. By integrating impulse detection, higher timeframe confluence, and alerts/signals, it improves the accuracy of trade setups and increases confidence in entries and exits.
Booth's EMA Crossover Strat + Pivots13 EMA
21 EMA
200 EMA
20 SMA
Pivot Levels
This auto plots the indicators above and gives buy and sell signs on the 20SMA crossover event.
Anytime the SMA crosses below the EMA's then it will indicate a long opportunity.
Anytime the SMA crosses above the EMA's then it will indicate a short opportunity.
Estrategia de Liquidez en Rango (1H)es un indicador de para abrir y cerrar operaciones basado en terminos de liquidez
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.
Indicador M2 con Filtro de EMAs
El Patrón de Velas M2 es el mejor gatillo para entrar a mercado cuando el grafico de los precios nos da una ventaja estadística.
Las EMAS 10 y 5 nos dan un filtro de la tendencia a corto plazo y en combinación con el patón M2 conforman la base del Sistema Scalping 2.0 el cual nos permite realizar operaciones siempre a favor de la tendencia, dándonos la oportunidad de llevar a cabo una de las premisas mas antiguas que existen en el mercado: 2Latendencia es tu amiga"
El patrón de velas M2 consiste en una vela que cierra mayor que los cuerpos de las dos velas anteriores (para compra) o una vela que cierra por debajo de los cuerpos de las dos velas anteriores (para venta).
Cada que el precio genera un nuevo M2 sobre una tendencia establecida, nos indica que el precio ha de continuar con esa tendencia, a menos que exista algun tipo de soporte o resistencia importante justo ante el cierre de dicho M2
Estrategia Cruce de Oro y Muerte con EMA y Niveles Previos SFCASObjetivo de la Estrategia
La estrategia combina tres componentes clave del análisis técnico:
Cruce de EMAs (Medias Móviles Exponenciales):
Identifica cambios en la tendencia del mercado mediante los cruces de las EMAs de 50 y 200 periodos.
Cruce de Oro (Golden Cross): Señal de compra (tendencia alcista).
Cruce de Muerte (Death Cross): Señal de venta (tendencia bajista).
Acción del Precio:
Confirma las señales basándose en la posición del precio respecto a la EMA 9, que actúa como un filtro adicional para reducir señales falsas.
Niveles del Día Anterior:
Ayuda a identificar zonas clave de soporte y resistencia utilizando los precios de apertura y cierre del día anterior.
Supertrend with Alerts and Price LabelsSupertrend with Alerts and Price Labels, al sat indikör deneme
Bullish and Bearish Streak AlertsStreak of 3 bullish and bearish
whenever 3 bullish pattern is formed the 3rd candle and the ones next will be printed green
same goes opposited for bearish but will be i n red colour
me__.ro instالتداول يقتصر على العملات والمعادن ذات السيولة العالية، مثل الذهب والبتكوين.
بالنسبة للذهب، يتم التداول على إطار زمني قدره 15دقائق، تقدر تتداول بفرمات اقل في حال اردت التداول بفرمات اقل راسل المبرمج على الانستقرام نفس معرف المؤشر
افضب وقت للتداول على المؤشر من الساعة 6 صباحًا حتى الساعة 6 مساءً وفقًا لتوقيت منصة TradingView.
بالنسبة للبتكوين، يفضل التداول على إطار زمني قدره 5 د
في حالة كان السوق في وضع عرضي، ينبغي تجاهل الإشارات الصادرة عن المؤشر.
عندما يصل السعر إلى نصف الهدف المحدد، من الأفضل تأمين الصفقة عند نقطة الدخول.
استخدام شموع الهيكن آشي يعطي نتائج أفضل بكثير في التداول.
المؤشر لا يخلو من المخاطرة، لذلك يجب الالتزام بوضع وإدارة وقف الخسارة.
يمكنك تعديل إدارة الأهداف ووقف الخسارة من خلال إعدادات المؤشر، وفقًا لإدارة رأس المال الخاصة بك.
أكرر أن النجاح مع المؤشر يتطلب إدارة رأس المال بدقة، مع تجاهل الإشارات في الأسواق العرضية وذات السيولة الضعيفة.
من الأفضل تنفيذ جميع الصفقات بهدف الخروج اليومي بربح.
قد تمر بعض الأيام التي تحقق فيها تعادلًا، لكن الأهم هو تحقيق الربح في نهاية الشهر.
لا أنصح باستخدام هذا المؤشر للأشخاص الذين لا يستطيعون ضبط أنفسهم أو الذين هم مبتدئون في المجال ولا يلتزمون بإدارة المخاطر.
PRINCE007 D,W,M M.A,T/L,B.B DEC 2024PRINCE007 D,W,M M.A,T/L,B.B DEC 2024
Hello,
This is simple combined indicator i use to have 2 same indicators on 2 timeframes
BB 1 (default for current timeframe)
BB 2 (default current timeframe x4)
4xEMA (default 9, 50, 100, 200)
Ichimoku 1 (default for current timeframe)
Ichimoku 2 (default current timeframe x4)
Gaussian Channel (base on the one of Donovan Wall)
Maybe more to come.
Gap Up & Down Detector (Fixed)**Gap Up & Down Detector**
The *Gap Up & Down Detector* indicator identifies significant market gaps between consecutive candles on any timeframe. It marks green upward arrows for gap-ups where the current candle's open exceeds the previous candle's high by more than 10% of the previous candle's range. Similarly, it marks red downward arrows for gap-downs where the current candle's open falls below the previous candle's low by more than 10% of the previous candle's range.
This tool is perfect for traders looking to spot sharp price movements and potential trading opportunities following market gaps.
Гартли Бабочка//@version=5
indicator("Гартли Бабочка", overlay=true)
// Определение точек паттерна Гартли
X = input.int(0, title="Точка X")
A = input.int(1, title="Точка A")
B = input.int(2, title="Точка B")
C = input.int(3, title="Точка C")
D = input.int(4, title="Точка D")
// Условия для распознавания бабочки
AB_ratio = (close - close ) / (close - close )
BC_ratio = (close - close ) / (close - close )
CD_ratio = (close - close ) / (close - close )
// Настройка диапазонов для каждой фибоначчи
AB_range = (AB_ratio >= 0.618 and AB_ratio <= 0.786)
BC_range = (BC_ratio >= 0.382 and BC_ratio <= 0.886)
CD_range = (CD_ratio >= 1.618 and CD_ratio <= 2.618)
// Условия для распознавания бабочки
isButterfly = AB_range and BC_range and CD_range
// Выводим на график бабочку синим цветом
plotshape(series=isButterfly, location=location.belowbar, color=color.blue, style=shape.labelup, title="Бабочка", text="Б")
EMA Table (9, 13, 21) + 1H 9/13/21 EMAThe EMA Table (9, 13, 21) + 1H 9/13/21 EMA with 9 EMA Touch Detection is a versatile indicator designed for trend analysis and trade decision-making. It calculates the 9, 13, and 21 EMAs on the current timeframe and 1-hour timeframe, detecting key EMA crossovers, correct order alignment, and price overextension from the 9 EMA. A built-in table dynamically displays conditions such as trend strength, EMA separation, and recent touches. Alerts are triggered when all conditions align, signaling potential trading opportunities. This indicator is ideal for scalpers and swing traders seeking precision in identifying strong trends and optimal entry points.
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.
ADX MTF TableThis Indicator displays a table on the chart with the Average Directional Index (ADX) values for two different timeframes. It calculates the ADX using a custom formula and shows the ADX values along with their corresponding timeframes. The table's position, font size, and background color can be customized, and the timeframes are labeled with "ADX" appended to their unit (e.g., "5m ADX", "1D ADX"). The table updates dynamically with the latest ADX values for each timeframe.
Binary Options Strategy with Enhancements panazana v1
This script combines multiple technical analysis tools to provide signals and visual guidance for trading binary options. Here’s a breakdown of its key components and how it works:
Purpose
This script is a strategy for binary options trading that combines:
RSI (Relative Strength Index)
EMA (Exponential Moving Averages)
Keltner Channels
ZigZag indicators
Volume thresholds
Trading session filters It aims to generate buy/sell signals based on high-probability conditions and manage risk with adjustable parameters.
Key Components
1. Risk Management
Inputs: Define different risk percentages for signals of varying confidence (riskLow, riskMid, riskHigh).
ATR Multipliers: Used to calculate dynamic stop-loss (atrMultiplierSL) and take-profit (atrMultiplierTP) levels based on volatility.
2. Indicators Used
RSI (Relative Strength Index):
Measures momentum by identifying overbought (RSI > 75) and oversold (RSI < 25) levels.
Helps determine entry points for buys/sells.
EMA (Exponential Moving Averages):
Two EMAs (20 and 50 periods) define the short-term and long-term trend:
Uptrend: Fast EMA (20) above Slow EMA (50).
Downtrend: Fast EMA below Slow EMA.
Keltner Channels:
Provides dynamic support and resistance zones based on price and ATR (volatility).
Buy conditions: Price crosses below the lower band.
Sell conditions: Price crosses above the upper band.
ZigZag Indicator:
Identifies local highs and lows to refine buy/sell signals.
Uses a configurable depth and deviation for peak/valley detection.
Draws lines to visualize trends.
3. Trading Sessions
Filters signals to specific sessions:
London Session: 7:00–15:00.
New York Session: 12:30–21:00.
Highlights these sessions on the chart using background colors.
4. Signal Logic
Trend and Momentum Conditions:
Confirms trend using EMA crossovers and RSI momentum thresholds.
Buy Signal:
Price below Keltner Channel lower band.
Zigzag detects a local low.
RSI in oversold territory (<30).
Validated within a trading session.
Sell Signal:
Price above Keltner Channel upper band.
Zigzag detects a local high.
RSI in overbought territory (>70).
Validated within a trading session.
5. Position Sizing
Allocates risk capital based on signal strength:
Strong momentum = Higher risk.
Weak momentum = Lower risk.
6. Stop Loss and Take Profit
Uses ATR (Average True Range) for dynamic stop-loss and take-profit levels:
Stop-loss: Entry price ± ATR * atrMultiplierSL.
Take-profit: Entry price ± ATR * atrMultiplierTP.
7. Alerts and Labels
Alerts:
Strong Buy/Sell Signals: Sent when all conditions are met.
Labels:
Plots "Strong Buy" or "Strong Sell" labels with distinct colors for easy visualization.
8. Support/Resistance Zones
Calculates daily high/low levels and identifies whether the price is in a buy zone (near support) or a sell zone (near resistance).
Visualization
Keltner Channels:
Green (lower band), Red (upper band), and Blue (basis).
EMA:
Fast EMA (blue) and Slow EMA (orange) plotted for trend identification.
ZigZag Lines:
Green for highs and Red for lows.
Trading Sessions:
Blue for London, Red for New York.
How to Use
Configure Inputs:
Adjust risk percentages, ATR multipliers, RSI levels, EMA lengths, and Keltner Channel settings based on your strategy.
Visualize Signals:
Look for "Strong Buy" or "Strong Sell" labels with alerts.
Evaluate Volume:
Use volume confirmation to validate signals.
Session Filter:
Trade signals only during active sessions to reduce noise.