Rajesh Raju nifty options SMA/RSIThis indicator is designed for Nifty Index Options trading on a 5-minute timeframe. It uses a combination of the Simple Moving Average (SMA) and Relative Strength Index (RSI) to identify potential buy and sell signals.
How It Works:
A BUY signal is triggered when the price crosses above the SMA and RSI is below the overbought level.
A SELL signal is generated when the price crosses below the SMA and RSI is above the oversold level.
The SMA line is displayed in pink (purple in Pine Script) to track trend direction.
Alerts are included to notify users of trade signals in real time.
This indicator helps traders make informed decisions by identifying trend reversals and momentum shifts
Siklus
Vertical Lines & MACD High/Low amThis indicator tracks the MACD phase changes and identifies the highest and lowest prices within each phase. It updates the highest and lowest values for each MACD phase and displays labels directly on the candlesticks at those price points. Whenever the MACD crosses over or under the signal line, it marks the end of the previous phase and the beginning of a new one. The labels show the high and low prices as "🔺" for the peak and "🔻" for the trough. This process occurs continuously across the entire 1-minute chart.ammmmmmmmmmm
Vertical Lines & MACD High/Low pmThis indicator tracks the MACD phase changes and identifies the highest and lowest prices within each phase. It updates the highest and lowest values for each MACD phase and displays labels directly on the candlesticks at those price points. Whenever the MACD crosses over or under the signal line, it marks the end of the previous phase and the beginning of a new one. The labels show the high and low prices as "🔺" for the peak and "🔻" for the trough. This process occurs continuously across the entire 1-minute chart.
Candle Pattern ArrowsThis Pine Script code is designed to identify specific candlestick patterns and draw boxes on the chart to highlight them. Here's a detailed explanation:
1. Purpose: The script detects two specific candlestick patterns:
- A red candle followed by two green candles with no price overlap between the first and third candles.
- A green candle followed by two red candles with no price overlap between the first and third candles.
2. Conditions:
- For the first pattern, the script checks if:
- The candle two bars ago is red (close < open ).
- The next two candles are green (close > open and close > open).
- There is no price overlap between the first and third candles (high < low ).
- For the second pattern, the script checks if:
- The candle two bars ago is green (close > open ).
- The next two candles are red (close < open and close < open).
- There is no price overlap between the first and third candles (low > high ).
3. Drawing Boxes:
- When the first pattern is detected, a red box is drawn:
- The box starts from the red candle and extends 10 bars to the right.
- The height of the box spans from the highest price of the red candle (high ) to the lowest price of the third candle (low ).
- When the second pattern is detected, a green box is drawn:
- The box starts from the green candle and extends 10 bars to the right.
- The height of the box spans from the lowest price of the green candle (low ) to the highest price of the third candle (high ).
4. Box Appearance:
- The boxes have semi-transparent borders and backgrounds to ensure visibility of the underlying candles.
- The border color is set with 50% transparency, and the background color is set with 90% transparency.
5. Positioning:
- The bar_index variable is used to accurately position the boxes on the chart.
- The starting point of the box is set to the bar index of the initial candle (bar_index - 2), and it extends 10 bars to the right.
6. Customization:
- The colors and transparency levels of the boxes can be customized by adjusting the rgb and transp values in the box.new function.
7. Historical Data:
- The script works based on historical data and does not predict future patterns.
- The boxes are drawn only after the three-candle pattern is fully formed.
This script is useful for traders who want to visually identify specific candlestick patterns on their charts, helping them make more informed trading decisions.
Opening Score with DivergenceOverview
The Opening Score Indicator is a versatile tool designed to help traders assess market sentiment, trend direction, and potential reversals. By combining Opening Range Breakout (ORB), VWAP, Trend, Volatility, and Divergence Detection, this indicator provides a composite score that adapts to different market conditions.
This version includes divergence detection between the Opening Score and price, which highlights potential trend reversals or continuations before they happen. When a regular divergence occurs, the histogram bar turns orange, signaling an increased probability of a trend change.
Best for Both Intraday & Longer-Term Charts
📊 Optimized for intraday trading → Works well on 1m to 30m timeframes for short-term strategies.
📈 Also effective on longer-term charts → Can be used on 1-hour, 4-hour, daily, or weekly charts to identify macro trends and momentum shifts.
🕰️ Adapts to different market conditions → Whether you’re a day trader, swing trader, or position trader, the Opening Score helps you track trend health and reversals.
How It Works
📊 Composite Opening Score Calculation
• ORB Signal → Detects bullish/bearish breakouts based on the opening range.
• VWAP Signal → Measures price positioning relative to VWAP for trend confirmation.
• Trend Signal → Uses a moving average to determine market direction.
• Volatility Signal → Tracks ATR changes to assess market strength.
• Divergence Detection → Identifies regular and hidden divergences for potential reversals or trend continuation.
🔹 Reversal Alerts with Color-Coded Histogram
• Green Bars → Normal bullish Opening Score.
• Red Bars → Normal bearish Opening Score.
• Orange Bars → Warning! Regular Divergence detected → Possible trend reversal.
🔹 Hidden & Regular Divergence Detection
• Regular Divergence (Reversal Signals)
• 📉 Bearish Regular Divergence → Price makes a Higher High, but Opening Score makes a Lower High → 🔻 Possible Downtrend Reversal.
• 📈 Bullish Regular Divergence → Price makes a Lower Low, but Opening Score makes a Higher Low → 🔼 Possible Uptrend Reversal.
• Hidden Divergence (Trend Continuation Signals)
• 📉 Bearish Hidden Divergence → Price makes a Lower High, but Opening Score makes a Higher High → 🔻 Trend Likely to Continue Down.
• 📈 Bullish Hidden Divergence → Price makes a Higher Low, but Opening Score makes a Lower Low → 🔼 Trend Likely to Continue Up.
How to Use It
✅ Watch for Reversal Alerts (Orange Bars) → These highlight potential market turning points.
✅ Use the Zero Line as a Trend Filter → A score above 0 suggests bullish conditions, while below 0 signals bearish conditions.
✅ Combine with Market Structure & Volume Profile → Works well when paired with support/resistance levels, liquidity zones, and order flow data.
✅ Adjust settings based on timeframe → Increase moving average length & lookback periods for longer-term analysis.
Why Use This Indicator?
🚀 Works for both short-term and long-term traders → Adapts to intraday and higher timeframes.
📊 Multi-Factor Analysis → Combines multiple key market indicators for better accuracy.
🎯 Customizable Weighting → Adjust the influence of each signal to suit your trading style.
✅ No Clutter – Only the Opening Score is plotted → Keeps your chart clean & efficient.
🔔 Recommended for Intraday Trading (1m – 30m) AND Longer-Term Analysis (1H – Weekly) → Use this indicator to enhance your trend detection & reversal strategy! 🚀
Killzones & Previous High-Low Liquidity [odnac]This indicator is designed for use in intraday trading to visualize key "Killzones" (specific time windows during different global market sessions) and highlight liquidity levels based on previous highs and lows from the previous day and week.
It helps traders identify potential market entry and exit points based on time-based trading zones and price action levels.
Key Features:
Killzone (Market Session Timeframes):
Asia (2000-0000 UTC): Displays a shaded box over the Asia trading session.
Europe (0200-0500 UTC): Highlights the European trading session.
New York AM (0830-1100 UTC): Represents the morning session of the NY market.
New York PM (1330-1600 UTC): Represents the afternoon session of the NY market.
Each of these timeframes can be customized in terms of session start and end times, and the shaded areas will help identify high liquidity periods when the market tends to be more active.
Previous High-Low Liquidity Zones:
Previous Week's High/Low: Displays lines at the high and low of the previous week.
These are important liquidity levels that can influence price action.
Previous Day's High/Low: Shows the high and low from the previous trading day.
These are also significant levels to watch for potential support and resistance.
Filters and Customization:
Position Filtering: The indicator allows users to filter out previous highs or lows if the current price doesn't align with those levels.
For example, it can filter out previous week highs if the current price is lower than that level.
Vertical Lines: Optional vertical lines to highlight key time points such as the start and end of the previous week and day.
How It Works:
The indicator visually draws "killzones" as shaded regions on the chart, indicating periods of increased market activity.
This can help traders align their strategies with the most liquid periods of the day.
The previous high and low lines (both for the previous week and the previous day) are drawn as solid lines and can be toggled on/off in the settings.
Labels are added to indicate the specific levels and periods.
The indicator provides clear visual cues, helping traders assess if the price is near important liquidity levels and whether the current market conditions align with those levels.
Customizable Settings:
You can control whether each Killzone and liquidity level is shown on the chart.
Color customization for the various zones and lines is also available.
The indicator also lets you decide whether to hide weekend data, set time-frame limits, and choose whether or not to show vertical lines at the beginning and end of each trading session.
This indicator is aimed at traders who want to trade based on high-liquidity periods and understand where key support and resistance levels are likely to emerge based on previous price action.
K0K0 INDICATORFisher Transform with DPO.
Its an indicator which plots both fisher transform and DPO to a single line.
it helpful for reading momentum cycles of a given asset.
Top G indicator [DaVinchi]Описание индикатора
Индикатор Top G indicator предназначен для выявления локальных экстремумов (вершин и впадин) на основе исторических максимумов и минимумов за заданный период. Он сочетает в себе анализ экстремальных значений цены с использованием сглаженной медианы, а также дополнительную фильтрацию сигналов с помощью нормализованного индикатора изменения цены (ROC). Результатом являются сигналы для потенциальных входов в рынок как в направлении "LONG" (отскок от минимума), так и "SHORT" (отказ от максимума), что подтверждается как строгими, так и «простыми» (менее подтверждёнными) условиями.
Основные компоненты и логика работы
Расчёт экстремумов за период
Функция lowest_highest(length) вычисляет:
Нижнее значение: минимальное значение цены за заданный период (ta.lowest).
Верхнее значение: максимальное значение цены за период (ta.highest).
Среднюю линию (Mid): рассчитывается как сглаженная (с использованием Hull MA с периодом 15) медиана экстремумов – среднее значение между минимумом и максимумом за период. Это позволяет получить более сглаженную границу между зонами экстремальных значений.
Генерация сигналов с использованием нормализованного ROC
В функции signals(lowest_src, highest_src) рассчитывается нормализованный показатель изменения цены (ROC):
ROC вычисляется за 8 баров и нормируется по стандартному отклонению, рассчитанному за 200 баров. Это помогает выделить резкие изменения цены.
На основе ROC и соотношения текущих экстремумов формируются условия для сигналов:
Сигнал SHORT ("top"):
Текущий high меньше максимума за период.
На предыдущем баре цена достигала максимума.
Два бара назад наблюдалось резкое повышение (ROC > 2).
Минимальное значение за период остаётся стабильным (не изменялось в течение 5 баров).
Сигнал LONG ("G"):
На предыдущем баре low равен минимальному значению за период.
Текущий low начинает отскакивать и выше минимума.
Два бара назад также фиксировался минимум.
Два бара назад наблюдалось резкое падение (ROC < -2).
Кроме того, определяются упрощённые сигналы (simple_g и simple_top) для ситуаций, когда условия сигнала выполнены без «сильного» подтверждения (без проверки экстремальных значений ROC).
Отрисовка сигналов на графике
Функция draw_labels(...) создаёт метки на графике для визуальной индикации сигналов:
При выполнении условия SHORT создаётся метка с текстом "SHORT" (отмечается стрелкой вниз).
При выполнении условия LONG – метка с текстом "LONG" (со стрелкой вверх).
Для упрощённых сигналов используются символы "˅" (для слабого SHORT) и "^" (для слабого LONG).
Все метки располагаются в соответствии с соответствующими экстремальными значениями (максимум или минимум за период) и могут быть настроены по цвету и размеру.
Графическое отображение и заполнение зон
На графике отображаются:
Линии, соответствующие верхнему и нижнему значениям за период.
Средняя линия (Mid), которая служит ориентиром.
Область между верхней и нижней линиями заливается полупрозрачным цветом, что помогает визуально выделить зону экстремальных колебаний.
Настройка алертов
Для каждого типа сигнала (как для «сильных» LONG/SHORT, так и для упрощённых сигналов) заданы условия для генерации алертов:
При срабатывании условия LONG или SHORT можно получить уведомление с заранее заданными параметрами (включая имя сигнала, направление и символ).
Это позволяет настроить автоматическую отправку сигналов для торговли.
Настройки индикатора
Параметр Length:
Определяет период, за который рассчитываются минимальные и максимальные значения цены. По умолчанию установлен на 150 баров, но его можно изменять в зависимости от желаемой чувствительности.
Цветовые настройки:
Main Color – основной цвет для линий экстремумов.
Centr line – цвет средней линии.
Long Color и Short Color – цвета, используемые для сигналов LONG и SHORT соответственно.
Дополнительные параметры позволяют задать прозрачность и цвет для «простых» сигналов.
Отображение меток:
Максимальное количество меток на графике можно задать через параметр max_labels_count, что обеспечивает возможность отображения большого количества сигналов без потери производительности.
Применение индикатора
Определение ключевых уровней:
Индикатор помогает быстро определить экстремальные уровни цены за выбранный период, что может быть полезно для поиска зон разворота.
Генерация торговых сигналов:
Сигналы LONG и SHORT, основанные на сочетании экстремальных значений и нормализованного ROC, могут служить для подтверждения входа в сделку. Упрощённые сигналы предоставляют дополнительную информацию для трейдера, позволяя учитывать более мягкие сигналы разворота.
Алерты для автоматизации торговли:
Наличие встроенных условий для алертов позволяет оперативно получать уведомления о возможных торговых возможностях.
Trend Dan Area PentingStruktur SMC dan indikator FVG memungkinkan pengguna untuk dengan mudah mengidentifikasi kelanjutan tren (Break Of Structure) atau perubahan tren (CHange Of CHaracter) pada kerangka waktu apa pun. Selain itu, ini menampilkan semua area FVG, apakah itu bullish, bearish, atau bahkan mitigasi.
Fair Value Gap :
Proses FVG menunjukkan setiap area likuiditas FVG bullish, bearish, atau bahkan mitigasi. Ketika FVG sepenuhnya dimitigasi, itu akan langsung dihapus dari grafik.
Ada sejarah FVG untuk ditunjukkan. Dengan memilih jumlah FVG tertentu untuk ditampilkan dalam grafik, pengguna dapat memfokuskan analisisnya pada area likuiditas terakhir.
Berikut aturan untuk warna FVG :
1.Hijau saat FVG bullish dan belum dimitigasi
2.Merah saat FVG bearish dan belum dimitigasi
3.Abu-abu ketika FVG bullish / bearish telah dimitigasi
4.Dihapus ketika FVG telah sepenuhnya dimitigasi
Analisis struktur:
roses Struktur menunjukkan BOS dalam garis abu-abu dan CHoCH dalam garis kuning. Ini menunjukkan kepada pengguna pola aksi harga terakhir.
Garis biru adalah nilai tinggi dan nilai rendah dari struktur saat ini.
Katik Hurst & Lunar Cycle Indicator with BUY_SELL_SL_TARGET Pine Script indicator, "Katik Hurst & Lunar Cycle Indicator," integrates Lunar Cycles and Hurst’s Future Line of Demarcation (FLD) to generate BUY/SELL signals based on FLD crossovers.
Key Features:
# Lunar Cycle Analysis – Marks New Moon and Full Moon on the chart.
# Hurst Cycle & FLD – Plots FLD & FLD Future for trend analysis.
# Trade Signals – BUY when FLD Future crosses above FLD, SELL when it crosses below.
# Stop Loss & Targets – SL at FLD swing high/low, with 10 ATR-based targets.
# Visual Aids – Signals, SL, and targets are marked for clarity.
🚀 Ideal for traders using cyclical analysis in their strategies!
Bollinger Band Reentry StrategyAriels BB strat just follow the signals! Bollinger bands are the key to this strat take profit levels ! make sure you are fast
Bollinger Bands cross %The BB strategy (Bollinger Bands strategy) on TradingView utilizes the Bollinger Bands indicator to help traders identify market volatility and potential entry points. The Bollinger Bands indicator consists of three main components:
Middle Band: This is the simple moving average (SMA), usually calculated over a 20-period. It represents the average price over a specific period.
Upper Band and Lower Band: These bands are created by adding and subtracting a multiple of the standard deviation (typically 2) from the middle band. The upper and lower bands help determine the level of price volatility.
How the BB Strategy Works:
Break above the Upper Band: When the price moves above the upper band, it might signal that the market is in an "overbought" condition. This could be a sign to consider selling, but it could also continue if the trend is strong.
Break below the Lower Band: When the price moves below the lower band, it might signal that the market is in an "oversold" condition, which could be a signal to buy if the trend is reversing.
Squeeze (Coiling): When the Bollinger Bands contract, often referred to as a "squeeze," it indicates that the market may be preparing for a strong price move. This is a critical signal in the BB strategy because the narrowing bands signify low volatility and a potential breakout in price.
Specific Strategy:
Buy when price touches the lower band and shows signs of reversal (bullish reversal): If the price touches the lower band, you might wait for a reversal signal, such as a bullish candlestick pattern or confirmation from other indicators like RSI or MACD, indicating oversold conditions.
Sell when price touches the upper band and shows signs of reversal (bearish reversal): Similarly, when the price touches the upper band, you could wait for a bearish reversal signal, such as a bearish candlestick pattern or confirmation from other indicators, and then sell.
Trend-following when bands are expanding: If the Bollinger Bands are expanding and the price continues in the same direction, it could signal a trend-following opportunity.
Quarterly Theory IndicatorThe Quarterly Theory Indicator that we built is based on Jevaunie Daye's Quarterly Theory, which segments time into specific quarters to analyze market cycles more effectively. This indicator helps traders track price movements across different timeframes, identify key entry and exit points, and anticipate liquidity events using Accumulation, Manipulation, and Distribution (AMDX) cycles.
Support, Resistance and MedianExplanation of the Support, Resistance, and Pivot Indicator
This indicator functions as follows:
1. Key Level Calculations:
- Pivot Point (PP): Central level calculated using the previous period's high, low, and closing prices.
- Supports (S1, S2, S3): Potential price support zones, derived from the PP.
- Resistances (R1, R2, R3): Potential price resistance zones, also calculated from the PP.
2. True Range (TR) Levels:
- Alternative calculations for supports and resistances based on recent volatility (TR_R1, TR_R2, TR_S1, TR_S2).
3. Visual Display:
- Levels are automatically plotted on the chart, allowing for quick identification of key zones.
4. Usage:
- Helps identify entry and exit points, as well as levels for placing stop-loss and take-profit orders.
- Particularly useful for intraday and swing traders.
5. Flexibility:
- The indicator can be applied to various assets and timeframes.
6. Customization:
- Option to adjust parameters such as the historical period for level calculations.
This indicator combines traditional technical analysis with automated calculations to provide traders with key levels to watch in the market.
[COG] Adaptive Squeeze Intensity 📊 Adaptive Squeeze Intensity (ASI) Indicator
🎯 Overview
The Adaptive Squeeze Intensity (ASI) indicator is an advanced technical analysis tool that combines the power of volatility compression analysis with momentum, volume, and trend confirmation to identify high-probability trading opportunities. It quantifies the degree of price compression using a sophisticated scoring system and provides clear entry signals for both long and short positions.
⭐ Key Features
- 📈 Comprehensive squeeze intensity scoring system (0-100)
- 📏 Multiple Keltner Channel compression zones
- 📊 Volume analysis integration
- 🎯 EMA-based trend confirmation
- 🎨 Proximity-based entry validation
- 📱 Visual status monitoring
- 🎨 Customizable color schemes
- ⚡ Clear entry signals with directional indicators
🔧 Components
1. 📐 Squeeze Intensity Score (0-100)
The indicator calculates a total squeeze intensity score based on four components:
- 📊 Band Convergence (0-40 points): Measures the relationship between Bollinger Bands and Keltner Channels
- 📍 Price Position (0-20 points): Evaluates price location relative to the base channels
- 📈 Volume Intensity (0-20 points): Analyzes volume patterns and thresholds
- ⚡ Momentum (0-20 points): Assesses price momentum and direction
2. 🎨 Compression Zones
Visual representation of squeeze intensity levels:
- 🔴 Extreme Squeeze (80-100): Red zone
- 🟠 Strong Squeeze (60-80): Orange zone
- 🟡 Moderate Squeeze (40-60): Yellow zone
- 🟢 Light Squeeze (20-40): Green zone
- ⚪ No Squeeze (0-20): Base zone
3. 🎯 Entry Signals
The indicator generates entry signals based on:
- ✨ Squeeze release confirmation
- ➡️ Momentum direction
- 📊 Candlestick pattern confirmation
- 📈 Optional EMA trend alignment
- 🎯 Customizable EMA proximity validation
⚙️ Settings
🔧 Main Settings
- Base Length: Determines the calculation period for main indicators
- BB Multiplier: Sets the Bollinger Bands deviation multiplier
- Keltner Channel Multipliers: Three separate multipliers for different compression zones
📈 Trend Confirmation
- Four customizable EMA periods (default: 21, 34, 55, 89)
- Optional trend requirement for entry signals
- Adjustable EMA proximity threshold
📊 Volume Analysis
- Customizable volume MA length
- Adjustable volume threshold for signal confirmation
- Option to enable/disable volume analysis
🎨 Visualization
- Customizable bullish/bearish colors
- Optional intensity zones display
- Status monitor with real-time score and state information
- Clear entry arrows and background highlights
💻 Technical Code Breakdown
1. Core Calculations
// Base calculations for EMAs
ema_1 = ta.ema(close, ema_length_1)
ema_2 = ta.ema(close, ema_length_2)
ema_3 = ta.ema(close, ema_length_3)
ema_4 = ta.ema(close, ema_length_4)
// Proximity calculation for entry validation
ema_prox_raw = math.abs(close - ema_1) / ema_1 * 100
is_close_to_ema_long = close > ema_1 and ema_prox_raw <= prox_percent
```
### 2. Squeeze Detection System
```pine
// Bollinger Bands setup
BB_basis = ta.sma(close, length)
BB_dev = ta.stdev(close, length)
BB_upper = BB_basis + BB_mult * BB_dev
BB_lower = BB_basis - BB_mult * BB_dev
// Keltner Channels setup
KC_basis = ta.sma(close, length)
KC_range = ta.sma(ta.tr, length)
KC_upper_high = KC_basis + KC_range * KC_mult_high
KC_lower_high = KC_basis - KC_range * KC_mult_high
```
### 3. Scoring System Implementation
```pine
// Band Convergence Score
band_ratio = BB_width / KC_width
convergence_score = math.max(0, 40 * (1 - band_ratio))
// Price Position Score
price_range = math.abs(close - KC_basis) / (KC_upper_low - KC_lower_low)
position_score = 20 * (1 - price_range)
// Final Score Calculation
squeeze_score = convergence_score + position_score + vol_score + mom_score
```
### 4. Signal Generation
```pine
// Entry Signal Logic
long_signal = squeeze_release and
is_momentum_positive and
(not use_ema_trend or (bullish_trend and is_close_to_ema_long)) and
is_bullish_candle
short_signal = squeeze_release and
is_momentum_negative and
(not use_ema_trend or (bearish_trend and is_close_to_ema_short)) and
is_bearish_candle
```
📈 Trading Signals
🚀 Long Entry Conditions
- Squeeze release detected
- Positive momentum
- Bullish candlestick
- Price above relevant EMAs (if enabled)
- Within EMA proximity threshold (if enabled)
- Sufficient volume confirmation (if enabled)
🔻 Short Entry Conditions
- Squeeze release detected
- Negative momentum
- Bearish candlestick
- Price below relevant EMAs (if enabled)
- Within EMA proximity threshold (if enabled)
- Sufficient volume confirmation (if enabled)
⚠️ Alert Conditions
- 🔔 Extreme squeeze level reached (score crosses above 80)
- 🚀 Long squeeze release signal
- 🔻 Short squeeze release signal
💡 Tips for Usage
1. 📱 Use the status monitor to track real-time squeeze intensity and state
2. 🎨 Pay attention to the color gradient for trend direction and strength
3. ⏰ Consider using multiple timeframes for confirmation
4. ⚙️ Adjust EMA and proximity settings based on your trading style
5. 📊 Use volume analysis for additional confirmation in liquid markets
📝 Notes
- 🔧 The indicator combines multiple technical analysis concepts for robust signal generation
- 📈 Suitable for all tradable markets and timeframes
- ⭐ Best results typically achieved in trending markets with clear volatility cycles
- 🎯 Consider using in conjunction with other technical analysis tools for confirmation
⚠️ Disclaimer
This technical indicator is designed to assist in analysis but should not be considered as financial advice. Always perform your own analysis and risk management when trading.
Week division This TradingView Pine Script indicator works exclusively on the hourly timeframe. Its primary functions are:
1. Marking the Opening of Each Weekday:
• It places a vertical line at the opening hour of each day (Sunday to Friday).
2. Dividing the Week by Days:
• It visually separates each day within the weekly structure to help traders analyze price movements per day.
3. Displaying the Day Name:
• The script labels each day’s opening with its respective name (e.g., “Sunday”, “Tuesday”, etc.) at the bottom of the chart.
Key Features:
✔️ Works only on the hourly timeframe
✔️ Highlights the start of each weekday
✔️ Divides the week into separate days
✔️ Displays the day’s name on the chart
Let me know if you need any modifications! 🚀
1H Week division NY Time(-5UTC)This TradingView Pine Script indicator works exclusively on the hourly timeframe. Its primary functions are:
1. Marking the Opening of Each Weekday:
• It places a vertical line at the opening hour of each day (Monday to Friday).
2. Dividing the Week by Days:
• It visually separates each day within the weekly structure to help traders analyze price movements per day.
3. Displaying the Day Name:
• The script labels each day’s opening with its respective name (e.g., “Monday”, “Tuesday”, etc.) at the bottom of the chart.
Key Features:
✔️ Works only on the hourly timeframe
✔️ Highlights the start of each weekday
✔️ Divides the week into separate days
✔️ Displays the day’s name on the chart
Let me know if you need any modifications! 🚀
CME_MINI:MNQ1!
AMD Session Structure Levels# Market Structure & Manipulation Probability Indicator
## Overview
This advanced indicator is designed for traders who want a systematic approach to analyzing market structure, identifying manipulation, and assessing probability-based trade setups. It incorporates four core components:
### 1. Session Price Action Analysis
- Tracks **OHLC (Open, High, Low, Close)** within defined sessions.
- Implements a **dual tracking system**:
- **Official session levels** (fixed from the session open to close).
- **Real-time max/min tracking** to differentiate between temporary spikes and real price acceptance.
### 2. Market Manipulation Detection
- Identifies **manipulative price action** using the relationship between the open and close:
- If **price closes below open** → assumes **upward manipulation**, followed by **downward distribution**.
- If **price closes above open** → assumes **downward manipulation**, followed by **upward distribution**.
- Normalized using **ATR**, ensuring adaptability across different volatility conditions.
### 3. Probability Engine
- Tracks **historical wick ratios** to assess trend vs. reversal conditions.
- Calculates **conditional probabilities** for price moves.
- Uses a **special threshold system (0.45 and 0.03)** for reversal signals.
- Provides **real-time probability updates** to enhance trade decision-making.
### 4. Market Condition Classification
- Classifies market conditions using a **wick-to-body ratio**:
```pine
wick_to_body_ratio = open > close ? upper_wick / (high - low) : lower_wick / (high - low)
```
- **Low ratio (<0.25)** → Likely a **trend day**.
- **High ratio (>0.25)** → Likely a **range day**.
---
## Why This Indicator Stands Out
### ✅ Smarter Level Detection
- Uses **ATR-based dynamic levels** instead of static support/resistance.
- Differentiates **manipulation from distribution** for better decision-making.
- Updates probabilities **in real-time**.
### ✅ Memory-Efficient Design
- Implements **circular buffers** to maintain efficiency:
```pine
var float manipUp = array.new_float(lookbackPeriod, 0.0)
var float manipDown = array.new_float(lookbackPeriod, 0.0)
```
- Ensures **constant memory usage**, even over extended trading sessions.
### ✅ Advanced Probability Calculation
- Utilizes **conditional probabilities** instead of simple averages.
- Incorporates **market context** through wick analysis.
- Provides **actionable signals** via a probability table.
---
## Trading Strategy Guide
### **Best Entry Setups**
✅ Wait for **price to approach manipulation levels**.
✅ Confirm using the **probability table**.
✅ Check the **wick ratio for context**.
✅ Enter when **conditional probability aligns**.
### **Smart Exit Management**
✅ Use **distribution levels** as **profit targets**.
✅ Scale out **when probabilities shift**.
✅ Monitor **wick percentiles** for confirmation.
### **Risk Management**
✅ Size positions based on **probability readings**.
✅ Place stops at **manipulation levels**.
✅ Adjust position size based on **trend vs. range classification**.
---
## Configuration Tips
### **Session Settings**
```pine
sessionTime = input.session("0830-1500", "Session Hours")
weekDays = input.string("23456", "Active Days")
```
- Match these to your **primary trading session**.
- Adjust for different **market opens** if needed.
### **Analysis Parameters**
```pine
lookbackPeriod = input.int(50, "Lookback Period")
low_threshold = input.float(0.25, "Trend/Range Threshold")
```
- **50 periods** is a good starting point but can be optimized per instrument.
- The **0.25 threshold** is ideal for most markets but may need adjustments.
---
## Market Structure Breakdown
### **Trend/Continuation Days**
- **Characteristics:**
✅ Small **opposing wicks** (minimal counter-pressure).
✅ Clean, **directional price movement**.
- **Bullish Trend Day Example:**
✅ Small **lower wicks** (minimal downward pressure).
✅ Strong **closes near the highs** → **Buyers in control**.
- **Bearish Trend Day Example:**
✅ Small **upper wicks** (minimal upward pressure).
✅ Strong **closes near the lows** → **Sellers in control**.
### **Reversal Days**
- **Characteristics:**
✅ **Large opposing wicks** → Failed momentum in the initial direction.
- **Bullish Reversal Example:**
✅ **Large upper wick early**.
✅ **Strong close from the lows** → **Sellers failed to maintain control**.
- **Bearish Reversal Example:**
✅ **Large lower wick early**.
✅ **Weak close from the highs** → **Buyers failed to maintain control**.
---
## Summary
This indicator systematically quantifies market structure by measuring **manipulation, distribution, and probability-driven trade setups**. Unlike traditional indicators, it adapts dynamically using **ATR, historical probabilities, and real-time tracking** to offer a structured, data-driven approach to trading.
🚀 **Use this tool to enhance your decision-making and gain an objective edge in the market!**
Quarterly Performance█ OVERVIEW
The Quarterly Performance indicator is designed to visualise and compare the performance of different Quarters of the year. This indicator explores one of the many calendar based anomalies that exist in financial markets.
In the context of financial analysis, a calendar based anomaly refers to patterns or tendencies that are linked to specific time periods, such as days of the week, weeks of the month, or months of the year. This indicator helps explore whether such a calendar based anomaly exists between quarters.
By calculating cumulative quarterly performance and counting the number of quarters with positive returns, it provides a clear snapshot of whether one set of quarters tends to outperform the others, potentially highlighting a calendar based anomaly if a significant difference is observed.
█ FEATURES
Customisable time window through input settings.
Tracks cumulative returns for each quarter separately.
Easily adjust table settings like position and font size via input options.
Clear visual distinction between quarterly performance using different colours.
Built-in error checks to ensure the indicator is applied to the correct timeframe.
█ HOW TO USE
Add the indicator to a chart with a 3 Month (Quarterly) timeframe.
Choose your start and end dates in the Time Settings.
Enable or disable the performance table in the Table Settings as needed.
View the cumulative performance, with Q1 in blue, Q2 in red, Q3 in green and Q4 in purple.
G9 Multi-Cycle + Gann Square 9This Pine Script indicator plots Gann quarter (0.25), half (0.50), and full (1.00) cycles, along with an optional custom cycle step, all derived from a user-defined base price. Each cycle line is extended across the chart and labeled with the increment index and the exact computed price. You can toggle each cycle type on or off, specify how many increments to display, and set the base price as a fractional value if needed. This provides a clear visual framework for Gann-based analysis and helps identify potential support/resistance levels.
Even vs Odd Days Performance█ OVERVIEW
The Even vs Odd Days Performance indicator is designed to visualise and compare the performance of even-numbered days versus odd-numbered days. This indicator explores one of the many calendar based anomalies that exist in financial markets.
In the context of financial analysis, a calendar based anomaly refers to patterns or tendencies that are linked to specific time periods, such as days of the week, weeks of the month, or months of the year. This indicator helps explore whether such a calendar based anomaly exists between even and odd days.
By calculating cumulative daily performance and counting the number of days with positive returns, it provides a clear snapshot of whether one set of days tends to outperform the other, potentially highlighting a calendar based anomaly if a significant difference is observed.
█ FEATURES
Customisable time window through input settings.
Tracks cumulative returns for even and odd days separately.
Easily adjust table settings like position and font size via input options.
Clear visual distinction between even and odd day performance using different colours.
Built-in error checks to ensure the indicator is applied to the correct timeframe.
█ HOW TO USE
Add the indicator to a chart with a Daily timeframe.
Choose your start and end dates in the Time Settings.
Enable or disable the performance table in the Table Settings as needed.
View the cumulative performance, with even days in green and odd days in red.
Even vs Odd Weeks Performance█ OVERVIEW
The Even vs Odd Weeks Performance indicator is designed to visualise and compare the performance of even-numbered weeks versus odd-numbered weeks. This indicator explores one of the many calendar based anomalies that exist in financial markets.
In the context of financial analysis, a calendar based anomaly refers to patterns or tendencies that are linked to specific time periods, such as days of the week, weeks of the month, or months of the year. This indicator helps explore whether such a calendar based anomaly exists between even and odd weeks.
By calculating cumulative weekly performance and counting the number of weeks with positive returns, it provides a clear snapshot of whether one set of weeks tends to outperform the other, potentially highlighting a calendar based anomaly if a significant difference is observed.
█ FEATURES
Customisable time window through input settings.
Tracks cumulative returns for even and odd weeks separately.
Easily adjust table settings like position and font size via input options.
Clear visual distinction between even and odd week performance using different colours.
Built-in error checks to ensure the indicator is applied to the correct timeframe.
█ HOW TO USE
Add the indicator to a chart with a Weekly timeframe.
Choose your start and end dates in the Time Settings.
Enable or disable the performance table in the Table Settings as needed.
View the cumulative performance, with even weeks in green and odd weeks in red.