Smart FlexRange Breakout [The_lurker]The Smart FlexRange Breakout tool aims to identify trading opportunities based on price breakouts of dynamic levels (CALL, PUT) with a dotted centerline and the ability to select the applicable market. The tool relies on candlestick analysis over a specific time period (such as 3 hours). Candle data (searchHours) is collected to identify the most significant candle based on candlestick patterns and trading volume during the selected timeframe. Breakout levels and take-profit (TP) targets are then plotted, along with buy and sell signals, breakout notifications, and up/down trend lines based on Pivot Points.
The tool is run according to the selected timeframe.
Practical Use
1- Setup: Adjust the market, timeframe, number of hours, and time zone to suit the trader's needs.
2- Trading: Monitor signals (BUY/SELL) and TP levels to determine entry and exit points.
3- Trend Lines: Use them to understand the overall trend and confirm signals.
---
1. Objective: Identify trading opportunities based on price breakouts
- Trading opportunities: The indicator is designed to help traders identify moments when significant price movements are likely, allowing them to enter buy or sell trades based on market changes.
- Price breakouts: The indicator focuses on moments when prices break through key levels (resistance or support). A breakout occurs when the price exceeds a resistance level (up) or breaks a support level (down), indicating a potential continuation of the movement in the same direction.
- Dynamic: Resistance and support levels are not static; rather, they are calculated based on candlestick analysis over a specific period of time, making them adaptive to current market conditions.
---
2. Dynamic levels (resistance and support levels)
- Resistance levels: These represent prices that the price is difficult to break above, defined here as the high of the most significant candle during the specified period.
- Support levels: These represent prices below which the price is difficult to fall, defined as the low of the most significant candle.
- Dynamic: These levels are recalculated every new search period (searchHours), meaning they change based on the latest market data, unlike traditional static levels.
---
3. Adding a Dotted Center Line
- Center Line: A horizontal dotted line is drawn at the midpoint between the high and low of the most significant candle.
- Purpose:
- Provides a visual reference point for determining the current price position relative to support and resistance levels.
- Helps assess whether the price is moving toward a breakout (near resistance) or a breakout (near support).
- Dotted: The dotted pattern distinguishes it from the solid upper and lower lines, making it easier to distinguish visually.
---
4. Relying on candlestick analysis over a specific time period (searchHours)
- Candlestick Analysis: The indicator examines candlesticks to determine which ones have the most influence on price movement.
- Timeframe (searchHours):
- The user specifies the number of hours (1-6) for candle analysis, which determines the range of data the indicator relies on.
- Example: If searchHours = 3 and timeframe = 30 minutes, 6 candles are analyzed (3 hours รท 30 minutes).
- Flexibility: This period can be adjusted to suit different markets (such as volatile cryptocurrencies or more stable Forex).
---
5. Determining the Most Important Candle Based on Candle Patterns and Volume
- The most important candle: is the candle believed to have the greatest impact on price movement based on specific criteria.
- Candle Patterns:
- Candles are analyzed using a candlestick pattern library (such as Engulfing, Hammer, Doji).
- Reversal patterns (such as Morning Star, Shooting Star) are given a high importance score (100 points) because they indicate potential trend changes.
- Trading Volume:
- The trading volume of each candle is measured and compared to the maximum and minimum during the period.
- Volume is calculated as a percentage (0-100) and added to the pattern score to determine the most significant candle.
- Result: The candle with the highest score (patterns + volume) is used to determine support and resistance levels.
---
6. Timeframe
- Time interval: The user selects a time frame for the candles (15, 30, or 60 minutes).
- Importance:
- Determines the number of candles analyzed during the searchHours period.
- Affects the accuracy and speed of the signals (shorter timeframe = faster but less reliable signals; longer timeframe = slower but more reliable signals).
- Example: If the timeframe is 60 minutes and searchHours is 3, only 3 candles are analyzed.
---
7. Drawing Breakout Levels and Take Profit Targets (TP)
- Breakout Levels:
- Upper line (resistance): Drawn at the highest price of the most significant candle and is labeled "CALL".
- Lower line (support): Drawn at the lowest price of the most important candle and is called "PUT."
- These lines represent levels where a breakout is expected to lead to a strong price movement.
- Take Profit Targets (TP):
- Up to 8 bullish (above the upper line) and bearish (below the lower line) TP levels are calculated.
- They are calculated based on a percentage (tpPercentage) added or subtracted from the base lines.
- Example: If tpPercentage = 0.6% and the high price = 100, then bullish TP1 = 100.6, TP2 = 101.2, etc.
- Labels: Labels are drawn for each TP level indicating the value and level (TP1, TP2, etc.).
---
8. Buy and Sell Signals
- Buy (BUY) signal:
- Generated when the price breaks the upper line (ta.crossover).
- The "BUY" label is drawn with the redrawing of the TP levels.
- Sell signal (SELL):
- Generated when the price breaks the lower line (ta.crossunder).
- The "SELL" label is drawn with the redrawing of the TP levels.
- Purpose: To provide clear signals to the trader for making trade entry decisions.
=========================================================================
Thank you, n00btraders.
For using the import library: n00btraders/Timezone/1
For using the import library: The_lurker/AllCandlestickPatternsLibrary/1
========================================================================
Disclaimer:
The information and publications are not intended to be, nor do they constitute, financial, investment, trading, or other types of advice or recommendations provided or endorsed by TradingView.
ุชูุฏู ุฃุฏุงุฉ Smart FlexRange Breakout ุฅูู ุชุญุฏูุฏ ูุฑุต ุงูุชุฏุงูู ุจูุงุกู ุนูู ุงุฎุชุฑุงูุงุช ุงูุฃุณุนุงุฑ ููู
ุณุชููุงุช ุงูุฏููุงู
ูููุฉ (CALLุ PUT) ู
ุน ุฎุท ู
ุฑูุฒู ู
ููุทุ ู
ุน ุฅู
ูุงููุฉ ุงุฎุชูุงุฑ ุงูุณูู ุงูู
ูุงุณุจ. ุชุนุชู
ุฏ ุงูุฃุฏุงุฉ ุนูู ุชุญููู ุงูุดู
ูุน ุงููุงุจุงููุฉ ุนูู ู
ุฏู ูุชุฑุฉ ุฒู
ููุฉ ู
ุญุฏุฏุฉ (ู
ุซู 3 ุณุงุนุงุช). ุชูุฌู
ุน ุจูุงูุงุช ุงูุดู
ูุน (searchHours) ูุชุญุฏูุฏ ุฃูู
ุดู
ุนุฉ ุจูุงุกู ุนูู ุฃูู
ุงุท ุงูุดู
ูุน ูุญุฌู
ุงูุชุฏุงูู ุฎูุงู ุงูุฅุทุงุฑ ุงูุฒู
ูู ุงูู
ุญุฏุฏ. ุซู
ุชูุฑุณู
ู
ุณุชููุงุช ุงูุงุฎุชุฑุงู ูุฃูุฏุงู ุฌูู ุงูุฃุฑุจุงุญ (TP)ุ ุจุงูุฅุถุงูุฉ ุฅูู ุฅุดุงุฑุงุช ุงูุจูุน ูุงูุดุฑุงุกุ ูุฅุดุนุงุฑุงุช ุงูุงุฎุชุฑุงูุ ูุฎุทูุท ุงูุงุชุฌุงู ุงูุตุนูุฏู/ุงููุจูุทู ุจูุงุกู ุนูู ููุงุท ุงูู
ุญูุฑ.
ูุชู
ุชุดุบูู ุงูุงุฏุงู ุญุณุจ ุงููุงุตู ุงูู
ุฎุชุงุฑ timeframe
ุงูุงุณุชุฎุฏุงู
ุงูุนู
ูู
1- ุงูุฅุนุฏุงุฏ: ุงุถุจุท ุงูุณููุ ูุงูุฅุทุงุฑ ุงูุฒู
ููุ ูุนุฏุฏ ุงูุณุงุนุงุชุ ูุงูู
ูุทูุฉ ุงูุฒู
ููุฉ ูุชูุงุณุจ ุงุญุชูุงุฌุงุช ุงูู
ุชุฏุงูู.
2- ุงูุชุฏุงูู: ุฑุงูุจ ุฅุดุงุฑุงุช (ุงูุดุฑุงุก/ุงูุจูุน) ูู
ุณุชููุงุช ุฌูู ุงูุฃุฑุจุงุญ ูุชุญุฏูุฏ ููุงุท ุงูุฏุฎูู ูุงูุฎุฑูุฌ.
3- ุฎุทูุท ุงูุงุชุฌุงู: ุงุณุชุฎุฏู
ูุง ูููู
ุงูุงุชุฌุงู ุงูุนุงู
ูุชุฃููุฏ ุงูุฅุดุงุฑุงุช.
1. ุงููุฏู: ุชุญุฏูุฏ ูุฑุต ุงูุชุฏุงูู ุจูุงุกู ุนูู ุงุฎุชุฑุงูุงุช ุงูุฃุณุนุงุฑ
- ูุฑุต ุงูุชุฏุงูู: ุตูู
ู
ูุฐุง ุงูู
ุคุดุฑ ูู
ุณุงุนุฏุฉ ุงูู
ุชุฏุงูููู ุนูู ุชุญุฏูุฏ ุงููุญุธุงุช ุงูุชู ููุญุชู
ู ูููุง ุญุฏูุซ ุชุญุฑูุงุช ุณุนุฑูุฉ ูุจูุฑุฉุ ู
ู
ุง ูุณู
ุญ ููู
ุจุงูุฏุฎูู ูู ุตููุงุช ุดุฑุงุก ุฃู ุจูุน ุจูุงุกู ุนูู ุชุบูุฑุงุช ุงูุณูู.
- ุงุฎุชุฑุงูุงุช ุงูุฃุณุนุงุฑ: ููุฑูุฒ ุงูู
ุคุดุฑ ุนูู ุงููุญุธุงุช ุงูุชู ุชุฎุชุฑู ูููุง ุงูุฃุณุนุงุฑ ู
ุณุชููุงุช ุฑุฆูุณูุฉ (ู
ูุงูู
ุฉ ุฃู ุฏุนู
). ูุญุฏุซ ุงูุงุฎุชุฑุงู ุนูุฏู
ุง ูุชุฌุงูุฒ ุงูุณุนุฑ ู
ุณุชูู ู
ูุงูู
ุฉ (ุตุนูุฏูุง) ุฃู ูุฎุชุฑู ู
ุณุชูู ุฏุนู
(ูุจูุทูุง)ุ ู
ู
ุง ููุดูุฑ ุฅูู ุงุญุชู
ุงู ุงุณุชู
ุฑุงุฑ ุงูุญุฑูุฉ ูู ููุณ ุงูุงุชุฌุงู.
- ุฏููุงู
ููู: ู
ุณุชููุงุช ุงูู
ูุงูู
ุฉ ูุงูุฏุนู
ููุณุช ุซุงุจุชุฉุ ุจู ุชูุญุณุจ ุจูุงุกู ุนูู ุชุญููู ุงูุดู
ูุน ุงููุงุจุงููุฉ ุนูู ู
ุฏู ูุชุฑุฉ ุฒู
ููุฉ ู
ุญุฏุฏุฉุ ู
ู
ุง ูุฌุนููุง ู
ููููุฉ ู
ุน ุธุฑูู ุงูุณูู ุงูุญุงููุฉ.
2. ุงูู
ุณุชููุงุช ุงูุฏููุงู
ูููุฉ (ู
ุณุชููุงุช ุงูู
ูุงูู
ุฉ ูุงูุฏุนู
)
- ู
ุณุชููุงุช ุงูู
ูุงูู
ุฉ: ุชูู
ุซู ูุฐู ุงูุฃุณุนุงุฑ ุงูุชู ูุตุนุจ ุนูู ุงูุณุนุฑ ุชุฌุงูุฒูุงุ ูุชูุนุฑู ููุง ุจุฃููุง ุงุฑุชูุงุน ุงูุดู
ุนุฉ ุงูุฃูุซุฑ ุฃูู
ูุฉ ุฎูุงู ุงููุชุฑุฉ ุงูู
ุญุฏุฏุฉ.
- ู
ุณุชููุงุช ุงูุฏุนู
: ุชูู
ุซู ูุฐู ุงูุฃุณุนุงุฑ ุงูุชู ูุตุนุจ ุนูู ุงูุณุนุฑ ุงูุงูุฎูุงุถ ุฏูููุงุ ูุชูุนุฑู ุจุฃููุง ุฃุฏูู ู
ุณุชูู ููุดู
ุนุฉ ุงูุฃูุซุฑ ุฃูู
ูุฉ.
- ุฏููุงู
ููู: ุชูุนุงุฏ ุญุณุงุจ ูุฐู ุงูู
ุณุชููุงุช ู
ุน ูู ูุชุฑุฉ ุจุญุซ ุฌุฏูุฏุฉ (ุณุงุนุงุช ุงูุจุญุซ)ุ ู
ู
ุง ูุนูู ุฃููุง ุชุชุบูุฑ ุจูุงุกู ุนูู ุฃุญุฏุซ ุจูุงูุงุช ุงูุณููุ ุนูู ุนูุณ ุงูู
ุณุชููุงุช ุงูุซุงุจุชุฉ ุงูุชูููุฏูุฉ.
3. ุฅุถุงูุฉ ุฎุท ู
ุฑูุฒู ู
ููุท
- ุฎุท ุงูู
ุฑูุฒ: ููุฑุณู
ุฎุท ุฃููู ู
ููุท ุนูุฏ ููุทุฉ ุงูู
ูุชุตู ุจูู ุฃุนูู ูุฃุฏูู ุดู
ุนุฉ ุฐุงุช ุฃูู
ูุฉ.
- ุงูุบุฑุถ:
- ูููุฑ ููุทุฉ ู
ุฑุฌุนูุฉ ุจุตุฑูุฉ ูุชุญุฏูุฏ ูุถุน ุงูุณุนุฑ ุงูุญุงูู ุจุงููุณุจุฉ ูู
ุณุชููุงุช ุงูุฏุนู
ูุงูู
ูุงูู
ุฉ.
- ูุณุงุนุฏ ูู ุชูููู
ู
ุง ุฅุฐุง ูุงู ุงูุณุนุฑ ูุชุญุฑู ูุญู ุงุฎุชุฑุงู (ุจุงููุฑุจ ู
ู ุงูู
ูุงูู
ุฉ) ุฃู ุงุฎุชุฑุงู (ุจุงููุฑุจ ู
ู ุงูุฏุนู
).
- ู
ููุท: ููู
ูุฒู ุงููู
ุท ุงูู
ููุท ุนู ุงูุฎุทูุท ุงูุนูููุฉ ูุงูุณูููุฉ ุงูู
ุชุตูุฉุ ู
ู
ุง ููุณููู ุชู
ููุฒู ุจุตุฑููุง.
4. ุงูุงุนุชู
ุงุฏ ุนูู ุชุญููู ุงูุดู
ูุน ุงููุงุจุงููุฉ ุนูู ู
ุฏู ูุชุฑุฉ ุฒู
ููุฉ ู
ุญุฏุฏุฉ (ุณุงุนุงุช ุงูุจุญุซ)
- ุชุญููู ุงูุดู
ูุน ุงููุงุจุงููุฉ: ููุญุต ุงูู
ุคุดุฑ ุงูุดู
ูุน ุงููุงุจุงููุฉ ูุชุญุฏูุฏ ุฃููุง ุงูุฃูุซุฑ ุชุฃุซูุฑูุง ุนูู ุญุฑูุฉ ุงูุณุนุฑ.
- ุงูุฅุทุงุฑ ุงูุฒู
ูู (ุณุงุนุงุช ุงูุจุญุซ):
- ููุญุฏุฏ ุงูู
ุณุชุฎุฏู
ุนุฏุฏ ุงูุณุงุนุงุช (ู
ู 1 ุฅูู 6) ูุชุญููู ุงูุดู
ูุนุ ูุงูุฐู ููุญุฏุฏ ูุทุงู ุงูุจูุงูุงุช ุงูุชู ูุนุชู
ุฏ ุนูููุง ุงูู
ุคุดุฑ.
- ู
ุซุงู: ุฅุฐุง ูุงูุช ุณุงุนุงุช ุงูุจุญุซ = 3 ูุงูุฅุทุงุฑ ุงูุฒู
ูู = 30 ุฏูููุฉุ ูุณูุชู
ุชุญููู 6 ุดู
ูุน (3 ุณุงุนุงุช รท 30 ุฏูููุฉ).
- ุงูู
ุฑููุฉ: ููู
ูู ุชุนุฏูู ูุฐู ุงููุชุฑุฉ ูุชูุงุณุจ ุงูุฃุณูุงู ุงูู
ุฎุชููุฉ (ู
ุซู ุงูุนู
ูุงุช ุงูู
ุดูุฑุฉ ุงูู
ุชููุจุฉ ุฃู ุณูู ุงูููุฑูุณ ุงูุฃูุซุฑ ุงุณุชูุฑุงุฑูุง).
5. ุชุญุฏูุฏ ุงูุดู
ุนุฉ ุงูุฃูุซุฑ ุฃูู
ูุฉ ุจูุงุกู ุนูู ุฃูู
ุงุท ุงูุดู
ูุน ูุญุฌู
ุงูุชุฏุงูู
- ุงูุดู
ุนุฉ ุงูุฃูุซุฑ ุฃูู
ูุฉ: ูู ุงูุดู
ุนุฉ ุงูุชู ููุนุชูุฏ ุฃู ููุง ุงูุชุฃุซูุฑ ุงูุฃูุจุฑ ุนูู ุญุฑูุฉ ุงูุณุนุฑ ุจูุงุกู ุนูู ู
ุนุงููุฑ ู
ุญุฏุฏุฉ.
- ุฃูู
ุงุท ุงูุดู
ูุน:
- ูุชู
ุชุญููู ุงูุดู
ูุน ุจุงุณุชุฎุฏุงู
ู
ูุชุจุฉ ุฃูู
ุงุท ุงูุดู
ูุน (ู
ุซู ุดู
ุนุฉ ุงูุงุจุชูุงุนุ ูุดู
ุนุฉ ุงูู
ุทุฑูุฉุ ูุดู
ุนุฉ ุงูุฏูุฌู).
- ุชูู
ูุญ ุฃูู
ุงุท ุงูุงูุนูุงุณ (ู
ุซู ูุฌู
ุฉ ุงูุตุจุงุญุ ููุฌู
ุงูุดูุงุจ) ุฏุฑุฌุฉ ุฃูู
ูุฉ ุนุงููุฉ (100 ููุทุฉ) ูุฃููุง ุชูุดูุฑ ุฅูู ุชุบูุฑุงุช ู
ุญุชู
ูุฉ ูู ุงูุงุชุฌุงู.
- ุญุฌู
ุงูุชุฏุงูู:
- ูููุงุณ ุญุฌู
ุชุฏุงูู ูู ุดู
ุนุฉ ููููุงุฑู ุจุงูุญุฏ ุงูุฃูุตู ูุงูุฃุฏูู ุฎูุงู ุงููุชุฑุฉ.
- ููุญุณุจ ุงูุญุฌู
ููุณุจุฉ ู
ุฆููุฉ (0-100) ูููุถุงู ุฅูู ุฏุฑุฌุฉ ุงููู
ุท ูุชุญุฏูุฏ ุงูุดู
ุนุฉ ุงูุฃูุซุฑ ุฃูู
ูุฉ.
- ุงููุชูุฌุฉ: ุชูุณุชุฎุฏู
ุงูุดู
ุนุฉ ุฐุงุช ุฃุนูู ุฏุฑุฌุฉ (ุงูุฃูู
ุงุท + ุงูุญุฌู
) ูุชุญุฏูุฏ ู
ุณุชููุงุช ุงูุฏุนู
ูุงูู
ูุงูู
ุฉ.
ูฆ. ุงูุฅุทุงุฑ ุงูุฒู
ูู
- ุงููุงุตู ุงูุฒู
ูู: ูุฎุชุงุฑ ุงูู
ุณุชุฎุฏู
ุฅุทุงุฑูุง ุฒู
ูููุง ููุดู
ูุน (ูกูฅุ ูฃู ุ ุฃู ูฆู ุฏูููุฉ).
- ุงูุฃูู
ูุฉ:
- ูุญุฏุฏ ุนุฏุฏ ุงูุดู
ูุน ุงูู
ูุญููุฉ ุฎูุงู ูุชุฑุฉ ุณุงุนุงุช ุงูุจุญุซ.
- ูุคุซุฑ ุนูู ุฏูุฉ ูุณุฑุนุฉ ุงูุฅุดุงุฑุงุช (ุงูุฅุทุงุฑ ุงูุฒู
ูู ุงูุฃูุตุฑ = ุฅุดุงุฑุงุช ุฃุณุฑุน ูููู ุฃูู ู
ูุซูููุฉุ ุงูุฅุทุงุฑ ุงูุฒู
ูู ุงูุฃุทูู = ุฅุดุงุฑุงุช ุฃุจุทุฃ ูููู ุฃูุซุฑ ู
ูุซูููุฉ).
- ู
ุซุงู: ุฅุฐุง ูุงู ุงูุฅุทุงุฑ ุงูุฒู
ูู ูฆู ุฏูููุฉ ูุณุงุนุงุช ุงูุจุญุซ ูฃุ ูุณูุชู
ุชุญููู ูฃ ุดู
ูุน ููุท.
---
ูง. ุฑุณู
ู
ุณุชููุงุช ุงูุงุฎุชุฑุงู ูุฃูุฏุงู ุฌูู ุงูุฃุฑุจุงุญ (TP)
- ู
ุณุชููุงุช ุงูุงุฎุชุฑุงู:
- ุงูุฎุท ุงูุนููู (ุงูู
ูุงูู
ุฉ): ููุฑุณู
ุนูุฏ ุฃุนูู ุณุนุฑ ููุดู
ุนุฉ ุงูุฃูุซุฑ ุฃูู
ูุฉ ูููุณู
ู "CALL".
- ุงูุฎุท ุงูุณููู (ุงูุฏุนู
): ููุฑุณู
ุนูุฏ ุฃุฏูู ุณุนุฑ ููุดู
ุนุฉ ุงูุฃูุซุฑ ุฃูู
ูุฉ ูููุณู
ู "PUT".
- ุชู
ุซู ูุฐู ุงูุฎุทูุท ุงูู
ุณุชููุงุช ุงูุชู ููุชููุน ุฃู ูุคุฏู ูููุง ุงูุงุฎุชุฑุงู ุฅูู ุญุฑูุฉ ุณุนุฑูุฉ ูููุฉ.
- ุฃูุฏุงู ุฌูู ุงูุฃุฑุจุงุญ (TP):
- ูุชู
ุญุณุงุจ ู
ุง ูุตู ุฅูู 8 ู
ุณุชููุงุช ุฌูู ุฃุฑุจุงุญ ุตุนูุฏูุฉ (ููู ุงูุฎุท ุงูุนููู) ููุจูุทูุฉ (ุชุญุช ุงูุฎุท ุงูุณููู).
- ูุชู
ุญุณุงุจูุง ุจูุงุกู ุนูู ูุณุจุฉ ู
ุฆููุฉ (tpPercentage) ุชูุถุงู ุฃู ุชูุทุฑุญ ู
ู ุฎุทูุท ุงูุฃุณุงุณ.
- ู
ุซุงู: ุฅุฐุง ูุงูุช ูุณุจุฉ ุฌูู ุงูุฃุฑุจุงุญ = 0.6% ููุงู ุฃุนูู ุณุนุฑ = 100ุ ูุฅู ูุฏู ุงูุฑุจุญ ุงูุตุนูุฏู ุงูุฃูู = 100.6ุ ููุฏู ุงูุฑุจุญ ุงูุซุงูู = 101.2ุ ูููุฐุง.
- ุงูุนูุงู
ุงุช: ุชูุฑุณู
ุนูุงู
ุงุช ููู ู
ุณุชูู ุฌูู ุฃุฑุจุงุญ ุชุดูุฑ ุฅูู ุงูููู
ุฉ ูุงูู
ุณุชูู (TP1ุ TP2ุ ูููุฐุง).
---
8. ุฅุดุงุฑุงุช ุงูุดุฑุงุก ูุงูุจูุน
- ุฅุดุงุฑุฉ ุงูุดุฑุงุก (BUY):
- ุชููููุฏ ุนูุฏ ุงุฎุชุฑุงู ุงูุณุนุฑ ููุฎุท ุงูุนููู (ta.crossover).
- ุชูุฑุณู
ุนูุงู
ุฉ "ุงูุดุฑุงุก" ู
ุน ุฅุนุงุฏุฉ ุฑุณู
ู
ุณุชููุงุช ุฌูู ุงูุฃุฑุจุงุญ.
- ุฅุดุงุฑุฉ ุงูุจูุน (SELL):
- ุชููููุฏ ุนูุฏ ุงุฎุชุฑุงู ุงูุณุนุฑ ููุฎุท ุงูุณููู (ta.crossunder). - ููุฑุณู
ู
ุคุดุฑ "ุจูุน" ู
ุน ุฅุนุงุฏุฉ ุฑุณู
ู
ุณุชููุงุช ุฌูู ุงูุฃุฑุจุงุญ.
- ุงูุบุฑุถ: ุชูููุฑ ุฅุดุงุฑุงุช ูุงุถุญุฉ ููู
ุชุฏุงูู ูุงุชุฎุงุฐ ูุฑุงุฑุงุช ุฏุฎูู ุงูุตููุฉ.
==========================================================================
ุดูุฑูุง ููู
ุ ุฃููุง ุงูู
ุชุฏุงูููู ุงูุฌุฏุฏ.
ูุงุณุชุฎุฏุงู
ู
ูุชุจุฉ ุงูุงุณุชูุฑุงุฏ: n00btraders/Timezone/1
ูุงุณุชุฎุฏุงู
ู
ูุชุจุฉ ุงูุงุณุชูุฑุงุฏ: The_lurker/AllCandlestickPatternsLibrary/1
==============================================================================
ุฅุฎูุงุก ู
ุณุคูููุฉ:
ูุง ูููุตุฏ ุจูุฐู ุงูู
ุนููู
ุงุช ูุงูู
ูุดูุฑุงุช ุฃู ุชูููุ ููุง ุชูุดููุ ูุตุงุฆุญ ุฃู ุชูุตูุงุช ู
ุงููุฉ ุฃู ุงุณุชุซู
ุงุฑูุฉ ุฃู ุชุฌุงุฑูุฉ ุฃู ุฃู ููุน ุขุฎุฑ ู
ู ุงููุตุงุฆุญ ุฃู ุงูุชูุตูุงุช ุงูู
ููุฏู
ุฉ ู
ู TradingView ุฃู ุงูู
ูุนุชู
ุฏุฉ ู
ููุง.
Indicators and strategies
Bull vs Bear Volume on Price ChartThis script overlays estimated bullish and bearish volume directly on the price chart, making it easy to spot buying vs. selling pressure without switching to a separate volume pane.
๐ Features:
๐ Bullish volume markers appear as green triangles below the candle.
๐ Bearish volume markers appear as red triangles above the candle.
๐ Optional smoothing to reduce noise using simple moving average (SMA).
โ ๏ธ Volume spike highlights: Bullish spikes turn lime green, bearish spikes turn bright red.
๐ข Toggle labels to see estimated volume values above/below each candle.
๐ Works on all timeframes, from intraday to weekly/monthly charts.
๐ Methodology:
Bullish and bearish volume are estimated using the candle's range:
More bullish volume when the close is near the high.
More bearish volume when the close is near the low.
This is a visual proxy, not true order flow data.
Money Flow: In & Out Detector[THANHCONG]Indicator Name:
Money Flow: In & Out Detector
Indicator Description:
The Money Flow: In & Out Detector indicator uses technical indicators such as RSI (Relative Strength Index), MFI (Money Flow Index), and volume analysis to determine money inflow and outflow in the market.
This indicator helps traders identify changes in money flow, allowing them to detect buy and sell signals based on the combination of the following factors:
RSI > 50 and MFI > 50: Money inflow, indicating a buy signal.
RSI < 50 and MFI < 50: Money outflow, indicating a sell signal.
Volume increase/decrease relative to the average: Identifies strong market behavior changes.
Adjustable Parameters:
RSI Length: The number of periods to calculate the RSI (default is 14).
MFI Length: The number of periods to calculate the MFI (default is 14).
Volume MA Length: The number of periods to calculate the moving average of volume (default is 20).
Volume Increase/Decrease (%): The percentage threshold for volume change compared to the moving average (default is 20%).
Look Back Period: The number of periods used to identify peaks and troughs (default is 20).
How to Use the Indicator:
Money Inflow: When both RSI and MFI are above 50, and volume increases significantly relative to the moving average, the indicator shows a Buy signal.
Money Outflow: When both RSI and MFI are below 50, and volume decreases significantly relative to the moving average, the indicator shows a Sell signal.
Identifying Peaks and Troughs: The indicator also helps identify market peaks and troughs based on technical conditions.
Note:
This indicator assists in decision-making, but does not replace comprehensive market analysis.
Use this indicator in conjunction with other technical analysis methods to increase the accuracy of trade signals.
Steps for Publishing the Indicator on TradingView:
Log in to TradingView:
Go to TradingView and log into your account.
Access Pine Script Editor:
Click on Pine Editor from the menu under the chart.
Paste your Pine Scriptยฎ code into the editor window.
Check the Source Code:
Ensure your code is error-free and running correctly.
Review the entire source code and add the MPL-2.0 license notice if necessary.
Save and Publish:
After testing and confirming the code works correctly, click Add to Chart to try the indicator on your chart.
If satisfied with the result, click Publish Script at the top right of the Pine Editor.
Provide a name for the indicator and then enter the detailed description youโve prepared.
Ensure you specify the MPL-2.0 license in the description if required.
Choose the Access Type:
You can choose either Public or Private access for your indicator depending on your intention.
Submit for Publication:
Wait for TradingView to review and approve your indicator. Typically, this process takes a few working days for verification and approval.
User Guide:
You can share detailed instructions for users on how to use the indicator on TradingView, including how to adjust the parameters and interpret the signals. For example:
Set RSI Length: Experiment with different RSI Length values to find the sensitivity that suits your strategy.
Interpreting In/Out Signals: When there is strong money inflow (In), consider entering a buy order. When there is strong money outflow (Out), consider selling.
Bull vs Bear Volume (Enhanced)Bull vs Bear Volume (Enhanced) is a custom volume histogram that separates and visualizes estimated buying vs. selling volume within each candle. This allows traders to better understand market sentiment and detect imbalances in demand and supply.
๐ What It Does:
Plots bullish volume (green) above the x-axis and bearish volume (red) below.
Estimates bull/bear volume by analyzing the close location within the candle's range.
Highlights volume spikes with lime (bullish) or maroon (bearish) when volume exceeds a user-defined threshold.
Includes an optional total volume line for added context.
Supports smoothing via simple moving average (SMA) to reduce noise.
๐ ๏ธ Inputs:
Toggle smoothing and set its length.
Enable/disable threshold spike highlighting.
Show/hide the total volume overlay.
Adjust the threshold multiplier for spike detection.
โ ๏ธ Important:
This script uses a proxy method based on candle structure to estimate volume split โ it does not use real-time order flow or trade direction data.
Works best on liquid assets with consistent volume.
AP IFTCCIv2/IFTStoch/IFTRSI Multi-TimeframeMulti-Timeframe IFT-CCI/Stoch/RSI Composite
This enhanced indicator combines three powerful oscillatorsโInverse Fisher Transform (IFT) versions of the Commodity Channel Index (CCI), Stochastic, and Relative Strength Index (RSI)โinto a unified multi-timeframe analysis tool. Originally developed by John Ehlers (pioneer of cyclical analysis and signal processing in trading systems) and adapted by KIVANC (@fr3762), this version adds dual-timeframe capability to compare indicator values across different chart resolutions.
Key Features:
Triple Oscillator Composite
IFT-CCI: Smoothed CCI values transformed via Ehlers' Inverse Fisher Transform (blue-gold)
IFT-Stochastic: Classic stochastic oscillator processed through IFT (blue)
IFT-RSI: RSI oscillator converted to IFT format (magenta)
Composite Average Line: Combined average of all three indicators (green)
Multi-Timeframe Analysis
Compare primary and secondary timeframes (e.g., 1H vs. 4H, daily vs. weekly)
Primary timeframe plots use solid lines with 80% opacity
Secondary timeframe (optional) uses dashed/circle markers with 40% opacity
Key Levels
Overbought (+0.75) and oversold (-0.75) reference lines
Zero-centerline for momentum direction bias
Applications:
Trend Confirmation: Align higher timeframe signals with lower timeframe entries
Divergence Detection: Spot inter-timeframe discrepancies in momentum
Regime Filter: Use higher timeframe composite values to filter trades
Technical Basis:
Inverse Fisher Transform: Compresses oscillator values into bounded (-1 to +1) range while emphasizing extreme moves
Dual WMA Smoothing: Combines initial calculation smoothing (WMA1) with final output smoothing (WMA2)
Exponential Scaling: (e^2x - 1)/(e^2x + 1) formula converts Gaussian-like distributions to bounded outputs
Credits:
Original Concept: John Ehlers (IFT methodology, cyclical analysis foundations)
Initial Implementation: KIVANC (@fr3762 on Twitter) for the base IFT-CCI/Stoch/RSI script
Multi-Timeframe Adaptation: for cross-resolution analysis capabilities
This tool is particularly effective for traders seeking to align multiple timeframes while using Ehlers' noise-reduction techniques. The composite average line provides a consensus view, while the individual oscillators help identify component strength/weakness.
SBC ProtfoSBC Portfo PNL Indicator
Description
The SBC Portfo PNL Indicator is a user-friendly tool designed for Hebrew-speaking traders to track the Profit and Loss (PNL) of their stock portfolios on TradingView charts. It supports up to 5 distinct portfolios, each capable of holding an unlimited number of stocks with unlimited buy commands, allowing real-time monitoring of portfolio performance.
Key Features
- Multi-Portfolio Support: Track up to 5 separate portfolios for different trading strategies or accounts.
- Unlimited Stock Entries: Add unlimited stocks and buy commands per portfolio.
- Detailed Buy Commands: Input for each stock:
- Stock Ticker (e.g., AAPL, TSLA).
- Buy Price (e.g., 150.25).
- Buy Amount (e.g., 10).
- Hebrew-Friendly Interface: Intuitive settings dialog with clear instructions in Hebrew.
- Customizable PNL Tracking: Visualize PNL on charts with real-time updates based on market data.
How to Use
1. Add the Indicator:
- Go to the Indicators menu in TradingView and add the "SBC Portfo" PNL Indicator.
2. Configure Portfolios:
- Open the indicatorโs settings dialog.
- For each portfolio (up to 5), enter data in the provided input fields using this format:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
Example:
Portfolio1:AAPL:150.25x10;TSLA:266.72x5
- This represents a portfolio named "Portfolio1" with:
- 10 shares of AAPL bought at $150.25.
- 5 shares of TSLA bought at $266.72.
- Repeat for additional portfolios (e.g., Portfolio2, Portfolio3).
- Add multiple buy commands for the same stock if needed (e.g., AAPL:160.50x20).
3. Apply Settings:
- Save settings to display PNL based on current market prices.
4. Monitor PNL:
- View PNL for each portfolio on the chart via tables, labels, or graphical overlays (based on settings).
Input Format
Enter portfolio data manually in the settings dialog, one input field per portfolio:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
- PortfolioName: Unique name (e.g., Portfolio1, Growth).
- StockTicker: Stock symbol (e.g., AAPL).
- BuyPrice: Purchase price per share (e.g., 150.25).
- BuyAmount: Number of shares (e.g., 10).
- Use
: to separate portfolio name, ticker, and buy data
x to separate price and amount
; for multiple stocks in the portfolio
Example:
- Portfolio 1: GrowthPortfolio:AAPL:150.25x10;TSLA:266.72x5
- Portfolio 2: DividendPortfolio:KO:55.20x50;PG:145.30x30
Notes
- Hebrew Support: Settings and labels are optimized for Hebrew users.
- Manual Input: Enter portfolio data manually in the settings dialog using the correct format.
- Compatibility: Works with any stock ticker supported by TradingView.
ืชืืืืจ ืืื ืืืงืืืจ SBC Portfo PNL ืืื ืืื ืืืืืืชื ืืืฉืชืืฉ ืฉืชืืื ื ืืืืืื ืขืืืจ ืกืืืจืื ืืืืจื ืขืืจืืช ืืืขืงื ืืืจ ืจืืื ืืืคืกื (PNL) ืฉื ืชืืงื ืืื ืืืช ืฉืืื ืืฉืืจืืช ืืืจืคืื ืฉื TradingView. ืืื ืชืืื ืืขื 5 ืชืืงืื ื ืคืจืืื, ืืืฉืจ ืื ืชืืง ืืืื ืืืืื ืืกืคืจ ืืืชื ืืืืื ืฉื ืื ืืืช ืขื ืคืงืืืืช ืงื ืืื ืืืชื ืืืืืืืช, ืืืืคืฉืจ ืืขืงื ืืืื ืืืช ืืืจ ืืืฆืืขื ืืชืืง.
ืชืืื ืืช ืขืืงืจืืืช
- ืชืืืื ืืจืืืื ืชืืงืื: ืืขืงื ืืืจ ืขื 5 ืชืืงืื ื ืคืจืืื ืขืืืจ ืืกืืจืืืืืช ืืกืืจ ืื ืืฉืืื ืืช ืฉืื ืื.
- ืจืืฉืื ืื ืืืช ืืื ืืืืื: ืืืกืคืช ืืกืคืจ ืืืชื ืืืืื ืฉื ืื ืืืช ืืคืงืืืืช ืงื ืืื ืืื ืชืืง.
- ืคืงืืืืช ืงื ืืื ืืคืืจืืืช: ืืื ืช ื ืชืื ืื ืขืืืจ ืื ืื ืื:
- ืกืืืื ืืื ืื (ืืืฉื, AAPL, TSLA).
- ืืืืจ ืงื ืืื (ืืืฉื, 150.25).
- ืืืืช ืงื ืืื (ืืืฉื, 10).
- ืืืฉืง ืืืืืืชื ืืขืืจืืช: ืืืื ืืช ืืืืจืืช ืืื ืืืืืืืืืช ืขื ืืืจืืืช ืืจืืจืืช ืืขืืจืืช.
- ืืขืงื PNL ืื ืืชื ืืืชืืื: ืืฆืืช ืจืืื ืืืคืกื ืืืจืคืื ืขื ืขืืืื ืื ืืืื ืืืช ืืืชืืกืก ืขื ื ืชืื ื ืืฉืืง.
ืืืฆื ืืืฉืชืืฉ
1. ืืืกืคืช ืืืื ืืืงืืืจ:
- ื ืืื ืืชืคืจืื ืืืื ืืืงืืืจืื ื-TradingView ืืืืกืฃ ืืช "SBC Portfo PNL Indicator".
2. ืืืืจืช ืชืืงืื:
- ืคืชื ืืช ืืืื ืืช ืืืืืจืืช ืฉื ืืืื ืืืงืืืจ.
- ืขืืืจ ืื ืชืืง (ืขื 5), ืืื ื ืชืื ืื ืืฉืืืช ืืืกืืคืงืื ืืคืืจืื ืืื:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
ืืืืืื:
Portfolio1:AAPL:150.25x10;TSLA:266.72x5
ืฉืืจื ืื ืืืืฆืืช ืชืืง ืืฉื "Portfolio1" ืขื:
- 10 ืื ืืืช ืฉื AAPL ืฉื ืงื ื ื-$150.25.
- 5 ืื ืืืช ืฉื TSLA ืฉื ืงื ื ื-$266.72.
- ืืืืจ ืขื ืืชืืืื ืขืืืจ ืชืืงืื ื ืืกืคืื (ืืืฉื, Portfolio2, Portfolio3).
- ื ืืชื ืืืืกืืฃ ืคืงืืืืช ืงื ืืื ืืจืืืืช ืืืืชื ืื ืื ืืคื ืืฆืืจื (ืืืฉื, AAPL:160.50x20).
3. ืืืืช ืืืืืจืืช:
- ืฉืืืจ ืืช ืืืืืจืืช ืืืฆืืช ื-PNL ืืืชืืกืก ืขื ืืืืจื ืืฉืืง ืื ืืืืืื.
4. ืืขืงื ืืืจ PNL:
- ืฆืคื ื-PNL ืขืืืจ ืื ืชืืง ืืืจืฃ ืืืืฆืขืืช ืืืืืืช, ืชืืืืืช ืื ืฉืืืืช ืืจืคืืืช (ืืืชืื ืืืืืจืืช).
ืคืืจืื ืงืื ืืื ื ืชืื ื ืชืืง ืืื ืืช ืืืืื ืืช ืืืืืจืืช, ืฉืื ืงืื ืืื ืืื ืชืืง: PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
PortfolioName: ืฉื ืืืืืื (ืืืฉื, Portfolio1, Growth).
StockTicker: ืกืืืื ืืื ืื (ืืืฉื, AAPL).
BuyPrice: ืืืืจ ืจืืืฉื ืืื ืื (ืืืฉื, 150.25).
BuyAmount: ืืกืคืจ ืืื ืืืช (ืืืฉื, 10).
ืืฉืชืืฉ ื-
: ืืืคืจืื ืืื ืฉื ืืชืืง, ืกืืืื ืื ืชืื ื ืงื ืืื
x ืืืคืจืื ืืื ืืืืจ ืืืืืช
; ืืืคืจืื ืืื ืื ืืืช ืืจืืืืช
ืืืืื:
- ืชืืง 1: GrowthPortfolio:AAPL:150.25x10;TSLA:266.72x5
- ืชืืง 2: DividendPortfolio:KO:55.20x50;PG:145.30x30
Release Notes
Version 1.1 includes:
- Calculations for extended hours (Pre-Market & After-Hours).
- Option to display portfolio summary data for stocks not in the portfolio (enable via settings checkbox).
- Table background for better visibility; click to bring table to the front.
- Updated text strings (names, titles, tooltips).
ืืขืจืืช
ืชืืืื ืืขืืจืืช: ืืืืืจืืช ืืืชืืืืืช ืืืชืืืืช ืืืฉืชืืฉืื ืืืืจื ืขืืจืืช.
ืืื ื ืืื ืืช: ืืื ื ืชืื ื ืชืืง ืืื ืืช ืืืืื ืืช ืืืืืจืืช ืชืื ืฉืืืืฉ ืืคืืจืื ืื ืืื.
ืชืืืืืช: ืขืืื ืขื ืื ืกืืืื ืื ืื ืื ืชืื ืขื ืืื TradingView.
ืืจืกื 1.1 ืืืืื:
1. ืืืฉืืืื ืืืืืื ืฉืขืืช ืืกืืจ ืืืจืืืืช (Pre-Market ื-After-Hours).
2. ืืคืฉืจืืช ืืืฆืื ื ืชืื ื ืชืืง ืืืืืื ืขืืืจ ืื ืืืช ืฉืืื ื ืืชืืง (ืืคืขื ืืืืฆืขืืช ืชืืืช ืกืืืื ืืืืืจืืช).
3. ืฆืืข ืจืงืข ืืืืื ืืฉืืคืืจ ืื ืจืืืช; ืืืืฆื ืขื ืืืืื ืืืืื ืืืชื ืืืืืช.
4. ืชืืงืื ื ืืกืืื (ืฉืืืช, ืืืชืจืืช, ืืืืืืืคืื).
Rocky's Dynamic DikFat Supply & Demand ZonesDynamic Supply & Demand Zones
Overview
The Dynamic Supply & Demand Zones indicator identifies key supply and demand levels on your chart by detecting pivot highs and lows. It draws customizable boxes around these zones, helping traders visualize areas where price may react. With flexible display options and dynamic box behavior, this tool is designed to assist in identifying potential support and resistance levels for various trading strategies.
Key Features
Pivot-Based Zones: Automatically detects supply (resistance) and demand (support) zones using pivot highs and lows on the chartโs timeframe.
Dynamic Box Sizing: Boxes shrink when price enters them, reflecting reduced zone strength, and stop adjusting once price fully crosses through.
Customizable Display: Choose to show current-day boxes, historical boxes, or all boxes, with an option to update past box colors dynamically.
Session-Based Extension: Boxes can extend to the current bar or stop at 4:00 PM of the creation dayโs 9:30 AMโ4:00 PM trading session (ideal for stock markets).
Color Coding: Borders change color based on price position:
Green for demand zones (price above the box).
Red for supply zones (price below the box).
White for neutral zones (price inside the box).
User-Friendly Inputs: Adjust pivot lookback periods, box visibility, extension behavior, and colors via intuitive input settings.
How It Works
Zone Detection: The indicator uses pivot highs and lows to define supply and demand zones, plotting boxes between these levels.
Box Behavior:
Boxes are created when pivot highs and lows are confirmed, with no overlap with the previous box.
When price enters a box, it shrinks to reflect interaction, stopping once price exits completely.
Boxes can extend to the current bar or end at 4:00 PM of the creation day (or next trading day if created after 4:00 PM or on weekends).
Display Options:
Current Only: Shows boxes created on the current day.
Historical Only: Shows boxes from previous days, with optional color updates.
All Boxes: Shows all boxes, with an option to hide historical box color updates.
Performance: Limits the number of boxes to 200 to ensure smooth performance, removing older boxes as needed.
Inputs
Pivot Look Right/Left: Set the number of bars (default: 2) to confirm pivot highs and lows.
What Boxes to Show: Select Current Only, Historical Only, or All Boxes (default: Current Only).
Boxes On/Off: Toggle box visibility (default: on).
Extend Boxes to Current Bar: Choose whether boxes extend to the current bar or stop at 4:00 PM (default: off, stops at 4:00 PM).
Update Past Box Colors: Enable/disable color updates for historical boxes (default: on).
Demand/Supply/Neutral Box Color: Customize border colors (default: green, red, white).
How to Use
Add the indicator to your chart.
Adjust inputs to match your trading style (e.g., pivot lookback, box extension, colors).
Use the boxes to identify potential support (demand) and resistance (supply) zones:
Green-bordered boxes (price above) may act as support.
Red-bordered boxes (price below) may act as resistance.
White-bordered boxes (price inside) indicate active price interaction.
Combine with other analysis tools (e.g., trendlines, indicators) to confirm trade setups.
Monitor box shrinking to gauge zone strength and watch for breakouts when price fully crosses a box.
Understanding Supply and Demand in Stock Trading
In stock trading, supply and demand are fundamental forces driving price movements. Demand refers to the willingness of buyers to purchase a stock at a given price, often creating support levels where buying interest prevents further price declines. Supply represents the willingness of sellers to offload a stock, forming resistance levels where selling pressure halts price increases. These zones are critical because they highlight areas where significant buying or selling activity has occurred, influencing future price behavior.
The importance of supply and demand lies in their ability to reveal where institutional traders, with large orders, have entered or exited the market. Demand zones, often seen at pivot lows, indicate strong buying interest and potential areas for price reversals or bounces. Supply zones, typically at pivot highs, signal heavy selling and possible reversal points for downward moves. By identifying these zones, traders can anticipate where price is likely to stall, reverse, or break out, enabling better entry and exit decisions. This indicator visualizes these zones as dynamic boxes, making it easier to spot high-probability trading opportunities while emphasizing the core market dynamics of supply and demand.
Feedback
This indicator is designed to help traders visualize supply and demand zones effectively. If you have suggestions for improvements, please share your feedback in the comments!
CorrelationMulti-Timeframe Correlation Indicator
This Pine Script indicator measures the correlation between the current symbol and a reference symbol (default: GLD) across three different timeframes. It provides traders with valuable insights into how assets move in relation to each other over short, medium, and long-term periods.
Key Features
Multiple Timeframe Analysis: Calculates correlation coefficients over three customizable periods (default: 20, 50, and 200 bars)
Visual Reference Lines: Displays horizontal lines at +1, 0, and -1 to indicate perfect positive correlation, no correlation, and perfect negative correlation
Color-Coded Outputs: Shows short-term correlation in green, medium-term in yellow, and long-term in red for easy visual interpretation
Understanding Correlation
The correlation coefficient measures the statistical relationship between two data series, ranging from -1 to +1:
+1: Perfect positive correlation (both assets move together in the same direction)
0: No correlation (movements are random and independent)
-1: Perfect negative correlation (assets move in opposite directions)
How To Use This Indicator
Market Relationships: Identify how strongly your current asset correlates with the reference symbol
Diversification Analysis: Find assets with negative correlations to build a diversified portfolio
Divergence Opportunities: Watch for changes in correlation patterns that might signal trading opportunities
Trend Confirmation: Use correlation with benchmark assets to confirm broader market trends
Customization Options
Reference Symbol: Change the default GLD to any other symbol you want to compare against
Period Lengths: Adjust the short, medium, and long timeframes to match your trading strategy and timeframe
This indicator helps traders make more informed decisions by understanding the interrelationships between different assets across various timeframes, potentially improving portfolio construction and risk management strategies.
VWAP Double Touch Alert (Timeframe-Aware)๐ VWAP Double Touch Alert โ Smart Re-entry Signal for Precision Traders
Take your VWAP trading to the next level with this intelligent indicator that filters out the noise and zeroes in on high-probability re-entry setups.
๐ก How it works:
This script tracks every time price touches the VWAP line and alerts you when it happens twice within a defined window of time (adjustable per your timeframe). This is often a sign of smart money accumulation, potential reversals, or explosive breakouts.
๐ Why Traders Love It:
โ
Filters out weak signals โ only alerts on confirmed double touches
โ
Fully adjustable VWAP zone sensitivity
โ
Selectable timeframe profiles or custom window (1m, 5m, 15m, 30m, etc.)
โ
Clean visual cues with minimal chart clutter
โ
Perfect for scalping, intraday reversals, or VWAP mean-reversion strategies
โ๏ธ Customization:
VWAP zone width (in %)
Time window in bars or automatic based on timeframe
Custom alert messages
Alert only triggers once per double-touch event to avoid spamming
๐ฏ Best For:
Crypto scalpers & day traders
VWAP bounce and mean-reversion traders
Traders who want clean, conclusive entry alerts without lag
Stochastic RSI with MTF TableShort Description of the Script
The provided Pine Script indicator, titled "Stochastic RSI with MTF Table," calculates and displays the Stochastic RSI for the current timeframe and multiple other timeframes (5m, 15m, 30m, 60m, 240m, and daily). The Stochastic RSI is a momentum indicator that blends the Relative Strength Index (RSI) and Stochastic Oscillator to identify overbought and oversold conditions, as well as potential trend reversals via K and D line crossovers.
Key features of the script include:
Inputs: Customizable parameters such as K smoothing (default 3), D smoothing (default 3), RSI length (default 14), Stochastic length (default 14), source price (default close), and overbought/oversold levels (default 80/20).
MTF Table: A table displays the Stochastic RSI status for each timeframe:
"OB" (overbought) if K > 80, "OS" (oversold) if K < 20, or "N" (neutral) otherwise.
Crossovers: "KโD" for bullish (K crosses above D) and "KโD" for bearish (K crosses below D).
Visualization: Plots the K and D lines for the current timeframe, with horizontal lines at 80 (overbought), 50 (middle), and 20 (oversold), plus a background fill for clarity.
Table Position: Configurable to appear in one of four chart corners (default: top-right).
This indicator helps traders assess momentum across multiple timeframes simultaneously, aiding in the identification of trend strength and potential entry/exit points.
Trading Strategy with 50EMA and 200EMA for Highest Winning Rate
To create a strategy with the best probability of a high winning rate using the Stochastic RSI MTF indicator alongside the 50-period Exponential Moving Average (50EMA) and 200-period Exponential Moving Average (200EMA), we can combine trend identification with momentum-based entry timing. The 50EMA and 200EMA are widely used to determine medium- and long-term trends, while the Stochastic RSI MTF table provides multi-timeframe momentum signals. Hereโs the strategy:
1. Determine the Overall Trend
Bullish Trend: The 50EMA is above the 200EMA on the current timeframe (e.g., daily or 60m chart). This suggests an uptrend, often associated with a "Golden Cross."
Bearish Trend: The 50EMA is below the 200EMA on the current timeframe. This indicates a downtrend, often linked to a "Death Cross."
Implementation: Plot the 50EMA and 200EMA on your chart and visually confirm their relative positions.
2. Identify Entry Signals Using the Stochastic RSI MTF Table
In a Bullish Trend (50EMA > 200EMA):
Look for timeframes in the MTF table showing:
Oversold (OS): K < 20, indicating a potential pullback in the uptrend where price may rebound.
Bullish Crossover (KโD): K crosses above D, signaling rising momentum and a potential entry point.
Example: If the 60m and 240m timeframes show "OS" or "KโD," this could be a buy signal.
In a Bearish Trend (50EMA < 200EMA):
Look for timeframes in the MTF table showing:
Overbought (OB): K > 80, suggesting a rally in the downtrend where price may reverse downward.
Bearish Crossover (KโD): K crosses below D, indicating declining momentum and a potential short entry.
Example: If the 30m and daily timeframes show "OB" or "KโD," this could be a sell/short signal.
Current Timeframe Check: Use the plotted K and D lines on your trading timeframe for precise entry timing (e.g., confirm a KโD crossover on a 60m chart for a long trade).
3. Confirm Signals Across Multiple Timeframes
Strengthen the Signal: A higher winning rate is more likely when multiple timeframes align with the trend and signal. For instance:
Bullish trend + "OS" or "KโD" on 60m, 240m, and daily = strong buy signal.
Bearish trend + "OB" or "KโD" on 15m, 60m, and 240m = strong sell signal.
Prioritize Higher Timeframes: Signals from the 240m or daily timeframe carry more weight due to their indication of broader trends, increasing reliability.
4. Set Stop-Loss and Take-Profit Levels
Long Trades (Bullish):
Stop-Loss: Place below the most recent swing low or below the 50EMA, whichever is closer, to protect against trend reversals.
Take-Profit: Target a key resistance level or use a risk-reward ratio (e.g., 2:1 or 3:1) based on the stop-loss distance.
Short Trades (Bearish):
Stop-Loss: Place above the most recent swing high or above the 50EMA, whichever is closer.
Take-Profit: Target a key support level or apply a similar risk-reward ratio.
Trailing Stop Option: As the trend progresses, trail the stop below the 50EMA (for longs) or above it (for shorts) to lock in profits.
5. Risk Management
Position Sizing: Risk no more than 1-2% of your trading capital per trade to minimize losses from false signals.
Volatility Consideration: Adjust stop-loss distances and position sizes based on the assetโs volatility (e.g., wider stops for volatile stocks or crypto).
Avoid Overtrading: Wait for clear alignment between the EMA trend and MTF signals to avoid low-probability setups.
Example Scenario
Chart: 60-minute timeframe.
Trend: 50EMA > 200EMA (bullish).
MTF Table: 60m shows "OS," 240m shows "KโD," and daily is "N."
Action: Enter a long position when the 60m K line crosses above D, confirming the table signal.
Stop-Loss: Below the recent 60m swing low (e.g., 2% below entry).
Take-Profit: At the next resistance level or a 3:1 reward-to-risk ratio.
Outcome: High probability of success due to trend alignment and multi-timeframe confirmation.
Why This Strategy Works
Trend Following: Trading in the direction of the 50EMA/200EMA trend reduces the risk of fighting the marketโs momentum.
Momentum Timing: The Stochastic RSI MTF table pinpoints pullbacks or reversals within the trend, improving entry timing.
Multi-Timeframe Confirmation: Alignment across timeframes filters out noise, increasing the win rate.
Risk Control: Defined stop-loss and position sizing protect against inevitable losses.
Caveats
No strategy guarantees a 100% win rate; false signals can occur, especially in choppy markets.
Test this strategy on historical data or a demo account to verify its effectiveness for your asset and timeframe.
This approach leverages the strengths of both trend-following (EMA) and momentum (Stochastic RSI) tools, aiming for a high-probability, disciplined trading system.
BB Vicinity Reversal SignalsThis indicator detects potential intraday reversal opportunities based on price action near the outer edges of Bollinger Bands (ยฑ2.7 std dev). Unlike traditional Bollinger Band signals that require strict band touches or crossings, this tool identifies reversals that occur in the vicinity of the outer bands, increasing signal frequency while maintaining logical precision.
โ
Key Features:
Buy Signal: Triggered when a bullish candle with a strong body forms near the lower Bollinger Band.
Sell Signal: Triggered when a bearish candle with a strong body forms near the upper Bollinger Band.
Vicinity logic: User-adjustable % range from the outer bands (default: 20%) to define how close price must be.
Body-to-candle ratio filter: Ensures that only meaningful directional candles trigger signals.
No repainting: All signals are generated in real-time based on confirmed candle closes.
Built-in alerts: Receive instant notifications for buy and sell setups.
This tool is ideal for traders looking to capture high-probability mean-reversion trades without being overly restrictive. It works well on intraday timeframes like 5m, 15m, and 1h.
TLC sessionA Professional Intraday Session Tracker with VWAP and Economic Event Integration
Description
This indicator provides visual tracking of major trading sessions (Asian, London, New York) combined with VWAP calculations and macroeconomic event zones. It's designed for intraday traders who need to monitor session overlaps, liquidity periods, and high-impact news events.
The basic script of trading sessions was taken as a basis and refined for greater convenience.
Key Features:
Customizable Session Tracking: Visualize up to 3 trading sessions with adjustable time zones (supports IANA & GMT formats)
Dynamic VWAP Integration: Built-in Volume-Weighted Average Price calculation
Macro Event Zones: Highlights key economic announcement windows (adjustable for summer/winter time)
Price Action Visualization: Displays open/close prices, session ranges, and average price levels
Automatic DST Adjustment: Uses IANA timezone database for daylight savings awareness
How It Works
1. Trading Session Detection
Three fully configurable sessions (e.g., Asia, London, New York)
Each session displays:
Colored background zone
Opening price (dashed line)
Closing price (dashed line)
Average price (dotted line)
Optional label with session name
2. VWAP Calculation
Standard Volume-Weighted Average Price plotted as circled line
Helps identify fair value within each session
3. Macro Event Zones
Special highlighted period for economic news releases
Automatically adjusts for summer/winter time
Default set to 1000-1200 (summer) or 0900-1100 (winter) GMT-5 (US session open)
Why This Indicator is Unique
Multi-Session Awareness
Unlike simple session indicators, this tool:
Tracks price development within each session
Shows session overlaps (critical for volatility periods)
Maintains separate VWAP calculations across sessions
Professional-Grade Features
IANA timezone support (automatic DST handling)
Customizable visual elements (toggle labels, ranges, averages)
Object-based architecture (clean, efficient rendering)
News event integration (helps avoid trading during high-impact releases)
Usage Recommendations
Best Timeframes
1-minute to 1-hour charts (intraday focus)
Not recommended for daily+ timeframes
Trading Applications
1. Session Breakout Strategy: Trade breakouts when London/New York sessions open
2. VWAP Reversion: Fade moves that deviate too far from VWAP
3. News Avoidance: Reduce position sizing during macro event windows
Visual Example
Asian session (red)
London session (blue)
New York session (purple)
Macro event zone (white)
VWAP line (gold circles)
The basic script of trading sessions was taken as a basis and refined for greater convenience.
Apex Edge - MTF Confluence PanelApex Edge โ MTF Confluence Panel
Description:
The Apex Edge โ MTF Confluence Panel is a powerful multi-timeframe analysis tool built to streamline trade decision-making by aggregating key confluences across three user-defined timeframes. The panel visually presents the state of five core market signalsโTrend, Momentum, Sweep, Structure, and Trapโalongside a unified Score column that summarizes directional bias with clarity.
Traders can customize the number of bullish/bearish conditions required to trigger a score signal, allowing the tool to be tailored for both conservative and aggressive trading styles. This script is designed for those who value a clean, structured, and objective approach to identifying market alignmentโwhether scalping or swing trading.
How it Works:
Across each of the three selected timeframes, the panel evaluates:
Trend: Based on a user-configurable Hull Moving Average (HMA), the script compares price relative to trend to determine bullish, bearish, or neutral bias.
Momentum: Uses OBV (On-Balance Volume) with volume spike detection to identify bursts of strong buying or selling pressure.
Sweep: Detects potential liquidity grabs by identifying price rejections beyond prior swing highs/lows. A break below a previous low with reversal signals bullish intent (and vice versa for bearish).
Structure: Uses dynamic pivot-based logic to identify market structure breaks (BOS) beyond recent confirmed swing levels.
Trap: Flags potential false moves by measuring RSI overbought/oversold signal clusters combined with minimal price movementโhighlighting exhaustion or deceptive breaks.
Score: A weighted consensus of the above components. The number of required confluences to trigger a score (default: 3) can be set by the user via input, offering flexibility in signal sensitivity.
Why Itโs Useful for Traders:
Quick Decision-Making: The color-coded panel provides instant visual feedback on whether confluences align across timeframesโideal for fast-paced environments like scalping or high-volatility news sessions.
Multi-Timeframe Confidence: Helps eliminate guesswork by confirming whether higher and lower timeframe conditions support your trade idea.
Customizability: Adjustable confluence threshold means traders can fine-tune how sensitive the system isโmore signals for faster entries, stricter confluence for higher conviction trades.
Built-In Alerts: Automated alerts for score alignment, trap detection, and liquidity sweeps allow traders to stay informed even when away from the screen.
Strategic Edge: Supports directional bias confirmation and trade filtering with logic designed to mimic professional decision-making workflows.
Features:
Clean, real-time confluence table across three user-selected timeframes
Configurable score sensitivity via โMinimum Confluences for Scoreโ input
Cell-based colour coding for at-a-glance trade direction
Built-in alerts for score alignment, traps, and sweep triggers
Note - This Indicator works great in sync with Apex Edge - Session Sweep Pro
Useful levels for TP = previous session high/low boxes or fib levels.
โ ๏ธ Disclaimer:
This script is for informational and educational purposes only and should not be considered financial advice. Always perform your own due diligence and practice proper risk management when trading.
Bollinger Volatility AnalyzerThe Bollinger Volatility Analyzer (BVA) is a powerful enhancement of the traditional Bollinger Bands indicator, tailored to help traders identify volatility cycles and catch potential breakouts with better precision and timing. It builds upon the foundational concept of Bollinger Bandsโusing a moving average and standard deviation bandsโbut adds crucial insights into market contraction and expansion, which can be instrumental in timing entries and exits.
Here's how it works and why it's useful
At its core, the indicator calculates a moving average (called the "basis") and plots two bandsโone above and one belowโbased on a multiple of standard deviation. These bands expand during volatile periods and contract during quiet ones. The width between these bands, normalized as a percentage of the basis, gives us a sense of how compressed or expanded the market currently is. When the band width drops below a user-defined threshold (like 2%), the script highlights this with an orange triangle below the bar. This is the "squeeze" condition, signaling a potential buildup of market energyโa kind of calm before the storm.
What makes this version of Bollinger Bands particularly powerful is that it not only detects squeezes, but also tells you when price breaks out of that squeeze range. If price closes above the upper band after a squeeze, a green "Breakout โ" label is shown; if it closes below the lower band, a red "Breakout โ" appears. These breakout labels act as entry signals, suggesting that volatility is returning and a directional move has begun.
This indicator is especially useful in markets that tend to alternate between consolidation and breakout phases, such as forex, crypto, and even individual stocks. Traders who look for early signs of momentumโwhether for swing trading, scalping, or position buildingโcan benefit from this tool. During a quiet market phase, the indicator warns you that a move might be coming; when the move starts, it tells you the direction.
In fast-moving markets, BVA helps filter out noise by focusing only on high-probability conditions: quiet consolidation followed by a strong breakout. Itโs not a complete system by itselfโit works best when paired with volume confirmation or oscillators like RSIโbut as a volatility trigger and directional guide, itโs a reliable component of a trading workflow.
Aroon Buy & Sell (Custom TFs)Here's a detailed explanation of your Pine Script titled "Aroon Buy & Sell (Custom TFs)":
๐ง Strategy Overview:
This script generates buy and sell signals using the Aroon indicator across two different timeframes:
* One for detecting the primary trend (Trend Timeframe)
* One for confirming precise entry signals (Signal Confirmation Timeframe)
๐ Key Components:
1. User Inputs
* trendTF: The timeframe used to determine overall trend direction (e.g., 5-minute).
* signalTF: The faster timeframe for confirming trade signals (e.g., 1-minute).
* aroonLength: Lookback period for the Aroon calculation (default 14).
* cooldownPeriod: Number of bars to wait before allowing a new signal.
2. Aroon Calculation Function
Calculates Aroon Up and Aroon Down values using the number of bars since the highest high and lowest low.
3. Multi-Timeframe Aroon Values
Uses request.security to compute Aroon values on both trendTF and signalTF.
4. Trend Detection
* A bullish trend is defined when Aroon Up crosses above Aroon Down on the trend timeframe.
* A bearish trend is defined when Aroon Down crosses above Aroon Up.
5. Signal Logic
* Buy Signal: When the overall trend is bullish and Aroon Down = 100 on the signal timeframe.
* Sell Signal: When the trend is bearish and Aroon Up = 100 on the signal timeframe.
6. Cooldown Mechanism
Prevents back-to-back signals by enforcing a cooldown (e.g., 20 bars) after each buy/sell.
7. Signal Plotting & Alerts
Plots buy/sell signals directly on the chart and supports alerts for automation.
๐ Visual Output:
* BUY label below the bar when buy conditions are met.
* SELL label above the bar when sell conditions are met.
๐ Alerts:
Two alertconditions are defined to trigger alerts whenever a buy or sell signal occurs.
Apex Edge - Session Sweep ProApex Edge Session Sweep Pro
By Apex Edge | 2025 Edition
๐ What is it?
The Apex Session Sweep Pro is a precision trading tool designed for identifying high-probability liquidity sweep entries during key global market sessions. It combines powerful sweep detection logic with dynamic candle colouring, session visualization, TP projections, and real-time alerts โ all within a clean, performance-optimized Pine Script engine.
This is not your average session box indicator. This is Apex-grade.
โ๏ธ How it Works
The indicator detects session liquidity sweeps by tracking price action relative to previous session highs and lows. When a session high/low is swept (i.e., price breaches it and then closes in the opposite direction), it generates a signal:
Buy Signal โ Price sweeps previous low and closes back above it
Sell Signal โ Price sweeps previous high and closes back below it
Each session is boxed on the chart (Tokyo, London, New York, Sydney), color-coded, and dynamically labelled.
Upon detecting a valid sweep, the script:
Plots a small entry label (toggleable)
Projects up to 5 customizable TP levels
Coloured candles for visual trade direction
Alerts for Buy or Sell sweep signals (optional)
All elements are memory-managed and customizable to suit your trading style.
๐ง Key Features
โ
Smart Sweep Detection Logic
โ
Global Market Session Boxes (Custom Times)
โ
Toggleable Entry Labels + TP Levels
โ
Candle Colouring by Signal
โ
Manual TP input + TP toggles
โ
Real-time Alerts for Apex entries
๐ Why Are My Sessions Offset?
Your chartโs time zone may be different from UTC. This script is UTC-based by design, so if your chart is set to UTC+1, for example, the sessions will appear one hour later. Either:
Adjust your chart to UTC or or Exchange for perfect alignment,
Or tweak the session input times manually.
๐งฐ Who is this for?
This tool is made for:
Intraday traders looking for sweeps into liquidity
SMC (Smart Money Concept) strategists
Forex, crypto, and indices traders
Anyone who uses session-based levels to define entries
Whether you scalp London or ride NY swings, this tool frames each session cleanly โ and shows you where the traps are laid.
๐จ Disclaimer
This indicator is a technical tool, not financial advice. Use proper risk management. Past performance โ future results.
Apex Edge โ Super RSIThe Apex Edge โ Super RSI is not your average RSI. This is an institutional-grade signal engine designed for serious traders who want confluence, control, and confidence โ all wrapped into one visual powerhouse.
โโโโโโโโโโโโโโโโโโโโ
KEY FEATURES
โโโโโโโโโโโโโโโโโโโโ
โ **RSI + Divergence Engine**
โโข Classic & Hidden Divergences (auto-detected)
โโข Labelled with shapes:
โโโฒ Green Triangle โ Buy Signal (strength-based size)
โโโผ Red Triangle โ Sell Signal
โโโ Green Diamond โ Classic Bullish Divergence
โโโ Red Diamond โ Classic Bearish Divergence
โโโ Green Circle โ Hidden Bullish Divergence
โโโ Red Circle โ Hidden Bearish Divergence
Note - Users can edit symbol colours in settings for better clarity
โ **Trap Detection System**
โโข Detects low-move, high-signal clusters (liquidity traps)
โโข Automatically suppresses signals for X bars after detection
โโข Trap zones shown with shaded background (optional)
โ **Signal Scoring Logic**
โโข Each signal is scored 1โ6 based on:
โโโข RSI Threshold Break
โโโข RSI Slope
โโโข Divergence Detected
โโโข Trap Avoidance
โโโข Multi-Timeframe Confluence (optional)
โโข The plotted shape size reflects the strength of the entry signal
โ **Multi-Timeframe Confluence (MTF)**
โโข Optional filter that uses HTF and VHTF RSI alignment
โโข Prevents countertrend signals
โโข MTF Bias shown on HUD panel
โ **Always-On HUD Panel**
โโข Displays:
โโโข Signal Type
โโโข Signal Score
โโโข Divergence Type
โโโข RSI (LTF & HTF)
โโโข Trap & Cooldown Status
โโโข MTF Bias
โโโข Volatility %
โ **Alert Ready**
โโข Buy/Sell alerts
โโข Trap Detected alert
โโข Divergence alert with dynamic message
โโข Perfect for webhook integrations
โโโโโโโโโโโโโโโโโโโโ
๐ HOW TO TRADE IT
โโโโโโโโโโโโโโโโโโโโ
โ
**Buy Setup**
โโข Green triangle (โฒ) appears **below bar**
โโข RSI is oversold and rising
โโข HTF RSI agrees (optional)
โโข Signal score is 3+ for best confidence
โโข Avoid signals during cooldown zone
โ
**Sell Setup**
โโข Red triangle (โผ) appears **above bar**
โโข RSI is overbought and falling
โโข HTF RSI agrees (optional)
โโข Signal score is 3+ for best confidence
โ
**Divergences**
โโข Use diamonds/circles to identify momentum shifts
โโข Strongest when aligned with score 4โ6
โ**Trap Zones**
โโข When background is shaded, wait for cooldown
โโข Signals during traps are suppressed for safety
โโโโโโโโโโโโโโโโโโโโ
๐ BEST USED WITH
โโโโโโโโโโโโโโโโโโโโ
๐น Apex Edge โ Session Sweep Pro (to visualize liquidity levels)
๐น Volume Profile or OBV (volume-based confirmation)
๐น EMA Ribbon (for trend alignment)
๐น Fair Value Gap indicator (smart money models)
โโโโโโโโโโโโโโโโโโโโ
๐ง PRO TIPS
โโโโโโโโโโโโโโโโโโโโ
โข Use the HUD for decision confidence โ if everything aligns, youโve got an Apex-grade setup.
โข Wait for candle close to confirm divergence-based entries.
โข Score 5โ6 = sniper entries. Score 1โ2 = warning shots.
This indicator can be used alongside Apex Edge Session Sweep Pro for better visual clarity.
โโโโโโโโโโโโโโโโโโโโ
ยฉ Apex Edge | All rights reserved.
3 days ago
Release Notes
Update - Added a toggle to show/hide HUD when using on smaller mobile devices so as not to clutter the screen.
CPR-Based Fib S/R with Circles by Arthavidhi๐ **CPR-Based Fibonacci S/R with Circles โ Description**
This indicator combines the power of **CPR (Central Pivot Range)** and **Fibonacci ratios** to plot highly probable intraday and swing Support/Resistance levels derived from the **daily price structure**.
### ๐ง **How It Works**
* It uses the **Daily High, Low, and Close** to calculate the **Pivot Point** (P) as:
`P = (High + Low + Close) / 3`
* Then it calculates the **daily range**:
`Range = High - Low`
* Using this pivot and range, it derives both **Fibonacci-based Support and Resistance levels**:
* **Support levels** at: 0.382, 0.5, 0.618, 1.0, 1.272, 1.618 below pivot
* **Resistance levels** at: 0.382, 0.5, 0.618, 1.0, 1.272, 1.618 above pivot
These are **plotted as small colored circles** on your chart, with **labels on the left** for easy identification of each Fib level (e.g., "0.382", "1.618").
---
### ๐ **How to Use It**
๐น **Intraday or Swing Traders**:
* Use these levels to **anticipate reversals**, **breakouts**, or **targets**.
* The levels act like a **natural price magnet** โ price tends to pause, bounce, or reverse near them.
๐น **Entry/Exit Zones**:
* Combine with price action (like pin bars, engulfing, or inside bars) or volume near these levels to plan entries.
* **R1.618 and S1.618** are great for extended targets or aggressive reversal setups.
๐น **CPR Center Line**:
* Acts as a key mean-reversion zone or midline. You can combine this with VWAP or RSI for confirmation.
---
### ๐งฉ **Best Practices**
* **Higher Timeframe Confluence**: Align this with HTF S/R or trendlines.
* **Use Alerts**: Combine this with price action alerting tools (manually or with separate indicators).
* **Do Not Use Alone**: For best results, combine with a strategy (e.g., Supply/Demand, VWAP bounce, Trendline breaks).
Percentage SDThis TradingView indicator, called "Percentage SD," measures how much the price of an asset is fluctuating (its volatility) and shows this as a percentage.
You can choose which price to track (like the closing price) and the period over which to measure this volatility.
The indicator then draws a yellow line in a separate panel below your main chart. When this line is higher, it means the price is more volatile relative to its current level. A lower line suggests less volatility. This can help you see when price movements are becoming more or less active.
0830-0845 High/Low Marker (Accurate Start + History)This indicator marks the high and low of the 15-minute candle between 08:30 and 08:45 (local time) of the trading session. The high and low are tracked dynamically, with the lines drawn once the 08:45 candle closes.
Key Features:
Session-based Tracking: Automatically tracks and records the high and low of the 15-minute period starting at 08:30 and ending at 08:45.
Excludes 08:45 High : If a high is created exactly at 08:45, the indicator will ignore it and use the highest value before 08:45, ensuring it only references the price action during the specified window.
Line Extension : The high and low lines are drawn and extended to the right for a user-defined number of bars, making them visible beyond the session's close.
Customizable Parameters : Adjust the start and end times of the session, line colors, and line width to fit your preferences.
Use Case :
Ideal for traders who focus on the price action during the early part of the trading session (08:30 to 08:45) and want to track significant levels of support and resistance from that period.
The extended lines help identify potential price zones for the rest of the session or the trading day.
Moving Volume-Weighted Avg Price, % Channel, BBsThis script includes:
- Moving Volume-Weighted Average Price line.
- User-defined % band above and below, very useful for "breakout" signals, and mentally adjusting to the magnitude of price swings when viewing an automatic scale on the price axis.
- Volume-Weighted Bollinger Bands, which are more sensitive to volume.
More detail:
- This is like TV's basic VWAP in concept, except the major flaw in that is that it has reset periods that you can't override, and the volume is cumulative until the next hard reset. The 'reset' is OK for securities trading, that resets every day anyway. But not for crypto - and not if/when securities trading goes 24/7. Also, the denominator accumulating over the entire period is also *not* OK, because then what is shown means something different as the day progresses - which kind of makes it useless. In other words, it starts out very sensitive to volume, and gets progressively more numb to it as they day progresses, and starts flattening out.
- This fixes both problems, by using a user-definable moving window for the average. Essentially combining SMA with volume-weighting.
- You may also find an invaluable trading aid, in the % bands above and below.
- What can optionally be shown is standard deviation bands, aka Bollinger bands. The advantage over regular BB is that it's volume-weighted. Since it is already calculated on a moving average, the period for the standard deviation has been shortened by default, and the magnitude increased, to better approximate regular Bollinger Bands - but it's still more responsive to volume.
Volumetric Entropy IndexVolumetric Entropy Index (VEI)
A volume-based drift analyzer that captures directional pressure, trend agreement, and entropy structure using smoothed volume flows.
---
๐ง What It Does:
โข Volume Drift EMAs : Shows buy/sell pressure momentum with adaptive smoothing.
โข Dynamic Bands : Bollinger-style volatility wrappers react to expanding/contracting drift.
โข Baseline Envelope : Clean structural white rails for mean-reversion zones or trend momentum.
โข Background Shading : Highlights when both sides (up & down drift) are in agreement โ green for bullish, red for bearish.
โข Alerts Included : Drift alignment, crossover events, net drift shifts, and strength spikes.
---
๐ What Makes It Different:
โข Most volume indicators rely on bars, oscillators, or OBV-style accumulation โ this doesnโt.
โข It compares directional EMAs of raw volume to isolate real-time bias and acceleration.
โข It visualizes the twisting tension between volume forces โ not just price reaction.
โข Designed to show when volatility is building inside the volume mechanics before price follows.
โข Modular โ every element is optional, so you can run it lean or fully loaded.
---
๐ How to Use It:
โข Drift EMAs : Watch for one side consistently dominating โ sharp spikes often precede breakouts.
โข Bands : When they tighten and start expanding, it often signals directional momentum forming.
โข Envelope Lines : Use as high-probability reversal or continuation zones. Bands crossing envelopes = potential thrust.
โข Background Color : Green/red backgrounds confirm volume agreement. Can be used as a filter for other signals.
โข Net Drift : Optional smoothed oscillator showing the difference between bullish and bearish volume pressure. Crosses above or below zero signal directional bias shifts.
โข Drift Strength : Measures pressure buildup โ spikes often correlate with large moves.
---
โ๏ธ Full Customization:
โข Turn every layer on/off independently
โข Modify all colors, transparencies, and line widths
โข Adjust band width multiplier and envelope offset (%)
โข Toggle bonus plots like drift strength and net baseline
---
๐งช Experimental Tools:
โข Smoothed Net Drift trace
โข Drift Strength signal
โข Envelope lines and dynamic entropy bands with adjustable math
---
Built for signal refinement. Made to expose directional imbalance before the herd sees it.
Created by @Sherlock_Macgyver
Granville's 8 Rules Visualizer ๐ง Granvilleโs 8 Rules Indicator
Iโve created a Pine Script indicator that visually implements **Granvilleโs Eight Rules**, one of the foundational theories for price movement relative to a moving average (MA). This tool helps traders better time entries and exits based on momentum shifts and MA behavior.
---
### ๐ What is Granvilleโs Law?
Joseph Granvilleโs theory suggests that **price and moving average (typically SMA)** interactions produce **8 recurring signals**:
* **4 Buy signals** (B1โB4)
* **4 Sell signals** (S1โS4)
These rules help identify the beginning or continuation of bullish and bearish trends.
---
### ๐ Indicator Logic
This indicator uses a simple 20-period SMA (modifiable) and tracks price action in relation to it. Each signal is drawn as a triangle with a label (`B1` to `B4` or `S1` to `S4`), based on the following rules:
#### โ
Buy Signals:
* **B1**: Price crosses above a rising MA (classic breakout)
* **B2**: Price pulls back below a rising MA, then begins rising again
* **B3**: Price bounces off a falling MA
* **B4**: Price is above a rising MA but temporarily drops
#### โ Sell Signals:
* **S1**: Price crosses below a falling MA
* **S2**: Price pulls back above a falling MA, then starts dropping again
* **S3**: Price bounces down off a rising MA
* **S4**: Price is below a falling MA but temporarily rises
---
### ๐ How to Use It:
1. **Trend Confirmation**: Use the moving average slope (rising or falling) as your trend filter.
2. **Entry Timing**: Look for Buy signals (B1โB4) in uptrends and Sell signals (S1โS4) in downtrends.
3. **Avoid Noise**: Combine with volume or volatility filters (e.g. ATR or squeeze) to eliminate weak setups.
4. **Customize**: Adjust the MA type or length to fit your market (e.g. EMA for crypto, SMA for FX).
---
### ๐ก Example Strategies:
* Pair **B1 + rising volume** for early trend entries
* Use **B2/B4** for retracement-based entries
* Exit on **S3/S4** for profit taking or stop logic
Happy trading!