FTM → SONIC Combined Candlesticksthis script combines the chart of FTM and SONIC to get a better overview of the entire price action
Cicli
ORB Scalp setup by UnenbatDescription
ORB Scalp Setup by Unenbat is a precise breakout scalping tool that identifies short-term price ranges at the transition between hourly sessions.
📌 Core Features:
Draws a dynamic box using the price range from the last 3 minutes of the previous hour and the first 3 minutes of the new hour (total 5m59s range).
Automatically plots:
Box representing the selected range.
Opening Price Line at the start of the hour.
TP Lines (Take Profit) above and below the box at customizable distances.
BE Lines (Break-Even) above and below the box at customizable distances.
Box and line lengths are user-defined (default: 60 minutes).
Works across historical data (up to the last 100 days).
Fully customizable visuals (colors, offsets, visibility toggles).
🎯 How to Use:
Ideal for scalp traders using breakout strategies.
Enter trades when price breaks above or below the box range.
Use TP and BE lines as clear reference levels for exits or trailing stop logic.
⚙️ Custom Settings:
Enable/disable each component (box, open line, TP line, BE line).
Set your own offset in pips for TP/BE lines.
Adjust the box duration to match your trading style.
Modify start and end times of the range as needed.
Hidden Liquidity Shift DetectorPurpose
The Hidden Liquidity Shift Detector identifies candles that indicate potential hidden accumulation or distribution activity based on volume and price action behavior. These setups often represent institutional absorption of liquidity ahead of larger moves.
How It Works
The script detects candles with the following characteristics:
Small real body relative to the total candle range
A strong wick (upper or lower) indicating rejection
Volume significantly higher than the recent average
It flags:
Hidden Selling (Distribution) when a bearish candle has a long upper wick and high volume
Hidden Buying (Accumulation) when a bullish candle has a long lower wick and high volume
These candles are often missed by traditional indicators but may precede significant reversals or breakouts.
Features
Automatic detection of absorption-style candles
Volume spike filtering based on configurable multiplier
Wick and body ratio thresholds to fine-tune signal quality
Non-intrusive signal markers (colored circles)
Real-time alerts for hidden buying/selling signals
Usage Tips
Use on 15m to 4H charts for intraday detection, or Daily for swing setups
Combine with support/resistance or volume profile zones for higher conviction
Clusters of signals in the same area increase reversal probability
Can be used alongside Wyckoff-style logic or smart money concepts
Wave1234 Flip tp Betawave1234 flip tp
A Trend-Following Indicator Powered by Elliott Wave & SMC – Know Where the Price Will Rise, Peak, and Reverse
Wave1234 Flip TP is a technical indicator built on the foundations of Elliott Wave Theory combined with insights from Smart Money Concepts (SMC). It's designed to help traders clearly identify:
✅ Where the price will start rising (precise entry after a confirmed reversal)
✅ Where the rally is likely to end (shows psychological Take Profit zones after Wave 4)
✅ And where the price is most likely to reverse down (based on key structural resistance)
🧠 How It Works:
The core mechanism of Wave1234 Flip TP is simple but powerful.
📈 Once a Buy signal appears — this marks the beginning of a new uptrend (confirmed by structure and reversal patterns).
➡️ From there, the system lets the trend run naturally, tracking the price through its impulsive movement (Wave 1 to 3) and its first meaningful correction (Wave 4).
✅ After Wave 4 forms, the indicator begins tracking potential reversal zones — based on both market psychology and institutional order flow.
🔹 This is when the green TP line appears — a projected take-profit zone where the rally may end.
💥 When price hits this zone and confirms exhaustion, the green TP line turns blue, signaling:
✅ Success – the trend has completed its cycle
🚨 Caution – momentum may reverse soon
This allows traders to exit at strength, or prepare for a potential short when structure shifts again.
หลักการของ Wave1234 Flip TP คือ “ปล่อยให้เทรนด์รันอย่างเป็นธรรมชาติ แล้วไปโฟกัสจุดกลับตัวที่สำคัญที่สุด”
📈 เมื่อเกิดสัญญาณ Buy — นั่นคือจุดเริ่มต้นของเทรนด์ขาขึ้นรอบใหม่ (ยืนยันโดยโครงสร้างราคาและแท่งกลับตัว)
จากนั้นเราจะ ปล่อยให้เทรนด์วิ่งไป โดยไม่ต้องรีบทำอะไร
…รอจนเข้าสู่ช่วงคลื่น 3 → 4 (Wave 3-4)
เพราะนั่นคือช่วงที่ “แรงซื้อเริ่มหมด”
✅ หลังจาก Wave 4 จบลง
อินดิเคเตอร์จะเริ่ม “คาดการณ์จุดกลับตัว” โดยใช้ทั้งพฤติกรรมจิตวิทยาตลาด และระดับราคาเชิงโครงสร้างที่สถาบันมองเห็น
🟩 เส้น TP สีเขียวจะปรากฏขึ้น — นี่คือโซนที่ควร เริ่มทยอยปิดกำไร
📉 และถ้าราคาวิ่ง ชนเส้นนี้จริง พร้อมมีสัญญาณยืนยัน
เส้นเขียวจะ เปลี่ยนเป็นสีฟ้า ทันที
💡 แปลว่า:
เทรนด์รอบนี้ “ไปถึงเป้าหมายแล้ว”
ความเสี่ยงที่จะกลับทิศกำลังสูงขึ้น
ถึงเวลาที่ต้อง “หยุดโลภ แล้วป้องกันกำไร”
Clarix Smart FlipPurpose
This tool identifies high-probability intraday reversals by detecting when price flips through the daily open after strong early-session commitment.
How It Works
A valid flip occurs when:
The previous daily candle is bullish or bearish
The first hour today continues in the same direction
Then, the price flips back through the daily open with a minimum break threshold (user-defined)
This setup is designed to catch liquidity grabs or fakeouts near the daily open, where early buyers or sellers get trapped after showing commitment
Signal Logic
Buy Flip
Previous day bearish → first hour bearish → price flips above open
Sell Flip
Previous day bullish → first hour bullish → price flips below open
Features
Configurable flip threshold in percentage
Signals only activate after the first hour ends
Daily open line displayed on chart
Simple triangle markers with no visual clutter
Alerts ready to use for automation or notifications
Usage Tips
Use "Once Per Bar" alert mode to get notified immediately when the flip happens
Works best in active markets like FX, indices, or crypto
Adjust threshold based on asset volatility
Suggested stop loss: use the previous daily high for sell flips or the previous daily low for buy flips
Suggested take profit: secure at least 30 pips to aim for a 1:3 risk-to-reward ratio on average
CHOCH vs fibo thedu// ~~ Tooltips {
string t1 = "Defines how many bars back the pivot high/low is calculated from. Higher values detect stronger swing structures."
string t2 = "Enable to display bullish market structure (higher highs and higher lows)."
string t3 = "Select the color of bullish structure lines and labels."
string t4 = "Enable to display bearish market structure (lower highs and lower lows)."
string t5 = "Select the color of bearish structure lines and labels."
string t6 = "Width of the Break of Structure (BoS) line to make it more visible on the chart."
string t7 = "Enable automatic tracking of recent swing points. Adjusts Fibonacci levels in real-time as new swings form."
string t8 = "Enable to draw dotted lines connecting swing highs/lows (the swing trend line)."
string t9 = "Adjust the thickness of the swing trend line. Useful for emphasizing or de-emphasizing swing connections."
string t10 = "Enable to show price labels at swing highs/lows. Helps visualize turning points with exact prices."
string t11 = "Show previous (historical) Fibonacci levels instead of clearing them each time new structure forms."
string t12 = "Enable to keep Fibonacci levels extended forward to the current bar. Helps maintain context while trading."
string t13 = "Enable to fill the Golden Zone (typically 0.5 - 0.618 retracement) between the first two Fibonacci levels."
string t14 = "Select the fill color for the Golden Zone. Softer transparency is ideal to avoid chart clutter."
string t15 = "Enable or disable individual Fibonacci levels. Checked levels will be drawn on the chart."
string t16 = "Customize the specific Fibonacci retracement level value. 0.50 is midpoint, 0.618 is golden ratio."
string t17 = "Choose the color for each Fibonacci level line. Use contrasting colors for clarity."
string t18 = "Sets the thickness of the Fibonacci level lines. Increase for better visibility."
string t19 = "Enable alerts for bullish CHOCH signals."
string t20 = "Enable alerts for bearish CHOCH signals."
string t21 = "Enable alerts when price touches Fibonacci levels."
string t22 = "Enable alerts when price enters the Golden Zone."
Asian & London Session Two-Color Candlesthis script use to find the asian and london session with different candle colours.
Reversal Signal avec TICK + RSIThis indicator is a potential reversal indicator for SCALPING, don't use it for swing. It's base on TICK and on an overbrought/oversold condition of the RSI. You can play with the setting, typicaly I like my TICK to be over reacting an 800/-800 and my rsi over 20 and 80, but it give not enough signal. So I set the TICK signal at 651/-651 and the RSI at 25/75. This indicator is made for SP500 and Nasdaq, so SPY/QQQ/SPX/ES/NQ should work well. It's the first version of it, so maybe I'll add so more data to it to increase signal and lower false one. For now I've test it on live market yet(26/7/25).
The RSI is Fast(5 period), I like to use it on the 1 or 5 min chart.
Please not that it only work during 9h30am to 4pm EST.(Because of the TICK)
Feel free to try and even comment. Don't be harsh on me, it's my first try!
(Sorry for my 'english' it's not my first language)
FAUCON
Volume Weighted Average Pricehelps my strategy and allows my trades to hit tp allowing me to gain profit
London & NY Session Markers + Pip MovementThis indicator visually marks the London and New York trading sessions on your chart and optionally calculates the pip range (high-low movement) during each session. It's specifically designed for Forex traders, helping you identify volatility windows and analyze market movement within major session times.
🔍 Key Features:
✅ Session Open/Close Markers
Draws vertical dotted lines at:
London Open (08:00 UK time)
London Close (11:00 UK time)
New York Open (14:00 UK time)
New York Close (17:00 UK time)
Each marker is labeled clearly ("London Open", "NY Close", etc.)
Uses color-coding for easy identification:
Aqua for London
Lime for New York
✅ Pip Range Display (Optional)
Measures the high-low price movement during each session.
Converts this movement into pips, using:
0.0001 pip size for most pairs
0.01 pip size for JPY pairs (auto-detected)
Displays a label (e.g., "London: 42.5 pips") above the candle at session close.
This feature can be toggled on/off via the settings panel.
✅ Time-Zone Aware
Session times are aligned to Europe/London time zone.
Adjusts automatically for Daylight Saving Time (DST).
✅ User Controls
Toggle visibility for:
London session markers
New York session markers
Pip range labels
📊 Use Cases:
Identify when liquidity and volatility increase, especially during session overlaps.
Analyze historical session-based volatility (e.g., compare NY vs. London pip ranges).
Combine with price action or indicator signals that work best in high-volume hours.
Optimize entry and exit timing based on session structure.
⚙️ Best Timeframes:
5-min to 1-hour charts for precise session tracking.
Works on Forex and CFD pairs with standard tick sizes.
⚠️ Notes:
This tool does not repaint and uses only completed bar data.
Pip calculation is based on the chart’s current symbol and tick size.
Designed for spot FX, not intended for cryptocurrencies or synthetic indices.
✅ Ideal For:
Forex Day Traders
Session-based Strategy Developers
London Breakout or NY Reversal Traders
Anyone analyzing volatility by session windows
Improved Weinstein Stage AnalysisThe code provides an actionable, disciplined, and visually informative implementation of the “Stage Analysis” approach pioneered by Stan Weinstein, with enhancements to modernize, automate, and clarify the methodology for today’s traders using TradingView. It faithfully follows the workflow recommended: identify long-term cycles, confirm with volume and relative strength, and only engage aggressively with the market during the advancing (bullish) stage with all “clues” aligned.
Central Bank Divergence IndexCentral Bank Divergence Index (CBDiv) by CWRP blends foreign exchange (FX) market behavior and short-term interest rate (STIR) spreads to detect monetary policy divergence or convergence among major economies.
It calculates a composite Z-score index that tracks divergence between the US and other major economies using FX pairs USDJPY, EURUSD, GBPUSD, AUDUSD (With AUD acting as a proxy to the RMB) and short-term bond ETFs (SHY = U.S. 1–3Y Treasury, EWJ = Japan, IEUR = Europe).
SHY/EWJ and SHY/IEUR: If SHY outperforms, it means US short-term rates are rising relative to Japan/Europe.
How to Read:
Highlighting
Yellow = Diverging central bank policy (US > others) ; Hawkish
Blue = Converging policy (US < others) ; Dovish/Lagging
Gray = Neutral
Table
FX Divergence:
Positive (> +1) -> USD is strengthening unusually fast -> Fed is likely tighter than others
Negative (< -1) -> USD is weakening -> Other central banks might be tightening relative to the Fed
Rate Spread Divergence (Which acts as a proxy for interest rate divergence):
Positive -> U.S. rates are rising faster than Japan/Europe
Negative -> Foreign short-term rates outperforming U.S.
Composite:
Positive (> +1) -> Strong U.S. policy divergence (hawkish Fed)
Negative (< -1) -> Converging or dovish Fed
Neutral (Between -1 and +1) -> Neutral policy stance
Thank you for using the Central Bank Divergence Index by CWRP!
I'm open to all critiques and discussion around macroeconomics and hope you find use in this model!
Cross-Asset Risk Appetite IndexCross-Asset Risk Appetite Index (RiskApp) by CWRP combines multiple asset classes into a single risk sentiment signal to help traders and investors detect when the market is in a risk-on or risk-off regime.
It calculates a composite Z-score index based on relative performance between:
SPY / IEF: Equities vs Bonds
HYG / LQD: High Yield vs Investment Grade Credit
CL / GC: Oil vs Gold
VIX / MOVE: Equity vs Bond Market Volatility (inverted)
Each component reflects capital flows toward riskier or safer assets, with dynamic weighting (Equity/Bond: 30%, Credit: 25%, Commodities: 25%, Volatility: 20%) and smoothing applied for a cleaner signal.
How to Read:
Highlighting
Yellow = Risk-On sentiment (market favors risk assets)
Orange = Risk-Off sentiment (flight to safety)
Black Background = Neutral design for emotional detachment
Table
Equity/Bond Z-Score:
Positive (> +1) --> Stocks outperforming bonds --> Risk-On
Negative (< -1) --> Bonds outperforming stocks --> Risk-Off
Credit Spread Z-Score (HYG/LQD):
Positive --> High yield outperforming --> Investors seeking yield
Negative --> Flight to quality --> Credit concerns
Oil/Gold Z-Score:
Positive --> Oil outperforming --> Economic optimism
Negative --> Gold outperforming --> Defensive positioning
Volatility Spread (VIX/MOVE):
Positive --> Equity vol falling relative to bond vol --> Risk stabilizing
Negative --> Equity vol rising --> Caution / Risk-Off
Composite Index:
> +1 --> Strong Risk Appetite
< -1 --> Strong Risk Aversion
Between -1 and +1 --> Neutral regime
Thank you for using the Cross-Asset Risk Appetite Index by CWRP!
I'm open to all critiques and discussion around macro-finance and hope this model adds clarity to your decision-making.
Bitcoin Basket [100Zabaan]🟢🟢 Bitcoin Basket 🟢🟢
🟡 Overview
This indicator is a long-term analytical tool for Bitcoin investment, designed by drawing inspiration from historical halving cycles, historical peak growths and deepest declines, and the overall price growth trend. The main goal of this indicator is to provide a strategic perspective to investors so they can better identify key market phases, such as periods of major selling and major buying of Bitcoin.
🟡 This tool visually compares two scenarios:
Hold Strategy : The strategy of buying and holding Bitcoin from the time of investment until today ( Bitcoin Holding Strategy ).
Active Investment Strategy : An active investment strategy that cautiously buys and sells based on market cycle-driven signals ( Active Bitcoin Trading Strategy ).
This comparison helps you make more informed decisions regarding your long-term capital management.
🟡 Key Features of the Indicator
Performance Comparison : Displays the current value of your investment based on two strategies:
Bitcoin Holding Strategy : If you had invested an amount on your chosen date, how much Bitcoin (equivalent to how many dollars) would you have today.
Active Bitcoin Trading Strategy : How your capital would have grown if you had traded based on the indicator's buy and sell signals.
Also, in the status line section, you can see your asset amount (in USD) at each candle and compare the two strategies.
Identification of Buy and Sell Periods : Using colored boxes (red and green), it identifies time periods that have historically been suitable for selling or buying.
Identification of Suitable Price Ranges in Buy and Sell Periods : With a horizontal line within the red boxes, it informs us that prices above this line may be worth selling. With a horizontal line within the green boxes, it informs us that prices below this line may be worth buying.
Halving Display: Shows the exact time of each halving along with the block reward for each block produced during that halving.
Display of Maximum Drawdown During the Investment Period: In the provided table, you can see the maximum loss incurred in each of the two strategies during your hypothetical investment period, on what date this occurred, and what your capital was before and after in each of the two scenarios.
Display of Buy and Sell Suggestions: You can also see the suggested amount of Bitcoin to buy and sell at what prices, based on your investment amount.
Alarm: This indicator usually provides an alarm one or more days before the start of a selling period, notifying you that a sell signal will be issued soon.
Customization Options: In this indicator, you can customize your investment date and amount. You can also determine the display of label text (including price and buy/sell amount) and its size. This indicator also supports the Persian language.
🟡 How it Works and Signal Issuance Mechanism
This indicator uses three main methods for calculations:
Deceleration of Overall Price Growth : This indicator has found that the price of Bitcoin grows and fluctuates around an overall axis, and the intensity of this upward axis's growth gradually decreases.
Halving Impact : This indicator has found that the price of Bitcoin has grown from approximately one year before a halving and this growth continues for at least one year after the halving. It has also found that the price experiences a sharp one-year decline in the range between two halvings. Consequently, time-wise, based on halving, it displays a selling period (as a red box) on the chart. Considering the Bitcoin price growth explained in the previous point, it draws a line in the middle of the red box, identifying prices above that line as a suitable selling area. The inverse of this process is considered for buying.
Historical Peak Growths and Deepest Declines : This indicator analyzes Bitcoin's historical peak growths and deepest declines. Based on this, when declines are relatively large compared to what has occurred in the past, it issues the first buy suggestion. If the price decline continues, it sequentially issues the second and finally the third buy suggestion. The inverse of this process is followed for issuing sell suggestions.
🟡 Usage Guide
Add the indicator to your chart
Go to the indicator's settings section
In the Inputs tab, you can adjust the following values:
Set the initial investment amount in USD
Set the investment start date, from which calculations will begin
Set the language for displaying information on the chart, which is English by default
Display or hide labels for price and buy/sell volume on candles
The indicator will automatically display the results on the chart and in its information panel
🟡 Important Notes and Limitations
Compatibility : This indicator is specifically designed for the BTCUSD pair. To access the maximum historical data, you must use the INDEX broker chart and the Daily timeframe ; otherwise, the indicator will display a warning message.
Long-Term Tool : This indicator is a macro analysis tool. Its signals are rarely issued and are designed to capture large trends spanning several months or years. This tool is by no means suitable for day trading or scalping.
Non-Repainting : Buy and sell signals become definitive after the daily candle closes and do not change in the past. This feature increases the validity of backtests.
Note Regarding the Source Code : The core logic of this indicator, especially the proprietary formulas used, is the result of personal research and development. To preserve this unique methodology and ensure its integrity for future developments, this version is released as closed-source. However, we have made every effort to fully and transparently describe the indicator's logic and operational process in the explanations.
🔴 Disclaimer
This indicator is provided solely for educational, informational, and analytical purposes and should under no circumstances be considered financial advice or a definitive signal for buying and selling. Past market performance is by no means a guarantee of future results. All investment and trading activities involve risk, and the user is solely responsible for any profits or losses. Please conduct your own research and consult with a financial advisor before making any financial decisions.
🔴 Developers: Mr. Mohammad sanaei, Mrs. Hamideh Azari
⭐️⭐️ Feel free to share your feedback in the comments ⭐️⭐️
این اندیکاتور ابزاری تحلیلی و بلندمدت برای سرمایهگذاری در بیتکوین است که با الهام از چرخههای تاریخی هاوینگ، بیشترین رشد و افت ها تاریخی و روند کلی رشد قیمت طراحی شده است.
هدف اصلی این اندیکاتور، ارائه یک دیدگاه استراتژیک به سرمایهگذاران است تا بتوانند فازهای کلیدی بازار مانند دورههای فروش عمده و خرید عمده بیت کوین را بهتر شناسایی کنند.
🔴 توسعه دهندگان: محمد ثنائی، حمیده آذری
⭐️⭐️ لطفاً نظرات خود را در کامنتها با ما در میان بگذارید; از خواندن بازخوردهای شما خوشحال میشویم. ⭐️⭐️
Quantum Yield MatrixQuantum Yield Matrix is a sophisticated Pine Script™ v6 indicator designed to empower traders with a dynamic visualization of compound returns across global markets. It generates a customizable table showcasing daily percentage changes, cumulative compound returns, and performance differentials for a user-selected index and up to 10 stocks within a defined date range. The table automatically updates when the date range is modified, ensuring seamless flexibility for analysis. Ideal for portfolio evaluation, benchmark comparisons, and multi-exchange tracking, this tool operates independently of external data sources.
Key Features
Multi-Exchange Support: Integrates data from major exchanges, including BIST (Turkey), NYSE and NASDAQ (USA), SSE (China Shanghai Composite), XETR (Germany DAX), NSE (India NIFTY), and TVC (Japan Nikkei and other indices). Users select a single exchange per analysis, with automatic prefixing for accurate symbol resolution (e.g., NASDAQ:NDX).
Performance Metrics: Computes daily returns ((close - previous close) / previous close), aggregates compound returns over the period, and provides:Total return percentages.
Stock-versus-index performance differences (e.g., alpha insights).
A bottom summary comparing the watchlist’s average return to the index.
Visual Table Design: Features a color-coded table (green for positive returns, red for negative, gray for totals) with date headers for intuitive readability. Missing data is elegantly handled with "No Data" in gray cells, ensuring robust calculations.
Dynamic Customization: Allows full adjustment of exchange, index symbol (e.g., NDX for NASDAQ), stock symbols (e.g., AAPL, TSLA), and date range. The table dynamically recalculates when the date range changes, making it perfect for backtesting or forward-looking analysis.
Purpose and BenefitsQuantum Yield Matrix delivers a quantum leap in yield analysis by organizing complex return data into a clear, matrix-like table. It simplifies portfolio performance evaluation against benchmarks, highlighting outperforming assets at a glance. Whether assessing a NASDAQ tech portfolio against NDX or exploring emerging market stocks, this tool saves time, enhances decision-making, and fosters cross-market awareness for diversified strategies in today’s interconnected global economy.
How It Works
Setup: In the indicator settings, select an exchange (default: NASDAQ), input the index symbol (e.g., NDX), and up to 10 stock symbols (defaults: AAPL, TSLA, MSFT, etc.). Define the analysis period with start and end dates. Adjusting the date range instantly updates the table.
Data Retrieval: Leverages TradingView’s request.security function to fetch daily closing prices for each symbol, respecting the chosen exchange prefix (e.g., "NASDAQ:NDX").
Calculations:Daily returns are calculated as percentage changes.
Compound returns accumulate multiplicatively (starting from 1.0, multiplied by (1 + daily return)).
Comparisons subtract index returns from each stock’s total, with averages summarized at the bottom.
Rendering: Constructs a detailed table at the top-center of the chart and a summary table at the bottom. The script aligns with the chart’s timeframe but aggregates data to daily ("D") for consistency.
Edge Cases: If data is unavailable (e.g., due to exchange-specific holidays), cells display "No Data," preserving the integrity of compound return calculations.
Important Usage Note: For optimal results, set your chart symbol to match the analyzed exchange, such as NASDAQ:NDX for US data. The indicator relies on the chart’s bars, so mismatched symbols (e.g., a BIST symbol for US data) may skip non-trading days (e.g., July 15, a Turkish holiday).
Use daily or higher timeframes for best performance.
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial, investment, or trading advice. Past performance is not indicative of future results, and all trading involves risk of loss. Users are solely responsible for their decisions. The script is original, uses only built-in Pine Script functions, and complies with TradingView’s publishing rules—no external libraries, exaggerated claims, or guarantees are implied. Always verify data accuracy and consult professionals before acting on insights.
Feedback is welcome—feel free to fork and enhance!
Bias Dashboard + All Open Lines (M/W/D/H4/H1/15min)What does the script do?
This script displays a dashboard that shows the current market bias relative to the open prices of multiple timeframes:
Monthly
Weekly
Daily
4H
1H
15min
Additionally, it plots horizontal lines at each of these open levels on the chart.
How it works
Fetch Open Prices:
The script uses request.security() to get the open prices for each timeframe.
Determine Bias:
Compares the current close price to each open:
If close > open, then "Bullish"
If close < open, then "Bearish"
Display Dashboard:
A visual dashboard shows:
The timeframe label
Whether the current price is above (bullish) or below (bearish) that level
Plot Lines:
Colored horizontal lines are drawn on the chart to indicate each timeframe’s open level.
Gann Single Square Swing Trading System with Gann AnglesGann Single Square Swing Trading System
This script automatically detects "squares" - geometric patterns where price movement equals time movement. When price moves the same distance as the number of bars (time), it creates powerful support/resistance levels based on Gann theory.
Key Visual Elements
• Box: The detected square pattern
• Dark Blue Line (50%): Most important trading level
• Green Lines: Profit target levels (125%, 150%)
• Red Lines: Stop loss levels (-25%, -50%)
• Colored Angle Lines: Gann angles for trend direction
• Quality Score: Blue label showing setup strength (aim for 70%+)
Simple Trading Rules
LONG Trades (Green 🟢 Square)
1. Entry: Buy when price touches the dark blue 50% line from above
2. Stop Loss: Place below the red -25% line
3. Take Profit: Exit at green 125% line (first target) or 150% line (second target)
SHORT Trades (Red 🔴 Square)
1. Entry: Sell when price touches the dark blue 50% line from below
2. Stop Loss: Place above the red -25% line
3. Take Profit: Exit at green 125% line (first target) or 150% line (second target)
Entry Checklist
✅ Square quality score > 70%
✅ Price touches 50% level (dark blue line)
✅ Volume above average (if volume filter enabled)
✅ Clear square formation visible
Alerts
The script generates automatic alerts when price reaches the 50% trading level. Enable alerts in TradingView to get notified of setups.
Bottom Line: Wait for the alert → Check quality score → Enter at 50% level → Set stop at red line → Take profit at green line.
24/7 Dynamic Scalper - Session + ATR Filters24/7 Dynamic Scalper — Session + ATR Filters
The only scalping strategy you’ll need for non-stop, high-precision trading — engineered for automation and hands-off profits!
Session Filtering: Trade only during the hottest market hours (Asia Open & EU Session) — fully automatic.
ATR Stability & Dynamic Risk: Filters out chop and volatility spikes for cleaner, higher-probability entries.
Momentum & Exhaustion Protection: Built-in RSI & MACD logic blocks overbought/oversold traps and weak signals.
Time-in-Trade Auto-Exit: No more stale trades — get capped exposure for every position.
Auto Alerts: Sends structured, ready-to-automate alerts (BUY/SELL/EXIT) — perfect for webhook and bot traders.
Optional Volume/TP Filters: Toggle volume spikes, dynamic ATR-based TP, and even “big candle” protection.
Fully Customizable: Fine-tune everything from leverage to max stop loss (in USDT), bar/range filters, and much more.
Best for: Fast scalpers, algo traders, automation junkies, and anyone who wants a robust, hands-off approach to perpetual futures.
👇 How it Works (Feature Breakdown):
Session Filters: Restricts signals to the highest liquidity hours (Asia/EU), or trade 24/7 — your choice!
ATR + Range Filters: Ensures every entry has real volatility and avoids dangerous chop.
Momentum Logic: Combines EMA, MACD slope, and RSI direction to hunt for real breakouts only.
Exhaustion Safeguards: Avoids classic scalp reversals by blocking overbought/oversold and exhausted MACD/RSI momentum.
Drawdown Defense: Detects “big candle” traps, ATR surges, and lets you cap stop-loss by percent or by max USDT.
Hands-Off Management: All exits (TP/SL/trailing) are managed by your backend/bot via structured alerts — the script keeps charts clean and exits only by time cap (so no backend/strategy overlap).
Ready for Webhook Automation: Clean JSON alerts for BUY, SELL, and CLOSE — drop them straight into your bot for instant auto-trading.
No repaint, no nonsense — just cold, fast, high-frequency scalping with robust, smart filters.
🚀 Plug, Play, Automate.
Copy to your chart, tweak your session/ATR/settings, and wire up your alert to your favorite webhook bot.
Perfect for Bybit, MEXC, Binance, and anywhere you can automate.
Daily, Weekly, Monthly Separators (ScalpTheTicker)I put together this Daily, Weekly and Monthly separating indictor after I couldn't find one on Tradingview that did what I was looking for.
It is basic but it does the job I needed.
Feel free to use this indicator and hopefully it does what you need.
Weekly and Daily SeparatorI put together this Weekly and Daily separating indicator as I couldn't find one already done that suited what I was trying to find.
This indicator is basic but it does the job I needed.
Feel free to use it and I hope it is what you are looking for.
BARTRADINGPREDV4Please note, that all of the indicators on the chart are working together. I am showing all of the indicators so that you might see the benefits of these indicators working as one. Do your own research. Trade smart. I code tools not advice. So please make decisions based on your trading style and knowledge. Use my scripts freely but please note they are protected by Mozilla.
Script Summary: BARTRADINGPREDV4
This Pine Script indicator is a comprehensive trading tool that overlays on your TradingView chart. It combines moving averages, regression channels, volume analysis, RSI filtering, and pattern recognition to assist in making trading decisions. It also provides a forward-looking projection to help anticipate future price movement.
Key Features & Logic
1. Moving Averages
HMA (High Moving Average): Simple moving average of the high price over a user-defined lookback period.
LMA (Low Moving Average): Simple moving average of the low price over the same period.
HLMA (High-Low Moving Average): The average of HMA and LMA, providing a midline reference.
2. RSI Filtering
Optionally enables a Relative Strength Index (RSI) filter to help avoid trades when the market is not trending strongly.
Only allows buy signals if RSI is above 50, and sell signals if RSI is below 50 (if enabled).
3. Signal Generation
BUY Signal: Triggered when HL2 (average of OHLC) crosses over LMA and (optionally) RSI > 50.
SELL Signal: Triggered when HL2 crosses under HMA and (optionally) RSI < 50.
XSB (Extra Strong Buy): HL2 crosses over HMA, is above HLMA, up volume is greater than down volume, and (optionally) RSI > 50.
XBS (Extra Strong Sell): HL2 crosses under LMA, is below HLMA, down volume is greater than up volume, and (optionally) RSI < 50.
Enable/Disable XSB/XBS: You can turn these signals on or off via script inputs.
4. Take Profit (TP) and Stop Loss (SL) Levels
TP and SL are dynamically calculated based on the difference between HMA and LMA, providing contextually relevant exit levels.
5. Regression Channel and Prediction
Linear Regression Line: Plots a regression line over the lookback period to show the underlying trend.
ATR Channel: Adds an upper and lower channel around the regression line using ATR (Average True Range) for a realistic prediction envelope.
Forward Projection: Projects the regression line forward by a user-defined number of bars, visually showing where the trend could extend if current momentum persists.
6. Pattern Recognition
Higher Highs/Lows and Lower Highs/Lows: Marks bars where new higher highs/lows or lower highs/lows are set, helping you spot trend continuation or reversal points.
7. Status Table
A table shows the current price’s relationship to HMA, HLMA, and LMA, color-coded for quick visual interpretation.
User Instructions
Inputs
Number of Lookback Bars: Sets the period for all moving averages and regression calculations.
Prediction Length: (Legacy; not used in current logic.)
TURN ON OR OFF XSB/XBS Signal: Toggle extra strong buy/sell signals.
Enable RSI Filter: Only allow signals when RSI is in the correct zone.
RSI Period: Sets the sensitivity of the RSI filter.
Table Position: Choose where the status table appears on your chart.
ATR Length & Multiplier: Control the width of the regression prediction channel.
Bars Forward (Projection): Number of bars to project the regression line into the future.
How to Use
Add the script to your TradingView chart.
Adjust inputs to suit your asset and timeframe.
Interpret signals:
BUY (B) and SELL (S): Appear as green/red labels below/above bars.
XSB (blue) and XBS (orange): Indicate extra strong buy/sell conditions.
HH/HL (green triangles): New higher highs/lows.
LH/LL (red triangles): New lower highs/lows.
Watch the regression channel: The yellow regression line shows the trend; the shaded band indicates expected volatility.
Check the projection: The dashed magenta line projects the regression trend forward, giving a visual target for price continuation.
Use the table: Quickly see if price is above or below each moving average.
Interpreting the Prediction Aspects
Regression Line & Channel
Regression Line (Yellow): Represents the best-fit line of price over the lookback period, showing overall trend direction.
ATR Channel: The upper and lower bands (yellow, semi-transparent) account for typical volatility, suggesting a range where price is likely to stay if the trend continues.
Forward Projection
Dashed Magenta Line: Projects the regression line forward by the specified number of bars, using the current slope. This is a trend continuation forecast—not a guarantee, but a statistically reasonable path if current conditions persist.
How to use: If price is respecting the regression trend and within the channel, the projection provides a visual target for where price might go in the near future.
TP/SL Levels
TP (Take Profit): Suggests a price target above the current HL2, based on recent volatility.
SL (Stop Loss): Suggests a protective stop below HL2.
Best Practices & Warnings
No indicator is perfect! Always combine signals with your own analysis and risk management.
Regression projection is not a crystal ball: It simply extends the current trend, which can and will change, especially after big news or at support/resistance.
Use on liquid, trending assets for best results.
Adjust lookback and ATR settings for your market and timeframe.
Summary Table Example
Price vs HMA vs HLMA vs LMA
43000 +100 +50 -20
Green: Price is above average (bullish).
Red: Price is below average (bearish).
Yellow: Price is very close to the average (neutral).
Final Notes
This script is designed to be a multi-tool for trend trading and prediction, combining classic and modern techniques. The forward projection helps visualize possible future price action, while signals and overlays keep you informed of trend shifts and trade opportunities.
ICT Average Daily Range (ADR)📊 ICT Average Daily Range (ADR) Indicator
This indicator implements the Average Daily Range (ADR) concept taught by ICT (Inner Circle Trader). It calculates the average range of previous trading days and projects key levels for the current session, helping traders identify high-probability targets and reversal zones.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ KEY FEATURES
- Accurate ADR Calculation - Uses only completed trading sessions (excludes current incomplete day)
- ICT Judas Swing Levels - Highlights the critical 1/3 ADR levels where institutional manipulation often occurs
- Two Calculation Modes - New York Midnight (ICT recommended) or Classic Daily
- Customizable Fractional Levels - 1/3, 2/3, 25%, 50%, 75% of ADR
- Smart Labels - Display price levels and percentage from open
- Flexible Visual Style - Separate line styles for different level groups
- Session Dividers - Optional vertical lines at session start
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📅 WEEKEND SESSION HANDLING
How Forex Sessions Work:
- Monday-Thursday: Full 24-hour sessions
- Friday: Partial session (00:00 to ~17:00 NY time)
- Sunday: Partial session (~17:00 NY to Monday 00:00)
- Saturday: No trading
Impact on ADR:
Both Friday and Sunday are partial sessions which can lower your ADR average. For example: Mon-Thu average 100 pips, Fri 70 pips, Sun 30 pips = 5-day ADR of 80 pips.
Other Markets:
- Crypto: 24/7 trading, no partial days
- Futures/Stocks: No Sunday session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 ICT CONCEPTS
Average Daily Range (ADR)
Statistical measure of average price movement per day. Acts as a "magnet" for price - markets tend to fulfill their ADR.
1/3 ADR Levels - "Judas Swing"
ICT's signature concept for identifying manipulation zones. Price often sweeps these levels to trap retail traders before reversing. High-probability reversal areas during London/NY sessions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS GUIDE
ADR Period: Number of days for calculation (default 5)
- Lower values = More responsive
- Higher values = Smoother levels
Calculation Mode:
- New York Midnight - ICT standard, best for Forex
- Classic Daily - Exchange timezone
Level Display:
- ADR High/Low - Primary targets
- 1/3 Levels - Judas Swing zones
- 2/3 Levels - Trending day targets
- Quarter Levels - 25% and 75%
- 50% Level - Mid-range
Visual Options:
- Separate line styles for each level group
- Customizable colors and width
- Optional labels with price/percentage
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TRADING TIPS
1. Early Session: If price moves to 1/3 ADR quickly, watch for Judas Swing reversal
2. Mid Session: Use 2/3 levels as continuation targets in trending markets
3. Late Session: ADR completion often marks session extremes
4. Risk Management: Use fractional levels for scaling positions
5. Confluence: Combine with Fair Value Gaps, Order Blocks, and Liquidity Pools
Best Timeframes: 15m, 30m, 1H, 4H for intraday trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
- Based on concepts taught by ICT (Inner Circle Trader)
- Requires at least 5 completed sessions for full accuracy
- ICT suggested using "New York Midnight" mode
- Weekend sessions handled based on actual market hours
- Be aware that Friday/Sunday partial sessions may lower ADR average
Created with focus on clean implementation and ICT's core teachings.
Portfolio Tracker ARJO (V-01)Portfolio Tracker ARJO (V-01)
This indicator is a user-friendly portfolio tracking tool designed for TradingView charts. It overlays a customizable table on your chart to monitor up to 15 stocks or symbols in your portfolio. It calculates real-time metrics like current market price (CMP), gains/losses, and stoploss breaches, helping you stay on top of your investments without switching between multiple charts. The table uses color-coding for quick visual insights: green for profits, red for losses, and highlights breached stoplosses in red for alerts. It also shows portfolio-wide totals for overall performance.
Key Features
Supports up to 15 Symbols: Enter stock tickers (e.g., NSE:RELIANCE or BSE:TCS) with details like buy price, date, units, and stoploss.
Symbol: The stock ticker and description.
Buy Date: When you purchased it.
Units: Number of shares/units held.
Buy Price: Your entry price.
Stop Loss: Your set stoploss level (highlighted in red if breached by CMP).
CMP: Current market price (fetched from the chart's timeframe).
% Gain/Loss: Percentage change from buy price (color-coded: green for positive, red for negative).
Gain/Loss: Total monetary gain/loss based on units.
Optional Timeframe Columns: Toggle to show % change over 1 Week (1W), 1 Month (1M), 3 Months (3M), and 6 Months (6M) for historical performance.
Portfolio Summary: At the top of the table, see total % gain/loss and absolute gain/loss for your entire portfolio.
Visual Customizations: Adjust table position (e.g., Top Right), size, colors for positive/negative values, and intensity cutoff for gradients.
Benchmark Index-Based Header: The title row's background color reflects NIFTY's weekly trend (green if above 10-week SMA, red if below) for market context.
Benchmark Index-Based Header: The title row's background color reflects NIFTY's weekly trend (green if above 10-week SMA, red if below) for market context.
How to Use It: Step-by-Step Guide
Add the Indicator to Your Chart: Search for "Portfolio Tracker ARJO (V-01)" in TradingView's indicator library and add it to any chart (preferably Daily timeframe for accuracy).
Input Your Portfolio Symbols:
Open the indicator settings (gear icon).
In the "Symbol 1" to "Symbol 15" groups, fill in:
Symbol: Enter the ticker (e.g., NSE:INFY).
Year/Month/Day: Select your buy date (e.g., 2024-07-01).
Buy Price: Your purchase price per unit.
Stoploss: Your exit price if things go south.
Units: How many shares you own.
Only fill what you need—leave extras blank. The table auto-adjusts to show only entered symbols.
Customize the Table (Optional):
In "Table settings":
Choose position (e.g., Top Right) and size (% of chart).
Toggle "Show Timeframe Columns" to add 1W/1M/3M/6M performance.
In "Color settings":
Pick colors for positive (green) and negative (red) cells.
Set "Color intensity cutoff (%)" to control how strong the colors get (e.g., 10% means changes above 10% max out the color).
Interpret the Table on Your Chart:
The table appears overlaid—scan rows for each symbol's stats.
Look at colors: Greener = better gains; redder = bigger losses.
Check CMP cell: Red means stoploss breached—consider selling!
Portfolio Gain/Loss at the top gives a quick overall health check.
For Best Results:
Use on a Daily chart to avoid CMP errors (the script will warn if on Weekly/Monthly).
Refresh the chart or wait for a new bar if data doesn't update immediately.
For Indian stocks, prefix with NSE: or BSE: (e.g., BSE:RELIANCE).
This is for tracking only—not trading signals. Combine with your strategy.
If no symbols show, ensure inputs are valid (e.g., buy price > 0, valid date).
Finally, this tool makes it quite easy for beginners to track their portfolios, while also giving advanced traders powerful and customizable insights. I'd love to hear your feedback—happy trading!