Strong Candle IdentifierIdentify strong candles with a minimum of 30 pips.
This indicator will color the candle red for the identified bearish momentum candle, and otherwise it will be colored green.
Candlestick analysis
Engulfing Candle Detector//@version=5
indicator("Engulfing Candle Detector", overlay=true)
// Bullish Engulfing Pattern
bullishEngulfing = close > open and nz(close ) < nz(open ) and close > nz(open ) and open < nz(close )
// Bearish Engulfing Pattern
bearishEngulfing = close < open and nz(close ) > nz(open ) and close < nz(open ) and open > nz(close )
// Plot Bullish Engulfing Signal
plotshape(series=bullishEngulfing, location=location.belowbar, color=color.green, style=shape.labelup, title="Bullish Engulfing")
// Plot Bearish Engulfing Signal
plotshape(series=bearishEngulfing, location=location.abovebar, color=color.red, style=shape.labeldown, title="Bearish Engulfing")
// Highlight Bullish Engulfing Candle
bgcolor(bullishEngulfing ? color.green : na, transp=85)
// Highlight Bearish Engulfing Candle
bgcolor(bearishEngulfing ? color.red : na, transp=85)
Volume-Based Buy/Sell Strategy with ButtonsOverview
This Volume-Based Buy/Sell Strategy is designed to identify high-probability long-term entry and exit points based on volume spikes. It incorporates automatic buy/sell signals triggered by volume and trend analysis, along with manual execution buttons for greater control.
Key Features
✅ Volume Spike Detection: The script identifies high-volume moments compared to the moving average, signaling potential trend changes.
✅ Trend Confirmation: Uses a 20-period simple moving average (SMA) to confirm uptrends (for buys) and downtrends (for sells).
✅ ATR Filter (Optional): Ensures trades align with market trends by using an Average True Range (ATR) filter for volatility validation.
✅ Manual Buy & Sell Buttons: Traders can manually trigger buy/sell orders via checkboxes in the settings.
✅ Visual Buy/Sell Signals: Green buy arrows and red sell arrows appear directly on the chart when conditions are met.
gigzoomprogigzoompro Indicator - Buy & Sell Signals Based on Candle Color Change
The gigzoompro indicator is a powerful tool designed to help traders identify potential buy and sell opportunities based on changes in candle colors. When the market sentiment shifts, this indicator automatically generates signals for buying or selling, ensuring you're always in tune with the market trend.
Key Features:
Buy Signals: Triggered when a bullish candle appears after a bearish candle.
Sell Signals: Triggered when a bearish candle appears after a bullish candle.
Additional Moving Averages: Includes a 50-period SMA and a 200-period EMA for extra market insight.
Customizable: You can adjust settings such as smoothing periods, moving average types, and lengths.
This indicator doesn't interfere with the price action and provides clean and intuitive signals, making it perfect for traders looking for a simplified approach to decision-making.
AP RSI Divergence IndicatorThe RSI Divergence Indicator detects and highlights Regular and Hidden Divergences between price and the Relative Strength Index (RSI). It helps traders identify potential trend reversals and continuation patterns by analyzing pivot points in both price action and RSI movement.
RSI Divergence IndicatorThe RSI Divergence Indicator detects and highlights Regular and Hidden Divergences between price and the Relative Strength Index (RSI). It helps traders identify potential trend reversals and continuation patterns by analyzing pivot points in both price action and RSI movement.
EMA & RSI & MACD TTDBelow is an **English explanation** of this script, which you can include on TradingView when you publish it.
---
## Overview
This Pine Script (v5) creates a **dashboard table** on your chart, displaying multiple **timeframes** and signals for:
- **50/200 EMA Trend**
- **5/7/9 EMA Trend**
- **RSI Trend**
- **MACD Trend**
The timeframes covered are **1m, 2m, 3m, 5m, 10m, 15m, 30m, 60m**. You can enable or disable each timeframe through the script’s settings.
---
## How It Works
1. **User Inputs**
- **Position & Text Size**: Choose where to place the table on the chart (top/bottom/left/right) and how large to make the text.
- **Icons**: Select which emojis (or text) to show for **uptrend**, **downtrend**, and **neutral** signals.
- **Timeframe Toggles**: Decide which timeframes you want to display (e.g., 1m, 2m, 5m, etc.).
2. **Indicators & Trend Logic**
- **5/7/9 EMA**: Checks if `EMA(5) > EMA(7) > EMA(9)` (uptrend), or `EMA(5) < EMA(7) < EMA(9)` (downtrend), otherwise neutral.
- **50/200 EMA**: If `close > EMA(50) > EMA(200)`, we display an uptrend, if `close < EMA(50) < EMA(200)`, a downtrend, else neutral.
- **RSI**: Compares `RSI(14)` vs. its own SMA(14). If RSI is above the SMA, that’s an uptrend; if below, a downtrend; else neutral.
- **MACD**: Checks whether the MACD line is above or below the signal line.
3. **Multiple Timeframes**
- The script uses `request.security()` calls to fetch data for each selected timeframe.
- For example, if you enable “5m” in the script’s inputs, it will query that timeframe’s data and run the trend logic accordingly.
4. **Table Display**
- On the **last bar** (i.e., real-time update), it fills a table row for each enabled timeframe.
- The first row is a header: “Time,” “50/200 Trend,” “5/7/9 Trend,” “RSI Trend,” “MACD Trend.”
- Each subsequent row shows the timeframe label (e.g., “5m”) and the corresponding trend icons.
---
## Usage
1. **Copy & Paste**
- Copy this script into TradingView’s **Pine Editor**, ensure `//@version=5` is at the top, and click “Add to Chart.”
2. **Customize**
- In the script’s settings, adjust the position of the dashboard, the text size, or change the emojis.
- Toggle on/off each timeframe you want to see.
3. **Interpretation**
- A **green** (🟢) icon usually signifies an uptrend, **red** (🔴) a downtrend, and **gray/black** (⚫️) neutral.
- Quickly see whether each timeframe is showing bullish, bearish, or neutral signals for each indicator.
---
### Final Notes
- This dashboard is a **quick visual reference** for short-term and mid-term trend conditions across multiple timeframes.
- You can expand it by adding more columns (like other oscillators) or more timeframes.
- If emojis cause any issues, simply replace them with text (e.g., “UP,” “DOWN,” “NEUTRAL”).
Happy Trading!
Gold Futures 2M 5M Tick Move Indicator📢 Gold Futures Tick Move Indicator 🚀
Customizable Tick-Based Trading Alerts & Visualization
🔹 Overview:
The Gold Futures Tick Move Indicator is designed for traders who rely on tick-based price movements to detect significant market activity. This indicator identifies strong momentum moves, triggers customizable buy and sell signals, and provides clear trade range visualizations with take profit and stop loss levels.
🔹 Key Features:
✅ Customizable Tick Threshold – Adjust the number of ticks needed to trigger a buy/sell signal (default: 65 ticks).
✅ Take Profit & Stop Loss Levels – Automatically calculates and plots exit levels (default: 75 TP, 40 SL).
✅ Buy/Sell Alerts – Get real-time alerts when a candle moves beyond the defined tick threshold.
✅ Custom Colors for Trade Signals – Buy (teal #008080), Sell (hot pink #FF69B4).
✅ Trade Range Visualization – Background colors highlight long & short positions for better clarity.
✅ Candle Highlighting – Turns white when a tick-based signal is detected.
🔹 How It Works:
1️⃣ Set your tick movement threshold – Define how many ticks the price must move to trigger a trade signal.
2️⃣ Customize Take Profit & Stop Loss – Modify exit levels to match your strategy.
3️⃣ Wait for a Signal – If the price moves beyond the defined tick range, the indicator plots a Buy (teal) or Sell (hot pink) signal.
4️⃣ Monitor Trade Zones – Trade ranges are highlighted in teal or pink for quick visualization.
5️⃣ Receive Alerts – Set up TradingView alerts to be notified of trade opportunities.
🔹 Who is This For?
💰 Gold Futures Traders looking to capitalize on price momentum
📈 Scalpers & Day Traders seeking precise tick-based entries
🎯 Algo Traders who want automated alerts & visual cues
BTC Trend Momentum (BTM) with VWMOBTC Trend Momentum (BTM) with VWMO – A Smarter Way to Trade Bitcoin 🚀
Overview
Bitcoin price movements can be volatile, often leading to fake breakouts and whipsaws that mislead traders. BTC Trend Momentum (BTM), combined with Volume Weighted Moving Average (VWMO), helps smooth out market noise and provide clearer trend signals.
This script integrates momentum analysis, trend strength detection, and zero-line crossovers, allowing traders to make smarter entries and exits while avoiding false signals.
⸻
Why Use This Indicator?
✅ Momentum Histogram – Easily visualize trend strength with color-coded bars.
✅ Volume-Weighted Analysis – Uses VWMO to filter out weak price movements.
✅ Zero Line Crossover Alerts – Identifies major trend shifts in real-time.
✅ Dynamic Color Coding – Stronger trends highlighted in brighter colors.
✅ Background Shading – Differentiates bullish & bearish zones for easy trend reading.
✅ Built-in Alerts – Get notified of trade opportunities instantly.
⸻
How to Trade Using BTC Trend Momentum (BTM)
🔹 Buy Signal: When the momentum histogram (green bars) crosses above the EMA (orange line).
🔹 Sell Signal: When the momentum histogram (red bars) crosses below the EMA.
🔹 Strong Trend Confirmation: If histogram bars turn lime (bullish) or maroon (bearish), it indicates strong momentum.
🔹 Zero Line Crossovers: A bullish crossover above zero confirms an uptrend, while a bearish crossover below zero confirms a downtrend.
For better results, combine with RSI, MACD, or VWAP to confirm trend strength before entering trades.
⸻
Best Timeframes for Trading
📌 1H & 4H – Ideal for swing trading Bitcoin.
📌 5M & 15M – Perfect for scalping BTC with precision.
⸻
💡 Would you integrate BTC Trend Momentum (BTM) into your trading strategy? Let us know your thoughts below!
BBr1 Candle Range Volitility Gap IndicatorModified Candle Range Volatility Gap Indicator
1. Useful to analyze bars body and wicks and volatility of security.
2. Added a Percentage Option - easier to analyze across different securities.
2. Added a Standard Deviation ("1 std dev= 68.2%, 2 std dev=95.4%, 3 std dev=99.7%, etc") based upon user defined lookback period.
3. Added the ability to include Gaps in Analysis. (Gaps are when the prior closing cost does not equal opening price)
4. Possible Uses setting up stop losses, trailing entries/exits (inside range or outside range).
5. Use it with other indicators in determining if to make an entry or close entry.
Reposted Original Description by © ka66 Kamal Advani
Visually shows the Body Range (open to close) and Candle Range (high to low).
Semi-transparent overlapping area is the full Candle Range, and fully-opaque smaller area is the Body Range. For aesthetics and visual consistency, Candle Range follows the direction of the Body Range, even though technically it's always positive (high - low).
The different plots for each range type also means the UI will allow deselecting one or the other as needed. For example, some strategies may care only about the Body Range, rather than the entire Candle Range, so the latter can be hidden to reduce noise.
Threshold horizontal lines are plotted, so the trader can modify these high and low levels as needed through the user interface. These need to be configured to match the instrument's price range levels for the timeframe. The defaults are pretty arbitrary for +/- 0.0080 (80 pips in a 4-decimal place forex pair). Where a range reaches or exceeds a threshold, it's visually marked as well with a shape at the Body or Candle peak, to assist with quicker visual potential setup scanning, for example, to anticipate a following reversal or continuation.
Custom CCI with Smoothed and Color Zonessdaasdasdaasdasd asd asda
a sdasd asd as das das this is oscilkator for signals thanks
Swing Finder By Akash
This script is designed to highlight areas on a chart where there are **three or more consecutive candles** of the same color (bullish or bearish). It provides a visual indication of extended bullish or bearish momentum by changing the background color and marking the starting point of these areas.
### **How it works:**
1. **Identifying Bullish and Bearish Candles:**
- **Bullish candles** are defined as candles where the closing price is higher than the opening price (close > open).
- **Bearish candles** are defined as candles where the closing price is lower than the opening price (close < open).
2. **Consecutive Candle Counters:**
- A counter for **bullish candles** (`bullishCount`) and **bearish candles** (`bearishCount`) is maintained to track consecutive occurrences of bullish and bearish candles.
- These counters are **incremented** when consecutive bullish or bearish candles occur. They are **reset** to zero whenever a trend reversal happens (e.g., from bullish to bearish or vice versa).
3. **Area Marking:**
- If there are **three or more consecutive bullish candles**, the background is highlighted in **green** to indicate a bullish area.
- If there are **three or more consecutive bearish candles**, the background is highlighted in **red** to indicate a bearish area.
- A **green label** is plotted below the bars where the bullish area starts, and a **red label** is plotted above the bars where the bearish area starts.
### **Visual Indicators:**
- **Background Color:**
- **Green** for areas with 3 or more consecutive bullish candles.
- **Red** for areas with 3 or more consecutive bearish candles.
- **Labels:**
- A **green label** is plotted below the chart to mark the start of a bullish area.
- A **red label** is plotted above the chart to mark the start of a bearish area.
### **Usage:**
- This indicator can help traders identify strong trends, as consecutive bullish or bearish candles often indicate extended momentum in one direction.
- By marking these areas, traders can potentially look for entry points or identify when trends may be losing strength or reversing.
---
Feel free to adjust the description if you'd like it to reflect more specific details based on your use case!
Trend Robot with EMA & Trailing Stop🚀 Automated Trading Bot built for MetaTrader 5 (MT5), utilizing Exponential Moving Average (EMA) filtering, dynamic Trailing Stop Loss, and a risk-based lot sizing strategy to optimize trade entries and exits.
🔹 Key Features:
✅ EMA Trend Filter – Trades only in the direction of the trend using an 8-period EMA.
✅ Trailing Stop Loss (TSL) – Adjusts SL dynamically once price moves 15+ points in profit.
✅ Risk Management – Automatically calculates lot sizes based on 4% risk per trade.
✅ Time-Based Trading – Allows configuring start & end hours to avoid trading during low-liquidity periods.
✅ Smart Order Execution – Places Buy Stop & Sell Stop orders based on price action and recent highs/lows.
✅ Customizable Inputs – Modify TP, SL, Magic Number, and expiration time easily.
🔹 Built for traders who want a structured, automated approach to forex trading with trend confirmation and adaptive risk management.
📌 Best used on trending pairs with volatile price movements! 🚀
Risk-Based Position Size ProRisk-Based Position Size Indicator
Overview:
The Risk-Based Position Size Indicator helps traders determine the appropriate position size for each trade based on their total capital and risk percentage. This indicator dynamically calculates position size using two different methods:
Wick Range (High - Low): Calculates position size based on the total range of the candlestick.
Candle Body (Close - Open): Calculates position size using only the body of the candlestick, ignoring wicks.
It provides a visual representation of position sizing as a histogram and adjusts dynamically based on price movement.
Key Features:
✅ Two Calculation Modes:
Wick Range (Red Bars) – Uses the entire candlestick range (High - Low).
Candle Body (Blue Bars) – Uses only the difference between Close and Open.
✅ Customizable Risk Settings:
Define Total Capital (default: $100,000).
Set Risk Percentage per trade (default: 1%).
✅ Automatic Position Sizing:
Adjusts position size dynamically for each candlestick.
Prevents division errors when the range is zero.
✅ Rounding Option:
Toggle rounding of position size for better readability.
✅ Clear Visual Representation:
Displayed as a histogram for easy interpretation.
Red bars for Wick Range, Blue bars for Candle Body calculations.
How to Use:
Add the indicator to your TradingView chart.
Set your Total Capital and Risk Percentage in the settings.
Choose a Calculation Method:
Wick Range: Uses High - Low for sizing.
Candle Body: Uses absolute difference of Close - Open.
If desired, enable Round Position Size for easier interpretation.
Observe the histogram bars to see the calculated position size for each candle.
This indicator is useful for risk management, ensuring that position sizes are aligned with account size and market volatility. 🚀
New Features & Fixes:
✅ User can select decimal precision (0 to 5 places) from the settings.
✅ If rounding is enabled, values are rounded based on the chosen precision.
✅ If rounding is disabled, original values are shown without forced rounding.
✅ Wick Range (Red) & Candle Body (Blue) are still plotted together.
Now, you have full control over how many decimal places to display! 🎯
Powerful Gold & Nasdaq BotThe Powerful Gold & Nasdaq Trading Bot is a robust Pine Script strategy designed to generate strong buy and sell signals based on a combination of technical indicators. It is optimized for trading XAU/USD (Gold) and NASDAQ/USA100, leveraging a blend of trend-following and momentum-based strategies to identify high-probability trade setups.
🔹 Key Features:
✅ EMA Crossovers – Detects trend shifts using fast and slow exponential moving averages (EMA).
✅ RSI Confirmation – Ensures trades align with momentum by using the Relative Strength Index (RSI).
✅ MACD Signal Filtering – Confirms entries using MACD crossovers, reducing false signals.
✅ ATR-Based Stop Loss & Take Profit – Dynamically adjusts risk management using the Average True Range (ATR) multiplier.
✅ Long & Short Trades – Executes both buy and sell positions for full market coverage.
🔹 How It Works:
📌 Buy Entry: When the fast EMA crosses above the slow EMA, RSI is above 50, and MACD is bullish.
📌 Sell Entry: When the fast EMA crosses below the slow EMA, RSI is below 50, and MACD is bearish.
📌 Risk Management: Stop-loss and take-profit levels are set automatically based on ATR multipliers to optimize risk-reward.
🔹 Ideal for Traders Who:
✔️ Want automated, high-probability signals for Gold and Nasdaq.
✔️ Prefer dynamic risk management instead of fixed stop-loss and take-profit levels.
✔️ Need a fully structured and backtestable strategy on TradingView.
lucasI designed this indictor to give long/short signals on >30m htf, with entries on lower timeframes <15m. it also gives a bias on market conditions with a highlighted background. green/red/blue to represent a higher likelihood of a trade working in a specific direction. you can set alerts as well! I programmed the functionality with heikin ashi candles, and i highly recommend enabling them. you can tip me on my twitter/X page @100x_leverage (:
AZZAM KHALID 1H Comprehensive Trading StrategyEMA (Exponential Moving Average) for trend detection.
RSI (Relative Strength Index) to identify overbought and oversold areas.
ATR (Average True Range) to calculate dynamic stop loss and take profit. Reversal candlestick patterns such as:
Hammer and Hanging Man
Morning & Evening Star
Shooting Star Clear buy and sell orders with:
Clear entry and exit signals
Dynamic stop loss and take profit by ATR Works on all timeframes.
Cryptogenik's Inflation-Adjusted Candles v2025Inflation-Adjusted Price Indicator by Cryptogenik
This indicator adjusts price data for inflation, allowing you to visualize how stock/asset prices would look with constant purchasing power. By using Consumer Price Index (CPI) data from FRED, it transforms nominal prices into inflation-adjusted values that reflect real-world purchasing power.
What This Indicator Does
The Inflation-Adjusted Price indicator converts traditional price charts to show what prices would be if the purchasing power of currency remained constant. This is essential for long-term analysis, as it removes the distortion caused by inflation when comparing prices across different time periods.
Key Features
Displays inflation-adjusted price candles alongside original prices
Uses official CPI data from the Federal Reserve (FRED:CPIAUCSL)
Allows easy comparison between nominal and real prices
Helps identify true price movements by filtering out the effects of inflation
Perfect for long-term investors and macroeconomic analysis
How To Use It
Apply the indicator to any chart
Green/red candles show the inflation-adjusted prices
Gray line shows the original unadjusted price
The information label displays the current CPI value
This indicator is particularly valuable for analyzing stocks, commodities, and other assets over periods of 5+ years, where inflation effects become significant. It helps answer the question: "Has this asset truly increased in value, or is the price increase just reflecting inflation?"
Technical Details
The indicator calculates adjusted prices using the formula: (price / CPI) * 100, which effectively shows prices as a percentage of current purchasing power. This approach normalizes all prices to a consistent standard, making historical comparisons more meaningful.
Cryptogenik's Inflation-Adjusted Candles v2025
Previous Day LevelsThis indicator plots the previous day's high, low, and 50% levels, providing a framework for analyzing price behavior relative to these key levels.
Full Description:
The Previous Day Levels indicator is a tool designed to help traders analyze price action based on key levels from the previous trading session. By plotting the high, low, and mid-point (50%) of the prior day’s range, traders can assess potential market bias and directional tendencies for the current trading day.
Key Features:
Plots the previous day’s high (100%), low (0%), and intermediate levels (25%, 50%, 75%).
Allows users to customize line visibility, color, style, and width.
Helps traders identify potential support and resistance zones.
Provides a bias framework for determining whether price is more likely to target the previous high or low based on behavior around the 50% level.
Use Case:
This indicator is particularly useful for intraday and short-term traders who incorporate price action into their strategy.
If price trades above the 50% level and holds, it suggests a bullish bias, indicating that price may aim for the previous day's high.
If price trades below the 50% level and holds, it suggests a bearish bias, indicating that price may aim for the previous day's low.
The high and low levels can act as key support and resistance zones, where price may react or reverse.
How to Use:
Apply the indicator to your chart.
Observe how price interacts with the 50% level.
Use price behavior around these levels to establish a directional bias.
Adjust the line styles and colors to match your personal preference.
Disclaimer:
This indicator is a tool for market analysis and does not provide financial advice. Always perform your own analysis and risk management when trading.
Wick to Candle Ratio with Multiple ColorsThis Pine Script v5 indicator for TradingView visualizes the wick-to-candle ratio by plotting a colored dot above each candle to highlight the proportion of the wick compared to the total candle size. It calculates the upper and lower wick lengths, the body size, and the total candle range, then determines the wick-to-body ratio as a percentage. Based on this ratio, the script assigns a color to the dot: green when the body is large compared to the wick (wick-to-body ratio > 60%), and an invisible orange dot otherwise. However, the color logic appears incomplete, as there are references to additional conditions that are not fully implemented. The dot is positioned a fixed distance above the candle wick, determined by the offset input. This tool helps traders quickly identify candles with significant wicks, indicating potential price reversals or rejections.