EMA Candle Color
A customizable EMA indicator. colors candles based on their position relative to the moving average.
Candles turn one color when trading above the EMA (bullish) and another color when below (bearish), providing instant visual trend confirmation.
Includes adjustable buy/sell signals when price crosses the EMA, with fully customizable colors for all elements.
Perfect for quick trend identification across any timeframe.
Features adjustable EMA length, toggle options for signals and EMA line display, and (built-in alerts) for crossover events.
VIP move to top in object tree to maintain candle colors from switching back...
LETS GO!!
EL
指标和策略
Al Brooks II.IOI.OO# Al Brooks Consecutive Bar Patterns (II/OO/IOI)
## Overview
This indicator automatically identifies Al Brooks' key consecutive bar patterns that signal important market transitions. Enhanced with both **traditional (high/low)** and **body (open/close)** detection methods for more accurate signals.
## Pattern Definitions
### 📊 II Pattern - Double Inside Bars
- **Signal**: Two consecutive inside bars
- **Market Meaning**: Volatility contraction, breakout pending
- **Trading**: Wait for breakout, trade with momentum
### 📊 OO Pattern - Double Outside Bars
- **Signal**: Two consecutive outside bars
- **Market Meaning**: Volatility expansion, trend acceleration or reversal
- **Trading**: Watch for exhaustion at key levels
### 📊 IOI Pattern - Inside-Outside-Inside
- **Signal**: Inside bar → Outside bar → Inside bar sequence
- **Market Meaning**: Market indecision, complex consolidation
- **Trading**: Avoid early entries, wait for clear direction
## Features
✅ **Dual Detection System**
- Traditional: Uses high/low prices (catches wicks)
- Body: Uses open/close prices (focuses on real trading range)
- Combined: Triggers when either condition is met
✅ **Visual Markers**
- Clear labels above/below bars
- Color-coded backgrounds
- Detection source indicators (h=high/low, b=body, +=both)
✅ **Smart Alerts**
- Real-time pattern detection
- Separate alerts for body-only patterns
- Customizable notification settings
## Settings
**Display Options**
- Show/hide each pattern type
- Toggle detection methods
- Customize colors
**Detection Modes**
- High/Low Detection: Traditional wick-based
- Body Detection: Open/Close based
- Show Source: Display what triggered the pattern
## Trading Tips
1. **Best Timeframes**: 1H, 4H, Daily
2. **Combine with**: Volume, trend indicators, support/resistance
3. **Risk Management**:
- II: Tight stops inside pattern
- OO: Wider stops due to volatility
- IOI: Scale in positions
## Label Meanings
- `ii` / `OO` / `ioi` = Base pattern detected
- `+h` suffix = High/Low triggered
- `+b` suffix = Body triggered
- `++` suffix = Both conditions met (strongest signal)
## Author Notes
Based on Al Brooks' price action methodology from his Trading Price Action series. This enhanced version adds body detection to filter out wick-only patterns and reduce false signals.
---
*For educational purposes only. Trading involves risk.*
**Version 2.0** | **Pine Script v6** | **@JimmC98**
Daily Markers (adjustable)Draws daily vertical markers to visually indicate the beginning of a new day. These can be easily offset for your time zone, or e.g. for the beginning of your trading day.
Time Range by exp3rtsTime Window highlights a custom time range directly on your chart, helping you focus on specific market sessions or trading hours.
Key Features:
Highlights a custom time range with a shaded background
Fully adjustable start and end time (hour & minute)
Supports multiple time zones (e.g., GMT, UTC, Europe/Berlin)
Optional market color shading inside the window (bull/bear neutral tone)
Use Cases:
Mark London Open, New York Session, or any session overlap
Focus on high-probability trading hours
Visualize your backtesting timeframe or algo activity window
Track premarket or after-hours activity for futures or indices
Customization:
Set the beginning and end time in your local or exchange time zone
Choose your timezone string (e.g., "GMT", "Etc/UTC", "America/New_York")
Automatically colors candles in the time window for easy visibility
Horizontal Lines [Yellow]The Horizontal Lines indicator is a simple yet powerful visual tool designed for traders in forex, options, and other financial markets. It allows users to mark and track key price levels directly on their chart with clear, bright yellow lines.
EMA ± ATR BandsPlot the bands from EMA as potential points where may want to enter/exit on principle that price returns to mean over time.
This script was created using Chat GPT.
EMA Crossoverx + ADX [Jamir] (Indicator)This indicator will avoid the signals during low volatility and will show the signals only when there is a volatility. Helps you to take profitable trades only and avoids noise. This script works good on 5 mins and 15 mins time frame.
Stage Market AnalyzerStage Market Analyzer – User Guide
Overview:
The “Stage Market Analyzer” indicator is a comprehensive market analysis tool that identifies the current market phase (6 stages) using multiple EMAs (Exponential Moving Averages) and provides key performance metrics including 52-week high, YTD change, and recent price changes. This indicator is displayed on the chart with a visual table and plotted EMA lines for easy trend analysis.
Market Stages
-The indicator classifies the market into six stages based on the position of price relative to the fast and slow EMAs:
Recovery:
-Price above the fast EMA, but below the slow EMA.
-Slow EMA is above the fast EMA.
-ndicates a market recovering from a downtrend.
Accumulation:
-Price above both EMAs, slow EMA above fast EMA.
-Suggests accumulation phase, usually after a downtrend.
Bull Market:
-Price above both EMAs, fast EMA above slow EMA.
-Represents strong uptrend.
Warning:
-Price below both EMAs, fast EMA above slow EMA.
-Signals caution; potential weakening trend.
Distribution:
-Price below fast EMA, slow EMA below fast EMA.
-Market may be topping or preparing to reverse.
Bear Market:
-Price below both EMAs, slow EMA above fast EMA.
-Strong downtrend confirmed.
The indicator counts consecutive bars within the same stage and displays this as “Stage Name (X Bar)” in the table.
EMA Settings
-Fast EMA: Default 50 bars.
-Slow EMA: Default 200 bars.
Additional EMAs: EMA1 (21), EMA2 (100), EMA3 (150) – optional display.
Users can customize all EMA lengths and choose which EMAs to display.
The plotted EMAs help visualize trends, crossovers, and market momentum.
Performance Metrics
30-Bar & 90-Bar Price Change:
Displays the percentage change over the last 30 or 90 bars.
Positive change in green, negative in red.
YTD Change (Year-to-Date):
-Calculated from the first trading bar of the current year to current price.
-Reflects overall market performance for the current year.
52-Week High:
-Shows the percentage difference between current price and the highest price over the last 52 weeks.
-Adjusts automatically for the chart timeframe:
Daily: last 252 bars
Weekly: last 52 bars
Monthly: last 12 bars
Intraday: calculated based on bars per day × 252 trading days
Positive deviation is shown in green, negative in red.
Note: For non-daily charts, the calculation approximates a “year” based on available bars.
Table Display
Located at the bottom-right of the chart.
Columns:
Current Market Stage (with consecutive bar count)
30-Bar Change
90-Bar Change
YTD Change
52-Week High (optional)
Background colors indicate the stage for quick visual reference.
How to Use
Add the indicator to your chart.
Adjust EMAs to match your trading strategy.
Observe the table to understand:
Current market phase
Short-term and long-term performance metrics
Trend direction using plotted EMAs
Use the stage information together with other analysis (support/resistance, volume, etc.) to make informed trading decisions.
Notes & Recommendations
The indicator works best on daily charts for accurate 52-week high and YTD calculations.
For crypto or non-standard trading calendars, be aware that intraday data may approximate the “year” differently.
EMAs are customizable – experiment with different lengths to fit your preferred timeframe or trading style.
EQ + Bandas Pro 📊 EQ + Bands Pro is an advanced indicator built on OHLC analysis. It calculates a synthetic equilibrium price and plots dynamic, robust bands that adapt to volatility while filtering outliers. The tool highlights zones of overvaluation and undervaluation, helping traders identify key imbalances, potential reversals, and trend confirmations.
Level Founder indicatorQuesto strumento, ideato per l'individuazione dei livelli orizzontali sensibili si prepone l'obiettivo di semplificare la lettura tecnica dei grafici. Alla base di questo indicatore c'è il concetto di volatilità, inteso come scontro tra domanda ed offerta, come escursione delle forze nel campo di battaglia fino alla determinazione del prezzo finale di ogni candela. Di fatto, andando a cogliere quella che è la volatilità candela per candela, l'indicatore la calcola in termini assoluti rendendola un numericamente comparabile, in un range tra 0 e 100. Quando questo valore tocca i 100 si genera un picco di volatilità, il quale va ad identificare un punto di attenzione sul grafico di uno strumento. In corrispondenza di questi picchi si osserva dove la battaglia tra compratori e venditori si è conclusa, ovvero dove domanda ed offerta si sono incontrati per definire un prezzo: la chiusura di candela. In corrispondenza di tale prezzo si ha, quindi, un accordo certo tra domanda ed offerta dopo un periodo di contrattazione volatile, andando a certificare quello che è un livello di prezzo "sudato" per un determinato sottostante. Tale soglia si traduce in un livello orizzontale sensibile, che in futuro (avendo il mercato memoria degli scontri passati) potrà comportarsi da supporto o da resistenza, a seconda della situazione. In breve quindi, si traccia una linea orizzontale in corrispondenza delle chiusure di candela che condividono un picco sull'indicatore "Level Founder Indicator". Funziona su ogni time-frame e sottostante.
N.B. A ridosso di questi livelli si possono cercare pattern per l'operatività oppure cercare delle rotture di questi livelli per delle conferme/inversioni, spaziando dal trading intraday all'investimento di lungo periodo.
ENGLISH VERSION:
This tool, designed to identify sensitive horizontal levels, aims to simplify the technical reading of charts. This indicator is based on the concept of volatility, understood as the clash between supply and demand, the oscillation of forces on the battlefield until the final price of each candlestick is determined. By capturing the volatility candlestick by candlestick, the indicator calculates it in absolute terms, making it numerically comparable, within a range between 0 and 100. When this value reaches 100, a volatility spike is generated, which identifies a point of focus on an instrument's chart. At these peaks, we observe where the battle between buyers and sellers has concluded, that is, where supply and demand have met to define a price: the candlestick's close. At this price, therefore, a definite agreement between supply and demand occurs after a period of volatile trading, certifying what is a "hard-earned" price level for a given underlying asset. This threshold translates into a sensitive horizontal level, which in the future (given the market's memory of past clashes) could act as support or resistance, depending on the situation. In short, a horizontal line is drawn at the candlestick closes that share a peak on the "Level Founder Indicator." It works on any timeframe and underlying asset.
N.B.: Near these levels, you can look for trading patterns or look for breakouts of these levels for confirmations/reversals, ranging from intraday trading to long-term investing.
Quarter Strength Table (3M) [CHE] Quarter Strength Table (3M) — quarterly seasonality overview for the current symbol
Is there seasonality in certain assets? Some YouTubers claim there is—can you test it yourself?
Summary
This indicator builds a compact table that summarizes quarterly seasonality from three-month bars. It aggregates the simple return of each historical quarter, counts observations, computes the average return and the win rate for each quarter, and flags the historically strongest quarter. The output is a five-column table rendered on the chart, designed for quick comparison rather than signal generation. Because it processes only confirmed higher-timeframe bars, results are stable once a quarter has closed.
Motivation: Why this design?
Seasonality tools often mix intraperiod estimates with live bars, which can lead to misleading flips and inconsistent statistics. The core idea here is to restrict aggregation to completed three-month bars only and to deduplicate events by timestamp. This avoids partial information and double counting, so the table reflects a consistent, closed-bar history.
What’s different vs. standard approaches?
Baseline: Typical seasonality studies that compute monthly or quarterly stats directly on the chart timeframe or update on live higher-timeframe bars.
Architecture differences:
Uses explicit higher-timeframe requests for open, close, time, and calendar month from three-month bars.
Confirms the higher-timeframe bar before recording a sample; deduplicates by the higher-timeframe timestamp.
Keeps fixed arrays of length four for the four quarters; renders a fixed five-by-five table with zebra rows.
Practical effect: Once a quarter closes, counts and averages are stable. The “Best” column marks the highest average quarter so you can quickly identify the historically strongest period.
How it works (technical)
On every chart bar, the script requests three-month open, close, time, and the calendar month derived from that bar’s time. When the three-month bar is confirmed, it computes the simple return for that bar and maps the month to a quarter index between zero and three. A guard stores the last seen three-month timestamp to avoid duplicate writes. Per quarter, it accumulates the sum of returns, the number of samples, and the number of positive samples. From these, it derives average return and win rate. The table header is created once on the first bar; content updates only on the last visible chart bar for efficiency. No forward references are used, and lookahead is disabled in all higher-timeframe requests to avoid peeking.
Parameter Guide
Percent — Formats values as percentages. Default: true. Trade-off: Easier visual comparison; disable if you prefer raw unit returns.
Decimals — Number of digits shown. Default: two. Bounds: zero to six. Trade-off: More digits improve precision but reduce readability.
Show table — Toggles table rendering. Default: true. Trade-off: Disable when space is limited or for batch testing.
Reading & Interpretation
The table shows rows for Q1 through Q4 and columns for Count, Avg Ret, P(win), and Best.
Count: Number of completed three-month bars observed for that quarter.
Avg Ret: Average simple return across all samples in that quarter.
P(win): Share of samples with a positive return.
Best: An asterisk marks the quarter with the highest average return among those with at least one sample.
Use the combination of average and win rate to judge both magnitude and consistency. Low counts signal limited evidence.
Practical Workflows & Combinations
Trend following filter: Favor setups when the upcoming or active quarter historically shows a positive average and a stable win rate. Combine with structure analysis such as higher highs and higher lows to avoid fighting dominant trends.
Exits and risk: When entering during a historically weak quarter, consider tighter risk controls and quicker profit taking.
Multi-asset and multi-timeframe: The default settings work across most liquid symbols. For assets with sparse history, treat results as low confidence due to small sample sizes.
Behavior, Constraints & Performance
Repaint and confirmation: Aggregation occurs only when the three-month bar is confirmed; values do not change afterward for that bar. During an open quarter, no new sample is added.
Higher-timeframe usage: All higher-timeframe requests disable lookahead and rely on confirmation to mitigate repaint.
Resources: Declared `max_bars_back` is two thousand. Arrays are fixed at length four. The script updates the table only on the last visible bar to reduce work.
Known limits: Averages can be affected by outliers and structural market changes. Limited history reduces reliability. Corporate actions and contract rolls may influence returns depending on the symbol’s data source. This is a visualization and not a trading system.
Sensible Defaults & Quick Tuning
Starting values: Percent true; Decimals two; Show table true.
If numbers feel noisy: Decrease decimals to one to reduce visual clutter.
If you need raw values: Turn off Percent to display unit returns.
If the table overlaps price: Toggle Show table off when annotating, or reposition via your chart’s table controls.
What this indicator is—and isn’t
This is a historical summary of quarterly behavior. It visualizes evidence and helps frame expectations. It is not predictive, does not generate trade signals, and does not manage positions or risk. Always combine with market structure, liquidity considerations, and independent risk controls.
Inputs with defaults
Percent: true, boolean.
Decimals: two, integer between zero and six.
Show table: true, boolean.
Pine version: v6
Overlay: true
Primary outputs: Table with five columns and five rows.
Metrics/functions used: Higher-timeframe data requests, table rendering, arrays, bar state checks, month mapping.
Special techniques: Closed-bar aggregation, deduplication by higher-timeframe timestamp, zebra row styling.
Performance/constraints: Two thousand bars back, small fixed loops, higher-timeframe requests without lookahead.
Compatibility/assets/timeframes: Works on time-based charts across most assets with sufficient history.
Limitations/risks: Sample size sensitivity, regime shifts, data differences across venues.
Debug/diagnostics: (Unknown/Optional)
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Extended from EMAIt highlights candles which have become extended from EMA. It could be used to protect profits in parabolic moves or when the script becomes too extended.
Multi-TF EMA+Ichimoku Table Multi-TF EMA+Ichimoku Table showing if the market it bullish or bearish in one sight.
fvg,sma,ema web hook for python botsused with python bots, load this an an indicator.
click create alert,
in the pop up, click price then select the fvg, ema, sma indicator you just loaded,
click crossing and select any alert,
in notifications click webhook, enter the address of you bot or download and configure ngrok from ngrok.com tutorials online, at the end of the web address it generates add /webhook/tradingview
which ever time frame TV is set to is the TF used
Session Boxes by NicoG (Real-time - Corrected)Draw the boxes in real time and not at the end of the session.
Stretch IndicatorThis indicator calculates the distance from the EMA200 in percentage, aiming to show how far the price is stretched from the EMA200 in either direction
Liquidity Scalp with SL 1% and Max Hold Bars profitis by tabrez my owe indicator 8hr wrok on this 1 stratgiy tabrez raj mafia samaar raj
BTC TOPperThe BTC TOPper indicator is a sophisticated technical analysis tool designed to identify critical price levels where Bitcoin's weekly Simple Moving Average (SMA) intersects with historically significant All-Time High (ATH) levels. This indicator is particularly valuable for long-term trend analysis and identifying potential reversal zones in Bitcoin's price action.
Key Features:
🔹 Weekly SMA Analysis: Uses a 200-period Simple Moving Average on weekly timeframe to smooth out short-term volatility and focus on long-term trends
🔹 Persistent Historical ATH Tracking: Automatically detects and "freezes" ATH levels that have been held for more than one year, creating persistent reference levels
🔹 Multi-Level Cross Detection: Tracks up to 10 different frozen ATH levels simultaneously, providing comprehensive historical context
🔹 Visual Cross Alerts: Highlights entire weeks with red background when the weekly SMA crosses any frozen ATH level, making signals impossible to miss
🔹 Advanced Smoothing Options: Includes optional secondary moving averages (SMA, EMA, SMMA, WMA, VWMA) with Bollinger Bands for enhanced analysis
🔹 Customizable Parameters: Adjustable SMA length, offset, and smoothing settings to fit different trading strategies
How It Works:
ATH Detection: Continuously monitors for new all-time highs
Level Freezing: After an ATH is held for 1+ year, it becomes a "frozen" historical level
Cross Monitoring: Watches for intersections between the 200-week SMA and any frozen ATH level
Signal Generation: Highlights the entire week when a cross occurs, providing clear visual alerts
Trading Applications:
Long-term Trend Analysis: Identify when Bitcoin approaches historically significant resistance levels
Reversal Zone Detection: Spot potential areas where price might reverse based on historical context
Support/Resistance Confirmation: Use frozen ATH levels as dynamic support and resistance zones
Market Structure Analysis: Understand how current price relates to historical market cycles
Best Practices:
Use on weekly timeframe for optimal results
Combine with other technical indicators for confirmation
Pay attention to multiple frozen levels clustering in the same price range
Consider market context and fundamentals alongside technical signals
Settings:
Length: 200 (default) - SMA period
Source: Close price
Smoothing: Optional secondary MA with multiple types available
Bollinger Bands: Optional volatility bands around secondary MA
This indicator is ideal for Bitcoin traders and analysts who want to understand the relationship between current price action and historical market structure, particularly useful for identifying potential major reversal zones based on historical ATH levels.
Multi Moving Averages8MA Cross
Overview
The "8MA Cross" indicator is a versatile tool that allows traders to plot up to eight fully customizable moving averages (MAs) on their chart. This indicator provides a comprehensive view of market trends across different timeframes by offering extensive configuration options for each individual moving average. Whether you are looking to identify short-term momentum or long-term trend direction, the 8MA Cross indicator offers the flexibility to tailor your analysis to your specific trading strategy.
Features
Eight Independent Moving Averages: Display from one to eight moving averages simultaneously.
Multiple MA Types: Each moving average can be individually set to one of eight different types:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
RMA (RMA Moving Average)
HMA (Hull Moving Average)
ALMA (Arnaud Legoux Moving Average)
LSMA (Least Squares Moving Average)
Full Customization: For each of the eight moving averages, you can adjust the length, line width, and color to fit your visual preferences and analytical needs.
Toggle Visibility: Easily show or hide any of the moving averages directly from the settings menu, allowing you to focus on the MAs that are most relevant at any given time.
How to Use
The primary purpose of this indicator is to provide a configurable set of moving averages for trend analysis and signal generation.
Trend Identification: Use a combination of short-term and long-term moving averages to gauge the direction and strength of the prevailing trend. When shorter-term MAs are above longer-term MAs, it typically indicates an uptrend, and vice-versa for a downtrend.
Crossover Signals: Look for crossover events as potential entry or exit signals. For example, a classic "Golden Cross" occurs when a shorter-period MA (e.g., 50) crosses above a longer-period MA (e.g., 200), often signaling the start of a bull market. A "Death Cross" is the opposite.
Dynamic Support and Resistance: Moving averages often act as dynamic levels of support in an uptrend and resistance in a downtrend. Traders can watch for price to pull back and test these MAs.
To configure the indicator, open the settings panel. You will find eight sections, labeled "MA1 Settings" through "MA8 Settings". Within each section, you can enable or disable the MA, select its type, define its length, and customize its appearance.
Disclaimer
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management.
Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.