Chart VWAP█ OVERVIEW
This indicator displays a Volume-Weighted Average Price anchored to the leftmost visible bar of the chart. It dynamically recalculates when the chart's visible bars change because you scroll or zoom your chart.
If you are not already familiar with VWAP, our Help Center will get you started. The typical VWAP is designed to be used on intraday charts, as it resets at the beginning of the day. Our Rolling VWAP , instead, resets on a rolling time window. You may also find the VWAP Auto Anchored built-in indicator worth a try.
█ HOW TO USE IT
Load the indicator on an active chart (see the Help Center if you don't know how). By default, it displays the chart's VWAP in orange and a simple average of the chart's visible close values in gray. This average can be used as a companion to the VWAP, since both are calculated from the same set of bars. The script's settings allow you to hide it.
You may also use the script's settings to enable the display of the chart's OHLC (open, high, low, close) levels and the values of the high and low. These are also calculated from the range of visible bars. You can complement the high and low lines with their price and their distance in percent from the chart's latest visible close . You can use the levels to quickly identify the distances from extreme points in the visible price range, as well as observe the visible chart's beginning and end prices.
█ NOTES FOR Pine Script™ CODERS
This script showcases three novelties:
• Dynamic recalculation on visible bars
• The VisibleChart library by PineCoders
• The new `anchor` parameter of ta.vwap()
Dynamic recalculation on visible bars
This script behaves in a novel way made possible by the recent introduction of two new built-in variables: chart.left_visible_bar_time and chart.right_visible_bar_time , which return the opening time of the leftmost and rightmost visible bars on the chart. These are only two of many new built-ins in the `chart.*` namespace. See this blog post for more information, or look up them up by typing "chart." in the Pine Script™ Reference Manual .
Any script using chart.left_visible_bar_time or chart.right_visible_bar_time acquires a unique property, which triggers its recalculation when traders scroll or zoom their chart, causing the range of visible bars to change. This new capability is what makes it possible for this script to calculate its VWAP on the chart's visible bars only, and dynamically recalculate if the user scrolls or zooms their chart.
This script is just a start to the party; endless uses for indicators that redraw on changes to the chart will no doubt emerge through the hands of our community's Pine Script™ programmers.
The VisibleChart library by PineCoders
The newly published VisibleChart library is designed to help programmers benefit from the new capabilities made possible by the fact that Pine Script™ code can now tell when it is executing on visible bars. The library's description, functions and example code will help programmers make the most of the new feature.
This script uses three of the library's functions:
• `PCvc.vVwap()` calculates a VWAP for visible bars.
• `PCvc.avg()` calculates the average of a source value for visible bars only. We use it to calculate the average close (the default source).
• `PCvc.chartXTimePct(25)` calculates a time value corresponding to 25% of the horizontal distance between visible bars, starting from the left.
The new `anchor` parameter of ta.vwap()
Our script also uses this new `anchor` parameter to reset the VWAP at the leftmost visible bar. See how simple the code is for the VisibleChart library's `vVwap()` function.
Look first. Then leap.
Search in scripts for "chart"
Lower time frame Intrabar CandlesI was looking for an indicator to show me what a lower time frame is doing at the start, middle, and end of the candle, but I couldn't find one, hench,
I made my own using Tradingview latest capabilities to fetch a lower time frame from a higher time frame chart.
For example, if your chart is 1 hour and this indicator is set to a lower time frame of 15 minutes, then the Start, Middle, or End (Select which in settings) of the 15min candle will be displayed overlaying the 1-hour candle.
This will always show you what the lower time frame candle is currently doing without the need to open an additional lower time frame chart. How cool is that?
Remember to select a lower time frame in the settings than the chart time frame for it to work as expected.
Enjoy :)
-=== Notes ===-
* The lower time frame candles BORDER is set to WHITE by default, however, you can adjust the color of the candle (wicks, body, and border) of the 'LTF Candle' indicator inside its Settings -> Style
* Suitable for candles and designed to work in historical and real time.
* Added optional label to show lower time frame values (can be disabled via indicator settings).
* You can adjust the visuals of the chart candles at Chart Settings -> Symbol -> Body, Borders, or Wicks to visually see better the lower time frame candles.
There is also a similar concept volume-based using histogram, stay tuned.
Like if you like and follow: www.tradingview.com
Charting the US02Y-US10YPutting together a script that charts the US02Y - US10Y in visual format. First script I've ever written and would like some feed back as to how I could improve. Also currently have to turn on "Indicator Last Value Label, and Indicator Name Label" if you would like data to appear on the chart. Works best when the US02Y-US10Y chart is being displayed!
Vertical Lines at Specific Times### **Script Description**
This **Pine Script v6** indicator for **TradingView** plots **vertical dotted lines** at user-specified times, marking key time ranges during the day. It is designed to help traders visually track market movements within specific timeframes.
#### **Features:**
✔ **Custom Timeframes:**
- Two separate time ranges can be defined:
- **Morning Session:** (Default: 9 AM - 10 AM, New York Time)
- **Evening Session:** (Default: 9 PM - 10 PM, New York Time)
✔ **Adjustable Line Properties:**
- **Line Width:** Users can change the thickness of the vertical lines.
- **Line Colors:** Users can select different colors for morning and evening session lines.
✔ **New York Local Time Support:**
- Ensures that the vertical lines appear correctly based on **Eastern Time (ET)**.
✔ **Full-Height Vertical Lines:**
- Lines extend across the **entire chart**, from the highest high to the lowest low, for clear visibility.
- Uses **dotted line style** to avoid cluttering the chart.
#### **How It Works:**
1. The script retrieves the **current date** (year, month, day) in **New York time**.
2. Converts the **user-defined input times** into **timestamps** for accurate placement.
3. When the current time matches a specified session time, a **dotted vertical line** is drawn.
4. The script **repeats this process daily**, ensuring automatic updates.
#### **Customization Options (Inputs):**
- **Morning Start & End Time** (Default: 9 AM - 10 AM)
- **Evening Start & End Time** (Default: 9 PM - 10 PM)
- **Line Width** (Default: 2)
- **Morning Line Color** (Default: Blue)
- **Evening Line Color** (Default: Green)
#### **Use Case Scenarios:**
📈 Marking market **open & close** hours.
📊 Highlighting **key trading sessions** for day traders.
🔎 Identifying time-based **price action patterns**.
Percentage Based ZigZag█ OVERVIEW
The Percentage-Based ZigZag indicator is a custom technical analysis tool designed to highlight significant price reversals while filtering out market noise. Unlike many standard zigzag tools that rely solely on fixed price moves or generic trend-following methods, this indicator uses a configurable percentage threshold to dynamically determine meaningful pivot points. This approach not only adapts to different market conditions but also helps traders distinguish between minor fluctuations and truly significant trend shifts—whether scalping on shorter timeframes or analyzing longer-term trends.
█ KEY FEATURES & ORIGINALITY
Dynamic Pivot Detection
The indicator identifies pivot points by measuring the percentage change from the previous extreme (high or low). Only when this change exceeds a user-defined threshold is a new pivot recognized. This method ensures that only substantial moves are considered, making the indicator robust in volatile or noisy markets.
Enhanced ZigZag Visualization
By connecting significant highs and lows with a continuous line, the indicator creates a clear visual map of price swings. Each pivot point is labelled with the corresponding price and the percentage change from the previous pivot, providing immediate quantitative insight into the magnitude of the move.
Trend Reversal Projections
In addition to marking completed reversals, the script computes and displays potential future reversal points based on the current trend’s momentum. This forecasting element gives traders an advanced look at possible turning points, which can be particularly useful for short-term scalping strategies.
Customizable Visual Settings
Users can tailor the appearance by:
• Setting the percentage threshold to control sensitivity.
• Customizing colors for bullish (e.g., green) and bearish (e.g., red) reversals.
• Enabling optional background color changes that visually indicate the prevailing trend.
█ UNDERLYING METHODOLOGY & CALCULATIONS
Percentage-Based Filtering
The script continuously monitors price action and calculates the relative percentage change from the last identified pivot. A new pivot is confirmed only when the price moves a preset percentage away from this pivot, ensuring that minor fluctuations do not trigger false signals.
Pivot Point Logic
The indicator tracks the highest high and the lowest low since the last pivot. When the price reverses by the required percentage from these extremes, the algorithm:
1 — Labels the point as a significant high or low.
2 — Draws a connecting line from the previous pivot to the current one.
3 — Resets the extreme-tracking for detecting the next move.
Real-Time Reversal Estimation
Building on traditional zigzag methods, the script incorporates a projection calculation. By analyzing the current trend’s strength and recent percentage moves, it estimates where a future reversal might occur, offering traders actionable foresight.
█ HOW TO USE THE INDICATOR
1 — Apply the Indicator
• Add the Percentage-Based ZigZag indicator to your trading chart.
2 — Adjust Settings for Your Market
• Percentage Move – Set a threshold that matches your trading style:
- Lower values for sensitive, high-frequency analysis (ideal for scalping).
- Higher values for filtering out noise on longer timeframes.
• Visual Customization – Choose your preferred colors for bullish and bearish signals and enable background color changes for visual trend cues.
• Reversal Projection – Enable or disable the projection feature to display potential upcoming reversal points.
3 — Interpret the Signals
• ZigZag Lines – White lines trace significant high-to-low or low-to-high movements, visually connecting key swing points.
• Pivot Labels – Each pivot is annotated with the exact price level and percentage change, providing quantitative insight into market momentum.
• Trend Projections – When enabled, projected reversal levels offer insight into where the current trend might change.
4 — Integrate with Your Trading Strategy
• Use the indicator to identify support and resistance zones derived from significant pivots.
• Combine the quantitative data (percentage changes) with your risk management strategy to set optimal stop-loss and take-profit levels.
• Experiment with different threshold settings to adapt the indicator for various instruments or market conditions.
█ CONCLUSION
The Percentage-Based ZigZag indicator goes beyond traditional trend-following tools by filtering out market noise and providing clear, quantifiable insights into price action. With its percentage threshold for pivot detection and real-time reversal projections, this original methodology and customizable feature set offer traders a versatile edge for making informed trading decisions.
Footprint Delta Candles + Real-Time VolumeKey Features:
Volume Delta Calculation 📊:
The indicator calculates the delta between the buying and selling volumes of each candlestick.
buyVolume is the volume if the closing price is higher than the opening price (📈)
sellVolume is the volume if the closing price is lower than the opening price (📉)
The difference between these two values (delta) is used to determine whether the candlestick is bullish or bearish.
Point of Control (POC) 📍:
POC is the price with the highest volume between the buy volume and sell volume in a given time period (length).
POC is represented by a blue line.
Candlestick Color 🌈:
Candlesticks are colored according to the delta value:
Green (📈) when delta > 0
Red (📉) when delta < 0
Volume Bars 📊:
Buy Volume Bar: The green bar indicates the buying volume, which is scaled according to the maximum volume in the length range.
Sell Volume Bar: The red bar indicates the selling volume, which is scaled accordingly.
Volume Indicator 🔊:
A small circle is displayed above or below the candle, depending on whether the volume is greater than the buy or sell volume. The size of the circle is small so as not to overwhelm the display.
Customization Options ⚙️:
Delta Length (length): Sets the number of candles used to calculate the delta and POC.
POC Line Visibility (showPOC): Toggles the display of the Point of Control (POC) line.
Volume Scale Factor (volScale): Controls the expansion of the volume bar.
Volume Transparency (volTransparency): Adjusts the transparency of the volume bar.
How it works 🔧:
The script tracks the trading volume for each candle and calculates the delta (the difference between the buy and sell volumes).
The Point of Control (POC) is calculated over a given period of time to show the most traded prices.
The color of the candlestick is determined by whether the delta value is positive (📈) or negative (📉).
The volume in each candlestick is represented by a bar that expands to the highest volume in the period, which is superimposed on the price chart.
The small circles help show whether the buy or sell volume is higher. To emphasize the analysis of market pressure
General usage 🛠️:
This indicator is suitable for traders who want to track the trading volume in real time 📅 and help to see how much buying or selling pressure there is ⚡ The Point of Control (POC) line shows the most traded price levels, which can be important support or resistance levels 🔑
Using this indicator allows for a more complete analysis of price movements, including both price movement (candlesticks) and trading volume analysis 💡
This indicator works on
#crypto #forex #gold and all assets.
ATR Tablosu (ozanbey)The purpose of this code is to display the **ATR (Average True Range)** indicator and to visually display this value on **charts and tables**. ATR is an indicator that measures price movement and shows volatility (price currency). For investors and traders, ATR helps them understand volatility in the market and is used in trading strategies such as risk management, determining stop-loss. ### Purpose and Usage of Code: 1. **ATR Calculation**: - ATR value is calculated according to the period recorded by the user. 14-period ATR is used, but this value can be changed. - ATR measures how volatile (fluctuating) the price is. This is a popular indicator used to use volatility.
Bu kodun amacı, **ATR (Average True Range)** göstergesinin gösterilmesi ve bu değerin görsel olarak **grafikte ve tabloda** belirtilmesidir. ATR, fiyat hareketliliğini ölçen bir göstergedir ve volatiliteyi (fiyat para birimini) gösterir. Yatırımcılar ve traderlar için ATR, piyasadaki volatiliteyi anlamalarına yardımcı olur ve ticaret stratejilerinde risk yönetimi, stop-loss'un belirlenmesinin belirlenmesi gibi kullanılır. ### Kodun Amacı ve Kullanımı: 1. **ATR Hesaplama**: - Kullanıcı tarafından kaydedilen periyoda göre ATR değeri hesaplanır. 14 periyotluk ATR kullanılır, ancak bu değer değiştirilebilir. - ATR, fiyatın ne kadar değişken olduğunu (dalgalandığını) ölçer. Bu, volatiliteyi kullanmak için kullanılan popüler bir göstergedir.
Marubozu and Strong Candle DetectorMarubozu and Strong Candle Detector - Indicator Description
This TradingView Pine Script indicator identifies powerful price action signals by detecting two key candle types that can signal strong market momentum:
What It Detects
1. Marubozu Candles: These are candles with little to no wicks, where the body makes up almost the entire candle. Marubozu means "bald head" or "shaved head" in Japanese, referring to the absence of shadows (wicks).
o Bullish Marubozu: A green/up candle with minimal wicks, showing buyers controlled the entire session
o Bearish Marubozu: A red/down candle with minimal wicks, showing sellers dominated the session
2. Strong Candles: These are candles that are significantly larger than the recent average, suggesting exceptional momentum.
o Strong Bullish: Large green/up candles showing powerful buying pressure
o Strong Bearish: Large red/down candles showing powerful selling pressure
Trading Significance
• Bullish Marubozu/Strong Bullish Candles: Often signal the beginning of bullish trends or strong continuation of existing uptrends. These can be excellent entry points for long positions.
• Bearish Marubozu/Strong Bearish Candles: Often indicate the start of bearish trends or powerful continuation of existing downtrends. These can be good entry points for short positions or exit points for long positions.
Key Features
• Customizable Parameters: Adjust sensitivity for body ratio threshold and size comparison
• Visual Indicators: Easy-to-spot markers appear on your charts
• Information Display: Shows key metrics about the current candle
• Alert System: Set notifications for when significant candles form
How To Use This Indicator
1. For Entry Signals:
o Look for bullish Marubozu/strong bullish candles at support levels or after pullbacks
o Look for bearish Marubozu/strong bearish candles at resistance levels or after rallies
2. For Exit Signals:
o Consider taking profits on long positions when bearish Marubozu/strong bearish candles appear
o Consider taking profits on short positions when bullish Marubozu/strong bullish candles appear
3. For Trend Confirmation:
o Multiple signals in the same direction strengthen the case for a trend
This indicator works best on larger timeframes (1H, 4H, Daily) where candle formations have more significance, but can be applied to any timeframe based on your trading style.
Multi-Ticker RS vs SPYThis Pine Script, titled "Multi-Ticker RS vs SPY," is a clean and efficient indicator designed for TradingView, enabling traders to monitor the relative strength (RS) of up to 10 ticker symbols compared to the S&P 500 ETF (SPY) on a single chart. Ideal for options traders, such as those managing a $1,400 account, it provides a simple way to assess which stocks are outperforming or underperforming the broader market. As of February 26, 2025, the script supports any chart timeframe, such as 5-minute or daily intervals, and calculates RS based on a user-defined lookback period, defaulting to 1 bar for real-time insights.
Users can input ticker symbols via customizable settings, with defaults set to popular stocks like AAPL, TSLA, NVDA, GOOGL, AMZN, MSFT, FB, NFLX, INTC, and PYPL. The script fetches closing prices for each ticker and SPY, computes their percentage changes over the lookback period, and determines RS as the ratio of each ticker’s change to SPY’s change, handling division by zero gracefully. It displays each ticker’s current RS score in a vertical column of labels on the chart’s top-left corner, updated on the last bar to avoid clutter. Users can adjust label size (tiny, small, normal, large) and text color for visibility, ensuring a tailored, error-free experience for quick market analysis.
TA Monks - EntriesEntry tool for users who depend on setting entry, stop and profit target based on a candle from the M1, M5 or M15 chart. Created following the Photon FX entry models, this tool allows for automatic lot size calculation and it's easy to set up per forex pair/gold.
All the user must do is set their account balance, risk percentage, target reward, asset pair and the rest is automatically set on the charts with the tool.
Tips:
- Activate a level that once hit, set stop loss at a particular level, default is at the break even
- Set entry type as either STOP or LIMIT
a) On Stop, the tool will activate the trade once price goes above the entry line (formed by the candle size + entry buffer set per pair)
b) On Limit, the same activation level as in STOP is required for the tool to activate the trade but it allows the user to enter Limit at a lower level based on the percentage of the entry candle (default is 0.5, which means 50%). In this mode, The user waits for the liquidity candle to be gained and the enter at a lower price of the range within such candle, increasing the R with the risk of missing the trade.
- On the right bottom corner, you will have certain key informations about the trade, such as time opened, time closed, MFE (maximum forward excursion - how many pips price went in favor of the trade), MAE (maximum adversary excursion - how many pips price went past the selected candle's size without buffer), LC (Liquidity candle size), XBf (extra Buffer - only appears when activated in the menu)
- Extra Buffer setting allow user to add extra buffer for the entry and extra buffer for the Stop Loss that has been set per asset pair. Note that the entry buffer only works with the STOP entry mode and if you want to change the entry level on LIMIT, you must use the limit entry percentage setting.
- If you trade an asset pair that is not supported by the tool, simply copy the code and ask an LLM to update it with the necessary pair. You dont need to know how to code, just let the AI do the hard work for you (preferably, you know the basics and you can ask the AI to read the script and update just the right snippets).
Feel free to adjust and adapt the code to your needs. Let me know if you made any cool changes that I might benefit from as well.
RIFMA - Ruiz Icochea Fibonacci MA"RIFMA, created by Pharaoh BRC-20, is a powerful technical analysis tool harnessing Fibonacci sequence-aligned moving averages (5, 8, 13, 21, 55, 89, 144, 233, 377, 610, 987, 1597). Designed for precision, it dynamically adjusts colors—vivid green for short periods, transitioning through red to deep brown for longer ones—reflecting trends against a dark backdrop. With thin lines for short-term MAs and thicker ones for long-term, RIFMA excels at identifying trends, supports, and resistances across any market. Optimized for TradingView, it’s an essential companion for traders seeking clarity and actionable insights in their charts."
AI Quantum Reversal MACD DadsInvestment How to Read This MACD-Style Quantum Indicator
✔ Green Histogram Bars = Bullish Bottom Reversal (BUY)
✔ Red Histogram Bars = Strong Downtrend Momentum (SELL or Avoid)
✔ Quantum Line (Blue) Crosses Above Signal Line (Orange) = Buy Setup
✔ Quantum Line (Blue) Crosses Below Signal Line (Orange) = Sell Setup
🔹 Best Timeframes for Swing Trading
🏆 4H → Captures Medium-Term Swings
🏆 1D → Best for Swing Trade Reversals
🏆 1W → Strongest Long-Term Trend Reversals
🔥 This is now a MACD-style indicator with AI-driven bottom detection for high-probability reversals.
🔥 Much easier to read while keeping quantum-level accuracy.
🔥 Best used on 4H, 1D, and 1W timeframes for big trade setups.
🔹 Next Steps for You:
✅ Add it to TradingView and test it on 4H, 1D, and 1W charts.
✅ Use alerts so you never miss a perfect bottom reversal.
✅ Fine-tune settings if needed (adjust EMA lengths for different market conditions).
✅ Stack profits & retire early. 😎
Fibonacci - DolphinTradeBot
OVERVIEW
The 'Fibonacci - DolphinTradeBot' indicator is a Pine Script-based tool for TradingView that dynamically identifies key Fibonacci retracement levels using ZigZag price movements. It aims to replicate the Fibonacci Retracement tool available in TradingView’s drawing tools. The indicator calculates Fibonacci levels based on directional price changes, marking critical retracement zones such as 0, 0.236, 0.382, 0.5, 0.618, 0.786, and 1.0 on the chart. These levels are visualized with lines and labels, providing traders with precise areas of potential price reversals or trend continuation.
HOW IT WORKS ?
The indicator follows a zigzag formation. After a large swing movement, when new swings are formed without breaking the upper and lower levels, it places Fibonacci levels at the beginning and end points of the major swing movement."
▪️(Bullish) Structure :High → HigherLow → LowerHigh
▪️(Bearish) Structure :Low → LowerHigh → HigherLow
▪️When Fibonacci retracement levels are determined, a "📌" mark appears on the chart.
▪️If the price closes outside of these levels, a "❌" mark will appear.
USAGE
This indicator is designed to plot Fibonacci levels within an accumulation zone following significant price movements, helping you identify potential support and resistance. You can adjust the pivot periods to customize the zigzag settings to your preference. While classic Fibonacci levels are used by default, you also have the option to input custom levels and assign your preferred colors.
"To view past levels, simply enable the ' Show Previous Levels ' option, and to display the zigzag lines, activate the ' Show Zigzag ' setting."
ALERTS
The indicator, by default, triggers an alarm when both a level is formed and when a level is broken. However, if you'd like, you can select the desired level from the " Select Level " section in the indicator settings and set the alarm based on one of the conditions below.
▪️ cross-up → If the price breaks the Fibonacci level to the upside.
▪️ cross-down → If the price breaks the Fibonacci level to the downside.
▪️ cross-any → If the price breaks the Fibonacci level in any direction.
DCSessionStatsOHLC_v1.0DCSessionStatsOHLC_v1.0
© dc_77 | Pine Script™ v6 | Licensed under Mozilla Public License 2.0
This indicator overlays customizable session-based OHLC (Open, High, Low, Close) statistics on your TradingView chart. It tracks price action within user-defined sessions, calculates average manipulation and distribution levels based on historical data, and visually projects these levels with lines and labels. Additionally, it provides a session count table to monitor bullish and bearish sessions.
Key Features:
Session Customization: Define session time (e.g., "0000-1600") and time zone (e.g., UTC, America/New_York). Analyze up to 20 historical sessions.
Anchor Line: Displays a vertical line at session start with customizable style, color, and optional label.
Session Open Line: Plots a horizontal line at the session’s opening price with adjustable appearance and label.
Manipulation Levels: Calculates and projects average price extensions (high/low relative to open) for manipulative moves, shown as horizontal lines with labels.
Distribution Levels: Displays average price ranges (high/low beyond open) for distribution phases, with customizable lines and labels.
Visual Flexibility: Adjust line styles (solid, dashed, dotted), colors, widths, label sizes, and projection offsets (bars beyond session start).
Session Stats Table: Optional table showing counts of bullish (close > open) and bearish (close < open) sessions, with configurable position and size.
How It Works:
Tracks OHLC data within each session and identifies session start/end based on the specified time range.
Computes averages for manipulation (e.g., low below open in bullish sessions) and distribution (e.g., high above open) levels from past sessions.
Projects these levels forward as horizontal lines, extending them by a user-defined offset for easy reference.
Updates a table with real-time bullish/bearish session counts.
Use Case:
Ideal for traders analyzing intraday or custom session behavior, identifying key price levels, and gauging market sentiment over time.
Toggle individual elements on/off and fine-tune visuals to suit your trading style.
Scalping XAUUSD with Alerts By FahrizalScalping XAUUSD with Alerts By Fahrizal
Overview
Welcome to "Scalping XAUUSD with Alerts," a fast-paced trading strategy crafted for XAUUSD (Gold vs. USD) enthusiasts! Designed by Fahrizal, this strategy leverages short-term price movements, making it perfect for scalpers who thrive on quick trades and tight risk management. Built with precision and adaptability, it combines EMA crossovers, RSI confirmation, and dynamic ATR-based exits to optimize your gold scalping experience.
How It Works
Entry Signals:
Buy: 5-period EMA crosses above 15-period EMA, with RSI > 50 for momentum confirmation.
Sell: 5-period EMA crosses below 15-period EMA, with RSI < 50.
Dynamic Exits:
Stop Loss (SL): 1x ATR for controlled risk.
Take Profit 1 (TP1): 1.5x ATR, closing 50% of the position.
Take Profit 2 (TP2): 3x ATR, closing the remaining 50%.
Visuals & Alerts:
Signals are marked with green (buy) and red (sell) triangles on the chart.
SL, TP1, and TP2 levels are displayed via labels for real-time tracking.
Simple alerts notify you of new buy/sell signals—check the chart for details.
Recommended Settings
Symbol: XAUUSD
Timeframe: M5 (5-minute) for optimal scalping, though M1 or M15 can be tested.
Best Sessions: High-volatility periods like London-New York overlap (e.g., 2:00 PM - 6:00 PM EST).
Customization
Adjust the ATR multipliers in the inputs:
SL Multiplier: Default 1.0 (e.g., 5 pips at ATR 0.5).
TP1 Multiplier: Default 1.5 (e.g., 7.5 pips at ATR 0.5).
TP2 Multiplier: Default 3.0 (e.g., 15 pips at ATR 0.5). Tweak these to suit your risk-reward preferences!
Why Use This Strategy?
Perfect for scalpers seeking fast entries and exits.
ATR-based exits adapt to market volatility, balancing risk and reward.
Clear visuals and alerts keep you in the loop without constant monitoring.
Tips for Success
Backtest on historical XAUUSD data to fine-tune performance.
Watch out for spreads—ensure your broker’s costs align with the tight TP levels.
Trade during volatile sessions for bigger ATR values and better pip potential.
Final Words
This strategy is my take on scalping gold with efficiency and clarity. Whether you're a beginner or a seasoned trader, I hope it brings you profitable trades and a smooth experience. Feel free to share feedback or suggestions—happy trading!
Dynamic Square Levels**Dynamic Square Levels with Strict Range Condition**
This script is designed to help traders visualize dynamic price levels based on the square root of the current price. It calculates key levels above and below the current price, providing a clear view of potential support and resistance zones. The script is highly customizable, allowing you to adjust the number of levels, line styles, and label settings to suit your trading strategy.
---
### **Key Features**:
1. **Dynamic Square Levels**:
- Calculates price levels based on the square root of the current price.
- Plots levels above and below the current price for better market context.
2. **Range Condition**:
- Lines are only drawn when the current price is closer to the base level (`square(base_n)`) than to the next level (`square(base_n + 1)`).
- Ensures levels are only visible when they are most relevant.
3. **Customizable Levels**:
- Choose the number of levels to plot (up to 20 levels).
- Toggle additional levels (e.g., 0.25, 0.5, 0.75) for more granular analysis.
4. **Line and Label Customization**:
- Adjust line width, style (solid, dashed, dotted), and extend direction (left, right, both, or none).
- Customize label text, size, and position for better readability.
5. **Background Highlight**:
- Highlights the background when the current price is closer to the base level, providing a visual cue for key price zones.
---
### **How It Works**:
- The script calculates the square root of the current price and uses it to generate dynamic levels.
- Levels are plotted above and below the current price, with customizable spacing.
- Lines and labels are only drawn when the current price is within a specific range, ensuring clean and relevant visuals.
---
### **Why Use This Script?**:
- **Clear Visuals**: Easily identify key support and resistance levels.
- **Customizable**: Tailor the script to your trading style with adjustable settings.
- **Efficient**: Levels are only drawn when relevant, avoiding clutter on your chart.
---
### **Settings**:
1. **Price Type**: Choose the price source (Open, High, Low, Close, HL2, HLC3, HLCC4).
2. **Number of Levels**: Set the number of levels to plot (1 to 20).
3. **Line Style**: Choose between solid, dashed, or dotted lines.
4. **Line Width**: Adjust the thickness of the lines (1 to 5).
5. **Label Settings**: Customize label text, size, and position.
---
### **Perfect For**:
- Traders who rely on dynamic support and resistance levels.
- Those who prefer clean and customizable chart visuals.
- Anyone looking to enhance their price action analysis.
---
**Get started today and take your trading to the next level with Dynamic Square Levels!** 🚀
Range Rotation Scalping - Gold & BTCTuning for Gold & BTC
Range Threshold (0.3%):
Gold: Moves ~0.1–0.5% intraday on 1m–60m charts during active hours (e.g., London/NY session). 0.3% keeps ranges tight but realistic.
BTC: Can move 0.5–2% in minutes, but 0.3% works for micro-ranges on lower timeframes (e.g., 5m).
Value Area Size (0.7%):
Centered on Tap 1, ±0.7% fits both assets:
Gold: ~$15–20 range around a $2,000 price on 5m–15m.
BTC: ~$300–500 range around a $60,000 price on 5m–15m.
Keeps the BoS fractal within a scalp-friendly zone.
Stop Loss (0.4%) & Take Profit (0.8%):
Gold: 0.4% ≈ $8 stop, $16 profit at $2,000—quick and achievable.
BTC: 0.4% ≈ $240 stop, $480 profit at $60,000—suits its volatility.
1:2 risk-reward ratio for scalping consistency.
Lookback (3):
NQ Scalping - SMB with MACD, Consolidation & FVG Optimized for Scalping:
Shorter lengths for indicators (e.g., MACD, breakout, consolidation) to capture intraday price movements.
Tight consolidation threshold (1%) to identify small consolidation zones.
Fair Value Gap (FVG) Detection:
Detects FVGs within the session and plots them on the chart.
Advanced Entry/Exit Logic:
Combines MACD, breakout, and consolidation conditions to generate precise entry and exit signals.
Signals are only generated during the New York session.
Stop Loss and Take Profit Levels:
Uses ATR (Average True Range) to dynamically calculate stop loss and take profit levels.
Plots these levels on the chart for visual reference.
Sniper TradingSniper Trader Indicator Overview
Sniper Trader is a comprehensive trading indicator designed to assist traders by providing valuable insights and alerting them to key market conditions. The indicator combines several technical analysis tools and provides customizable inputs for different strategies and needs.
Here’s a detailed breakdown of all the components and their functions in the Sniper Trader indicator:
1. MACD (Moving Average Convergence Divergence)
The MACD is a trend-following momentum indicator that helps determine the strength and direction of the current trend. It consists of two lines:
MACD Line (Blue): Calculated by subtracting the long-term EMA (Exponential Moving Average) from the short-term EMA.
Signal Line (Red): The EMA of the MACD line, typically set to 9 periods.
What does it do?
Buy Signal: When the MACD line crosses above the signal line, it generates a buy signal.
Sell Signal: When the MACD line crosses below the signal line, it generates a sell signal.
Zero Line Crossings: Alerts are triggered when the MACD line crosses above or below the zero line.
2. RSI (Relative Strength Index)
The RSI is a momentum oscillator used to identify overbought or oversold conditions in the market.
Overbought Level (Red): The level above which the market might be considered overbought, typically set to 70.
Oversold Level (Green): The level below which the market might be considered oversold, typically set to 30.
What does it do?
Overbought Signal: When the RSI crosses above the overbought level, it’s considered a signal that the asset may be overbought.
Oversold Signal: When the RSI crosses below the oversold level, it’s considered a signal that the asset may be oversold.
3. ATR (Average True Range)
The ATR is a volatility indicator that measures the degree of price movement over a specific period (14 bars in this case). It provides insights into how volatile the market is.
What does it do?
The ATR value is plotted on the chart and provides a reference for potential market volatility. It's used to detect flat zones, where the price may not be moving significantly, potentially indicating a lack of trends.
4. Support and Resistance Zones
The Support and Resistance Zones are drawn by identifying key swing highs and lows over a user-defined look-back period.
Support Zone (Green): Identifies areas where the price has previously bounced upwards.
Resistance Zone (Red): Identifies areas where the price has previously been rejected or reversed.
What does it do?
The indicator uses swing highs and lows to define support and resistance zones and highlights these areas on the chart. This helps traders identify potential price reversal points.
5. Alarm Time
The Alarm Time feature allows you to set a custom time for the indicator to trigger an alarm. The time is based on Eastern Time and can be adjusted directly in the inputs tab.
What does it do?
It triggers an alert at a user-defined time (for example, 4 PM Eastern Time), helping traders close positions or take specific actions at a set time.
6. Market Condition Display
The Market Condition Display shows whether the market is in a Bullish, Bearish, or Flat state based on the MACD line’s position relative to the signal line.
Bullish (Green): The market is in an uptrend.
Bearish (Red): The market is in a downtrend.
Flat (Yellow): The market is in a range or consolidation phase.
7. Table for Key Information
The indicator includes a customizable table that displays the current market condition (Bull, Bear, Flat). The table is placed at a user-defined location (top-left, top-right, bottom-left, bottom-right), and the appearance of the table can be adjusted for text size and color.
8. Background Highlighting
Bullish Reversal: When the MACD line crosses above the signal line, the background is shaded green to highlight the potential for a trend reversal to the upside.
Bearish Reversal: When the MACD line crosses below the signal line, the background is shaded red to highlight the potential for a trend reversal to the downside.
Flat Zone: A flat zone is identified when volatility is low (ATR is below the average), and the background is shaded orange to signal periods of low market movement.
Key Features:
Customizable Time Inputs: Adjust the alarm time based on your local time zone.
User-Friendly Table: Easily view market conditions and adjust display settings.
Comprehensive Alerts: Receive alerts for MACD crossovers, RSI overbought/oversold conditions, flat zones, and the custom alarm time.
Support and Resistance Zones: Drawn automatically based on historical price action.
Trend and Momentum Indicators: Utilize the MACD and RSI for identifying trends and market conditions.
How to Use Sniper Trader:
Set Your Custom Time: Adjust the alarm time to match your trading schedule.
Monitor Market Conditions: Check the table for real-time market condition updates.
Use MACD and RSI Signals: Watch for MACD crossovers and RSI overbought/oversold signals.
Watch for Key Zones: Pay attention to the support and resistance zones and background highlights to identify market turning points.
Set Alerts: Use the built-in alerts to notify you of buy/sell signals or when it’s time to take action at your custom alarm time.
Long Setup IdentifierDescription:
This indicator helps long-only traders identify potential entry points by detecting three key setups: Breakouts, Pullbacks, and Consolidations . It's designed for daily charts but can be adapted to other timeframes.
Key Features:
Breakout (B): Identifies when price breaks above a recent high with increased volume, signaling potential trend continuation or reversal.
Pullback (P): Detects retracements to the 50 EMA in an uptrend, offering potential entry points at support.
Consolidation (C): Highlights periods of low volatility, which often precede breakouts.
The indicator uses small, unobtrusive labels (B, P, C) to mark these setups on the chart, minimizing clutter while providing clear signals.
Customizable Parameters:
Lookback Period: Adjusts the historical data range for calculations.
Breakout Volume Multiplier: Sets the volume threshold for confirming breakouts.
Consolidation Threshold: Determines how tight the price range should be to qualify as consolidation.
This tool is ideal for traders focusing on momentum and trend-following strategies in bullish markets. It helps in identifying optimal entry points for long positions, whether you're looking to enter on breakouts, buy dips, or anticipate moves after consolidation periods.
Note: This indicator is for educational and informational purposes only. Always combine with other forms of analysis and risk management for best results.
NFP High/Low Levels PlusNFP High/Low Levels Plus
Description: This indicator is used to store and plot the most recent 12 NFP (Non-Farm-Payroll) Days on your chart with the High and Low levels of that NFP day.
Usage: NFP Levels can be used as Support and Resistance levels on your chart with the historical significance of price frequently respecting them as such.
NFP Day is one of the big market movers for news/data release monthly, this allows you to view and react to that data visually on your chart. Review previous months' levels and price action near the NFP levels.
Fully Customizable:
- Show or Hide High or Low lines
- Display labels to identify the Month
- Display the level price on lines
- Display Session markers that plot points on bars that occur during an NFP Day
- Automatically draw and update Support and Resistance Boxes
- Support box is drawn at the nearest NFP level below the current price
- Resistance box is drawn at the nearest NFP level above the current price
- Change colors, line settings, and turn on/off the features you want
- Lines and boxes update automatically as each new bar prints
- Directional Macro Indicator
- This indicator shows in the top right corner of the screen
- Macro: Up - activates when two Daily sessions both open and close above the most recent
NFP Day High level
- Macro: Down - activates when two Daily sessions both open and close below the most recent
NFP Day Low level
- Directional Macro is a tool to view possible high timeframe direction trends for the month
Full Indicator Preview
Easily input NFP Days in the indicator settings menu
Customize what you see. colors, sizes, offsets, turn on/off individual parts
This indicator is for educational purposes, historical data review, price action history and possible support/resistance levels. It is not for financial suggestions
Thank you, It was a lot of both fun and headaches making this. I hope those who will find it useful will do so.
Scalper Overlay with RSI Bars & Key LevelsScalper Overlay with RSI Bars & Key Levels
A comprehensive trading indicator that combines price action patterns, supply/demand zones, and multiple technical analysis tools to help identify potential trading opportunities across different timeframes.
Key Features:
1. Supply and Demand Zones
- Automatically identifies and plots supply and demand zones based on swing highs and lows
- Break of Structure (BOS) detection when price breaks through zones
- Customizable zone width and history settings
- Visual distinction between supply (resistance) and demand (support) zones
2. Moving Average System
- Four Smoothed Moving Averages (SMMA):
- 20 SMMA (Green)
- 50 SMMA (Blue)
- 100 SMMA (Yellow)
- 200 SMMA (Red)
- Trend fill between EMA(2) and SMMA(200) for quick trend visualization
- Green fill indicates bullish trend
- Red fill indicates bearish trend
3. Pattern Detection
Multiple candlestick pattern alerts including:
- Three Line Strike (Bullish/Bearish)
- Three White Soldiers and Three Black Crows
- Harami Patterns (Bullish/Bearish)
- Engulfing Patterns (Bullish/Bearish)
4. RSI-Based Candle Coloring
- Dynamic candle coloring based on RSI levels
- Customizable overbought (70) and oversold (30) levels
- Helps identify potential reversal zones
5. Trading Session Visualization
- Customizable trading session times
- Multiple timezone support
- Day-of-week selection
- Visual session highlighting
Settings
Supply/Demand Settings Levels
- Swing High/Low Length: Controls the sensitivity of zone detection
- History To Keep: Number of zones to display
- Box Width: Size of supply/demand zones
- Customizable colors for supply/demand zones and labels
Moving Average Settings
- Adjustable lengths for all four SMAs
- Customizable colors and line widths
Pattern Detection Settings
- Toggle individual pattern alerts
- Customizable visual indicators for each pattern
- Alert messages for trading signals
Trading Session Settings
- Flexible session time configuration
- Multiple timezone options
- Trading day selection
- Session background color customization
Use Cases
1. **Scalping/Day Trading**
- Use pattern detection for entry signals
- RSI candle coloring for momentum confirmation
- Trading session visualization for high-activity periods
2. **Swing Trading**
- Supply/demand zones for key support/resistance levels
- Moving average system for trend direction
- Break of Structure signals for trend changes
3. **Position Trading**
- Multiple timeframe analysis using moving averages
- Major supply/demand zones for position sizing
- Pattern recognition for entry/exit timing
Notes
- Best used on timeframes from 1 minute to daily charts
- Combine multiple confirmations for stronger trading signals
- Adjust settings based on your trading style and instrument volatility
- Use the trading session feature to focus on your preferred market hours
- Monitor Break of Structure (BOS) events for potential trend changes
Recommended Settings
Start with default settings and adjust based on:
- Instrument volatility
- Trading timeframe
- Personal trading style
- Market session preferences
The indicator combines technical and price action analysis to provide a comprehensive trading tool suitable for various trading styles and timeframes.
Toby's Key LevelsAn Indicator that helps determine Key Areas on the chart. You set the values you want the horizontal lines to update. They horizontal lines will be used for exits and entries of trade. My recommendation for these Key Areas are as follows ( These recommendations are mostly for day trading and swing trading ):
XAU: Value distance of 50 ex. XAUUSD.
NAS: Value distance of 250 ex. NAS100/USTEC.
ETH: Value distance of 100 ex. ETHUSD.
AUD pairs: Value distance of 0.0200 ex. GBPAUD, EURAUD.
CAD pairs: Value distance of 0.0100 ex. NZDCAD, EURCAD.
CHF pairs: Value distance of 0.0100 ex. CADCHF, GBPCHF.
GBP pairs: Value distance of 0.00350 ex. EURGBP.
JPY pairs: Value distance of 2.00 ex. EURJPY, GBPJPY.
NZD pairs: Value distance of 0.015 ex. GBPNZD, AUDNZD.
Note:
These are subject to change and you can alter the lines anyhow you want to suit your trading style. These are what I recommend. Remember, Market is King.
Safe Trading!