[T] Current Candle High/Low - Left LinesThis script can be used to see if the current candle has hit a FVG or OB to the left.
Useful for setting if price has hit the CE of a previous FVG or OB on the same timeframe.
Candlestick analysis
QoQ PAT & Sales % Labels by GauravThis indicator automatically displays the Quarter-over-Quarter (QoQ) percentage change of Sales and PAT (Profit After Tax) directly under the candlestick chart whenever quarterly results are released. It fetches financial data using TradingView’s request.financial() function and calculates the % change compared to the previous quarter. Labels are plotted at the exact bar where earnings are announced, helping traders quickly visualize fundamental growth alongside price action.
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 أو المُعتمدة منها.
GOLDEN TIME MARKER) + 7PM (Mondays)This indicator draws vertical lines at key session times in UTC+1 (Casablanca local time):
- Red line at 04:00 AM daily
- Green line at 04:00 PM daily
- Blue line at 07:00 PM only on Mondays (2024–2025)
Perfect for traders who want to mark important intraday levels for Forex, Crypto, or any asset class. Works on timeframes from 1 minute up to 1 hour. Customizable colors and full multi-market support.
ES Open-Close 9:30-16:00 TableDisplays a daily table showing the open at 9:30 and close at 16:00 (New York time) for ES
ES Open-Close 9:30-16:00 TableDisplays a daily table showing the open at 9:30 and close at 16:00 (New York time) for ES
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.
Session Open-Close Table 9:30-16:00 with Date RangeDisplays a daily table showing the open at 9:30 and close at 16:00 (New York time) for any asset. Includes a date range filter to extract session-based open-close values.
פתיחה וסגירה 9:30–16:00 לפי טווח תאריכיםהאינדיקטור מציג בטבלה פתיחה וסגירה של מסחר יומי
this indicator shows in tablet open / close prices in a daily basis from date to date
20 EMA Crossover with Daily Open S/RUpdated Version of the previous crossover inc highlighted candles
20 EMA Crossover with Daily Open S/R20EMA cross over candle strategy , full bodied close with DO and Preivous High and low
Multi-Timeframe Countdown Timer TTHello TradingView Community,
I'm excited to share the latest version of an indicator I've developed: The **Multi-Timeframe Countdown Timer v6**.
**What is this indicator?**
This indicator provides a clear and convenient countdown showing the time remaining until the *next candle closes* for *multiple timeframes* simultaneously on your chart.
**Key Features & Benefits:**
Tracking candle closing times across different timeframes is crucial for many trading strategies. This indicator makes it easy and visually intuitive:
1. **Multi-Timeframe Support:** Monitor countdowns for several timeframes all at once, including higher timeframes than your current chart view.
2. **Compact Table Display:** See all your chosen timers neatly organized in a small, unobtrusive table directly on your chart.
3. **Full Customization:** Tailor the indicator to your needs! You can easily customize:
* **Display Position:** Choose where the table appears on your chart.
* **Text Size:** Adjust the size of the countdown text for readability.
* **Colors:** Set colors for the background, text, and warning state.
* **Timeframe Selection:** Easily select which timeframes you want to track.
4. **4H Candle Reference Time Adjustment:** A unique feature that allows you to adjust the *start time* reference for the 4-hour candle countdown. This is essential for aligning the timer correctly with different exchange or broker time settings, ensuring accurate 4H tracking.
5. **Warning Color Alert:** The timer changes color (default: red) when there are less than 10 seconds remaining, giving you a clear visual alert just before the candle closes.
**How to Use:**
Simply add the "Multi-Timeframe Countdown Timer v6" indicator to your chart. Open its settings to select the timeframes you want to track, adjust the display position, size, colors, and configure the 4H reference time if needed.
This indicator is perfect for traders who need to stay precise with their timing and monitor activity across various time perspectives without constantly switching timeframes.
I hope you find this tool valuable for your trading! Please give it a try and share any feedback or suggestions in the comments below. If you find it useful, please hit the "Like" button!
Happy Trading!
FTC Confirmation (Daily + 60 + 30)This Pine Script strategy provides a "Full Timeframe Confirmation" (FTC) system by analyzing three timeframes: Daily, 60-min, and 30-min. It checks if all timeframes align in the same direction (either bullish or bearish) and colors the current candle accordingly. A green candle indicates a full bullish confirmation, while a maroon candle indicates a full bearish confirmation. This helps identify market trend reinforcement or rejection based on multi-timeframe analysis.
Pivot ATR Zones [v6]🟩 Pivot ATR Zones
Overview:
The Pivot ATR Zones indicator plots dynamic support and resistance zones based on pivot highs and lows, combined with ATR (Average True Range) volatility levels. It helps traders visually identify potential long and short trade areas, along with realistic target and stop loss zones based on market conditions.
Features:
Automatically detects pivot highs and lows
Draws ATR-based entry zones on the chart
Plots dynamic take-profit and stop-loss levels using ATR multipliers
Color-coded long (green) and short (red) zones
Entry arrow markers for clearer trade visualization
Real-time alerts when new zones form
Best For:
Scalpers, intraday traders, and swing traders who want a visual, volatility-aware way to mark potential trade areas based on key pivot structures.
How to Use:
Look for newly formed green zones for long opportunities and red zones for short setups.
Use the dashed lines as dynamic take-profit and stop levels, tuned to the current ATR value.
Combine with other confirmation tools or indicators for optimal results.
Vietnamese Market Structure With CountersThis indicator is designed to track Market Structure with Swing-Low Breakdowns and Swing-High Breakups specifically tailored for the Vietnamese stock market, though it can be applied elsewhere too. By default, it uses a 10-period EMA to dynamically detect key turning points in price action and count significant breakdowns or breakups from previous swing levels.
As an open source, you can modify the source code to match your needs.
What it does:
Detects when price breaks below previous swing lows or above previous swing highs.
Plots swing levels for both highs and lows.
Displays labeled counters on the chart to show how many consecutive breakdowns or breakups have occurred.
Helps traders identify trend shifts and possible exhaustion in moves.
Why it's useful:
This tool is great for visually tracking market momentum and structure changes — especially in trending or volatile environments. It emphasizes structure over indicators, helping you understand price behavior in a simplified, intuitive way.
License:
This script is published under the Mozilla Public License 2.0. Feel free to use, modify, and contribute!
Created with care by @doqkhanh.
If you find it useful, consider leaving a comment or sharing it with others!
Bitcoin Impact AnalyzerSummary of the "Bitcoin Impact Analyzer" script, the adjustments users can make, and an explanation of what the chart and table represent:
Script Summary:
The "Bitcoin Impact Analyzer" script is designed to help traders and analysts understand the relationship between a chosen altcoin and Bitcoin (BTC). It does this by:
Fetching price data for the specified altcoin and Bitcoin.
Calculating several key comparative metrics:
Normalized Prices: Shows the percentage performance of both assets from a common starting point.
Price Correlation: Measures how similarly the two assets' prices move over a defined period.
Beta: Indicates the altcoin's volatility relative to Bitcoin.
Altcoin/BTC Ratio: Shows the altcoin's value expressed in Bitcoin.
Fetching and displaying Bitcoin Dominance (BTC.D) data.
Visualizing these metrics on the chart as distinct plots.
Displaying the current values of these key metrics in a data table on the chart for quick reference.
The script aims to provide insights into whether an altcoin is outperforming or underperforming Bitcoin, how closely its price movements are tied to Bitcoin's, and its relative volatility.
User Adjustments:
Users can customize the script's behavior through several input settings:
Symbol Inputs:
Altcoin Symbol: Users can enter the ticker symbol for any altcoin they wish to analyze (e.g., BINANCE:ETHUSDT, KUCOIN:SOLUSDT).
Bitcoin Reference Symbol: Users can specify the Bitcoin pair to use as a reference, though BINANCE:BTCUSDT is a common default.
Lookback for Correlation/Beta:
Lookback Period: This integer value (default 50 periods) determines how many past candles are used to calculate the price correlation and beta.
A shorter lookback makes the metrics more sensitive to recent price action.
A longer lookback provides a smoother, more stable indication of the longer-term relationship.
Plot Visibility Options:
Users can toggle on or off the display of each individual plot on the chart:
Normalized BTC & Altcoin Prices
Altcoin/BTC Ratio
Correlation Plot
Bitcoin Dominance (BTC.D)
Beta Plot
This allows users to focus on specific metrics and reduce chart clutter.
What the Chart Represents:
The chart visually displays the historical trends and relationships of the selected metrics:
Normalized Prices Plot: Two lines (typically orange for BTC, blue for the altcoin) show the percentage growth of each asset from the start of the loaded chart data (or the first available data point for each symbol). This makes it easy to see which asset has performed better over time on a relative basis.
Correlation Plot: A single line (purple) oscillates between -1 and +1.
Values near +1 indicate a strong positive correlation (altcoin and BTC prices tend to move in the same direction).
Values near -1 indicate a strong negative correlation (they tend to move in opposite directions).
Values near 0 indicate little to no linear relationship.
Lines at +0.7 and -0.7 are often plotted as thresholds for "strong" correlation.
Beta Plot (if enabled): A single line (teal) shows the altcoin's volatility relative to BTC.
A Beta of 1 (often marked by a dashed line) means the altcoin has, on average, the same volatility as BTC.
Beta > 1 suggests the altcoin is more volatile than BTC (moves by a larger percentage for a given BTC move).
Beta < 1 suggests the altcoin is less volatile than BTC.
Bitcoin Dominance Plot: An area plot (gray) shows the percentage of the total cryptocurrency market capitalization that Bitcoin holds. This helps understand broader market sentiment and capital flows.
Altcoin/BTC Ratio Plot: A line (fuchsia) shows the price of the altcoin denominated in BTC.
An upward trend means the altcoin is gaining value against Bitcoin (outperforming).
A downward trend means the altcoin is losing value against Bitcoin (underperforming).
What the Table Represents:
The data table, typically located in the bottom-right corner of the chart, provides a snapshot of the current values for the most important calculated metrics. It includes:
Altcoin: The ticker symbol of the analyzed altcoin.
Bitcoin Ref: The ticker symbol of the Bitcoin reference.
Correlation (lookback): The current correlation coefficient between the altcoin and BTC, based on the specified lookback period. The value is color-coded (e.g., green for strong positive, red for strong negative).
Beta (lookback): The current beta value of the altcoin relative to BTC, based on the specified lookback period. The value may be color-coded to highlight significantly high or low volatility.
BTC.D Current: The current Bitcoin Dominance percentage.
ALT/BTC Ratio: The current price of the altcoin expressed in Bitcoin.
The table offers a quick, at-a-glance summary of the present market dynamics between the two assets without needing to interpret the lines on the chart for their exact current values.
New York Open Markerheyo,
surprisingly there aren't many indicators available which does the simple thing of just marking the 9:30 EST open or 10:00 am. also just having them present while backtesting makes it so much more easier to understand the pa.
you can turn off 10:00am marker if you don't use it.
good luck.
Fib + OB Confluence Zones [Jose Tristan Optimized]Fib + OB Confluence Zones
This indicator plots Fibonacci zones from 60m, 90m, and 4H candles, highlighting confluence areas where multiple fib levels align. It also detects bullish and bearish order blocks on 15m, 5m, and 3m timeframes. Confluence zones and OBs are only shown when overlapping conditions are met, helping identify high-probability reversal or continuation zones. Optional trend filtering using the 200 EMA is included to refine signals based on market direction.
SAN BTC StochRSI Indicator with RSI and KGS SMA (Daily)buys bitcoin if below SMA 2, stoch as oversold and RSI above oversold, take 100 % profit after stoch RSI is overbought and Stoch RSI is overbought, SL in SMA3
Candle Rating (1–5)This “Candle Rating (1–5)” indicator measures where each bar’s close sits within its own high-low range and assigns a simple strength score:
Range Calculation
It computes the candle’s total range (high − low) and finds the close’s position as a percentage of that range (0 = close at low, 1 = close at high).
Five-Point Rating
1 (Strong Buy): Close in the top 20% of the range
2 (Moderate Buy): 60–80%
3 (Neutral): 40–60%
4 (Moderate Sell): 20–40%
5 (Strong Sell): Bottom 20%
Visual Feedback
It plots the numeric rating above each bar (colored green → red), giving you an at-a-glance read of candle momentum and potential reversal strength across any timeframe.