Weekly RSI DivergenceMarks divergences on price and RSI on price chart. arrows arrears where DIVERGENCE occcure. green indicates bullish red is bearish. to be cross checked with price and used. any suggeston is welcome
Candlestick analysis
Improved RSI with Divergence + Gradient + Trend HistogramThis will:
Restrict the y-axis to start at 0
Prevent any accidental -40 scale drops
You can now safely reintroduce the histogram bars without breaking the scale.
Let me know if you want to move the histogram to a separate pane or adjust its bar thickness/gradient.
Chattes-SwingCount Chattes-SwingCount
// This indicator detects swings using a custom ZigZag algorithm and calculates:
// - Average pip movement per swing
// - Standard deviation of pip movement
// - Average number of candles per swing
// - Standard deviation of candle count
//
// The stats are displayed in a compact box at the top-right corner of the chart.
//
// An alert is triggered when a swing's pip size exceeds 1.5× the standard deviation,
// helping identify unusual volatility or significant market moves.
//
// Inputs allow customization of ZigZag detection parameters and swing sample size.
ROC Spike Alert by Jaani//@version=5
indicator("ROC Spike Alert by Jaani", overlay=true)
// === Inputs ===
rocLength = input.int(9, title="ROC Length")
spikeThreshold = input.float(2.0, title="Spike Threshold (%)")
// === ROC Calculation ===
roc = 100 * (close - close ) / close
// === Spike Conditions ===
bullishSpike = roc > spikeThreshold
bearishSpike = roc < -spikeThreshold
// === Plot ROC on Separate Scale
plot(roc, title="ROC", color=color.blue, linewidth=1, display=display.none)
// === Signal Plotting on Chart ===
plotshape(bullishSpike, title="Bullish Spike", location=location.belowbar,
color=color.green, style=shape.triangleup, size=size.small, text="BUY")
plotshape(bearishSpike, title="Bearish Spike", location=location.abovebar,
color=color.red, style=shape.triangledown, size=size.small, text="SELL")
// === Alerts ===
alertcondition(bullishSpike, title="ROC Bullish Spike", message="ROC UP Spike Detected - BUY Signal")
alertcondition(bearishSpike, title="ROC Bearish Spike", message="ROC DOWN Spike Detected - SELL Signal")
ROC Spike Detector by Jaani//@version=5
indicator("ROC Spike Detector by Jaani", overlay=true)
// === User Inputs ===
rocLength = input.int(9, minval=1, title="ROC Length")
spikeThreshold = input.float(2.0, minval=0.1, title="Spike Threshold (%)")
// === ROC Calculation ===
roc = 100 * (close - close ) / close
// === Spike Conditions ===
bullishSpike = roc > spikeThreshold
bearishSpike = roc < -spikeThreshold
// === Plotting Signals ===
plotshape(bullishSpike, title="Bullish ROC Spike", location=location.belowbar,
color=color.green, style=shape.triangleup, size=size.small, text="Buy")
plotshape(bearishSpike, title="Bearish ROC Spike", location=location.abovebar,
color=color.red, style=shape.triangledown, size=size.small, text="Sell")
// === Alerts ===
alertcondition(bullishSpike, title="Bullish ROC Alert", message="🚀 ROC Spike UP Detected!")
alertcondition(bearishSpike, title="Bearish ROC Alert", message="🔻 ROC Spike DOWN Detected!")
Consecutive Candles Above/Below EMADescription:
This indicator identifies and highlights periods where the price remains consistently above or below an Exponential Moving Average (EMA) for a user-defined number of consecutive candles. It visually marks these sustained trends with background colors and labels, helping traders spot strong bullish or bearish market conditions. Ideal for trend-following strategies or identifying potential trend exhaustion points, this tool provides clear visual cues for price behavior relative to the EMA.
How It Works:
EMA Calculation: The indicator calculates an EMA based on the user-specified period (default: 100). The EMA is plotted as a blue line on the chart for reference.
Consecutive Candle Tracking: It counts how many consecutive candles close above or below the EMA:
If a candle closes below the EMA, the "below" counter increments; any candle closing above resets it to zero.
If a candle closes above the EMA, the "above" counter increments; any candle closing below resets it to zero.
Highlighting Trends: When the number of consecutive candles above or below the EMA meets or exceeds the user-defined threshold (default: 200 candles):
A translucent red background highlights periods where the price has been below the EMA.
A translucent green background highlights periods where the price has been above the EMA.
Labeling: When the required number of consecutive candles is first reached:
A red downward arrow label with the text "↓ Below" appears for below-EMA streaks.
A green upward arrow label with the text "↑ Above" appears for above-EMA streaks.
Usage:
Trend Confirmation: Use the highlights and labels to confirm strong trends. For example, 200 candles above the EMA may indicate a robust uptrend.
Reversal Signals: Prolonged streaks (e.g., 200+ candles) might suggest overextension, potentially signaling reversals.
Customization: Adjust the EMA period to make it faster or slower, and modify the candle count to make the indicator more or less sensitive to trends.
Settings:
EMA Length: Set the period for the EMA calculation (default: 100).
Candles Count: Define the minimum number of consecutive candles required to trigger highlights and labels (default: 200).
Visuals:
Blue EMA line for tracking the moving average.
Red background for sustained below-EMA periods.
Green background for sustained above-EMA periods.
Labeled arrows to mark when the streak threshold is met.
This indicator is a powerful tool for traders looking to visualize and capitalize on persistent price trends relative to the EMA, with clear, customizable signals for market analysis.
Explain EMA calculation
Other trend indicators
Make description shorter
QTA_LeGo_LibraryLibrary "QTA_LeGo_Library"
detectFVG(useStrongBody, useWeakSides, useDirectional, bodyStrengthRatio, weakBodyRatio)
Parameters:
useStrongBody (bool)
useWeakSides (bool)
useDirectional (bool)
bodyStrengthRatio (float)
weakBodyRatio (float)
Candle Eraser (New York Time, Dropdown)If you want to focus on first 3 hours of Asia, London> and New York, inspired by Stacey Burke Trading 12 Candle Window Concept
- Set your time to UTC-4 New York
Strategia 9-30 Candle con Dashboard//@version=5
indicator("Strategia 9-30 Candle con Dashboard", overlay=true)
// Impostazioni EMA
ema9 = ta.ema(close, 9)
ema30 = ta.ema(close, 30)
plot(ema9, color=color.blue, title="EMA 9")
plot(ema30, color=color.red, title="EMA 30")
// RSI e filtro
rsi = ta.rsi(close, 14)
rsiFiltroLong = rsi > 50
rsiFiltroShort = rsi < 50
// Volume e filtro
volFiltroLong = volume > ta.sma(volume, 20)
volFiltroShort = volume > ta.sma(volume, 20)
// Condizioni LONG
longCondition = ta.crossover(ema9, ema30) and close > ema9 and close > ema30 and rsiFiltroLong and volFiltroLong
plotshape(longCondition, title="Entrata Long", location=location.belowbar, color=color.green, style=shape.labelup, text="LONG")
exitLong = ta.crossunder(ema9, ema30)
plotshape(exitLong, title="Uscita Long", location=location.abovebar, color=color.orange, style=shape.labeldown, text="EXIT")
// Condizioni SHORT
shortCondition = ta.crossunder(ema9, ema30) and close < ema9 and close < ema30 and rsiFiltroShort and volFiltroShort
plotshape(shortCondition, title="Entrata Short", location=location.abovebar, color=color.red, style=shape.labeldown, text="SHORT")
exitShort = ta.crossover(ema9, ema30)
plotshape(exitShort, title="Uscita Short", location=location.belowbar, color=color.orange, style=shape.labelup, text="EXIT")
// Background per segnali forti
bgcolor(longCondition ? color.new(color.green, 85) : na, title="BG Long")
bgcolor(shortCondition ? color.new(color.red, 85) : na, title="BG Short")
// Trailing Stop
var float trailPriceLong = na
var float trailPriceShort = na
trailPerc = input.float(0.5, title="Trailing Stop %", minval=0.1, step=0.1)
if (longCondition)
trailPriceLong := close * (1 - trailPerc / 100)
else if (close > trailPriceLong and not na(trailPriceLong))
trailPriceLong := math.max(trailPriceLong, close * (1 - trailPerc / 100))
if (shortCondition)
trailPriceShort := close * (1 + trailPerc / 100)
else if (close < trailPriceShort and not na(trailPriceShort))
trailPriceShort := math.min(trailPriceShort, close * (1 + trailPerc / 100))
plot(trailPriceLong, title="Trailing Stop Long", color=color.green, style=plot.style_linebr, linewidth=1)
plot(trailPriceShort, title="Trailing Stop Short", color=color.red, style=plot.style_linebr, linewidth=1)
// Dashboard
var table dashboard = table.new(position.top_right, 2, 4, border_width=1)
bgCol = color.new(color.gray, 90)
signal = longCondition ? "LONG" : shortCondition ? "SHORT" : "-"
signalColor = longCondition ? color.green : shortCondition ? color.red : color.gray
if bar_index % 1 == 0
table.cell(dashboard, 0, 0, "Segnale:", text_color=color.white, bgcolor=bgCol)
table.cell(dashboard, 1, 0, signal, text_color=color.white, bgcolor=signalColor)
table.cell(dashboard, 0, 1, "RSI:", text_color=color.white, bgcolor=bgCol)
table.cell(dashboard, 1, 1, str.tostring(rsi, format.mintick), text_color=color.white, bgcolor=bgCol)
table.cell(dashboard, 0, 2, "Volume:", text_color=color.white, bgcolor=bgCol)
table.cell(dashboard, 1, 2, str.tostring(volume, format.volume), text_color=color.white, bgcolor=bgCol)
table.cell(dashboard, 0, 3, "EMA9 > EMA30:", text_color=color.white, bgcolor=bgCol)
table.cell(dashboard, 1, 3, str.tostring(ema9 > ema30), text_color=color.white, bgcolor=bgCol)
// Alert
alertcondition(longCondition, title="Segnale Long", message="LONG: EMA9 incrocia EMA30, RSI > 50, volume alto")
alertcondition(shortCondition, title="Segnale Short", message="SHORT: EMA9 incrocia EMA30 verso il basso, RSI < 50, volume alto")
alertcondition(exitLong, title="Uscita Long", message="Uscita da LONG: EMA9 incrocia EMA30 verso il basso")
alertcondition(exitShort, title="Uscita Short", message="Uscita da SHORT: EMA9 incrocia EMA30 verso l'alto")
EMA MAs 7EMA(ERJUANSTURK)All ema mas values are entered. 20, 50, 100,150,200,300,400. The indicator is designed simply and elegantly.
Dynamic Candle rating by Nikhil DoshiThis custom TradingView indicator assigns a rating from 1 to 5 to each candlestick on the chart based on the relative position of the close within its high-low range. It provides an at-a-glance visual assessment of candle strength or weakness, which can be useful for gauging intrabar sentiment.
Label colors provide intuitive visual cues:
🟩 1 (Green) – Strong bullish
🟢 2 (Lime) – Mild bullish
⚪ 3 (Gray) – Neutral
🟠 4 (Orange) – Mild bearish
🔴 5 (Red) – Strong bearish
Multi-Pair MTF Crypto Strategy (Backtest Version)Multi-Pair MTF Crypto Scanner (Smart Long/Short Indicator)
This advanced TradingView indicator is designed for crypto traders seeking precise, risk-filtered signals across multiple pairs and timeframes. It combines institutional-grade signal logic with customizable risk management and clean visual labeling.
🔍 Core Features:
✅ Multi-Pair & Multi-Timeframe Scanning
Scans assets like BTC, ETH, SOL across timeframes (15m, 1H, 4H)
✅ Buy/Sell Signal Engine
Based on EMA 50/200 crossover, RSI, and volume spikes
✅ Dynamic Risk Management
Calculates Stop Loss (SL), Take Profit (TP), and Risk-Reward Ratio (RRR) using ATR
✅ RRR Filter
Signals only shown if RRR meets your defined minimum (default 1.5)
✅ Confirmation Mode
Optional setting to avoid premature signals by requiring bar-close confirmation
✅ Visual Trade Zones
Entry, SL, and TP levels plotted directly on chart
✅ Debug Mode
Shows labels when trades are rejected due to RRR filters
🧠 Ideal For:
Crypto scalpers, swing traders, and algorithmic signal testers
Traders focused on high probability entries with defined risk
📣 Alerts:
Real-time alerts for qualified BUY and SHORT signals
Configurable for automated webhook systems or mobile push
Multi-Pair MTF Crypto Strategy (Backtest Version)Multi-Pair MTF Crypto Scanner (Smart Long/Short Indicator)
This advanced TradingView indicator is designed for crypto traders seeking precise, risk-filtered signals across multiple pairs and timeframes. It combines institutional-grade signal logic with customizable risk management and clean visual labeling.
🔍 Core Features:
✅ Multi-Pair & Multi-Timeframe Scanning
Scans assets like BTC, ETH, SOL across timeframes (15m, 1H, 4H)
✅ Buy/Sell Signal Engine
Based on EMA 50/200 crossover, RSI, and volume spikes
✅ Dynamic Risk Management
Calculates Stop Loss (SL), Take Profit (TP), and Risk-Reward Ratio (RRR) using ATR
✅ RRR Filter
Signals only shown if RRR meets your defined minimum (default 1.5)
✅ Confirmation Mode
Optional setting to avoid premature signals by requiring bar-close confirmation
✅ Visual Trade Zones
Entry, SL, and TP levels plotted directly on chart
✅ Debug Mode
Shows labels when trades are rejected due to RRR filters
🧠 Ideal For:
Crypto scalpers, swing traders, and algorithmic signal testers
Traders focused on high probability entries with defined risk
📣 Alerts:
Real-time alerts for qualified BUY and SHORT signals
Configurable for automated webhook systems or mobile push
Multi-Pair MTF Crypto Scanner (Advanced Dashboard)This advanced TradingView indicator is designed for crypto traders seeking precise, risk-filtered signals across multiple pairs and timeframes. It combines institutional-grade signal logic with customizable risk management and clean visual labeling.
🔍 Core Features:
✅ Multi-Pair & Multi-Timeframe Scanning
Scans assets like BTC, ETH, SOL across timeframes (15m, 1H, 4H)
✅ Buy/Sell Signal Engine
Based on EMA 50/200 crossover, RSI, and volume spikes
✅ Dynamic Risk Management
Calculates Stop Loss (SL), Take Profit (TP), and Risk-Reward Ratio (RRR) using ATR
✅ RRR Filter
Signals only shown if RRR meets your defined minimum (default 1.5)
✅ Confirmation Mode
Optional setting to avoid premature signals by requiring bar-close confirmation
✅ Visual Trade Zones
Entry, SL, and TP levels plotted directly on chart
✅ Debug Mode
Shows labels when trades are rejected due to RRR filters
🧠 Ideal For:
Crypto scalpers, swing traders, and algorithmic signal testers
Traders focused on high probability entries with defined risk
📣 Alerts:
Real-time alerts for qualified BUY and SHORT signals
Configurable for automated webhook systems or mobile push
Would you like me to embed this as a comment block at the top of your Pine Script?
Fosheezy BB 20emaMajor close (>50% of candle) outside bollinger band 2nd dev with next candle reversing back towards 20ema.
Inside Bar (Body-based) Ind/AlertDescription:
This indicator detects Inside Bar patterns based strictly on the candle body (open/close range) of the mother candle, rather than the traditional high/low wick method. An inside bar is highlighted when the current candle’s entire body is contained within the body of the previous candle.
It can be useful for traders who want a more conservative and reliable definition of inside bars, focusing on true consolidation periods and filtering out signals caused by extended wicks.
Features:
Body-based Inside Bar detection:
The indicator colors and marks candles where the current bar’s body is fully within the previous bar’s body.
Bullish/Bearish identification:
Bullish inside bars are marked in green, bearish in red.
Double Inside Bar Detection:
An optional feature marks when two consecutive candles’ bodies are inside the same mother bar body—potentially indicating stronger consolidation.
Alerts:
Set alerts for single or double inside bars for automated monitoring.
How to Use:
Add the indicator to your chart.
Look for colored bars or plotted shapes for inside bar signals based on candle bodies.
Use alerts to get notified in real time when inside bar patterns appear.
Note:
This script uses only the candle body (open and close) for inside bar calculations, which may help filter out less reliable signals found with wick-based approaches.
Enigma Sniper 369The "Enigma Sniper 369" is a custom-built Pine Script indicator designed for TradingView, tailored specifically for forex traders seeking high-probability entries during high-volatility market sessions.
Unlike generic trend-following or scalping tools, this indicator uniquely combines session-based "kill zones" (London and US sessions), momentum-based candle analysis, and an optional EMA trend filter to pinpoint liquidity grabs and reversal opportunities.
Its originality lies in its focus on liquidity hunting—identifying levels where stop losses are likely clustered (around swing highs/lows and wick midpoints)—and providing visual entry zones that are dynamically removed once price breaches them, reducing clutter and focusing on actionable signals.
The name "369" reflects the structured approach of three key components (session timing, candle logic, and trend filter) working in harmony to snipe precise entries.
What It Does
"Enigma Sniper 369" identifies potential buy and sell opportunities by drawing two types of horizontal lines on the chart during user-defined London and US
session kill zones:
Solid Lines: Mark the swing low (for buys) or swing high (for sells) of a trigger candle, indicating a potential entry point where stop losses might be clustered.
Dotted Lines: Mark the 50% level of the candle’s wick (lower wick for buys, upper wick for sells), serving as a secondary confirmation zone for entries or tighter stop-loss placement.
These lines are plotted only when specific candle conditions are met within the kill zones, and they are automatically deleted once the price crosses them, signaling that the liquidity at that level has likely been grabbed. The indicator also includes an optional EMA filter to ensure trades align with the broader trend, reducing false signals in choppy markets.
How It Works
The indicator’s logic is built on a multi-layered approach:
Kill Zone Timing: Trades are only considered during user-defined London and US session hours (e.g., London from 02:00 to 12:00 UTC, as seen in the screenshots). These sessions are known for high volatility and liquidity, making them ideal for capturing institutional moves.
Candle-Based Momentum Logic:
Buy Signal: A candle must close above its midpoint (indicating bullish momentum) and have a lower low than the previous candle (suggesting a potential liquidity grab below the previous swing low). This is expressed as close > (high + low) / 2 and low < low .
Sell Signal: A candle must close below its midpoint (bearish momentum) and have a higher high than the previous candle (indicating a potential liquidity grab above the previous swing high), expressed as close < (high + low) / 2 and high > high .
These conditions ensure the indicator targets candles that break recent structure to hunt stop losses while showing directional momentum.
Optional EMA Filter: A 50-period EMA (customizable) can be enabled to filter signals based on trend direction.
Buy signals are only generated if the EMA is trending upward (ema_value > ema_value ), and sell signals require a downward EMA trend (ema_value < ema_value ). This reduces noise by aligning entries with the broader market trend.
Liquidity Levels and Deletion Logic:
For a buy signal, a solid green line is drawn at the candle’s low, and a dotted green line at the 50% level of the lower wick (from the candle body’s bottom to the low).
For a sell signal, a solid red line is drawn at the candle’s high, and a dotted red line at the 50% level of the upper wick (from the body’s top to the high).
These lines extend to the right until the price crosses them, at which point they are deleted, indicating the liquidity at that level has been taken (e.g., stop losses triggered).
Alerts: The indicator includes alert conditions for buy and sell signals, notifying traders when a new setup is identified.
Underlying Concepts
The indicator is grounded in the concept of liquidity hunting, a strategy often employed by institutional traders. Markets frequently move to levels where stop losses are clustered—typically just beyond swing highs or lows—before reversing in the opposite direction. The "Enigma Sniper 369" targets these moves by identifying candles that break structure (e.g., a lower low or higher high) during high-volatility sessions, suggesting a potential sweep of stop losses. The 50% wick level acts as a secondary confirmation, as this midpoint often represents a zone where tighter stop losses are placed by retail traders. The optional EMA filter adds a trend-following element, ensuring entries are taken in the direction of the broader market momentum, which is particularly useful on lower timeframes like the 15-minute chart shown in the screenshots.
How to Use It
Here’s a step-by-step guide based on the provided usage example on the GBP/USD 15-minute chart:
Setup the Indicator: Add "Enigma Sniper 369" to your TradingView chart. Adjust the London and US session hours to match your timezone (e.g., London from 02:00 to 12:00 UTC, US from 13:00 to 22:00 UTC). Customize the EMA period (default 50) and line styles/colors if desired.
Identify Kill Zones: The indicator highlights the London session in light green and the US session in light purple, as seen in the screenshots. Focus on these periods for signals, as they are the most volatile and likely to produce liquidity grabs.
Wait for a Signal: Look for solid and dotted lines to appear during the kill zones:
Buy Setup: A solid green line at the swing low and a dotted green line at the 50% lower wick level indicate a potential buy. This suggests the market may have grabbed liquidity below the swing low and is now poised to move higher.
Sell Setup: A solid red line at the swing high and a dotted red line at the 50% upper wick level indicate a potential sell, suggesting liquidity was taken above the swing high.
Place Your Trade:
For a buy, set a buy limit order at the dotted green line (50% wick level), as this is a more conservative entry point. Place your stop loss just below the solid green line (swing low) to cover the full swing. For example, in the screenshots, the market retraces to the dotted line at 1.32980 after a liquidity grab below the swing low, triggering a buy limit order.
For a sell, set a sell limit order at the dotted red line, with a stop loss just above the solid red line.
Monitor Price Action: Once the price crosses a line, it is deleted, indicating the liquidity at that level has been taken. In the screenshots, after the buy limit is triggered, the market moves higher, confirming the setup. The caption notes, “The market returns and tags us in long with a buy limit,” highlighting this retracement strategy.
Additional Context: Use the indicator to identify liquidity levels that may be targeted later. For example, the screenshot notes, “If a new session is about to open I will wait for the grab liquidity to go long,” showing how the indicator can be used to anticipate future moves at session opens (e.g., London open at 1.32980).
Risk Management: Always set a stop loss below the swing low (for buys) or above the swing high (for sells) to protect against adverse moves. The 50% wick level helps tighten entries, improving the risk-reward ratio.
Practical Example
On the GBP/USD 15-minute chart, during the London session (02:00 UTC), the indicator identifies a buy setup with a solid green line at 1.32901 (swing low) and a dotted green line at 1.32980 (50% wick level). The market initially dips below the swing low, grabbing liquidity, then retraces to the dotted line, triggering a buy limit order. The price subsequently rises to 1.33404, yielding a profitable trade. The user notes, “The logic is in the last candle it provides new level to go long,” emphasizing the indicator’s ability to identify fresh levels after a liquidity sweep.
Customization Tips
Adjust the EMA period to suit your timeframe (e.g., a shorter period like 20 for faster signals on lower timeframes).
Modify the session hours to align with your broker’s timezone or specific market conditions.
Use the alert feature to get notified of new setups without constantly monitoring the chart.
Why It’s Useful for Traders
The "Enigma Sniper 369" stands out by combining session timing, momentum-based candle analysis, and liquidity hunting into a single tool. It provides clear, actionable levels for entries and stop losses, removes invalid signals dynamically, and aligns trades with high-probability market conditions. Whether you’re a scalper looking for quick moves during London open or a swing trader targeting session-based reversals, this indicator offers a structured, data-driven approach to trading.
IU Three Line Strike Candlestick PatternIU Three Line Strike Candlestick Pattern
This indicator identifies the Three Line Strike candlestick pattern — a rare yet powerful 4-bar reversal setup that captures exhaustion and momentum shifts at the end of strong trends.
Pattern Logic:
The Three Line Strike is a 4-candle pattern that typically signals a sharp reversal after a sustained directional move. This script detects both bullish and bearish variations using strict criteria to ensure accuracy.
Bullish Three Line Strike:
* Previous three candles must be bearish (red)
* Each of these candles must close progressively lower (indicating a strong downtrend)
* The current candle must:
* Be bullish (green)
* Open below the prior close
* Completely engulf the previous three candles by closing above the first candle's open
* And make a higher high than the last 3 bars — confirming a strong reversal
* Once confirmed, a green shaded box is drawn around the 4-bar zone to highlight the pattern
Bearish Three Line Strike:
* Previous three candles must be bullish (green)
* Each must close progressively higher (indicating a strong uptrend)
* The current candle must:
* Be bearish (red)
* Open above the prior close
* Completely engulf the prior three candles by closing below the first candle's open
* And make a lower low than the last 3 bars — confirming downside strength
* A red shaded box is plotted around the 4-bar formation to emphasize the reversal zone
Why this is unique:
Most candlestick tools focus on 1–2 bar patterns. The Three Line Strike goes a step further by combining trend exhaustion (3 same-colored candles) with a full reversal engulfing candle. This pattern is both rare and highly expressive of sentiment shift, making it a standout signal for discretionary and algorithmic traders alike.
How users can benefit:
* High-probability setups: Filters out weak signals using multi-bar confirmation logic
* Clear visual cues: Dynamic shaded boxes and labels make spotting reversals effortless
* Cross-timeframe compatible: Works on intraday and higher timeframes across all markets
* Real-time alerts: Get notified instantly when a bullish or bearish setup forms
This indicator is a valuable addition for traders who want to capture key reversals backed by strong multi-bar price action logic. Whether you are a price action purist or a pattern-based strategist, the IU Three Line Strike gives you a reliable edge.
Disclaimer:
This script is for educational purposes only and does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Always do your own research and consult with a licensed financial advisor before making trading decisions.
VWAP + Engulfing CandlesHere’s a clear breakdown of what your merged Pine Script does:
---
### 📌 **Indicator Name: VWAP + Engulfing Candles**
* This custom TradingView indicator **plots VWAP (Volume Weighted Average Price)** along with **up to 3 dynamic bands** around it.
* It also **detects Bullish and Bearish Engulfing Candlestick Patterns**, displaying visual markers and triggering alerts.
---
## 🔹 **1. VWAP Section**
### ➤ **Main Features:**
* Calculates VWAP anchored to a **customizable time period**:
* Options: Session, Week, Month, Quarter, Year, Decade, Century, Earnings, Dividends, Splits.
* Optional **hiding of VWAP on Daily/Weekly/Monthly charts** to reduce clutter.
### ➤ **Bands Around VWAP:**
* Up to **3 bands** can be plotted above and below the VWAP.
* Bands can be based on either:
* **Standard Deviation** of the price from VWAP (volatility-based), or
* **Percentage** deviation from VWAP (fixed range).
* You can control:
* Whether each band is shown
* Band width via multiplier (e.g., 1x, 2x, 3x)
### ➤ **Plot Colors:**
* VWAP: Blue
* Bands: Green (1x), Olive (2x), Teal (3x)
* Band fill areas are semi-transparent.
---
## 🔹 **2. Engulfing Candlestick Pattern Detector**
### ➤ **Bullish Engulfing Criteria:**
* Current candle opens **below** or **equal to** the close of the previous candle.
* Current candle opens **below** the previous candle's open.
* Current candle closes **above** the previous candle’s open.
### ➤ **Bearish Engulfing Criteria:**
* Current candle opens **above** or **equal to** the close of the previous candle.
* Current candle opens **above** the previous candle’s open.
* Current candle closes **below** the previous candle’s open.
### ➤ **Visual Signals:**
* 🔼 Green triangle **below bar** for **Bullish Engulfing**
* 🔽 Red triangle **above bar** for **Bearish Engulfing**
### ➤ **Alerts:**
* The script includes two alert conditions:
* One for Bullish Engulfing
* One for Bearish Engulfing
These alerts can be used to automate notifications for potential reversal points.
---
## 🛠️ **Use Cases**
* **Trend following or reversal spotting**: VWAP helps identify the average trading price; engulfing patterns often signal reversals.
* **Intraday and swing trading**: Works best on timeframes like 5m, 15m, 1h for intraday, or 4h, 1D for swing.
* **Mean reversion strategies**: Bands help spot overbought/oversold areas relative to VWAP.
📊 Portfolio TrackerPortfolio Tracker
🧠 How This Script Works
This Pine Script generates a dynamic portfolio table in the upper-right corner of your chart. It:
Monitors your positions in: BTC, SOL, ADA, XRP, and XAU (Gold).
Calculates for each asset:
Current value,
Profit/Loss in your currency ,
Percentage change.
Color-coded output:
🟢 Green = Profit
🔴 Red = Loss
Automatically updates every few candles.
Tracks total portfolio value, PnL, and % return.
Triggers custom alerts when:
Total portfolio profit exceeds +5% or +10%.
🛠️ How to Customize It for Your Own Portfolio
🔹 1. Update your personal asset data
Inside the // === INPUTS === section of the code, modify these lines:
btc1_qty = 0.0013
btc1_entry = 72831.80
Repeat for each asset you own:
Replace xxx_qty with your amount.
Replace xxx_entry with your buy price (in your currency).
Make sure the request.security(...) line fetches the correct symbol.
🔹 2. Add more assets (optional)
Duplicate any block like ADA and change the variable names and symbols:
new_qty = ...
new_entry = ...
new_price = request.security("BINANCE:NEWTOKENUSD", timeframe.period, close)
Also include the new asset in:
total_pnl += ...
total_value_now += ...
total_cost += ...
The table.cell(...) block to show it in the table.
Why This Tool Rocks
Tracks all your holdings in one chart panel.
Requires no API or external data feed.
Real-time updates based on TradingView chart prices.
Fully editable and extendable to any other token or asset.
Custom Green Candle Signalbuying candle indicates...................................................................................................
NIFTY Option Chain Table with Custom CE/PE Price FiltersThis Pine Script creates a powerful and visually organized option chain dashboard for NIFTY Index Options, showing 10 Call Options (CE) and 10 Put Options (PE), with real-time prices updated on a 5-minute chart.
You can filter and view only the most relevant option contracts based on your preferred price ranges, helping you make quick decisions for scalping, intraday, or positional trades.
🔍 How It Works:
You manually select up to 10 Call Option symbols and 10 Put Option symbols from NSE (e.g., NIFTY240530C18000, NIFTY240530P18000, etc.).
Keep that time options this are old options in defalt so there will be a error
The script fetches the real-time close price of each option using the request.security() function.
You define the minimum and maximum price range separately for Calls and Puts.
The script filters out any options that fall outside of your desired price range.
Only a limited number of matching options (as set by you) are displayed in the table for both Calls and Puts.
The table is shown at your preferred location on the chart (Bottom Right, Top Left, etc.).
✅ Features:
🔟 Supports exactly 10 CE and 10 PE options for tracking.
📈 Live price updates pulled directly from the chart timeframe (5-min).
🎯 Custom price filters for CE and PE (separate inputs).
📊 Show only the top X number of contracts that meet your filter criteria.
🧱 Vertical layout with clear headers and color-coded sections (green for Calls, red for Puts).
🎛️ Position the table wherever it's most convenient on your chart.
⚡ Helps you quickly spot low premium or range-bound options during the day.
📌 Use Case:
Ideal for:
Option scalpers and day traders who want to focus only on options within a specific price zone.
Traders who want to monitor multiple strikes simultaneously without clutter.
Users building custom NIFTY strategies based on option premiums.