Logarithmic RegressionLogarithmic Regression Line
This indicator calculates a logarithmic regression line to model long-term price trends on a logarithmic scale. It is particularly useful for analyzing assets that grow exponentially over time, such as stocks and cryptocurrencies.
Features:
✅ Logarithmic Regression Curve – Fits a non-linear trend line to price data, adapting to exponential growth patterns.
✅ Customizable Lookback Period – Adjust the number of past bars used in the regression calculation.
✅ Works on Any Timeframe – Suitable for both short-term and long-term trend analysis.
✅ Ideal for Crypto & Growth Stocks – Helps identify long-term accumulation zones and potential reversals.
How to Use:
The logarithmic regression line (blue) represents the fitted trend based on past price movements.
Use it to identify long-term price direction and detect deviations from historical trends.
Works best on assets with exponential growth characteristics (e.g., Bitcoin, Nasdaq, high-growth stocks).
This indicator provides a powerful perspective on market trends, especially when used alongside other technical analysis tools
Corak carta
[S1B] Engulfing Orderblock
The Engulfing Orderblock indicator is a custom script designed to visually highlight and track bullish and bearish engulfing patterns on a price chart. These patterns are widely used in technical analysis to identify potential reversal points. The indicator dynamically draws colored boxes around the previous candle involved in the engulfing event, making it easier for traders to spot these setups in the price action.
Key Features:
Bullish Engulfing Pattern:
When a bearish candle (one where the open is higher than the close) is followed by a candle whose close is above the previous candle’s open, the indicator detects a bullish engulfing pattern. A green box is drawn around the previous candle.
• Box Style Options: Users can choose whether the box represents the candle’s body (from open to close) or its wick (from open to low).
Bearish Engulfing Pattern:
When a bullish candle (one where the open is lower than the close) is followed by a candle whose close is below the previous candle’s open, a bearish engulfing pattern is identified. A red box is drawn around the previous candle.
• Box Style Options: The box can be drawn using the candle’s body (from close to open) or its wick (from high to open), according to the user’s preference.
Dynamic Box Management:
Once a box is drawn, the indicator continuously monitors the price. If the price moves beyond the box’s range, the box is either deleted or its color changes to gray, indicating that the pattern’s relevance may be diminishing.
Max Pattern Tracking:
To prevent clutter, the indicator limits the number of displayed engulfing boxes to 500 by default. Older boxes are removed as new patterns are detected.
Customization:
Users can adjust the number of previous bars scanned for engulfing patterns as well as the maximum number of patterns displayed. An option is also provided to select whether the box should reflect the candle’s body or include the wick.
How It Works:
Pattern Detection:
The script compares the current price with the previous candle’s data to detect either a bullish or bearish engulfing pattern.
Box Creation:
When a pattern is detected, a colored box is drawn around the previous candle’s price range (using the user-selected style) to visually highlight the orderblock.
Pattern Expiry and Cleanup:
The indicator monitors each drawn box, deleting or modifying it (changing the color to gray) if the price moves significantly beyond the box’s range.
Remark:
The original concept for this indicator is from daisukeburn .
Triple Doji SequenceThe Triple Doji Sequence indicator helps traders identify consecutive Doji candlestick patterns, allowing them to choose between spotting single, double, or triple Dojis. A Doji is detected when the candle's body is small relative to its wicks, with either the upper or lower wick being significantly larger. Users can customize their own Doji criteria by adjusting the body size and wick dominance settings. The indicator ensures that consecutive Dojis align in the same direction before confirming a valid pattern, making it easier to identify market indecision or potential trend reversals.
When the chosen Doji sequence is detected, the indicator plots a star (*) above bearish Dojis (upper wick dominant) and below bullish Dojis (lower wick dominant). It also sends alerts when a valid sequence is confirmed at the close of the bar. This tool helps traders refine their strategy by spotting repeated Doji formations, which may indicate key turning points or continuation patterns in price action.
How to Use the Triple Doji Sequence Indicator?
Apply the Indicator:
Add the Triple Doji Sequence indicator to your TradingView chart.
It will automatically scan for Doji patterns based on your settings.
Customize Your Doji Criteria:
Adjust the body size and wick dominance settings to define what qualifies as a Doji.
Choose whether to detect single, double, or triple Doji sequences.
Interpret the Signals:
A star (*) above a candle signals a bearish Doji (upper wick dominant).
A star (*) below a candle signals a bullish Doji (lower wick dominant).
Set Up Alerts:
Enable alerts to receive notifications when a Doji sequence is confirmed at bar close.
Choose alert frequency based on your trading strategy (e.g., once per bar, once per bar close).
Use in Trading Strategy:
Doji sequences can indicate trend reversals or market indecision.
Combine this indicator with support/resistance levels, volume, or other indicators to confirm signals.
PS: Good luck in finding a Triple Doji :)
Indiq 2.0The functionality of the indicator includes the following features:
Moving Averages (MA):
The ability to adjust periods for short (short_ma_length) and long (long_ma_length) moving averages.
Display of moving averages on the chart:
Short MA (blue line).
Long MA (red line).
Generation of buy and sell signals:
Buy (BUY): When the short MA crosses the long MA from below.
Sell (SELL): When the short MA crosses the long MA from above.
Visualization of signals on the chart:
Buy is displayed as a green BUY marker below the candle.
Sell is displayed as a red SELL marker above the candle.
Liquidity Heatmap:
Liquidity levels:
Levels are calculated based on the closing price and a step (liquidity_step).
Levels are grouped by the nearest price values.
Volumes at levels:
Volume (volume) is accumulated for each liquidity level.
Levels with a volume less than min_volume_filter are not displayed.
Time filtering:
Levels that have not been updated within the last time_filter bars are not displayed.
Volatility filtering:
Levels are filtered by volatility (ATR) to exclude those outside the volatility range.
Color gradient:
The color of levels depends on volume (gradient from gradient_start_color to gradient_end_color).
Visualization:
Liquidity levels are displayed as horizontal lines.
Volumes at levels are shown as text labels.
RSI Filtering:
The ability to enable/disable RSI filtering (rsi_filter).
Liquidity levels are filtered based on overbought (rsi_overbought) and oversold (rsi_oversold) conditions.
Levels that do not meet RSI conditions are not displayed.
MACD Filtering:
The ability to enable/disable MACD filtering (macd_filter).
Liquidity levels are filtered based on the MACD histogram condition (e.g., only if the histogram is above zero).
Levels that do not meet MACD conditions are not displayed.
Display of Market Maker Buys:
Condition for market maker buys:
Volume exceeds the average volume over the last 20 bars by 2 times.
Closing price is above the opening price.
Market maker buys are displayed on the chart as orange MM Buy markers below the candle.
Indicator Settings:
Moving average parameters:
short_ma_length: Period for the short MA.
long_ma_length: Period for the long MA.
Liquidity heatmap parameters:
liquidity_step: Step between liquidity levels.
max_levels: Maximum number of levels to display.
time_filter: Time filter (last N bars).
min_volume_filter: Minimum volume for displaying a level.
volatility_filter: Volatility filter (ATR multiplier).
RSI parameters:
rsi_filter: Enable/disable RSI filtering.
rsi_overbought: Overbought RSI level.
rsi_oversold: Oversold RSI level.
MACD parameters:
macd_filter: Enable/disable MACD filtering.
Color settings:
gradient_start_color: Starting color of the gradient.
gradient_end_color: Ending color of the gradient.
Visualization:
Moving averages:
Short MA: Blue line.
Long MA: Red line.
Signals:
Buy: Green BUY marker.
Sell: Red SELL marker.
Liquidity heatmap:
Liquidity levels: Horizontal lines with a color gradient.
Volumes: Text labels at levels.
Market maker buys:
Orange MM Buy markers.
Alerts:
The ability to set alerts for signals:
Buy (BUY).
Sell (SELL).
Additional Features:
Flexible filter settings:
Filtering by time, volume, volatility, RSI, and MACD.
Extensibility:
The ability to add new filters (e.g., Stochastic, Volume Profile, etc.).
Visual customization:
Adjustment of colors, sizes, and display styles.
Summary:
The indicator provides a comprehensive tool for analyzing liquidity, generating trading signals, and tracking market maker activity. It combines:
A liquidity heatmap.
Signals based on moving averages.
Filtering by RSI and MACD.
Display of market maker buys.
Flexible settings and visualization.
This indicator is suitable for traders who want to analyze liquidity levels, identify entry and exit points, and monitor the actions of large market players.
Candle Size Alertت وضیحات برای انتشار ابزار در TradingView
🔹 نام ابزار: Candle Size Alert
🔹 توضیحات:
این اندیکاتور برای شناسایی کندلهای بزرگ طراحی شده است. این ابزار میانگین اندازهی ۱۰ کندل گذشته را محاسبه کرده و اگر کندل فعلی ۳ برابر میانگین کندلهای قبلی باشد، یک لیبل هشدار در بالای کندل نمایش میدهد. همچنین میتوان هشدارهای معاملاتی را از طریق alertcondition() فعال کرد.
🔹 ویژگیها:
✅ امکان تغییر تعداد کندلهای محاسبه شده (پیشفرض: ۱۰)
✅ امکان تنظیم ضریب حساسیت (پیشفرض: ۳ برابر)
✅ نمایش لیبل هشدار در بالای کندلهای بزرگ
✅ پشتیبانی از هشدارهای خودکار (AlertCondition)
⚠️ نکته: این اندیکاتور فقط برای تحلیل استفاده میشود و سیگنال خرید یا فروش ارائه نمیدهد.
🔹 Indicator Name: Candle Size Alert
🔹 Description:
This indicator detects large candles by calculating the average size of the last 10 candles. If the current candle is 3 times larger than the average of the previous candles, a warning label appears above the candle. Additionally, automated alerts can be triggered using alertcondition().
🔹 Features:
✅ Adjustable candle count for calculations (default: 10)
✅ Customizable sensitivity multiplier (default: 3x)
✅ Visual alert label above large candles
✅ Supports automated alerts (AlertCondition)
⚠️ Note: This indicator is for analysis purposes only and does not provide buy/sell signals.
TrendPredator PROThe TrendPredator PRO
Stacey Burke, a seasoned trader and mentor, developed his trading system over the years, drawing insights from influential figures such as George Douglas Taylor, Tony Crabel, Steve Mauro, and Robert Schabacker. His popular system integrates select concepts from these experts into a consistent framework. While powerful, it remains highly discretionary, requiring significant real-time analysis, which can be challenging for novice traders.
The TrendPredator indicators support this approach by automating the essential analysis required to trade the system effectively and incorporating mechanical bias and a multi-timeframe concept. They provide value to traders by significantly reducing the time needed for session preparation, offering all relevant chart analysis and signals for live trading in real-time.
The PRO version offers an advanced pattern identification logic that highlights developing context as well as setups related to the constellation of the signals provided. It provides real-time interpretation of the multi-timeframe analysis table, following an extensive underlying logic with more than 150 different setup variations specifically developed for the system and indicator. These setups are constantly back- and forward-tested and updated according to the results. This version is tailored to traders primarily trading this system and following the related setups in detail.
The former TrendPredator ES version does not provide that option. It is significantly leaner and is designed for traders who want to use the multi-timeframe logic as additional confluence for their trading style. It is very well suited to support many other trading styles, including SMC and ICT.
The Multi-timeframe Master Pattern
Inspired by Taylor’s 3-day cycle and Steve Mauro’s work with “Beat the Market Maker,” Burke’s system views markets as cyclical, driven by the manipulative patterns of market makers. These patterns often trap traders at the extremes of moves above or below significant levels with peak formations, then reverse to utilize their liquidity, initiating the next phase. Breakouts away from these traps often lead to range expansions, as described by Tony Crabel and Robert Schabacker. After multiple consecutive breakouts, especially after the psychological number three, overextension might develop. A break in structure may then lead to reversals or pullbacks. The TrendPredator Indicator and the related multi-timeframe trading system are designed to track these cycles on the daily timeframe and provide signals and trade setups to navigate them.
Bias Logic and Multi-Timeframe Concept
The indicator covers the basic signals of Stacey Burke's system:
- First Red Day (FRD): Bearish break in structure, signalling weak longs in the market.
- First Green Day (FGD): Bullish break in structure signalling weak shorts in the markt.
- Three Days of Longs (3DL): Overextension signalling potential weak longs in the market.
- Three Days of Shorts (3DS): Overextension signalling potential weak shorts in the market.
- Inside Day (ID): Contraction, signalling potential impulsive reversal or range expansion move.
It enhances the original system by introducing:
Structured Bias Logic:
Tracks bias by following how price trades concerning the last previous candle high or low that was hit. For example if the high was hit, we are bullish above and bearish below.
- Bullish state: Breakout (BO), Fakeout Low (FOL)
- Bearish state: Breakdown (BD), Fakeout High (FOH)
Multi-Timeframe Perspective:
- Tracks all signals across H4, H8, D, W, and M timeframes, to look for alignment and follow trends and momentum in a mechanical way.
Developing Context:
- Identifies specific predefined context states based on the monthly, weekly and daily bias.
Developing Setups:
- Identifies specific predefined setups based on context and H8 bias as well as SB signals.
The indicator monitors the bias and signals of the system across all relevant timeframes and automates the related graphical chart analysis as well as context and setup zone identification. In addition to the master pattern, the system helps to identify the higher timeframe situation and follow the moves driven by other timeframe traders to then identify favourable context and setup situations for the trader.
Example: Full Bullish Cycle on the Daily Timeframe with Multi-Timeframe Signals
- The Trap/Peak Formation
The market breaks down from a previous day’s and maybe week’s low—potentially after multiple breakdowns—but fails to move lower and pulls back up to form a peak formation low and closes as a first green day.
MTF Signals: Bullish daily and weekly fakeout low; three consecutive breakdown days (1W Curr FOL, 1D Curr FOL, BO 3S).
Context: Reversal (REV)
Setup: Fakeout low continuation low of day (FOL Cont LOD)
- Pullback and Consolidation
The next day pulls further up after first green day signal, potentially consolidates inside the previous day’s range.
MTF Signals: Fakeout low and first green day closing as an inside day (1D Curr IS, Prev FOL, First G).
Context: Reversal continuation (REV Cont)
Setup: Previous fakeout low continuation low handing fruit (Prev FOL Cont LHF)
- Range Expansion/Trend
The following day breaks up through the previous day’s high, launching a range expansion away from the trap.
MTF Signals: Bullish daily breakout of an inside day (1D Curr BO, Prev IS).
Context: Uptrend healthy (UT)
Setup: Breakout continuation low hanging fruit (BO Cont LHF)
- Overextension
After multiple consecutive breakouts, the market reaches a state of overextension, signalling a possible reversal or pullback.
MTF Signals: Three days of breakout longs (1D Curr BO, Prev BO, BO 3L).
Context: Uptrend extended (UT)
- Reversal
After a breakout of previous days high that fails, price pulls away from the high showing a rollover of momentum across all timeframes and a potential short setup.
MTF Signals: Three days of breakout longs, daily fakeout high (1D 3L, FOH)
Context: Reversal countertrend (REV)
Setup: Fakeout high continuation high of day (FOH Cont HOD)
Note: This is only one possible illustrative scenario; there are many variations and combinations.
Example Chart: Full Bullish Cycle with Correlated Signals
Multi-Timeframe Signals examples:
Context and Setups examples:
Note: The signals shown along the move are manually added illustrations. The indicator shows these in realtime in the table at top and bottom right. This is only one possible scenario; there are many variations and combinations.
Due to the fractal nature of markets, this cycle can be observed across all timeframes. The strongest setups occur when there is multi-timeframe alignment. For example, a peak formation and potential reversal on the daily timeframe have higher probability and follow-through when they align with bearish signals on higher timeframes (e.g., weekly/monthly BD/FOH) and confirmation on lower timeframes (H4/H8 FOH/BD). With this perspective, the system enables the trader to follow the trend and momentum while identifying rollover points in a highly differentiated and precise way.
Using the Indicator for Trading
The automated analysis provided by the indicator can be used for thesis generation in preparation for a session as well as for live trading, leveraging the real-time updates as well as the context and setup indicated or alerted. It is recommended to customize the settings deeply, such as hiding the lower timeframes for thesis generation or the specific alert time window and settings to the specific trading schedule and playbook of the trader.
1. Context Assessment:
Evaluate alignment of higher timeframes (e.g., Month/Week, Week/Day). More alignment → Stronger setups.
- The context table offers an interpretation of the higher timeframe automatically. See below for further details.
2. Setup Identification:
Follow the bias of daily and H8 timeframes. A setup mostly requires alignment of these.
Setup Types:
- Trend Trade: Trade in alignment with the previous day’s trend.
Example: Price above the previous day’s high → Focus on long setups (dBO, H8 FOL) until overextension or reversal signs appear (H8 BO 3L, First R).
- Reversal Trade: Identify reversal setups when lower timeframes show rollovers after higher timeframe weakness.
Example: Price below the previous day’s high → Look for reversal signals at the current high of day (H8 FOH, BO 3L, First R).
- The setup table shows potential setups for the specific price zone in the table automatically. See below for further details.
3. Entry Confirmation:
Confirm entries based on H8 and H4 alignment, candle closes and lower timeframe fakeouts.
- H8 and H4 should always align for a final confirmation, meaning the breach lines should be both in the back of a potential trade setup.
- M15/ 5 candle close can be seen as acceptance beyond a level or within the setup zone.
- M15/5 FOH/ FOL signals lower timeframe traps potentially indicating further confirmation.
Example Chart Reversal Trade:
Context: REV (yellow), Reversal counter trend, Month in FOL with bearish First R, Week in BO but bearishly overextended with BO 3L, Day in Fakeout high reversing bearishly.
Setup: FOH Cont HOD (red), Day in Fakeout high after BO 3L overextension, confirmed by H8 FOH high of day, First R as further confluence. Two star quality and countertrend.
Entry: H4 BD, M15 close below followed by M15 FOH.
Detailed Features and Options
1. Context and Setup table
The Context and Setup Table is the core feature of the TrendPredator PRO indicator. It delivers real-time interpretation of the multi-timeframe analysis based on an extensive underlying logic table with over 150 variations, specifically developed for this system and indicator. This logic is continuously updated and optimized to ensure accuracy and performance.
1.1. Developing Context
States for developing higher timeframe context are determined based on signals from the monthly, weekly, and daily timeframes.
- Green and Red indicate alignment and potentially interesting developing setups.
- Yellow signals a mixed or conflicting bias, suggesting caution when taking trades.
The specific states are:
- UT (yellow): Uptrend extended
- UT (green): Uptrend healthy
- REV (yellow): Reversal day counter trend
- REV (green): Reversal day mixed trend
- REV Cont (green): Reversal continuation mixed trend
- REV Cont (yellow): Reversal continuation counter trend
- REV into UT (green): Reversal day into uptrend
- REV Cont into UT (green): Reversal continuation into uptrend
- UT Pullback (yellow): Counter uptrend breakdown day
- Conflicting (yellow): Conflicting signals
- Consolidating (yellow): Consolidating sideways
- Inside (yellow): Trading inside after an inside week
- DT Pullback (yellow): Counter downtrend breakout day
- REV Cont into DT (red): Reversal continuation into downtrend
- REV into DT (red): Reversal day into downtrend
- REV Cont (yellow): Reversal continuation counter trend
- REV Cont (red): Reversal continuation mixed trend
- REV (red): Reversal day mixed trend
- REV (yellow): Reversal day countertrend
- DT (red): Downtrend healthy
- DT (yellow): Downtrend extended
Example: Uptrend
The Uptrend Context (UT, green) indicates a healthy uptrend with all timeframes aligning bullishly. In this case, the monthly is in a Fakeout Low (FOL) and currently inside the range, while the weekly and daily are both in Breakout (BO) states. This context is favorable for developing long setups in the direction of the trend.
Example: Uptrend pullback
The Uptrend Pullback Context (UT Pullback, yellow) indicates a Breakdown (BD) on the daily timeframe against a higher timeframe uptrend. In this case, the monthly is in a Fakeout Low (FOL) and currently inside its range, the weekly is in Breakout (BO) and also currently inside, while the daily is in Breakdown (BD). This context reflects a conflicting situation—potentially signaling either an early reversal back into the uptrend or, if the breakdown extends, the beginning of a possible trend change.
Example: Reversal into Uptrend
The Reversal into Uptrend Context (REV into UT, green) indicates a lower timeframe reversal aligning with a higher timeframe uptrend. In this case, the monthly is in Breakout (BO), the weekly is in Breakout (BO) and currently inside its range, while the daily is showing a bullish Fakeout Low (FOL) reversal. This context is potentially very favorable for long setups, as it signals a strong continuation of the uptrend supported across multiple timeframes.
Example: Reversal
The Bearish Reversal Context indicates a lower timeframe rollover within an ongoing higher timeframe uptrend. In this case, the monthly remains in Breakout (BO), the weekly has shifted into a Fakeout High (FOH) after three weeks of breakout longs, and the daily is already in Breakdown (BD). This context suggests a potentially favorable developing short setup, as early signs of weakness appear across timeframes.
1.2. Developing Setup
The states for specific setups are based on the context and the signals from the daily timeframe and H8, indicating that price is in the zone of alignment. The setup description refers to the state of the daily timeframe, while the suffix relates to the H8 timeframe. For example, "prev FOH Cont LHF" means that the previous day is in FOH (Fakeout High) relative to yesterday's breakout level, currently trading inside, and we are in an H8 breakdown, indicating a potential LHF (Lower High Formation) short trade if the entry confirms. The suffix HOD means that H8 is in FOH or BO (Breakout).
The specific states are:
- REV HOD (red): Reversal high of day
- REV Cont LHF (red): Reversal continuation low hanging fruit
- BO Cont LHF (green): Breakout continuation low hanging fruit
- BO Cont LOD (green): Breakout continuation low of day
- FOH Cont HOD (red): Fakeout high continuation high of day
- FOH Cont LHF ((red): Fakeout high continuation low hanging fruit
- prev BD Cont HOD (red): Previous breakdown continuation high of day
- prev BD Cont LHF (red): Previous breakdown continuation low hanging fruit
- prev FOH Cont HOD (red): Previous fakeout high continuation high of day
- prev FOH Cont LHF (red): Previous fakeout high continuation low hanging fruit
- prev FOL Cont LOD (green): Previous fakeout low continuation low of day
- prev FOL Cont LHF (green): Previous fakeout low continuation low hanging fruit
- prev BO Cont LOD (green): Previous breakout continuation low of day
- prev BO Cont LHF (green): Previous breakout continuation low hanging fruit
- FOL Cont LHF (green): Fakeout low continuation low hanging fruit
- FOL Cont LOD (green): Fakeout low continuation low of day
- BD Cont LHF (red): BD continuation low hanging fruit
- BD Cont LOD (red): Breakdown continuation low of day
- REV Cont LHF (green): Reversal continuation low hanging fruit
- REV LOD (green): Reversal low of day
- Inside: Trading inside after an inside day
Type: Indicates the situation of the indicated setup concerning:
- Trend: Following higher timeframe trend
- Mixed: Mixed higher timeframe signals
- Counter: Against higher timeframe bias
Quality: Indicates the quality of the indicated setup according to the specified logic table
No star: Very low quality
* One star: Low quality
** Two star: Medium quality
*** Three star: High quality
Example: Breakout Continuation Trend Setup
This setup highlights a healthy uptrend where the month is in a breakout, the week is in a fakeout low, and the day is in a breakout after a first green day. As the H8 breaks out to the upside, a long setup zone is triggered, presenting a breakout continuation low-hanging fruit trade. This is a trend trade in an overextended situation on the H8, with an H8 3L, resulting in an overall quality rating of one star.
Example: Fakeout Low Continuation Trend Setup
This setup shows a reversal into uptrend, with the month in a breakout, the week in a breakout, and the day in a fakeout low after breaking down the previous day and now reversing back up. As H8 breaks out to the upside, a long setup zone is triggered, presenting a previous fakeout low continuation, low-hanging fruit trade. This is a medium-quality trend trade.
Example: Reversal Setup - Mixed Trend
This setup shows a reversal setup in line with the weekly trend, with the month in a fakeout low, the week in a fakeout high, and the day in a fakeout high after breaking out earlier in the day and now reversing back down. As H8 loses the previous breakout level after 3 breakouts (with H8 3L), a short setup zone is triggered, presenting a fakeout high continuation at the high of the day. This is a high-quality trade in a mixed trend situation.
Setup Alerts:
Alerts can be activated for setups freshly triggered on the chart within your trading window.
Detailed filter logic for setup alerts:
- Setup quality: 1-3 star
- Setup type: Counter, Mixed and Trend
- Setup category: e.g. Reversal Bearish, Breakout, Previous Fakeout High
- 1D BO and First signals: 3DS, 3DL, FRD, FGD, ID
Options:
- Alerts on/ off
- Alert time window (from/ to)
- Alert filter customization
Note: To activate alerts from a script in TradingView, some settings need to be adjusted. Open the "Create Alert" dialog and select the option "Any alert() function call" in the "Condition" section. Choose "TrendPredator PRO" to ensure that alerts trigger properly from the code. Alerts can be activated for entire watchlists or individual pairs. Once activated, the alerts run in the background and notify the user whenever a setup is freshly triggered according to the filter settings.
2. Multi-Timeframe Table
Provides a real-time view of system signals, including:
Current Timeframe (Curr): Bias states.
- Breakout (green BO): Bullish after breaking above the previous high.
- Fakeout High (red FOH): Bearish after breaking above the previous high but pulling back down.
- Breakdown (red BD): Bearish after breaking below the previous low.
- Fakeout Low (green FOL): Bullish after breaking below the previous low but pulling back up.
- Inside (IS): Price trading neutral inside the previous range, taking the previous bias (color indicates the previous bias).
Previous Timeframe (Prev): Tracks last candle bias state and transitions dynamically.
- Bias for last candle: BO, FOH, BD, FOL in respective colors.
- Inside bar (yellow IS): Indicated as standalone signal.
Note: Also previous timeframes get constantly updated in real time to track the bias state in relation to the level that was hit. This means a BO can still lose the level and become a FOH, and vice versa, and a BD can still become a FOL, and vice versa. This is critical to see for example if traders that are trapped in that timeframe with a FOH or FOL are released. An inside bar stays fixed, though, since no level was hit in that timeframe.
Breakouts (BO): Breakout count 3 longs and 3 shorts.
- 3 Longs (red 3L): Bearish after three breakouts without hitting a previous low.
- 3 Shorts (green 3S): Bullish after three breakdowns without hitting a previous high.
First Countertrend Close (First): Tracks First Red or Green Day.
- First Green (G): After two consecutive red closes.
- First Red (R): After two consecutive green closes.
Options: Customizable font size and label colors.
3. Historic Highs and Lows
Displays historic highs and lows per timeframe for added context, enabling users to track sequences over time.
Timeframes: H4, H8, D, W, M
Options: Customize for timeframes shown, number of historic candles per timeframe, colors, formats, and labels.
4. Previous High and Low Extensions
Displays extended previous levels (high, low, and close) for each timeframe to assess how price trades relative to these levels.
H4: P4H, P4L, P4C
H8: P8H, P8L, P8C
Daily: PDH, PDL, PDC
Weekly: PWH, PWL, PWC
Monthly: PMH, PML, PMC
Options: Fully customizable for timeframes shown, colors, formats, and labels.
5. Breach Lines
Tracks live market reactions (e.g., breakouts or fakeouts) per timeframe for the last previous high or low that was hit, highlighting these levels originating at the breached candle to indicate bias (color-coded).
Red: Bearish below
Green: Bullish above
H4: 4FOL, 4FOH, 4BO, 4BD
H8: 8FOL, 8FOH, 8BO, 8BD
D: dFOL, dFOH, dBO, dBD
W: wFOL, wFOH, wBO, wBD
M: mFOL, mFOH, mBO, mBD
Options: Fully customizable for timeframes shown, colors, formats, and labels.
Overall Options:
Toggle single feature groups on/off.
Customize H8 open/close time as an offset to UTC to be provider independent.
Colour settings con be adjusted for dark or bright backgrounds.
Higher Timeframe Use Case Examples
Example Use Case: Weekly Template Analysis
The Weekly Template is a core concept in Stacey Burke’s trading style. The analysis is conducted on the daily timeframe, focusing on the higher timeframe bias and identifying overextended conditions within the week—such as multiple breakouts and peak formations signaling potential reversals.
In this example, the candles are colored by the TrendPredator FO indicator, which highlights the state of individual candles. This allows for precise evaluation of both the trend state and the developing weekly template. It is a valuable tool for thesis generation before a trading session and for backtesting purposes.
Example Use Case: High Timeframe 5-Star Setup Analysis (Stacey Burke "ain't coming back" ACB Template)
This analysis identifies high-probability trade opportunities when daily breakout or breakdown closes occur near key monthly levels mid-week, signaling overextensions and potentially large parabolic moves. The key signal to look for is a breakout or breakdown close on a Wednesday. This is useful for thesis generation before a session and also for backtesting.
In this example, the TrendPredator FO indicator colors the candles to highlight individual candle states, particularly those that close in breakout or breakdown. Additionally, an indicator is shown on the chart shading every Wednesday, making it easier to visually identify the signals.
5 Star Alerts:
Alerts can be activated for this potential 5-Star setup constellation. The alert is triggered when there is a breakout or breakdown close on a Wednesday.
Further recommendations:
- Higher timeframe context: TPO or volume profile indicators can be used to gain an even better overview.
- Late session trading: Entries later in the session, such as during the 3rd hour of the NY session, offer better analysis and follow-through on setups.
- Entry confirmation: Momentum indicators like VWAP, Supertrend, or EMA are helpful for increasing precision. Additionally, tracking lower timeframe fakeouts can provide powerful confluence. To track those the TrendPredator Fakeout Highlighter (FO), that has been specifically developed for this can be of great help:
Limitations:
Data availability using TradingView has its limitations. The indicator leverages only the real-time data available for the specific timeframe being used. This means it cannot access data from timeframes lower than the one displayed on the chart. For example, if you are on a daily chart, it cannot use H8 data. Additionally, on very low timeframes, the historical availability of data might be limited, making higher timeframe signals unreliable.
To address this, the indicator automatically hides the affected columns in these specific situations, preventing false signals.
Disclaimer
This indicator is for educational purposes only and does not guarantee profits.
None of the information provided shall be considered financial advice.
The indicator does not provide final buy or sell signals but highlights zones for potential setups.
Users are fully responsible for their trading decisions and outcomes.
Swing Finder By Akash
This script is designed to highlight areas on a chart where there are **three or more consecutive candles** of the same color (bullish or bearish). It provides a visual indication of extended bullish or bearish momentum by changing the background color and marking the starting point of these areas.
### **How it works:**
1. **Identifying Bullish and Bearish Candles:**
- **Bullish candles** are defined as candles where the closing price is higher than the opening price (close > open).
- **Bearish candles** are defined as candles where the closing price is lower than the opening price (close < open).
2. **Consecutive Candle Counters:**
- A counter for **bullish candles** (`bullishCount`) and **bearish candles** (`bearishCount`) is maintained to track consecutive occurrences of bullish and bearish candles.
- These counters are **incremented** when consecutive bullish or bearish candles occur. They are **reset** to zero whenever a trend reversal happens (e.g., from bullish to bearish or vice versa).
3. **Area Marking:**
- If there are **three or more consecutive bullish candles**, the background is highlighted in **green** to indicate a bullish area.
- If there are **three or more consecutive bearish candles**, the background is highlighted in **red** to indicate a bearish area.
- A **green label** is plotted below the bars where the bullish area starts, and a **red label** is plotted above the bars where the bearish area starts.
### **Visual Indicators:**
- **Background Color:**
- **Green** for areas with 3 or more consecutive bullish candles.
- **Red** for areas with 3 or more consecutive bearish candles.
- **Labels:**
- A **green label** is plotted below the chart to mark the start of a bullish area.
- A **red label** is plotted above the chart to mark the start of a bearish area.
### **Usage:**
- This indicator can help traders identify strong trends, as consecutive bullish or bearish candles often indicate extended momentum in one direction.
- By marking these areas, traders can potentially look for entry points or identify when trends may be losing strength or reversing.
---
Feel free to adjust the description if you'd like it to reflect more specific details based on your use case!
Wyckoff Event Detection [Alpha Extract]Wyckoff Event Detection
A powerful and intelligent indicator designed to detect key Wyckoff events in real time, helping traders analyze market structure and anticipate potential trend shifts. Using volume and price action, this script automatically identifies distribution and accumulation phases, providing traders with valuable insights into market behavior.
🔶 Phase-Based Detection
Utilizes a phase detection algorithm that evaluates price and volume conditions to identify accumulation (bullish) and distribution (bearish) events. This method ensures the script effectively captures major market turning points and avoids noise.
🔶 Multi-Factor Event Recognition
Incorporates multiple event conditions, including upthrusts, selling climaxes, and springs, to detect high-probability entry and exit points. Each event is filtered through customizable sensitivity settings, ensuring precise detection aligned with different trading styles.
🔶 Customizable Parameters
Fine-tune event detection with adjustable thresholds for volume, price movement, trend strength, and event spacing. These inputs allow traders to personalize the script to match their strategy and risk tolerance.
// === USER INPUTS ===
i_volLen = input.int(20, "Volume MA Length", minval=1)
i_priceLookback = input.int(20, "Price Pattern Lookback", minval=5)
i_lineLength = input.int(15, "Line Length", minval=5)
i_labelSpacing = input.int(5, "Minimum Label Spacing (bars)", minval=1, maxval=20)
❓How It Works
🔶 Event Identification
The script scans for key Wyckoff events by analyzing volume spikes, price deviations, and trend shifts within a user-defined lookback period. It categorizes events into bullish (accumulation) or bearish (distribution) structures and plots them directly on the chart.
// === EVENT DETECTION ===
volMA = ta.sma(volume, i_volLen)
highestHigh = ta.highest(high, i_priceLookback)
lowestLow = ta.lowest(low, i_priceLookback)
🔶 Automatic Filtering & Cleanup
Unconfirmed or weak signals are filtered out using customizable strength multipliers and volume thresholds. Events that do not meet the minimum conditions are discarded to keep the chart clean and informative.
🔶 Phase Strength Analysis
The script continuously tracks bullish and bearish event counts to determine whether the market is currently in an accumulation, distribution, or neutral phase. This allows traders to align their strategies accordingly.
🔶 Visual Alerts & Labels
Detects and labels key Wyckoff events directly on the chart, providing immediate insights into market conditions:
- PSY (Preliminary Supply) and UT (Upthrust) for distribution phases.
- PS (Preliminary Support) and SC (Selling Climax) for accumulation phases.
- Labels adjust dynamically to avoid chart clutter and improve readability.
🔶 Entry & Exit Optimization
By highlighting supply and demand imbalances, the script assists traders in identifying optimal entry and exit points. Wyckoff concepts such as springs and upthrusts provide clear trade signals based on market structure.
🔶 Trend Confirmation & Risk Management
Observing how price reacts to detected events helps confirm trend direction and potential reversals. Traders can place stop-loss and take-profit levels based on Wyckoff phase analysis, ensuring strategic trade execution.
🔶 Table-Based Market Analysis (Table)
A built-in table summarizes:
- Market Phase: Accumulation, Distribution, or Neutral.
- Strength of Phase: Weak, Moderate, or Strong.
- Price Positioning: Whether price is near support, resistance, or in a trading range.
- Supply/Demand State: Identifies whether the market is supply or demand dominant.
🔶 Why Choose Wyckoff Market Phases - Alpha Extract?
This indicator offers a systematic approach to understanding market mechanics through the lens of Wyckoff's time-tested principles. By providing clear and actionable insights into market phases, it empowers traders to make informed decisions, enhancing both confidence and performance in various trading environments.
[COW] Day Percent LevelsThis indicator plots on your chart 2 levels, the daily percentage changes required to know by most prop firms and other exchanges. 5% is often a cutoff point for prop firm day traders and can get you banned if you trade past these levels. This indicator allows you to adjust the percentage as well as the lines and labels to your liking.
This is key when using prop firms as it is a level you must be aware of when trading. This can help you avoid being banned, your account being closed, or other disciplinary action based on trading past these levels.
Enjoy!
TestMA-STATEOverview:
This Pine Script (version 6) is designed to generate trading events based on moving average (MA) behavior and dynamically calculated percentiles. It leverages a custom state machine library (version 7) from decrypt_capital to track and manage state transitions related to MA conditions, and it triggers alerts (and optionally, chart labels) when specific state transitions occur.
Key Components:
License & Metadata:
The script is distributed under the Mozilla Public License 2.0.
It carries copyright by decrypt_capital.
The title ("TestMA-STATE") and short title ("MA-STATE") are defined, and the script runs on an overlay with extended backtracking and drawing limits.
State Machine Integration:
The script imports the lib_statemachine_modified library (version 7) using the alias modSM.
A persistent state machine instance (MovingAverageDirection_SM) is created to manage various MA-related states.
Several state constants are defined to represent different market conditions, such as:
MA_SHORT_ABOVE_OVERBOUGHT: When the short MA low is above the overbought threshold.
MA_SHORT_CROSSUNDER_MID & MA_SHORT_CROSSUNDER_BIG: Conditions for bearish crossunders.
MA_SHORT_BELOW_OVERSOLD: When the short MA high is below the oversold threshold.
MA_SHORT_CROSSOVER_MID & MA_SHORT_CROSSOVER_BIG: Conditions for bullish crossovers.
Inputs & MA Calculation:
Users can choose the type of moving average (EMA, SMA, WMA, VWMA) and adjust lengths for short, mid, and big MAs.
Additional inputs include lookback length for percentile calculations and percentile thresholds for determining overbought and oversold boundaries.
The script computes:
Short MA Low and High: Based on the low and high series.
Mid MA and Big MA: Based on the average price (ohlc4).
Dynamic Percentile Boundaries:
Two functions (f_getPercentile() and f_getPercentileArr()) calculate dynamic percentile values from the MA data.
These functions determine the oversold and overbought boundaries used in the state transition conditions.
Timestamp & Alert Header Formatting:
A helper function (f_formatTimestamp()) formats timestamps into a human-readable form (e.g., "Tue 12 Mar 16:30").
This formatted time, along with ticker information and other details, is used to build an alert header.
State Transitions & Alerts:
The script calls the state machine’s step() method multiple times with conditions based on the relationship between MA values and the percentile boundaries.
For example:
A bullish condition is triggered when the short MA low moves above the overbought threshold.
A bearish condition is triggered when the short MA high falls below the oversold boundary.
Transitions are further refined by checking if the MA is rising or falling.
When specific state transitions occur (e.g., MA_SHORT_CROSSOVER_MID after MA_SHORT_BELOW_OVERSOLD), the script:
Checks that the transition is recent (using the barsSinceState() method).
Optionally creates a label on the chart.
Triggers an alert with a descriptive message.
Chart Plotting:
The script plots the calculated moving averages (short, mid, and optionally big) on the chart.
It also plots the dynamic percentile boundaries for visual reference.
Purpose & Usage:
Trading Signal Generation:
The primary goal is to monitor key MA conditions and trigger alerts when significant crossovers or crossunders occur. These events—such as bullish crossovers when the market recovers from oversold conditions or bearish crossunders when the market retracts from overbought conditions—can be used as trading signals.
Visualization:
Users have options to display the various moving averages and percentile boundaries directly on the chart, as well as optional labels that mark when an alert is generated.
Alerting:
When specific state transitions are detected, the script constructs and sends an alert message with a timestamp, ticker, and descriptive text, aiding traders in making timely decisions.
ORB MOTORB MOT - Opening Range Breakout Indicator (Educational purpos only)
The ORB MOT (Opening Range Breakout Multi-Option Tool) is a powerful TradingView indicator designed to help traders identify and capitalize on market breakouts based on the opening range. This tool provides extensive customization options, allowing traders to fine-tune their breakout strategies according to different timeframes and trading sessions.
Key Features:
Configurable Opening Range: Traders can define the opening range period (1, 2, 3, 5, 15, or 30 minutes) to suit their trading strategy.
Session-Based Analysis: The indicator automatically adjusts for market session times and provides an optional international override for different time zones.
Visual Representation: ORB levels are displayed with clear labels, shaded regions, and customizable colors for easy identification.
Breakout and Retest Detection: Identifies breakout points and potential retests, helping traders make informed decisions.
Multiple Price Targets: Calculates and plots key levels such as 50%, 100%, 150%, and 200% price targets for potential trade exits.
Fibonacci Extensions: Optional Fibonacci targets (21.2%, 61.8%) can be displayed for additional market confluence.
Alerts and Notifications: Provides alerts for breakout conditions, ensuring traders don’t miss critical movements.
How It Works:
The indicator calculates the high and low of the selected opening range.
Breakout points are identified when price crosses above or below the range.
The indicator plots multiple price targets based on the range's size.
Traders can visualize past ORB levels and retests for better trend analysis.
Alerts notify users of significant breakout events.
Who Can Use This Indicator?
Scalpers & Day Traders: Perfect for identifying quick breakout opportunities.
Swing Traders: Helps determine key levels for potential reversals or trend continuations.
Institutional & Retail Traders: Useful for analyzing market structure and setting price targets.
The ORB MOT indicator is a must-have tool for traders looking to refine their breakout strategy with precision and ease. Whether you're a beginner or an experienced trader, this indicator provides valuable insights into market movements and trading opportunities.
Major S&R Levels with Flips## **Major S&R Levels with Flips**
This script is designed to identify and visualize **Major Support and Resistance (S&R) Levels** across multiple timeframes (H1, H4, D1) and detect **S&R Flip** patterns (FTB, STB, FTR). It also includes customizable alerts for price-level crossings, flip patterns, and level approaches. Below is a detailed breakdown of the script's functionality, inputs, and outputs.
---
## **Script Overview**
The script calculates and plots **Support and Resistance (S&R) Levels** based on the highest highs and lowest lows over a user-defined lookback period. It also detects **S&R Flip Patterns** (First Time Back - FTB, Second Time Back - STB, Failed Test of Resistance/Support - FTR) and provides alerts for key events.
---
## **Key Features**
1. **Multi-Timeframe S&R Levels**:
- Displays S&R levels for **H1**, **H4**, and **D1** timeframes.
- Levels are calculated using the highest highs and lowest lows over a user-defined lookback period.
2. **S&R Flip Detection**:
- Detects and tracks **FTB (First Time Back)**, **STB (Second Time Back)**, and **FTR (Failed Test of Resistance/Support)** patterns.
- Alerts are generated for each flip event.
3. **Customizable Alerts**:
- **Price-Level Crossing Alerts**: Notifies when the price crosses above or below a level.
- **Flip Alerts**: Notifies when a flip pattern (FTB, STB, FTR) is detected.
- **Level Approach Alerts**: Notifies when the price approaches a level within a user-defined threshold.
4. **Efficient Level Updates**:
- Levels are updated periodically (every 10 bars by default) to optimize performance.
5. **Visualization**:
- Plots S&R levels on the chart with distinct colors for each timeframe.
- Displays labels for recent flip events.
---
## **User Inputs**
The script provides several customizable inputs:
### **Level Display**
- **Show H1 Levels**: Toggles visibility of H1 S&R levels.
- **Show H4 Levels**: Toggles visibility of H4 S&R levels.
- **Show D1 Levels**: Toggles visibility of D1 S&R levels.
- **Lookback Period**: Defines the number of bars used to calculate S&R levels (default: 20, range: 5–50).
### **Alerts**
- **Enable Price-Level Crossing Alerts**: Toggles alerts for price crossing above/below S&R levels.
- **Enable SR Flip Alerts**: Toggles alerts for S&R flip patterns (FTB, STB, FTR).
- **Enable Level Approach Alerts**: Toggles alerts for price approaching S&R levels.
- **Approach Threshold**: Defines the percentage threshold for level approach alerts (default: 0.2%, range: 0.05%–1%).
---
## **Script Logic**
### **1. Level Calculation**
- The script calculates S&R levels for each timeframe (H1, H4, D1) using the highest highs and lowest lows over the lookback period.
- Levels are updated periodically (every 10 bars by default) to optimize performance.
### **2. Flip Detection**
- The script detects **FTB**, **STB**, and **FTR** patterns:
- **FTB (First Time Back)**: Price crosses a level for the first time.
- **STB (Second Time Back)**: Price retests the level after FTB.
- **FTR (Failed Test of Resistance/Support)**: Price fails to break the level after STB.
- Flip events are tracked and stored in arrays for visualization and alerts.
### **3. Alerts**
- **Price-Level Crossing Alerts**: Triggered when the price crosses above/below a level.
- **Flip Alerts**: Triggered when a flip pattern (FTB, STB, FTR) is detected.
- **Level Approach Alerts**: Triggered when the price approaches a level within the defined threshold.
### **4. Visualization**
- S&R levels are plotted on the chart with distinct colors for each timeframe.
- Labels are displayed for recent flip events (up to 15 labels by default).
---
## **Outputs**
### **1. Plots**
- **H1 Levels**:
- Support: Green shaded area.
- Resistance: Red shaded area.
- **H4 Levels**:
- Support: Lime shaded area.
- Resistance: Maroon shaded area.
- **D1 Levels**:
- Support: Teal shaded area.
- Resistance: Purple shaded area.
### **2. Labels**
- Labels are displayed for recent flip events:
- **FTB**: Blue label.
- **STB**: Yellow label.
- **FTR**: Purple label.
### **3. Alerts**
- Alerts are generated for:
- Price-level crossings.
- Flip patterns (FTB, STB, FTR).
- Price approaching levels.
---
## **Usage Instructions**
1. **Add the Script**:
- Copy and paste the script into a new Pine Script editor in TradingView.
- Save and add the script to your chart.
2. **Customize Inputs**:
- Adjust the inputs (e.g., lookback period, alert settings) in the script settings panel.
3. **Interpret the Output**:
- Use the plotted levels and labels to identify key S&R zones and flip patterns.
- Monitor alerts for trading opportunities.
4. **Optimize for Your Strategy**:
- Adjust the lookback period and alert thresholds to suit your trading style.
---
## **Example Use Cases**
1. **Trend Identification**:
- Use the D1 levels to identify major S&R zones for long-term trend analysis.
- Combine with H4 and H1 levels for intraday trading opportunities.
2. **Flip Patterns**:
- Look for FTB and STB patterns to identify potential reversals.
- Use FTR patterns to confirm failed breakouts.
3. **Alerts for Trading**:
- Set up alerts for price-level crossings and flip patterns to stay informed of key market movements.
---
## **Notes**
- The script is optimized for performance by updating levels periodically and limiting the number of tracked flips.
- Alerts are designed to minimize noise by triggering only once per bar or bar close.
---
## **Disclaimer**
This script is for educational and informational purposes only. It should not be considered financial advice. Always conduct your own analysis and backtesting before using any trading strategy.
---
This documentation provides a comprehensive guide to using the **Major S&R Levels with Flips** script. If you have any questions or need further assistance, feel free to reach out!
Blood MoonsBlood Moon Dates
Description:
This indicator overlays vertical lines on your chart to mark the dates of total lunar eclipses (commonly known as "Blood Moons") from December 2010 to May 2040. Designed with cryptocurrency traders in mind, it’s perfect for analyzing potential correlations between these celestial events and price movements. The lines are drawn on the first bar and extend across the chart, making it easy to spot these dates on any timeframe.
Features:
Plots vertical lines for 19 Blood Moon events (2010–2040).
Customizable line color, style (solid, dotted, dashed), and width.
Option to toggle lines on/off for a cleaner chart.
Lines extend both ways for maximum visibility across your chart.
Settings:
Show Lines: Enable or disable the lines (default: enabled).
Line Color: Choose your preferred color (default: red).
Line Style: Select solid, dotted, or dashed (default: dotted).
Line Width: Adjust thickness from 1 to 5 (default: 2).
Usage:
Add this indicator to your chart to visualize Blood Moon dates alongside price action. Customize the appearance to suit your analysis style. Note: Lines are plotted based on timestamps and extend across the chart, so they’re best viewed on daily or higher timeframes for clarity.
Disclaimer:
This is an educational tool and not financial advice. Past performance does not guarantee future results. Use at your own risk.
Mushir's Inside Candle IndicatorThis indicator detects inside candle formations on the chart’s current timeframe. It highlights when a candle’s range is fully engulfed by the previous candle’s range, provided the previous candle meets specific criteria.
How It Works ?
It shows the formation of inside candle on the charts to help in find trades.
Mother Candle Validation
The previous candle must be a “leg candle” with a strong body and minimal wicks relative to its body size, ensuring a robust structure.
Inside Candle Detection
The current candle qualifies as an inside candle if:
Its high is ≤ the previous candle’s high.
Its low is ≥ the previous candle’s low.
Why Use This Indicator?
Adapts to the chart’s current timeframe—no manual adjustments needed.
Easily gives you the identification of inside candles
Minimalistic Design
Better results in trending market
How to use it?
- when the inside candle is formed there are certain conditions:
1. if the next candle first crosses the high of inside candle, look for a potential buy trade with RR as 2:1 while stoploss being just below the low of inside candle.
2. if the next candle first crosses the low of inside candle, look for a potential sell trade with RR as 2:1 while stoploss being just above the high of inside candle.
3. if 2:1 is achieved, then increase the partial target to 3:1 while bringing the stoploss to the entry point.
4. if the high is crossed first and then the low is crossed or vice versa then the trade is invalidated.
Happy Trading!
WLI Swing High/Low advnc indicatorfor Class members
else
label.set_xy(lowMsg, bar_index, close)
label.set_text(lowMsg, "making New Low")
label.set_color(lowMsg, newSwingLowColor)
label.set_textcolor(lowMsg, color.white)
else
if not na(lowMsg)
label.delete(lowMsg)
lowMsg := na
GRID EXTENSIONGRID EXTENSION
Overview
The GRID EXTENSION is a simple grid-based indicator for TradingView, built with Pine Script v6. It plots horizontal price levels starting from a user-defined anchor price, with spacing set by a tick increment. Use it to identify key support, resistance, or price zones on charts for Crypto, Forex, or Futures.
Key Features
Custom Grid Levels: Plot up to 22 levels (e.g., 0, 0.25, 1.25, -2.50) with options to show/hide, set values, and choose colors.
Market-Specific Tick Increments: Select your asset type (Crypto, Forex, Futures) and choose from a range of tick increments tailored for each market:
Crypto: 1 to 5000 ticks (e.g., 100 ticks = $0.001 on ADA/USD, 5000 ticks = $50 on BTC/USD).
Forex: 5 to 5000 ticks (e.g., 100 ticks = 1 pip on EUR/USD, 5000 ticks = 50 pips).
Futures: 1 to 2500 ticks (e.g., 25 ticks = 6.25 points on E-mini S&P 500, $312.50 per contract).
Visual Options:
Extend lines to the right.
Show price and level labels (as values or percentages).
Place labels on the left or right.
Adjust background transparency for filled areas between levels.
How to Use
Set Asset Type: Choose "Crypto," "Forex," or "Futures" to match your chart.
Set Anchor Price: Enter a starting price for the grid.
Pick Tick Increment: Select a tick increment from the dropdown, following the guidance for your asset type (see Key Features).
Customize Levels: Turn levels on/off, set values, and pick colors.
Add to Chart: Apply the indicator to see the grid on your chart.
Tips
Use levels to mark support/resistance zones for entries or exits.
Extend lines to project future price zones.
Choose smaller increments (e.g., 5 ticks) for scalping, or larger ones (e.g., 1000 ticks) for swing trading.
Combine with indicators like moving averages for better signals.
Settings
Asset Type: Select "Crypto," "Forex," or "Futures" (default: "Crypto").
Anchor Price: Starting price for the grid (default: 0.0).
Tick Increment: Space between levels (options: 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000). Choose based on asset type.
Extend Right: Extend lines to the right (default: true).
Show Prices: Show price labels (default: true).
Show Levels: Show level values or percentages (default: true).
Format: Display levels as "Values" or "Percent" (default: "Values").
Labels Position: Place labels on "Left" or "Right" (default: "Left").
Background Transparency: Set transparency for filled areas (default: 100, range 0-100).
Level Options: Enable/disable levels, set values, and choose colors.
Notes
Set the anchor price to a key level (like a recent high or low) for best results.
Check the tick increment tooltip to ensure the spacing suits your market type.
Works on any chart, best for clear price trends or ranges.
Acknowledgments
Made with Pine Script v6 for TradingView. This is v1.0—feedback welcome for future updates!
Inverse FVG with Quadrants [Modified]# Inverse FVG with Quadrants
*Modified version of original indicator by **tradeforopp**
## Overview
This advanced Fair Value Gap (FVG) indicator identifies both regular and inverse fair value gaps with precision, displaying them in a visually intuitive quadrant-based system. The enhanced version now features automatic timeframe selection that aligns higher timeframe FVGs with your current chart period for multi-timeframe analysis.
## Key Features
### 🔹 Fair Value Gap Detection
- **Regular FVGs**: Identifies traditional bullish and bearish fair value gaps
- **Inverse FVGs**: Automatically detects and displays inverse fair value gaps when price closes through a regular FVG
- **Quadrant Display**: Shows only the relevant half of each FVG for cleaner visual analysis (upper quadrant for bullish patterns, lower quadrant for bearish)
### 🔹 Smart Timeframe Management
- **Auto Timeframe Selection**: Automatically selects the appropriate higher timeframe based on your current chart:
- 1min → 15min
- 3min → 30min
- 5min → 1h
- 15min → 4h
- 1h → Daily
- 4h → Weekly
- **Manual Override**: Optional manual timeframe selection still available
### 🔹 Visual Customization
- Adjustable colors for both regular and inverse FVGs
- Optional box extension
- Customizable display limits to prevent chart clutter
- Session filtering capabilities
### 🔹 Trading Signals
- FVGs provide potential support/resistance zones and price targets
- Inverse FVGs offer confirmation of trend continuation or reversal
- Alert conditions for new FVG creation, regular FVG, and inverse FVG events
## How to Use
1. Apply the indicator to your chart
2. Enable "Auto Timeframe Selection" for multi-timeframe analysis (recommended)
3. Adjust displacement settings to filter for more significant FVGs
4. Use regular FVGs as potential zones where price may return to fill the gap
5. Watch for inverse FVGs as confirmation signals when price breaks through regular FVGs
This refined indicator combines powerful FVG analysis with automatic timeframe alignment to provide traders with clear, actionable insights across multiple timeframes. Perfect for both intraday traders and swing traders looking for high-probability entry and exit points.
Credits to @tradeforopp for creating the original version of this indicator. This is a modified version with enhanced features while preserving the core functionality.
## Tips
- Blue boxes (FVG+) indicate bullish fair value gaps (potential support)
- Red boxes (FVG-) indicate bearish fair value gaps (potential resistance)
- When price closes through an FVG, watch for the inverse FVG as a confirmation signal
- Use the dashed centerline as a potential target within each FVG
Essa - Yearly High, Low & MidYearly High, Low & Midpoint Indicator
This TradingView indicator helps traders track key yearly price levels by plotting the high, low, and midpoint values for each year within a user-specified range.
Features & Functionality:
Automatic Yearly Calculation: Determines the highest and lowest price for each year and computes the midpoint as their average.
Clear & Customisable Visuals:
The Yearly High is plotted as a solid green line.
The Yearly Low appears as a solid red line.
The Midpoint is displayed as a blue dashed line for easy distinction
Detailed Labels:
Each level is labeled at the far right of the chart, showing the year, level type (High, Low, or Mid), and price (e.g., 2016 High - 1.20000).
Labels are right-aligned in white, ensuring clear visibility against any background.
This indicator is perfect for traders who rely on long-term technical analysis, providing a quick and structured way to visualise significant yearly price levels.
5 Consecutive Candle Alert Multi-TimeframeMaximize your trading strategy with our sophisticated "5 Consecutive Candle Alert Multi-Timeframe" indicator, designed for the TradingView platform using Pine Script version 6. This custom indicator is meticulously crafted to monitor five consecutive green or red candles across multiple key timeframes, including 1-minute, 5-minute, 15-minute, 1-hour, and 4-hour charts.
**Key Features:**
- **Multi-Timeframe Analysis:** Simultaneously tracks and alerts on consecutive candle patterns across five different timeframes, providing a comprehensive view of market momentum and trend consistency.
- **Custom Alerts:** Receive real-time notifications when five consecutive green or red candles close on any of the specified timeframes. These alerts are tailored to keep you abreast of significant market movements, enabling timely and informed trading decisions.
- **Easy Visualization:** Uses distinct plotting features to clearly mark the occurrence of these patterns directly on your trading chart. Green labels below the bar indicate a bullish streak, while red labels above the bar denote a bearish streak, making it visually intuitive.
- **Precision and Confirmation:** Integrates Pine Script's `barstate.isconfirmed` to ensure alerts are based on fully formed candles, adding an extra layer of precision to your trading signals.
**Ideal for Traders Who:**
- Are momentum or trend traders looking for clear signals of market continuation or potential exhaustion.
- Want to enhance their trading decisions by analyzing behavior across multiple timeframes from a single chart.
- Prefer to be alerted about significant events without the need to constantly monitor the charts.
**How to Use:**
Simply add this script to your TradingView chart, customize the alert settings in the TradingView UI according to your preferences, and start receiving alerts that help you capitalize on market movements efficiently and effectively.
Leverage the power of advanced scripting to make your trading as proactive and responsive as possible. Try out our "5 Consecutive Candle Alert Multi-Timeframe" indicator today and experience a significant improvement in your trading approach!
EUR - Intrinsic value🔹 Introduction
The EUR - Intrinsic Value indicator is a unique tool that reconstructs the intrinsic value of the euro by aggregating the main Forex pairs associated with the EUR. This indicator provides a clearer view of the overall trend of the euro , independently of any specific currency pair.
It allows traders to better anticipate movements in EURUSD , especially when combined with the U.S. Dollar Index (DXY) . By analyzing both, traders can identify moments of strong momentum and optimize their trade entries.
🔹 How to Use the Indicator?
1️⃣ Add the Indicator to a Chart: The indicator plots candles representing the intrinsic value of the EUR (see Technical information below).
2️⃣ Analyze the DXY Trend:
🔵 If DXY is rising → Bearish momentum likely for EURUSD and other USD pairs.
🔴 If DXY is falling → Bullish momentum likely for EURUSD and other USD pairs.
⚫ If DXY is ranging → Consolidation likely, be cautious of false breakouts .
3️⃣ Confirm with EUR:
🔥 DXY falling + EUR rising → EURUSD likely to surge with strong momentum 📈
❄️ DXY rising + EUR falling → EURUSD likely to drop with strong momentum 📉
4️⃣ Adjust Strategy Based on Context: Wait for confirmations at key support/resistance levels and use other tools to validate trade entries.
🔹 What Value Does This Indicator Provide ?
The EUR - Intrinsic Value indicator offers multiple advantages for trading EURUSD and other EUR-related pairs:
✅ Trend Identification: Determine if the euro is in an uptrend, downtrend, or consolidation phase , regardless of individual currency fluctuations.
✅ Better Trade Timing: Combining this indicator with the Dollar Index (DXY) helps detect setups where EURUSD is likely to experience strong momentum .
✅ A Complementary Tool for Price Action : Use this indicator alongside other technical tools to confirm optimal trade entry/exit points.
🔹 Visual Examples
Shift in market structure in DXY and in EUR in the same time , giving a trend and strong momentum on EURUSD :
This indicator works on any timeframe (even sub 1m)
Note : I use Watermark° script from toodegrees , to show the currency and the timeframe on the top right of charts.
🔹 How Does the Indicator Work?
The indicator is based on a weighted average of the euro’s movements against seven major currencies:
📌 Currencies Included in the Calculation:
EURUSD (Euro vs U.S. Dollar)
EURCAD (Euro vs Canadian Dollar)
EURGBP (Euro vs British Pound)
EURCHF (Euro vs Swiss Franc)
EURAUD (Euro vs Australian Dollar)
EURNZD (Euro vs New Zealand Dollar)
EURJPY (Euro vs Japanese Yen)
The indicator extracts opening, closing, high, and low prices from each pair and create an independent value of the EUR , displayed as a custom candle chart.
🔹 Why Is This Indicator Unique?
Unlike traditional indicators that rely on a single pair, this tool artificially recreates an index for the euro by combining multiple currency pairs. This gives a broader perspective and helps traders to better time entry/exit points .
Rather than relying on a simple average , it accounts for the dynamic changes in EUR across multiple markets simultaneously .
🔹 Technical Information
📊 Display: Custom candles representing the intrinsic value of the EUR.
⏳ Supported Timeframes: Compatible with all timeframes.
⚠️ Limitations:
This indicator does not provide direct buy/sell signals but serves as a contextual tool to improve EUR trading decisions.
This is an indicator, it means you can't use other indicators on it .
You can draw on it, but your draws will not be able to stay magnet to the EUR indicator
Follow this three simple steps below to use this indicator on TradingView :
Select any forex pair on your chart (important to get a correct chart)
Hide it by clicking the 3 dots and then "Hide"
Add the "EUR - Intrisic value" indicator to your chart and set it as Full screen
🔹 Conclusion
The EUR - Intrinsic Value indicator is a powerful tool for traders looking to anticipate euro movements in the Forex market. By combining it with DXY and other technical analysis tools, it provides a clearer understanding of trading opportunities , reducing false signals and improving decision-making.
🚀 Use this indicator to refine your trade entries and capitalize on the best market opportunities! 🔥
⚠️ Terms and Conditions ⚠️
This financial tool is for educational purposes only and not financial advice. Users assume responsability for decisions made based on the tool's information.
Past performance doesn't guarantee future results.
By using this tool, users agree to these terms.
1H/3m Concept [RunRox]🕘 1H/3m Concept is a versatile trading methodology based on liquidity sweeps from fractal points identified on higher timeframes, followed by price reversals at these key moments.
Below, I will explain this concept in detail and provide clear examples demonstrating its practical application.
⁉️ WHAT IS A FRACTALS?
In trading, a fractal is a technical analysis pattern composed of five consecutive candles, typically highlighting local market turning points. Specifically, a fractal high is formed when a candle’s high is higher than the highs of the two candles on either side, whereas a fractal low occurs when a candle’s low is lower than the lows of the two adjacent candles on both sides.
Traders use fractals as reference points for identifying significant support and resistance levels, potential reversal areas, and liquidity zones within price action analysis. Below is a screenshot illustrating clearly formed fractals on the chart.
📌 ABOUT THE CONCEPT
The 1H/3m Concept involves marking Higher Timeframe (HTF) fractals directly onto a Lower Timeframe (LTF) chart. When a liquidity sweep occurs at an HTF fractal level, we remain on the same LTF chart (since all HTF fractals are already plotted on this lower timeframe) and wait for a clear Market Structure Shift (MSS) to identify our potential entry point.
Below is a schematic illustration clearly demonstrating how this concept works in practice.
Below is another 💡 real-chart example , showing liquidity in the form of a 1H fractal, swept by a rapid impulse move. Immediately afterward, a clear Market Structure Shift (MSS) occurs, signaling a potential entry point into the trade.
Another example is shown below, where we see our hourly fractal, from which price clearly reacts, providing an opportunity to search for an entry point.
As illustrated on the chart, the fractal levels from the higher timeframe are clearly displayed, but we’re working directly on the 5-minute chart. This allows us to remain on one timeframe without needing to switch back and forth between charts to spot such trading setups.
🔍 MTF FRACTALS
This concept can be applied across various HTF-LTF timeframe combinations. Although our examples illustrate 1H fractals used on a 5-minute chart, you can effectively utilize many other timeframe combinations, such as:
30m HTF fractals on 1m chart
1H HTF fractals on 3m chart
4H HTF fractals on 15m chart
1D HTF fractals on 1H chart
The key idea behind this concept is always the same: identify liquidity at fractal levels on the higher timeframe (HTF), then wait for a clear Market Structure Shift (MSS) on the lower timeframe (LTF) to enter trades.
⚙️ SETTINGS
🔷 Trade Direction – Select the preferred trading direction (Long, Short, or Both).
🔷 HTF – Choose the higher timeframe from which fractals will be displayed on the current chart.
🔷 HTF Period – Number of candles required on both sides of a fractal candle (before and after) to confirm fractal formation on the HTF.
🔷 Current TF Period – Sensitivity to the impulse that sweeps liquidity, used for identifying and forming the MSS line.
🔷 Show HTF – Enable or disable displaying HTF fractal lines on your chart. You can also customize line style and color.
🔷 Max Age (Bars) – Number of recent bars within which fractals from the selected HTF will be displayed.
🔷 Show Entry – Enable or disable displaying the MSS line on the chart.
🔷 Enable Alert – Activates TradingView alerts whenever the MSS line is crossed.
You can also enable 🔔 alerts, which notify you whenever price crosses the MSS line. This significantly simplifies the process of identifying these setups on your charts. Simply configure your preferred timeframes and wait for notifications when the MSS line is crossed.
🔶 We greatly appreciate your feedback and suggestions for improving the indicator!
Two-Candle Highs & LowsSimple indicator which highlights highs and lows as two-candle reversal patterns:
1. High pattern : A bullish candle followed by a bearish candle, marking the highest price of the two.
2. Low pattern : A bearish candle followed by a bullish candle, marking the lowest price of the two.
It draws horizontal lines at the high/low levels, making it useful for price action analysis such as identifying potential reversals or support/resistance zones.
Nimu Market on Paper
Multi-Timeframe Analysis Tool is a powerful visual aid for identifying trends, reversals, and key price movements across multiple timeframes — particularly useful for intraday traders and those using technical analysis strategies
Timeframes & Data Collection:
The script tracks multiple timeframes (1m, 5m, 15m, 30m, 1H, 2H, 4H, 8H), storing their open, high, low, and close prices in arrays (trdh, trdc, trdo, trdl).
It uses request.security() to fetch these values for the current symbol and specified timeframes
.
User Inputs:
Base Timeframe: Chooses the primary timeframe for analysis.
Bar Count: Determines how many bars to display.
Border Thickness: Sets the visual thickness of box borders.
Colors: Configurable for bullish, bearish, background, and borders
Visual Elements:
Dynamic Boxes: Drawn using box.new(), these illustrate the range between high and low prices with the percentage change displayed inside.
Candlestick Plots: Rendered for each tracked timeframe using plotcandle(), colored according to bullish or bearish price action and styled based on timeframe scaling.
Regression Line: A linear regression line plotted over the selected timeframe’s close prices to capture trend direction.
Logic & Presentation:
Determines the right timeframe index based on user input (base).
Calculates percentage change from high to low and visualizes it with shaded boxes.
Automatically deletes older boxes to maintain clarity.
Customizes candle appearance based on timeframe granularity.