BeginerBeginner Forex Template — Price (overlay on candles): EMA20/EMA50, BUY/SELL signals, trend background, alertconditions.
Indicatori e strategie
12H Range (Body + Wicks)12H Range (Body + Wicks)
This indicator highlights the 12-hour candle ranges across any chart timeframe. Each 12H candle is split into its body and wicks, with customizable fill and border colors.
Features:
Draws the full 12H range (Open → Close for the body, High/Low for wicks).
Live updates as the current 12H candle forms.
Works on all chart timeframes.
Custom colors for bullish/bearish bodies and wicks.
Option to show only the current 12H block or keep a history of past ranges.
Lightweight performance with adjustable max bars to keep on chart.
Optional high/low guide lines for quick reference.
Use Cases:
Identify where price is trading relative to the current or past 12H session ranges.
Visualize intraday bias with clear body/wick separation.
Combine with your strategy to trade range reclaims, breaks, or reversals.
Tip: Change the reference timeframe input (default = 12H/720min) to quickly adapt for 4H, 6H, daily, etc.
SONIC R BREAK FINAL (VER5)
Purpose: Capture breakouts through Support/Resistance (S/R) zones based on Pivot and filter signals using EMA 34 (High/Low/Close), EMA 89, volume, and candle structure. Includes a Higher Timeframe (H4) RSI risk warning (visual only, does not block entries).
How it works
S/R zones from Pivot
Draws Resistance and Support using ta.pivothigh/ta.pivotlow with Left/Right Bars.
S/R lines are locked with offset to reduce repaint.
EMA trend filters
EMA34 High/Low/Close build a “EMA 34 band”.
EMA89 works as the main trend filter.
Trend conditions:
Long: close above all EMA34 High/Low/Close and EMA89.
Short: close below all EMA34 High/Low/Close and EMA89.
Volume filter (optional)
Signal valid only if Volume > SMA(Volume, n).
Wick filter
Each wick (upper/lower) ≤ 50% of candle range to avoid weak breakouts.
Higher TF RSI risk (H4)
Fetches RSI from a higher timeframe (default H4).
If RSI exceeds threshold, breakout labels turn gray (risk warning only).
Anti-repeat mechanism
Each new pivot resets trigger.
Each S/R level triggers only once until the next pivot is formed.
Signals & Alerts
Label “B” (green) below candle: breakout above Resistance, valid EMA/Volume/Wick conditions.
Label “S” (red) above candle: breakout below Support, valid EMA/Volume/Wick conditions.
Gray labels = H4 RSI risk warning.
Unified alert: “S/R Breakout (Unified)” with message B=Buy, S=Sell, Gray=Risk.
Parameters
Show Breaks: toggle breakout detection.
Left/Right Bars: pivot sensitivity.
Require Volume > Average + Volume MA Length: volume filter.
Use H4 RSI Risk Warning: enable higher TF RSI check.
RSI Length, Higher TF (minutes), RSI thresholds for Buy/Sell risk.
Usage tips
Prioritize trades in the same direction as EMA89 and EMA34 trend.
Works on M5 to H4; best combined with RSI H4 when trading M15/M30.
Place SL behind the S/R just broken, TP by fixed RR or EMA trailing.
Increase Left/Right Bars for stronger zones and less noise in sideways markets.
Notes
Pivot still has repaint element (mitigated by offset).
This indicator is not financial advice. Always combine with proper risk management.
Version
Clean v4: added wick ≤50% filter, H4 RSI risk coloring, volume filter, anti-repeat pivot trigger, unified alert, EMA34 H/L/C background shading.
Forex Monday RangeThis indicator calculates and visualizes the high and low of the Monday trading session. It provides a clear reference for the week's initial range, which can be a key point of interest for traders. The indicator plots horizontal lines representing the high, low, and midpoint of this range.
Key Features:
Identifies and plots the high and low of the Monday trading session.
The range lines are extended through the week for easy reference.
Customizable colors and line styles for a personalized look.
Cheat CodeWhy Monday & Friday
Monday evening (NY): frequently seeds the weekly expansion. Its DR/IDR often acts as a weekly “starter envelope,” useful for breakout continuation or fade back into the box plays as liquidity builds.
Friday evening (NY): often exposes end-of-week traps (run on stops into the close) and sets expectation boundaries into the following week. Carry these levels forward to catch Monday’s reaction to Friday’s closing structure.
Typical use-cases
Breakout & retest:
Price closes outside the Monday DR/IDR → look for retests of the band edge for continuation.
Liquidity sweep (“trap”) recognition:
Friday session wicks briefly beyond Friday DR/IDR then closes back inside → watch for mean reversion early next week.
Bias filter:
Above both Monday DR midline and Friday DR midline → bias long until proven otherwise; the inverse for shorts.
Session open confluence:
Reactions at the open line frequently mark decision points for momentum vs. fade setups.
(This is a levels framework, not a signals engine. Combine with your execution model: orderflow, S/R, session timing, or higher-TF bias.)
Inputs & styling (quick reference)
Display toggles (per day):
Show DR / IDR / Middle DR / Middle IDR
Show Opening Line
Show DR/IDR Box (choose DR or IDR as box source)
Show Price Labels
Style controls (per day):
Line width (1–4), style (Solid/Dashed/Dotted)
Independent colors for DR, IDR, midlines, open line
Box background opacity
Timezone:
Default America/New_York (changeable).
Optional on-chart warning if your chart TZ differs.
Practical notes
Works on intraday charts; levels are anchored using weekly timestamps for accuracy on any symbol.
Live updating: During the Mon/Fri calc windows, DR/IDR highs/lows and midlines keep updating until the session ends.
Clean drawings: Lines, box, and labels are created once per session and then extended/updated—efficient on resources even with long display windows.
Max elements: Script reserves ample line/box/label capacity for stability across weeks.
Volume (K) & Value (Cr)shows value of a candle in crores
shows value of a candle in crores
shows value of a candle in crores
shows value of a candle in crores
shows value of a candle in crores
shows value of a candle in crores
Trader Marks Trailing SL + TP (Long & Short, mirrored)📌 Trader Marks Trailing SL + TP (Long & Short, mirrored)
This script implements an advanced trailing stop and take-profit system for both long and short trades.
It combines fixed entry/TP levels with a progressive looping mechanism that dynamically adjusts the trailing stop.
🔑 Key Features
Long & Short mirrored
The script works symmetrically for both long and short setups.
Fixed or percentage-based Take-Profit
You can either set a fixed TP price or have it calculated automatically as entry ± percentage distance.
Progressive Trailing Stop with Looping Mechanism
The stop-loss moves progressively towards the take-profit depending on price development.
For longs, the SL only moves upward (never lower).
For shorts, the SL only moves downward (never higher).
The looping exponent (tightPower) controls how strongly the gap between price and SL “tightens” over time:
Smaller values (e.g. 1.0) → gentle tightening, SL follows loosely.
Larger values (e.g. 3.0) → aggressive tightening, SL closes in on price faster.
Dynamic Minimum Distance
Default: 0.9 % distance from price.
As soon as the stop-loss touches the current or previous candle → automatic switch to 1.5 %.
Once the next candle no longer touches the SL → it reverts back to 0.9 %.
Lock at TP
Option to pull the SL exactly to the TP level once it is reached.
Automatic Reset
If any inputs change (Entry, TP, Trade Direction), the SL can be re-initialized automatically.
🎨 Visualization
Blue line → Entry level
Teal line → Take-profit level
Red line → Dynamic trailing stop
The data window also shows whether the tight mode (1.5 %) is currently active.
EdgePredict — SWING CLEAN (v2.1)easy and clean indicator for predictions
Ultra-simple reading
Colored candlesticks = context (above EMA → greenish, below → reddish).
Green/red halo = active swing signal.
Arrow = entry timing.
Activate the Score panel only if you want to validate the signal strength (showScorePane).
Chart-Only Scanner — Pro Table v2.5.1Chart-Only Scanner — Pro Table v2.5
User Manual (Pine Script v6)
What this tool does (in one line)
A compact, on-chart table that scores the current chart symbol (or an optional override) using momentum, volume, trend, volatility, and pattern checks—so you can quickly decide UP, DOWN, or WAIT.
Quick Start (90 seconds)
Add the indicator to any chart and timeframe (1m…1M).
Leave “Override chart symbol” = OFF to auto-use the chart’s symbol.
Choose your layout:
Row (wide horizontal strip), or Grid (title + labeled cells).
Pick a size preset (Micro, Small, Medium, Large, Mobile).
Optional: turn on “Use Higher TF (EMA 20/50)” and set HTF Multiplier (e.g., 4 ⇒ if chart is 15m, HTF is 60m).
Watch the table:
DIR (↑/↓/→), ROC%, MOM, VOL, EMA stack, HTF, REV, SCORE, ACT.
Add an alert if you want: the script fires when |SCORE| ≥ Action threshold.
What to expect
A small table appears on the chart corner you choose, updating each bar (or only at bar close if you keep default smart-update).
The ACT cell shows 🔥 (strong), 👀 (medium), or ⏳ (weak).
Panels & Settings (every option explained)
Core
Momentum Period: Lookback for rate-of-change (ROC%). Shorter = more reactive; longer = smoother.
ROC% Threshold: Minimum absolute ROC% to call direction UP (↑) or DOWN (↓); otherwise →.
Require Volume Confirmation: If ON and VOL ≤ 1.0, the SCORE is forced to 0 (prevents low-volume false positives).
Override chart symbol + Custom symbol: By default, the indicator uses the chart’s symbol. Turn this ON to lock to a specific ticker (e.g., a perpetual).
Higher TF
Use Higher TF (EMA 20/50): Compares EMA20 vs EMA50 on a higher timeframe.
HTF Multiplier: Higher TF = (chart TF × multiplier).
Example: on 3H chart with multiplier 2 ⇒ HTF = 6H.
Volatility & Oscillators
ATR Length: Used to show ATR% (ATR relative to price).
RSI Length: Standard RSI; colors: green ≤30 (oversold), red ≥70 (overbought).
Stoch %K Length: With %D = SMA(%K, 3).
MACD Fast/Slow/Signal: Standard MACD values; we display Line, Signal, Histogram (L/S/H).
ADX Length (Wilder): Wilder’s smoothing (internal derivation); also shows +DI / −DI if you enable the ADX column.
EMAs / Trend
EMA Fast/Mid/Slow: We compute EMA(20/50/200) by default (editable).
EMA Stack: Bull if Fast > Mid > Slow; Bear if Fast < Mid < Slow; Flat otherwise.
Benchmark (optional, OFF by default)
Show Relative Strength vs Benchmark: Displays RS% = ROC(symbol) − ROC(benchmark) over the Momentum Period.
Benchmark Symbol: Ticker used for comparison (e.g., BTCUSDT as a market proxy).
Columns (show/hide)
Toggle which fields appear in the table. Hiding unused fields keeps the layout clean (especially on mobile).
Display
Layout Mode:
Row = a single two-row strip; each column is a metric.
Grid = a title row plus labeled pairs (label/value) arranged in rows.
Size Preset: Micro, Small, Medium, Large, Mobile change text size and the grid density.
Table Corner: Where the panel sits (e.g., Top Right).
Opaque Table Background: ON = dark card; OFF = transparent(ish).
Update Every Bar: ON = update intra-bar; OFF = smart update (last bar / real-time / confirmed history).
Action threshold (|score|): The cutoff for 🔥 and alert firing (default 70).
How to read each field
CHART: The active symbol name (or your custom override).
DIR: ↑ (ROC% > threshold), ↓ (ROC% < −threshold), → otherwise.
ROC%: Rate of change over Momentum Period.
Formula: (Close − Close ) / Close × 100.
MOM: A scaled momentum score: min(100, |ROC%| × 10).
VOL: Volume ratio vs 20-bar SMA: Volume / SMA(Volume,20).
1.5 highlights as yellow (significant participation).
ATR%: (ATR / Close) × 100 (volatility relative to price).
RSI: Colored for extremes: ≤30 green, ≥70 red.
Stoch K/D: %K and %D numbers.
MACD L/S/H: Line, Signal, Histogram. Histogram color reflects sign (green > 0, red < 0).
ADX, +DI, −DI: Trend strength and directional components (Wilder). ADX ≥ 25 is highlighted.
EMA 20/50/200: Current EMA values (editable lengths).
STACK: Bull/Bear/Flat as defined above.
VWAP%: (Close − VWAP) / Close × 100 (premium/discount to VWAP).
HTF: ▲ if HTF EMA20 > EMA50; ▼ if <; · if flat/off.
RS%: Symbol’s ROC% − Benchmark ROC% (positive = outperforming).
REV (reversal):
🟢 Eng/Pin = bullish engulfing or bullish pin detected,
🔴 Eng/Pin = bearish engulfing or bearish pin,
· = none.
SCORE (absolute shown as a number; sign shown via DIR and ACT):
Components:
base = MOM × 0.4
volBonus = VOL > 1.5 ? 20 : VOL × 13.33
htfBonus = use_mtf ? (HTF == DIR ? 30 : HTF == 0 ? 15 : 0) : 0
trendBonus = (STACK == DIR) ? 10 : 0
macdBonus = 0 (placeholder for future versions)
scoreRaw = base + volBonus + htfBonus + trendBonus + macdBonus
SCORE = DIR ≥ 0 ? scoreRaw : −scoreRaw
If Require Volume Confirmation and VOL ≤ 1.0 ⇒ SCORE = 0.
ACT:
🔥 if |SCORE| ≥ threshold
👀 if 50 < |SCORE| < threshold
⏳ otherwise
Practical examples
Strong long (trend + participation)
DIR = ↑, ROC% = +3.2, MOM ≈ 32, VOL = 1.9, STACK = Bull, HTF = ▲, REV = 🟢
SCORE: base(12.8) + volBonus(20) + htfBonus(30) + trend(10) ≈ 73 → ACT = 🔥
Action idea: look for longs on pullbacks; confirm risk with ATR%.
Weak long (no volume)
DIR = ↑, ROC% = +1.0, but VOL = 0.8 and Require Volume Confirmation = ON
SCORE forced to 0 → ACT = ⏳
Action: wait for volume > 1.0 or turn off confirmation knowingly.
Bearish reversal warning
DIR = →, REV = 🔴 (bearish engulfing), RSI = 68, HTF = ▼
SCORE may be mid-range; ACT = 👀
Action: watch for breakdown and rising VOL.
Alerts (how to use)
The script calls alert() whenever |SCORE| ≥ Action threshold.
To receive pop-ups, sounds, or emails: click “⏰ Alerts” in TradingView, choose this indicator, and pick “Any alert() function call.”
The alert message includes: symbol, |SCORE|, DIR.
Layout, Size, and Corner tips
Row is best when you want a compact status ribbon across the top.
Grid is clearer on big screens or when you enable many columns.
Size:
Mobile = one pair per row (tall, readable)
Micro/Small = dense; good for many fields
Large = presentation/screenshots
Corner: If the table overlaps price, change the corner or set Opaque Background = OFF.
Repaint & timeframe behavior
Default smart update prefers stability (last bar / live / confirmed history).
For a stricter, “close-only” behavior (less repaint): turn Update Every Bar = OFF and avoid Heikin Ashi when you want raw market OHLC (HA modifies price inputs).
HTF logic is derived from a clean, integer multiple of your chart timeframe (via multiplier). It works with 3H/4H and any TF.
Performance notes
The script analyzes one symbol (chart or override) with multiple metrics using efficient tuple requests.
If you later want a multi-symbol grid, do it with pages (10–15 per page + rotate) to stay within platform limits (recommended future add-on).
Troubleshooting
No table visible
Ensure the indicator is added and not hidden.
Try toggling Opaque Background or switch Corner (it might be behind other drawings).
Keep Columns count reasonable for the chosen Size.
If you turned ON Override, verify the Custom symbol exists on your data provider.
Numbers look different on HA candles
Heikin Ashi modifies OHLC; switch to regular candles if you need raw price metrics.
3H/4H issues
Use integer HTF Multiplier (e.g., 2, 4). The tool builds the correct string internally; no manual timeframe strings needed.
Power user tips
Volume gating: keeping Require Volume Confirmation = ON filters most fake moves; if you’re a scalper, reduce strictness or turn it off.
Action threshold: 60–80 is typical. Higher = fewer but stronger signals.
Benchmark RS%: great for spotting leaders/laggards; positive RS% = outperformance vs benchmark.
Change policy & safety
This version doesn’t alter your historical logic you tested (no radical changes).
Any future “radical” change (score weights, HTF logic, UI hiding data) will ship with a toggle and an Impact Statement so you can keep old behavior if you prefer.
Glossary (quick)
ROC%: Percent change over N bars.
MOM: Scaled momentum (0–100).
VOL ratio: Volume vs 20-bar average.
ATR%: ATR as % of price.
ADX/DI: Trend strength / direction components (Wilder).
EMA stack: Relationship between EMAs (bullish/bearish/flat).
VWAP%: Premium/discount to VWAP.
RS%: Relative strength vs benchmark.
EMA Golden & Death Cross with Profit Takingjust showing golden crosses and death crosses based on ema lines
EMA 200 HIGH LOWS - BIRMANO - A Pine Script v6 indicator plotting a smoothed cloud between EMA 200 of high and close prices, with dynamic colors (green/soft red) based on price position. Includes RSI (14) in a subpanel for confluence, with an ATR filter to hide the cloud during high volatility.
Supp_Ress_V1This indicator automatically plots support and resistance levels using confirmed pivot highs and lows, then manages them smartly by merging nearby levels, extending them, and removing them once price breaks through.
It also draws trendlines by connecting valid higher-lows (uptrend) or lower-highs (downtrend), ensuring they slope correctly and have enough spacing between pivots.
In short: it gives you a clean, trader-like map of the most relevant S/R zones and trendlines, updating dynamically as price action unfolds.
Price Action + Fractals DetectorThe Price Action Patterns Detector indicator also includes a Fractal (WICK.ED style). This way, you'll see Pinbar, Engulfing, Doji, Inside/Outside Bar, Morning/Evening Star formations, and fractals will appear. 🔥
RSI, CCI, ADX Panel (Custom TF for Each)RSI, CCI, ADX Panel (Custom TF for Each)
This indicator combines RSI, CCI, and ADX into a single panel, allowing traders to view three key momentum/trend signals together. Each indicator can be calculated on its own custom timeframe, making it useful for multi-timeframe analysis.
Features:
RSI (Relative Strength Index): Measures momentum, useful for identifying overbought/oversold conditions.
CCI (Commodity Channel Index): Detects cyclical movements and potential reversals.
ADX (Average Directional Index): Evaluates trend strength without regard to direction.
Independent timeframe selection for RSI, CCI, and ADX.
Distinct colors for each indicator (RSI = Blue, CCI = Orange, ADX = Purple).
Single consolidated panel for compact analysis.
This tool is designed to give a multi-perspective view of market strength, momentum, and trend in one place.
Global M2 + BTCUSD (90-day displacement)the Global M2 and the BTCUSD charts with a 90-day relative displacement
TTW-Day/Session Separator🗓️ Day Separator – Highlight Markers start times and days for Your Chart
This script adds automatic vertical lines to visually separate each trading day on your chart. It helps you quickly identify where each day starts and ends — especially useful for intraday and scalping strategies.
✅ Features:
Distinct lines for each weekday, month, week, trading session
Optional day-of-week labels (toggle on/off)
Custom label position (top or bottom of the chart)
Works on any timeframe
Whether you're tracking market sessions or reviewing daily price action, this tool gives you a clean structure to navigate your charts with more clarity.
ATR-limited Donchian ChannelThe ATR-limited Donchian Channel is a modified version of the classic Donchian Channel that adapts more quickly to changing market conditions.
While a traditional Donchian Channel is based only on the highest high and lowest low over a given lookback period, this version introduces an ATR-based constraint that prevents the channel lines from extending too far away from price. This makes the channel more responsive and reduces lag compared to the standard Donchian Channel.
How it works
The upper band is based on the highest high of the last N candles, but it cannot exceed a maximum distance of ATR × Factor above the current median price (midpoint of high and low).
The lower band is based on the lowest low of the last N candles, but it cannot drop more than ATR × Factor below the median price.
If the Donchian Channel would normally extend further than this ATR-limited boundary, the line is capped and marked in blue .
Otherwise, the upper band is drawn in red and the lower band in green .
A middle line is also plotted as the average of the modified upper and lower bands.
An optional offset allows you to shift the channel backward or forward in time for easier visual alignment.
Why use this version?
Faster reaction: By constraining the channel with ATR, the indicator adapts quicker to volatility changes and avoids long periods of overextended levels.
Noise control: ATR filtering prevents extreme spikes or outlier highs/lows from stretching the channel unnecessarily.
Visual clarity: Color-coding highlights when ATR filtering is active, making it easy to distinguish capped vs. natural Donchian levels.
Typical use cases
Trend-following breakout systems, but with volatility-aware limits.
Identifying dynamic support and resistance zones that adjust to market conditions.
Filtering false breakouts by monitoring when the Donchian channel is capped by ATR.
✅ This indicator is designed for traders who want the structure of a Donchian Channel but with an adaptive, volatility-sensitive adjustment that makes it react faster and more reliably than the classic version.
HTF Bias Signals (Daily EMA Bias + LTF EMA Cross)clean, flexible indicator (Pine v5). It defines higher-timeframe (HTF) bias from Daily and/or Weekly EMAs, then only fires entries on your chart’s timeframe when that bias agrees with a simple fast/slow EMA trigger. It also includes alertconditions so you can automate alerts.
Two Candle Comparison - TMPThis about comparison two candles in chart and gives some idea for entry. this is most suitable for 4H chart
VCB Breakout Screener -PrajaktVCP Breakout Scanner
🔹 How it works
✅ Checks liquidity (vol * price > 100Cr).
✅ Ensures price > SMA50 and SMA100 or SMA200.
✅ ATR filter (short-term > 85% of longer-term).
✅ Price near 40–70% range of the candle.
✅ PGO (close vs SMA/ATR) < 2.5.
✅ RSI(7) < 60.
✅ Plots a green triangle below candles that qualify.
✅ You can set alerts with VCB Breakout condition met!.