ATR & PTR TableThe ATR & PTR Table Indicator displays a dynamic table that provides Average True Range (measures market volatility over 1D, 1W, and 1M timeframes), Price trading range (difference between the high and low prices over the same periods) & percentage of the typical range that has been traded. This indicator will help traders identify potential breakout zones and assess volatility across multiple timeframes.
This had been optimized to show ATR and PTR on every time frame. The (1D) represents ATR on whatever timeframe you are currently on.
Indicators and strategies
MA SniperThis indicator automatically finds the most effective moving average to use in a price crossover strategy—so you can focus on trading, not testing. It continuously evaluates a wide range of moving average periods, ranks them based on real-time market performance, and selects the one delivering the highest quality signals. The result? A smarter, adaptive tool that shows you exactly when price crosses its optimal moving average—bullish signals in green, bearish in red.
What makes it unique is the way it thinks.
Under the hood, the script doesn’t just pick a random MA or let you choose one manually. Instead, it backtests a large panel of moving average lengths for the current asset and timeframe. It evaluates each one by calculating its **Profit Factor**—a key performance metric used by pros to measure the quality of a strategy. Then, it assigns each MA a score and ranks them in a clean, built-in table so you can see, at a glance, which ones are currently most effective.
From that list, it picks the top-performing MA and uses it to generate live crossover signals on your chart. That MA is plotted automatically, and the signals adapt in real-time. This isn’t a static setup—it’s a dynamic system that evolves as the market evolves.
Even better: the indicator detects the type of instrument you’re trading (forex, stocks, etc.) and adjusts its internal calculations accordingly, including how many bars per day to consider. That means it remains highly accurate whether you’re trading EURUSD, SPX500, or TSLA.
You also get a real-time dashboard (via the table) that acts as a transparent scorecard. Want to see how other MAs are doing? You can. Want to understand why a certain MA was selected? The data is right there.
This tool is for traders who love crossover strategies but want something smarter, faster, and more precise—without spending hours manually testing. Whether you're scalping or swing trading, it offers a data-driven edge that’s hard to ignore.
Give it a try—you’ll quickly see how powerful it can be when your MA does the thinking for you.
This tool is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results. Use responsibly.
Opening Range BreakoutThis is an Opening Range Breakout script. It will plot the opening range high and low (green and red lines, respectively) as determined by the user input (default is a 15 min window from market open, 9:30 - 9:45 am). The time period for the breakout is also configured by a user input (default is from 9:45 am - 2:30 pm).
Alerts are sent for breakouts either above (bullish) or below (bearish) the opening range high and low. An EMA is also used for trend confirmation before sending alerts for breakouts (to avoid false signals).
A bullish breakout is determined by all of the following being true:
- The current price being above the opening range high (green line)
- The EMA trending up (ie the current value of the EMA > prior EMA value)
- The current price is > the EMA
- The EMA is > the opening range high
A bearish breakout is determined by all of the following being true:
- The current price being below the opening range low (red line)
- The EMA trending down (ie the current value of the EMA < prior EMA value)
- The current price is < the EMA
- the EMA is < the opening range low
Enjoy this simple indicator!
Optimized Trading Strategy v6my strategy is about support and demand, support and resistance timeframe m5 and m15
Johnny 65I do this one base on ema 200 ,50 and rsi
The green triangle mean it have big percentage it will go up
VIX bottom/top with color scale [Ox_kali]📊 Introduction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The “VIX Bottom/Top with Color Scale” script is designed to provide an intuitive, color-coded visualization of the VIX (Volatility Index), helping traders interpret market sentiment and volatility extremes in real time.
It segments the VIX into clear threshold zones, each associated with a specific market condition—ranging from fear to calm—using a dynamic color-coded system.
This script offers significant value for the following reasons:
Intuitive Risk Interpretation: Color-coded zones make it easy to interpret market sentiment at a glance.
Dynamic Trend Detection: A 200-period SMA of the VIX is plotted and dynamically colored based on trend direction.
Customization and Flexibility: All colors are editable in the parameters panel, grouped under “## Color parameters ##”.
Visual Clarity: Key thresholds are marked with horizontal lines for quick reference.
Practical Trading Tool: Helps identify high-risk and low-risk environments based on volatility levels.
🔍 Key Indicators
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
VIX (CBOE Volatility Index) : Measures market volatility and investor fear.
SMA 200 : Long-term trendline of the VIX, with color-coded direction (green = uptrend, red = downtrend).
Color-coded VIX Levels:
🔴 33+ → Something bad just happened
🟠 23–33 → Something bad is happening
🟡 17–23 → Something bad might happen
🟢 14–17 → Nothing bad is happening
✅ 12–14 → Nothing bad will ever happen
🔵 <12 → Something bad is going to happen
🧠 Originality and Purpose
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Unlike traditional VIX indicators that only plot a line, this script enhances interpretation through visual segmentation and dynamic trend tracking.
It serves as a risk-awareness tool that transforms the VIX into a simple, emotional market map.
This is the first version of the script, and future updates may include alerts, background fills, and more advanced features.
⚙️ How It Works
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The script maps the current VIX value to a range and applies the corresponding color.
It calculates a SMA 200 and colors it green or red depending on its slope.
It displays horizontal dotted lines at key thresholds (12, 14, 17, 23, 33).
All colors are configurable via input parameters under the group: "## Color parameters ##".
🧭 Indicator Visualization and Interpretation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The VIX line changes color based on market condition zones.
The SMA line shows long-term direction with dynamic color.
Horizontal threshold lines visually mark the transitions between volatility zones.
Ideal for quickly identifying periods of fear, caution, or stability.
🛠️ Script Parameters
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Grouped under “## Color parameters ##”, the following elements are customizable:
🎨 VIX Zone Colors:
33+ → Red
23–33 → Orange
17–23 → Yellow
14–17 → Light Green
12–14 → Dark Green
<12 → Blue
📈 SMA Colors:
Uptrend → Green
Downtrend → Red
These settings allow users to match the script’s visuals to their preferred chart style or theme.
✅ Conclusion
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The “VIX Bottom/Top with Color Scale” is a clean, powerful script designed to simplify how traders view volatility.
By combining long-term trend data with real-time color-coded sentiment analysis, this script becomes a go-to reference for managing risk, timing trades, or simply staying in tune with market mood.
🧪 Notes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is version 1 of the script. More features such as alert conditions, background fill, and dashboard elements may be added soon. Feedback is welcome!
💡 Color code concept inspired by the original VIX interpretation chart by @nsquaredvalue on Twitter. Big thanks for the visual clarity! 💡
⚠️ Disclaimer
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This script is a visual tool designed to assist in market analysis. It does not guarantee future performance and should be used in conjunction with proper risk management. Past performance is not indicative of future results.
MA Trend ScoreA Trend Score Indicator inspired by an interview by Navy Ramavat, where I liked the idea presented and decided to publish a script for it.
Disclaimer: I am not associated with Navy Ramavat in any manner.
The goal is to objectify the trend of an instrument and calculate a score which represents the trend strength and direction.
The score is calculated as follows:
If price is > EMA 20 add 1 to the score
If price is > EMA 50 add 1 to the score
If price is > EMA 100 add 1 to the score
If EMA 20 is > EMA 50 add 1 to the score
If EMA 20 is > EMA 100 add 1 to the score
If EMA 50 is > EMA 100 add 1 to the score
If EMA 20 is < EMA 50 deduct 1 from the score
If EMA 20 is < EMA 100 deduct 1 from the score
If EMA 50 is < EMA 100 deduct 1 from the score
The highest score can be 6, and lowest score can be -6
The trend score can be used as per your discretion on the long and short side.
An example of using the trend score on the long side for position sizing is:
100% position size if Score greater than 4
75% position size if Score between 2-4
50% position size if Score between 0-2
25% position size if Score between 0 and -2
0% position size if Score is less than -2
Dow Theory Trend Strategy v3Title: Dow Theory Trend Strategy
Description:
This Pine Script implements a trading strategy based on classic Dow Theory principles for trend identification. It analyzes pivot highs and lows to determine uptrends (Higher Highs & Higher Lows) and downtrends (Lower Highs & Lower Lows), entering trades when the trend direction is confirmed to change.
This version (v3) includes several key features and improvements:
Core Dow Theory Logic: Identifies trends based on confirmed sequences of pivot points detected using ta.pivothigh() and ta.pivotlow().
Improved Trend Persistence: The script confirms an uptrend only on both a Higher High (HH) and Higher Low (HL), and a downtrend on both a Lower High (LH) and Lower Low (LL). Crucially, if neither condition is met, the script maintains the previous trend state (trendDirection ), leading to smoother trend following compared to logic that frequently resets to neutral.
Manual Trend Override: A user input allows you to override the automatic Dow Theory trend detection. You can set the strategy to:
Auto: Follow the calculated Dow Theory trend signals.
Long Only: Only take long entry signals.
Short Only: Only take short entry signals.
Tick-Based Stop Loss & Take Profit: Optional Stop Loss (SL) and Take Profit (TP) levels can be enabled. These are set in Ticks from the entry price using strategy.exit().
Important: You must understand what a 'tick' (syminfo.mintick) represents for the specific instrument you are trading when setting the stopLossTicks and takeProfitTicks inputs (e.g., for EURUSD with mintick=0.00001, a 20 pip SL = 200 ticks).
Clear Visualizations:
Background color changes to reflect the detected Dow Theory trend (Blue for Up, Red for Down, Gray for Undetermined).
Optional markers for confirmed pivot points.
Optional labels indicating confirmed trend change signals (potential entry points).
Code Structure Note: This version defines the options for the "Manual Trend Mode" input directly inline within the input.string() function to potentially improve compatibility for users who experienced issues with copy-pasting previous versions that used a separate array definition.
How it Works:
Pivots are identified using the pivotLookback period (note the inherent lag).
The trend direction (trendDirection) is updated based on HH/HL or LH/LL confirmations, otherwise, it persists.
Strategy enters long on changedToUp (if allowed by mode) and short on changedToDown (if allowed by mode).
If enabled, strategy.exit places SL and TP orders based on the specified number of ticks immediately upon entry.
Inputs:
Calculation Settings:
pivotLookback: Controls pivot detection sensitivity and lag.
Display Settings:
Show Pivot Points: Toggle pivot markers.
Show Trend Change Signals: Toggle entry signal labels.
Strategy Settings:
Manual Trend Mode: Select "Auto", "Long Only", or "Short Only".
Risk Management:
Use Stop Loss: Enable/disable SL.
Stop Loss (Ticks): Set SL distance in ticks.
Use Take Profit: Enable/disable TP.
Take Profit (Ticks): Set TP distance in ticks.
How to Use:
Add the script to your TradingView chart.
Access the Settings panel for the script.
Configure the pivotLookback appropriate for your timeframe and instrument.
Choose your desired Manual Trend Mode.
Enable and configure the Stop Loss (Ticks) and Take Profit (Ticks) carefully, based on the instrument's tick size and your risk management plan.
Use the Strategy Tester tab to backtest performance on historical data.
Disclaimer:
This script is provided for educational and informational purposes only. Trading strategies based on Dow Theory involve inherent lag. Past performance is not indicative of future results. Financial markets involve risk, and you should not trade with capital you cannot afford to lose. Always conduct thorough backtesting and implement robust risk management practices before considering any live trading. This script does not constitute financial advice.
15-Min VWAP for NQ115 Min VWAP indicator.
This is created for the 15 min chart on Nasdaq.
This is a free indicator, Try our premium indicator Trade2Win Indicator. Check it out on YouTube.
EMA vs SMA Crossover (Toggle 15/20) by AaronEscaThis custom indicator by AaronEsca lets you toggle between a 15-period or 20-period EMA/SMA crossover to spot trend shifts and momentum changes earlier.
Features:
Choose between 15 or 20 period moving averages using a simple dropdown.
Highlights when the EMA crosses above or below the SMA — a signal of trend momentum or exhaustion.
Includes visual fill between the two lines for instant trend direction insight.
Alerts included for bullish and bearish crossovers.
Designed for use on the 4H, 1H, and Daily timeframes, but flexible for any strategy.
This tool is perfect for swing traders, scalpers, or anyone wanting early confirmation of a potential reversal or momentum break.
BDSM VolumeThe indicator shows the trading volume in USDT. Therefore, it is very easy to set up indicators to actively monitor the market.
IDX - 5UPThe UDX-5UP is a custom indicator designed to assist traders in identifying trends, entry and exit signals, and market reversal moments with greater accuracy. It combines price analysis, volume, and momentum (RSI) to provide clear buy ("Buy") and sell ("Sell") signals across any asset and timeframe, whether you're a scalper on the 5M chart or a swing trader on the 4H chart. Inspired by robust technical analysis strategies, the UDX-5UP is ideal for traders seeking a reliable tool to operate in volatile markets such as cryptocurrencies, forex, stocks, and futures.
Components of the UDX-5UP
The UDX-5UP consists of three main panels that work together to provide a comprehensive view of the market:
Main Panel (Price):
Pivot Supertrend: A dynamic line that changes color to indicate the trend. Green for an uptrend (look for buys), red for a downtrend (look for sells).
SMAs (Simple Moving Averages): Two SMAs (8 and 21 periods) to confirm the trend direction. When the SMA 8 crosses above the SMA 21, it’s a bullish signal; when it crosses below, it’s a bearish signal.
Entry/Exit Signals: "Buy" (green) and "Sell" (red) labels are plotted on the chart when entry or exit conditions are met.
Volume Panel:
Colored Volume Bars: Green bars indicate dominant buying volume, while red bars indicate dominant selling volume.
Volume Moving Average (MA 20): A blue line that helps identify whether the current volume is above or below the average, confirming the strength of the movement.
RSI Panel:
RSI (Relative Strength Index): Calculated with a period of 14, with overbought (70) and oversold (30) lines to identify momentum extremes.
Divergences: The indicator detects divergences between the RSI and price, plotting signals for potential reversals.
How the UDX-5UP Works
The UDX-5UP uses a combination of rules to generate buy and sell signals:
Buy Signal ("Buy"):
The Pivot Supertrend changes from red to green.
The SMA 8 crosses above the SMA 21.
The volume is above the MA 20, with green bars (indicating buying pressure).
The RSI is rising and, ideally, below 70 (not overbought).
Example: On the 4H chart, the price of Tether (USDT) is at 0.05515. The Pivot Supertrend turns green, the SMA 8 crosses above the SMA 21, the volume shows green bars above the MA 20, and the RSI is at 46. The UDX-5UP plots a "Buy".
Sell Signal ("Sell"):
The Pivot Supertrend changes from green to red.
The SMA 8 crosses below the SMA 21.
The volume is above the MA 20, with red bars (indicating selling pressure).
The RSI is falling and, ideally, above 70 (overbought).
Example: On the 4H chart, the price of Tether rises to 0.05817. The Pivot Supertrend turns red, the SMA 8 crosses below the SMA 21, the volume shows red bars, and the RSI is above 70. The UDX-5UP plots a "Sell".
RSI Divergences:
The indicator identifies bullish divergences (price makes a lower low, but RSI makes a higher low) and bearish divergences (price makes a higher high, but RSI makes a lower high), plotting alerts for potential reversals.
Adjustable Settings
The UDX-5UP is highly customizable to suit your trading style:
Pivot Supertrend Period: Default is 2. Increase to 3 or 4 for more conservative signals (fewer false positives, but more lag).
SMA Periods: Default is 8 and 21. Adjust to 5 and 13 for smaller timeframes (e.g., 5M) or 13 and 34 for larger timeframes (e.g., 1D).
RSI Period: Default is 14. Reduce to 10 for greater sensitivity or increase to 20 for smoother signals.
Overbought/Oversold Levels: Default is 70/30. Adjust to 80/20 in volatile markets.
Display Panels: You can enable/disable the volume and RSI panels to simplify the chart.
How to Use the UDX-5UP
Identify the Trend:
Use the Pivot Supertrend and SMAs to determine the market direction. Uptrend: look for buys. Downtrend: look for sells.
Confirm with Volume and RSI:
For buys: Volume above the MA 20 with green bars, RSI rising and below 70.
For sells: Volume above the MA 20 with red bars, RSI falling and above 70.
Enter the Trade:
Enter a buy when the UDX-5UP plots a "Buy" and all conditions are aligned.
Enter a sell when the UDX-5UP plots a "Sell" and all conditions are aligned.
Plan the Exit:
Use Fibonacci levels or support/resistance on the price chart to set targets.
Exit the trade when the UDX-5UP plots an opposite signal ("Sell" after a buy, "Buy" after a sell).
Tips for Beginners
Start with Larger Timeframes: Use the 4H or 1D chart for more reliable signals and less noise.
Combine with Other Indicators: Use the UDX-5UP with tools like Fibonacci or the Candles RSI (another powerful indicator) to confirm signals.
Practice in Demo Mode: Test the indicator in a demo account before using real money.
Manage Risk: Always use a stop-loss and don’t risk more than 1-2% of your capital per trade.
Why Use the UDX-5UP?
Simplicity: Clear "Buy" and "Sell" signals make trading accessible even for beginners.
Versatility: Works on any asset (crypto, forex, stocks) and timeframe.
Multiple Confirmations: Combines price, volume, and momentum to reduce false signals.
Customizable: Adjust the settings to match your trading style.
Author’s Notes
The UDX-5UP was developed based on years of trading and technical analysis experience. It is an evolution of tested strategies, designed to help traders navigate volatile markets with confidence. However, no indicator is infallible. Always combine the UDX-5UP with proper risk management and fundamental analysis, especially in unpredictable markets. Feedback is welcome – leave a comment or reach out with suggestions for improvements!
BDSM VolumeThe indicator shows the trading volume in USDT. Therefore, it is very easy to set up indicators to actively monitor the market.
ForexFlex SMC IndicatorThe ForexFlex SMC Indicator is a Smart Money Concepts (SMC)-based TradingView script designed for traders using Break of Structure (BOS), Liquidity Sweeps, Fair Value Gaps (FVGs), and Fibonacci retracements to identify high-probability trading setups. It is specifically built for ForexFlex students, featuring manual licensing to restrict access.
Golden Cross & Death Cross Strategy with SL & TPGolden Cross (BUY Signal):
• Enter long when 50 EMA crosses above 200 EMA
• Stop-Loss = 1% below entry price
• Take-Profit = 2x risk (default 1:2 ratio)
✅ Death Cross (SELL Signal):
• Enter short when 50 EMA crosses below 200 EMA
• Stop-Loss = 1% above entry price
• Take-Profit = 2x risk
Supertrend + MACD with Advanced FiltersDetailed Guide
1. Indicator Overview
Purpose:
This enhanced indicator combines Supertrend and MACD to signal potential trend changes. In addition, it now includes several extra filters for more reliable signals:
Multi-Timeframe (MTF) Confirmation: Checks a higher timeframe’s trend.
ADX (Momentum) Filter: Ensures the market is trending strongly.
Dynamic Factor Adjustment: Adapts the Supertrend sensitivity to current volatility.
Volume Filter: Verifies that current volume is above average.
Each filter can be enabled or disabled according to your preference.
How It Works:
The Supertrend calculates dynamic support/resistance levels based on ATR and an adjustable factor, while MACD identifies momentum shifts via its crossovers. The additional filters then confirm whether the conditions meet your criteria for a trend change. If all enabled filters align, the indicator plots a shape and triggers an alert.
2. Supertrend Component with Dynamic Factor
Base Factor & ATR Period:
The Supertrend uses these inputs to compute its dynamic bands.
Dynamic Factor Toggle:
When enabled, the factor is adjusted by comparing the current ATR to its simple moving average. This makes the indicator adapt to higher or lower volatility conditions, helping to reduce false signals.
3. MACD Component
Parameters:
Standard MACD settings (Fast MA, Slow MA, Signal Smoothing) determine the responsiveness of the MACD line. Crossovers between the MACD line and its signal line indicate potential trend reversals.
4. Multi-Timeframe (MTF) Filter
Function:
If enabled, the indicator uses a higher timeframe’s simple moving average (SMA) to confirm the prevailing trend.
Bullish Confirmation: The current close is above the higher timeframe SMA.
Bearish Confirmation: The current close is below the higher timeframe SMA.
5. ADX Filter (Momentum)
Custom Calculation:
Since the built-in ta.adx function may not be available, a custom ADX is calculated. This involves:
Determining positive and negative directional movements (DMs).
Smoothing these values to obtain +DI and -DI.
Calculating the DX and then smoothing it to yield the ADX.
Threshold:
Only signals where the ADX exceeds the set threshold (default 20) are considered valid, ensuring that the market is trending strongly enough.
6. Volume Filter
Function:
Checks if the current volume exceeds the average volume (SMA) multiplied by a specified factor. This helps confirm that a price move is supported by sufficient trading activity.
7. Combined Signal Logic & Alerts
Final Signal:
A bullish signal is generated when:
MACD shows a bullish crossover,
Supertrend indicates an uptrend,
And all enabled filters (MTF, ADX, volume) confirm the signal.
The bearish signal is generated similarly in the opposite direction.
Alerts:
Alert conditions are set so that TradingView can notify you via pop-up, email, or SMS when these combined conditions are met.
8. User Adjustments
Toggle Filters:
Use the on/off switches for MTF, ADX, and Volume filters as needed.
Parameter Tuning:
Adjust the ATR period, base factor, higher timeframe settings, ADX period/threshold, and volume multiplier to match your trading style and market conditions.
Backtesting:
Always backtest your settings to ensure that they perform well with your strategy.
TrendWave Bands [BigBeluga]This is a trend-following indicator that dynamically adapts to market trends using upper and lower bands. It visually highlights trend strength and duration through color intensity while providing additional wave bands for deeper trend analysis.
🔵Key Features:
Adaptive Trend Bands:
➣ Displays a lower band in uptrends and an upper band in downtrends to indicate trend direction.
➣ The bands act as dynamic support and resistance levels, helping traders identify potential entry and exit points.
Wave Bands for Additional Analysis:
➣ A dashed wave band appears opposite the main trend band for deeper trend confirmation.
➣ In an uptrend, the upper dashed wave band helps analyze momentum, while in a downtrend, the lower dashed wave band serves the same purpose.
Gradient Color Intensity:
➣ The trend bands have a color gradient that fades as the trend continues, helping traders visualize trend duration.
➣ The wave bands have an inverse gradient effect—starting with low intensity at the trend's beginning and increasing in intensity as the trend progresses.
Trend Change Signals:
➣ Circular markers appear at trend reversals, providing clear entry and exit points.
➣ These signals mark transitions between bullish and bearish phases based on price action.
🔵Usage:
Trend Following: Use the lower band for confirmation in uptrends and the upper band in downtrends to stay on the right side of the market.
Trend Duration Analysis: Gradient wavebands give an idea of the duration of the current trend — new trends will have high-intensity colored wavebands and as time goes on, trends will fade.
Trend Reversal Detection: Circular markers highlight trend shifts, making it easier to spot entry and exit opportunities.
Volatility Awareness: Volatility-based bands help traders adjust their strategies based on market volatility, ensuring better risk management.
TrendWave Bands is a powerful tool for traders seeking to follow market trends with enhanced visual clarity. By combining trend bands, wave bands, and gradient-based color scaling, it provides a detailed view of market dynamics and trend evolution.
ATR SL and TP with Candle Freeze & DataWindowThis indicator uses the Average True Range (ATR) to automatically calculate your stop loss (SL) and take profit (TP) levels based on the current market volatility and your chosen multipliers. Here's how it works:
ATR Calculation:
The indicator computes the ATR, which measures the average market volatility over a set period. This value helps gauge how much the price typically moves.
SL and TP Determination:
Depending on whether you're in a long or short trade, the SL and TP are calculated relative to the current price:
For a long trade, the stop loss is set below the current price (by subtracting a multiple of the ATR) and the take profit is set above it (by adding a multiple of the ATR).
For a short trade, the calculations are reversed.
Candle Freeze Feature:
Once a new candle starts, the calculated SL and TP values are "frozen" for that candle. This means they remain constant during the candle's formation, preventing them from updating continuously as the price fluctuates. This can make it easier to plan your trades without the levels shifting mid-candle.
Data Window & Labels:
The SL and TP values are plotted on the chart as lines and displayed in labels for quick reference. Additionally, they appear in TradingView's Data Window, so you can easily copy the price numbers if needed.
Overall, the indicator is designed to help you manage your trades by setting dynamic, volatility-adjusted SL and TP levels that only update at the start of each new candle, aligning with your chosen timeframe. Let me know if you have any more questions or need further adjustments!
Ruben.Ramiro - Momentum Breakout StrategyThis strategy is designed to capture breakout movements aligned with the prevailing trend, using a combination of Exponential Moving Averages (EMAs), Relative Strength Index (RSI), and Average True Range (ATR) for entry signals and risk management. It includes clear long/short entry conditions, dynamic stop-losses.
1. Trend Identification
Uses two EMAs:
• Fast EMA (default 20 periods)
• Slow EMA (default 50 periods)
The trend is considered bullish if EMA Fast > EMA Slow, and bearish if EMA Fast < EMA Slow.
2. Momentum Filter (RSI)
Applies a 14-period RSI to avoid entries during overbought/oversold conditions:
• Avoids long entries when RSI > 70 (overbought)
• Avoids short entries when RSI < 30 (oversold)
3. Breakout Logic
Detects breakouts over a configurable period (default: 5 candles):
• Resistance: Highest high over the last N periods (excluding the current one)
• Support: Lowest low over the last N periods (excluding the current one)
4. Entry Conditions
Long Entry:
• Price breaks above recent resistance
• Uptrend confirmed (EMA Fast > EMA Slow)
• RSI not overbought
Short Entry:
• Price breaks below recent support
• Downtrend confirmed (EMA Fast < EMA Slow)
• RSI not oversold
5. Position Management
Stop-Loss and Trailing Stop based on ATR:
Stop-Loss:
• For long: entry price - (ATR * SL multiplier)
• For short: entry price + (ATR * SL multiplier)
Trailing Stop:
• Uses same ATR * trailing multiplier for both trail_points and trail_offset
• Defaults for both SL and trailing multiplier: 1.5x ATR
6. Alerts (Webhook)
JSON-formatted webhook alerts:
• Long entry: Market buy order
• Short entry: Market sell order
7. Visual Cues
• Green triangle below bar for Long entries
• Red triangle above bar for Short entries
RecoveryPLAN - XAUUSD 1DCopyright RecoveryPLAN
This indicator utilizes the probability opportunities of the XAUUSD candlestick habits which are specifically designed for the 1D timeframe and have minimal risk because they use a relatively small stop loss.
Treasury Yield// This is based on Treasury Yield created by morzor61
// The improvement is upgrading to Pine v6
It is easy to compare the bond yield across different time and country.
Block Deal with RSI ReversalHeloo Friends, This indicator will disply mark where there is Block deals of huge amount of share bought or sold and RSI trend reversed will give good price movement predictions. This is for educational purpose only and does not give any view on buy, sale orr Hold. Thanks.