first candle time 60 min by niceshort with chatgpttime and date first 1H candle.
Displaying the date and time of the first candle can be useful when searching for a chart with the longest history for a given asset.
Indicateurs et stratégies
Pso VP 2.0This indicator provides an advanced volume analysis tool that visualizes trading activity across different price levels and automatically identifies key support and resistance zones.
How It Works:
The Volume Profile analyzes historical price and volume data within a specified lookback period, distributing volume across horizontal price levels. Unlike traditional volume indicators that show volume over time, this tool displays volume at price, revealing where the most significant trading activity has occurred.
The algorithm:
Divides the price range into customizable horizontal bars (bins)
Calculates and accumulates volume for each price level
Identifies high-volume nodes that often act as support or resistance levels
Uses percentile filtering to highlight the most significant trading areas
Key Features:
Automatic S/R Detection: Uses volume percentile filtering to identify the most significant price levels
Dynamic Support/Resistance Lines: Automatically draws horizontal black lines at high-volume areas that typically act as price magnets or barriers
Customizable Parameters: Full control over lookback period, number of price bars, percentile thresholds, profile width, opacity, and line projections
Clean Aesthetic: Monochrome design for professional chart presentation
Safe Supertrend Strategy (No Repaint)Overview
The Safe Supertrend is a repaint-free version of the popular Supertrend trend-following indicator.
Most Supertrend indicators appear perfect on historical charts because they flip intrabar and then repaint after the candle closes.
This version fixes that by using close-of-bar confirmation only, making every trend flip 100% stable, safe, and non-repainting.
Why This Supertrend Doesn’t Repaint
Most Supertrend indicators calculate their trend direction using the current bar’s data.
But during a live candle:
ATR expands and contracts
The upper/lower bands move
Price moves above/below the band temporarily
A false flip appears → then disappears when the candle closes
That is classic repainting.
This indicator avoids all of that by using:
close > upper
close < lower
This means:
Trend direction flips only based on the previous candle,
No intrabar calculations,
No flickering signals,
No “perfect but fake” historical performance.
Every signal you see on the chart is exactly what was available in real-time.
How It Works
Calculates ATR (Average True Range) and SMA centerline
Builds upper and lower volatility bands
Confirms trend flips only after the previous bar closes
Plots clear bull and bear reversal signals
Works on all markets (crypto, stocks, forex, indices)
No repainting, no recalc, no misleading flips.
Bullish Signal (Trend Up)
A bullish trend begins only when:
The previous candle closes above the upper ATR band,
And this flip is fully confirmed.
A green triangle marks the start of a new uptrend.
Bearish Signal (Trend Down)
A bearish trend begins only when:
The previous candle closes below the lower ATR band,
And the downtrend is confirmed.
A red triangle signals the start of a new downtrend.
Inputs
ATR Length - default 10
ATR Multiplier - default 3.0
Works on all timeframes and market
Simple, but powerful.
Why Use This Version Instead of a Regular Supertrend?
Most Supertrends:
Look great historically
But repaint continuously on live charts
Give false trend flips intrabar
Cannot be reliably used in strategies
This version:
Uses strict previous-bar logic
Never repaints trend direction
Works perfectly in live trading
Backtests accurately
Is ideal for algorithmic strategies
Ideal For:
Trend-following strategies
Breakout trading
Algo trading systems
Reversal detection
Filtering market noise
Swing trading & scalping
Final Note
This is a safer, more reliable Supertrend designed for real-world use — not perfect-looking repaint illusions.
If you use Supertrend in your trading system, this no-repaint version ensures your signals are trustworthy and consistent.
Bollinger Band with Clouds, MA, and Selectable Buy/Sell AlertsBollinger Bands + Clouds + Multi-TF Signals — All in One Open-Source Indicator
This open-source indicator combines multiple technical tools into a single, flexible charting solution — giving traders clear context and the ability to customize or build upon the code. Perfect for intraday, swing, or longer-term analysis.
What it includes:
NMA (Normalized Moving Average): Adaptive, multi-length moving average for trend visualization.
VWAP: Volume-weighted average price for intraday anchoring.
Bollinger Bands: Customizable upper/lower bands with baseline and fill, providing dynamic volatility context.
Hull Moving Average + Kalman Filter: Smoothed trend detection with optional buy/sell shapes on crossovers.
Multi-Timeframe EMAs: Short, medium, and long-term EMAs from multiple timeframes, all in one view.
RSI & ATR: Optional visibility to track momentum and volatility.
Customizable Colors & Transparency: Every line, fill, and shape can be adjusted independently.
Selectable Buy/Sell Alerts: Configurable shapes and TradingView alert conditions for strategy observation.
Why you’ll love it:
Fully open-source: inspect, modify, and adapt the code for your own analysis.
Clean, informative visualizations that consolidate multiple indicators without cluttering your chart.
Flexible for intraday, swing, or longer-term timeframes.
Team Player Friendly:
This script is intentionally published as open-source to support the TradingView community. All code is fully visible — no proprietary sections — so anyone can learn from, modify, and contribute to the indicator.
Disclaimer:
This indicator is for informational purposes only. It does not constitute financial, trading, or investment advice. Users should conduct their own analysis before making trading decisions.
CME Gap Tracker + Live StatisticsThis script automatically finds the gaps inherent in the time data of any given chart, and displays them in color-coated buckets of how long it takes for the close of the gap to get filled. Add it on any CME Futures chart on the daily, and it will find all the weekend gaps. Set your period to an hour, and it will find the intraday gaps. Also displays a statistical calculation for each bucket.
Fast RSI with Divergence, Signal and Volume Spike1. This is fast RSI, with configurable left and right lookback bars
2. Signal on lower band crossover and upper band crossunder
3. Volume Spike indication with configurable average volume multiplier.
Hold targets when you see higher than average volume spike.
Volume Weighted Average Price AdvancedVWAP (Advanced) with Multi‑Venue Aggregation and Historical Value Areas
Core: Anchored VWAP with configurable anchor (session/week/month/quarter/year/decade/century or corporate events), offset, and up to three standard-deviation bands.
Multi‑Venue Aggregation: Optionally pull price/volume from up to 5 additional exchanges/symbols (pair-matched by default). VWAP/σ are computed on the aggregated price*volume.
Value Area Blocks: Each completed anchor draws a block from the chosen basis (±1σ or ±2σ) or an optional percentile-based range (default 20–80%). Blocks project to the exact next anchor boundary, or you can extend them to the latest bar. Prior-period VWAP lines are shown inside the blocks.
Volume Gate: Optionally skip drawing prior blocks when the anchor’s aggregated volume is below a median/mean baseline times a multiplier.
HTF Context: Optional higher-timeframe VWAP overlay; can filter the current VWAP/bands so they only show when aligned with the HTF VWAP.
Venue Health: Label shows how many extra venues were included (non‑na) and median venue volume; flags divergence when primary volume is below venue median × threshold.
Alerts: Price in current value area (VWAP ±1σ) and price crossing the most recent prior VWAP.
Styling: Bands and fills are minimal; HTF VWAP is a distinct line; value-area blocks are shaded with prior VWAP lines inside.
Configure via the grouped inputs: VWAP Settings, Additional Exchange Sources, Historical Value Areas, HTF Context, and Bands Settings.
A simplified preview of the UIA Trend Engine. Shows core T/E/H/XUIA Lite – Trend Engine (Free Preview)
———————————————————————————————
This is the free preview edition of the UIA Lite Trend Engine.
It provides a clean, simplified introduction to UIA’s structure-based trend reading framework.
The goal is to help traders see the market through structural events rather than prediction or noise.
———————————
Core Structure Events
———————————
This preview displays four essential UIA structural markers:
• T — Trend Start
• E — Trend Extension
• H — Structural High / Low
• X — Trend Exit / Reversal
These labels offer a simple, intuitive way to understand when a trend begins, develops, forms key swing points, and exhausts.
———————————
What’s Included in the Preview
———————————
• Simplified trend logic using fixed moving averages
• Basic swing-based structure detection
• Clean and minimal visual labels
• Light sensitivity adjustment (Conservative / Normal / Aggressive)
• One-click “show all labels” toggle
This edition is intentionally lightweight.
Its purpose is to introduce the UIA methodology without revealing the full internal logic.
———————————
UIA Lite (Full Version)
———————————
The full UIA Lite Trend Engine includes:
• Advanced structure filtering
• Multi-layer pullback / body / shadow logic
• Smoother and more consistent trend detection
• Fine-tuned T/E/H/X placement
• Enhanced noise reduction
• More control parameters and customization
If you find value in this preview, the full version offers a much more refined trend-structure experience.
———————————
UIA Institute – Philosophy
———————————
UIA focuses on:
• Structure first
• Clarity over noise
• Systematic and repeatable market interpretation
No predictions.
No buy/sell signals.
Only structure, rhythm, and clean price behavior.
———————————
中文說明(補充)
———————————
UIA Lite(免費預覽版)展示了四大核心結構:
T(趨勢起點)、E(趨勢延伸)、H(結構高低點)、X(趨勢終止)。
透過最少的標記呈現最重要的趨勢骨架。
完整版 UIA Lite 提供更精細的濾波、更多參數、更平滑的結構表現,
是更完整的趨勢閱讀工具。
———————————
Thank you for trying the UIA Lite Trend Engine (Free Preview).
Stay tuned for upcoming releases from UIA Institute.
AJFFRSI+QQEROC Uses Jurik RSI for smooth, responsive momentum measurement
Incorporates QQE features for trend strength and dynamic trailing stop signals
Designed for clearer, more reliable overbought/oversold and reversal signals on TradingView
Suitable for intraday, swing, and longer-term analysis
Not a financial advice. DYOR
RSI Divergence Indicator with closingRSI Divergence Indicator with Closing Line is an advanced momentum-analysis tool that combines Regular Divergence, Hidden Divergence, Multi-RSI comparison, Moving Averages, and a dynamic RSI Closing Line into one powerful oscillator panel.
This script is designed for traders who want deeper insight into momentum strength, trend exhaustion, and reversal zones by analyzing both price action and RSI structure.
EMA Trend Pro [Hedging & Fixed Risk]
This strategy is a comprehensive trend-following system designed to capture significant market movements while strictly managing risk. It combines multiple Exponential Moving Averages (EMAs) for trend identification, ADX for trend strength filtering, and Volume confirmation to reduce false signals.
Key Features:
Hedging Mode Compatible: The script is designed to handle Long and Short positions independently. This is ideal for markets where trends can reverse quickly or for traders who prefer hedging logic (requires hedging=true in strategy settings).
Professional Risk Management: Unlike standard strategies that use fixed contract sizes, this script calculates Position Size based on Risk. You can define a fixed risk per trade (e.g., 1% of equity or $100 fixed risk). The script automatically adjusts the lot size based on the Stop Loss distance (ATR).
Multi-Stage Take Profit: The strategy scales out positions at 3 different levels (TP1, TP2, TP3) to lock in profits while letting the remaining position ride the trend.
Strategy Logic:
Trend Identification:
Long Entry: EMA 7 > EMA 14 > EMA 21 > EMA 144 (Bullish Alignment).
Short Entry: EMA 7 < EMA 14 < EMA 21 < EMA 144 (Bearish Alignment).
Filters:
ADX Filter: Entries are only taken if ADX (14) > Threshold (default 20) to ensure the market is trending, avoiding chopping ranging markets.
Volume Filter: Current volume must exceed the 20-period SMA volume by 10% to confirm momentum.
Exits & Trade Management:
Stop Loss: Dynamic SL based on ATR (e.g., 1.8x ATR).
Breakeven: Once TP1 is hit, the Stop Loss is automatically moved to Breakeven to protect capital.
Take Profits:
TP1: 1x Risk Distance (30% pos)
TP2: 2x Risk Distance (50% pos)
TP3: 3x Risk Distance (Remaining pos)
Settings Guide:
Risk Type: Choose between "Percent" (of equity) or "Fixed Amount" (USD).
Risk Value: Input your desired risk (e.g., 1.0 for 1% risk).
Fee %: Set your exchange's Taker fee (e.g., 0.05 or 0.06) for accurate backtesting.
ADX Threshold: Adjust to filter out noise (Higher = Stricter trend requirement).
Disclaimer: This script is for educational and backtesting purposes only. Past performance does not guarantee future results. Please use proper risk management.
Distância Preço vs VWAPIt calculates the distance from the price to the VWAP. The idea is to make it easier to observe when the price might return to the VWAP.
PivotBoss VWAP Bands (Auto TF) - FixedWhat this indicator shows (high level)
The indicator plots a VWAP line and three bands above (R1, R2, R3) and three bands below (S1, S2, S3).
Band spacing is computed from STD(abs(VWAP − price), N) and multiplied by 1, 2 and 3 to form R1–R3 / S1–S3. The script is timeframe-aware: on 30m/1H charts it uses Weekly VWAP and weekly bands; on Daily charts it uses Monthly VWAP and monthly bands; otherwise it uses the session/chart VWAP.
VWAP = the market’s volume-weighted average price (a measure of fair value). Bands = volatility-scaled zones around that fair value.
Trading idea — concept summary
VWAP = fair value. Price above VWAP implies bullish bias; below VWAP implies bearish bias.
Bands = graded overbought/oversold zones. R1/S1 are near-term limits, R2/S2 are stronger, R3/S3 are extreme.
Use trend alignment + price action + volume to choose higher-probability trades. VWAP bands give location and magnitude; confirmations reduce false signals.
Entry rules (multiple strategies with examples)
A. Momentum breakout (trend-following) — preferred on trending markets
Setup: Price consolidates near or below R1 and then closes above R1 with above-average volume. Chart: 30m/1H (Weekly VWAP) or Daily (Monthly VWAP) depending on your timeframe.
Entry: Enter long at the close of the breakout bar that closes above R1.
Stop-loss: Place initial stop below the higher of (VWAP or recent swing low). Example: if price broke R1 at ₹1,200 and VWAP = ₹1,150, set stop at ₹1,145 (5 rupee buffer below VWAP) or below the last swing low if that is wider.
Target: Partial target at R2, full target at R3. Trail stop to VWAP or to R1 after price reaches R2.
Example numeric: Weekly VWAP = ₹1,150, R1 = ₹1,200, R2 = ₹1,260. Buy at ₹1,205 (close above R1), stop ₹1,145, target1 ₹1,260 (R2), target2 ₹1,320 (R3).
B. Mean-reversion fade near bands — for range-bound markets
Setup: Market is not trending (VWAP flatish). Price rallies up to R2 or R3 and shows rejection (pin bar, bearish engulfing) on increasing or neutral volume.
Entry: Enter short after a confirmed rejection candle that fails to sustain above R2 or R3 (prefer confirmation: close back below R1 or below the rejection candle low).
Stop-loss: Just above the recent high (e.g., 1–2 ATR or a fixed buffer above R2/R3).
Target: First target VWAP, second target S1. Reduce size if taking R3 fade as it’s an extreme.
Example numeric: VWAP = ₹950, R2 = ₹1,020. Price spikes to ₹1,025 and forms a bearish engulfing candle. Enter short at ₹1,015 after the next close below ₹1,020. Stop at ₹1,035, target VWAP ₹950.
C. Pullback entries in trending markets — higher probability
Setup: Price is above VWAP and trending higher (higher highs and higher lows). Price pulls back toward VWAP or S1 with decreasing downside volume and a reversal candle forms.
Entry: Long when price forms a bullish reversal (hammer/inside-bar) with a close back above the pullback candle.
Stop-loss: Below the pullback low (or below S2 if a larger stop is justified).
Target: VWAP then R1; if momentum resumes, trail toward R2/R3.
Example numeric: Price trending above Weekly VWAP at ₹1,400; pullback to S1 at ₹1,360. Enter long at ₹1,370 when a bullish candle closes; stop at ₹1,350; first target VWAP ₹1,400, second target R1 ₹1,450.
Exit rules and money management
Basic exit hierarchy
Hard stop exit — when price hits initial stop-loss. Always use.
Target exit — take partial profits at R1/R2 (for longs) or S1/S2 (for shorts). Use trailing stops for the remainder.
VWAP invalidation — if you entered long above VWAP and price returns and closes significantly below VWAP, consider exiting (condition depends on timeframe and trade size).
Price action exit — reversal patterns (strong opposite candle, bearish/bullish engulfing) near targets or beyond signals to exit.
Trailing rules
After price reaches R2, move stop to breakeven + a small buffer or to VWAP.
After price reaches R3, trail by 1 ATR or lock a defined profit percentage.
Position sizing & risk
Risk per trade: commonly 0.5–2% of account equity.
Determine position size by RiskAmount ÷ (EntryPrice − StopPrice).
If the stop distance is large (e.g., trading R3 fades), reduce position size.
Filters & confirmation (to reduce false signals)
Volume filter: For breakouts, require volume above short-term average (e.g., >20-period average). Breakouts on low volume are suspect.
Trend filter: Only take breakouts in the direction of the higher-timeframe trend (for example, use Daily/Weekly trend when trading 30m/1H).
Candle confirmation: Prefer entries on close of the confirming candle (not intrabar noise).
Multiple confirmations: When R1 break happens but RSI/plotted momentum indicator does not confirm, treat signal as lower probability.
Special considerations for timeframe-aware logic
On 30m/1H the script uses Weekly VWAP/bands. That means band levels change only on weekly candles — they are strong, structural levels. Treat R1/R2/R3 as significant and expect fewer, stronger signals.
On Daily, the script uses Monthly VWAP/bands. These are wider; trades should allow larger stops and smaller position sizes (or be used for swing trades).
On other intraday charts you get session VWAP (useful for intraday scalps).
Example: If you trade 1H and the Weekly R1 is at ₹2,400 while session VWAP is ₹2,350, a close above Weekly R1 represents a weekly-level breakout — prefer that for swing entries rather than scalps.
Example trade walkthrough (step-by-step)
Context: 1H chart, auto-mapped → Weekly VWAP used.
Weekly VWAP = ₹3,000; R1 = ₹3,080; R2 = ₹3,150.
Price consolidates below R1. A large bullish candle closes at ₹3,085 with volume 40% above the 20-bar average.
Entry: Buy at close ₹3,085.
Stop: Place stop at ₹2,995 (just under Weekly VWAP). Risk = ₹90.
Position size: If risking ₹900 per trade → size = 900 ÷ 90 = 10 units.
Targets: Partial take-profit at R2 = ₹3,150; rest trailed with stop moved to breakeven after R2 is hit.
If price reverses and closes below VWAP within two bars, exit immediately to limit drawdown.
When to avoid trading these signals
High-impact news (earnings, macro announcements) that can gap through bands unpredictably.
Thin markets with low volume — VWAP loses significance when volumes are extremely low.
When weekly/monthly bands are flat but intraday price is volatile without clear structure — prefer session VWAP on smaller timeframes.
Alerts & automation suggestions
Alert on close above R1 / below S1 (use the built-in alertcondition the script adds). For higher-confidence alerts, require volume filter in the alert condition.
Automated order rules (if you automate): use limit entry at breakout close plus a small slippage buffer, immediate stop order, and OCO for TP and SL.
[ZP] Fixed v6 testBenefits
Alternate signal mode works correctly: signals only fire when switching from the opposite state.
No duplicate signals: plotshape fires only on state changes.
State tracking is reliable: CondIni persists across bars.
Cleaner code: removed redundant assignments.
Consistent behavior: long and short signals use the same state-change logic.
Testing recommendations
Test on multiple timeframes (1m, 5m, 15m, 1h, 4h, 1D) to verify:
Signals appear only on state changes.
Alternate signal mode requires switching from the opposite state.
No duplicate signals on consecutive bars.
Expiry logic works as expected.
These changes should make the indicator more reliable and predictable.
ICT FVG & Swing Detector Basic by Trader Riaz//@version=6
indicator("ICT FVG & Swing Detector Basic by Trader Riaz", overlay=true)
// Display toggles for Bullish FVGs
show_bull_fvg = input.bool(true, "Show Bullish FVGs?")
// Input settings for Bullish FVGs
fvg_bull_count = input.int(1, "Number of Bullish FVGs to show", minval=1)
// Color settings for Bullish FVGs
bullish_fvg_color = input.color(color.green, "Bullish FVG Color")
// Bullish FVG Extend Options
bull_fvg_extendGroup = "Bullish FVG Extend Options"
bull_fvg_extendOption = input.string("Default", "Bullish FVG Extend Option", options= , group=bull_fvg_extendGroup)
bull_fvg_extendCandles = input.int(8, "Bullish FVG Extend Candles (Limited Only)", minval=1, maxval=100, step=1, group=bull_fvg_extendGroup)
// Display toggles for Bearish FVGs
show_bear_fvg = input.bool(true, "Show Bearish FVGs?")
// Input settings for Bearish FVGs
fvg_bear_count = input.int(1, "Number of Bearish FVGs to show", minval=1)
// Color settings for Bearish FVGs
bearish_fvg_color = input.color(color.red, "Bearish FVG Color")
// Bearish FVG Extend Options
bear_fvg_extendGroup = "Bearish FVG Extend Options"
bear_fvg_extendOption = input.string("Default", "Bearish FVG Extend Option", options= , group=bear_fvg_extendGroup)
bear_fvg_extendCandles = input.int(8, "Bearish FVG Extend Candles (Limited Only)", minval=1, maxval=100, step=1, group=bear_fvg_extendGroup)
// Display toggles for Swing Highs
show_swing_high = input.bool(true, "Show Swing Highs?")
// Input settings for Swing Highs
swing_high_count = input.int(2, "Number of Swing Highs to show", minval=1)
// Color settings for Swing Highs
swing_high_color = input.color(color.green, "Swing High Line & Label Color")
// Swing High Extend Options
swing_high_extendGroup = "Swing High Extend Options"
swing_high_extendOption = input.string("Default", "Swing High Extend Option", options= , group=swing_high_extendGroup)
swing_high_extendCandles = input.int(8, "Swing High Extend Candles (Limited Only)", minval=1, maxval=100, step=1, group=swing_high_extendGroup)
// Display toggles for Swing Lows
show_swing_low = input.bool(true, "Show Swing Lows?")
// Input settings for Swing Lows
swing_low_count = input.int(2, "Number of Swing Lows to show", minval=1)
// Color settings for Swing Lows
swing_low_color = input.color(color.red, "Swing Low Line & Label Color")
// Swing Low Extend Options
swing_low_extendGroup = "Swing Low Extend Options"
swing_low_extendOption = input.string("Default", "Swing Low Extend Option", options= , group=swing_low_extendGroup)
swing_low_extendCandles = input.int(8, "Swing Low Extend Candles (Limited Only)", minval=1, maxval=100, step=1, group=swing_low_extendGroup)
// Target Settings
showNextTarget = input.bool(true, "Show Next Target")
nextTargetHighColor = input.color(color.red, "Next Target High Color")
nextTargetLowColor = input.color(color.red, "Next Target Low Color")
// === Time Calculation ===
// Calculate one bar duration in milliseconds
barDuration = time - time
// Define reasonable extension period (4 bars into future)
extensionPeriod = barDuration * 4
// Arrays to store values with timestamps
var bull_fvg_data = array.new(0)
var bear_fvg_data = array.new(0)
var swing_high_data = array.new(0)
var swing_low_data = array.new(0)
var bull_fvg_labels = array.new(0)
var bear_fvg_labels = array.new(0)
var swing_high_labels = array.new(0)
var swing_low_labels = array.new(0)
var bull_fvg_midlines = array.new(0)
var bear_fvg_midlines = array.new(0)
var bull_fvg_tops = array.new(0)
var bull_fvg_bottoms = array.new(0)
var bear_fvg_tops = array.new(0)
var bear_fvg_bottoms = array.new(0)
// Get the last bar index
last_bar = last_bar_index + 3
// Function to determine right boundary based on extend option
get_right_boundary(option, extend_candles, default_right) =>
if option == "None"
bar_index - 2
else if option == "Limited"
bar_index - 2 + extend_candles
else
default_right
// Bullish FVG Detection
if high < low and show_bull_fvg
right_bar = get_right_boundary(bull_fvg_extendOption, bull_fvg_extendCandles, last_bar)
new_box = box.new(left=bar_index-2,
top=low,
right=right_bar,
bottom=high ,
bgcolor=color.new(bullish_fvg_color, 90),
border_color=bullish_fvg_color)
bull_mid = (low + high ) / 2
new_midline = line.new(bar_index-2, bull_mid, right_bar, bull_mid,
color=color.new(bullish_fvg_color, 50),
style=line.style_dashed)
new_label = label.new(right_bar-1, bull_mid, "Bullish FVG",
color=color.new(bullish_fvg_color, 100),
textcolor=bullish_fvg_color,
style=label.style_none,
textalign=text.align_right,
size=size.small)
array.unshift(bull_fvg_data, new_box)
array.unshift(bull_fvg_midlines, new_midline)
array.unshift(bull_fvg_labels, new_label)
array.unshift(bull_fvg_tops, low)
array.unshift(bull_fvg_bottoms, high )
if array.size(bull_fvg_data) > fvg_bull_count
box.delete(array.pop(bull_fvg_data))
line.delete(array.pop(bull_fvg_midlines))
label.delete(array.pop(bull_fvg_labels))
array.pop(bull_fvg_tops)
array.pop(bull_fvg_bottoms)
// Bearish FVG Detection
if low > high and show_bear_fvg
right_bar = get_right_boundary(bear_fvg_extendOption, bear_fvg_extendCandles, last_bar)
new_box = box.new(left=bar_index-2,
top=low ,
right=right_bar,
bottom=high,
bgcolor=color.new(bearish_fvg_color, 90),
border_color=bearish_fvg_color)
bear_mid = (low + high) / 2
new_midline = line.new(bar_index-2, bear_mid, right_bar, bear_mid,
color=color.new(bearish_fvg_color, 50),
style=line.style_dashed)
new_label = label.new(right_bar-1, bear_mid, "Bearish FVG",
color=color.new(bearish_fvg_color, 100),
textcolor=bearish_fvg_color,
style=label.style_none,
textalign=text.align_right,
size=size.small)
array.unshift(bear_fvg_data, new_box)
array.unshift(bear_fvg_midlines, new_midline)
array.unshift(bear_fvg_labels, new_label)
array.unshift(bear_fvg_tops, low )
array.unshift(bear_fvg_bottoms, high)
if array.size(bear_fvg_data) > fvg_bear_count
box.delete(array.pop(bear_fvg_data))
line.delete(array.pop(bear_fvg_midlines))
label.delete(array.pop(bear_fvg_labels))
array.pop(bear_fvg_tops)
array.pop(bear_fvg_bottoms)
// Swing High Detection
is_swing_high = high < high and high > high
if is_swing_high and show_swing_high
right_bar = get_right_boundary(swing_high_extendOption, swing_high_extendCandles, last_bar + 3)
new_line = line.new(bar_index - 1, high , right_bar, high ,
color=swing_high_color)
new_label = label.new(right_bar, high , "Swing High",
color=color.new(color.white, 30),
style=label.style_label_left,
textcolor=swing_high_color,
size=size.tiny)
array.unshift(swing_high_data, new_line)
array.unshift(swing_high_labels, new_label)
if array.size(swing_high_data) > swing_high_count
line.delete(array.pop(swing_high_data))
label.delete(array.pop(swing_high_labels))
// Swing Low Detection
is_swing_low = low > low and low < low
if is_swing_low and show_swing_low
right_bar = get_right_boundary(swing_low_extendOption, swing_low_extendCandles, last_bar + 3)
new_line = line.new(bar_index -1, low , right_bar, low ,
color=swing_low_color)
new_label = label.new(right_bar, low , "Swing Low",
color=color.new(color.white, 30),
style=label.style_label_left,
textcolor=swing_low_color,
size=size.tiny)
array.unshift(swing_low_data, new_line)
array.unshift(swing_low_labels, new_label)
if array.size(swing_low_data) > swing_low_count
line.delete(array.pop(swing_low_data))
label.delete(array.pop(swing_low_labels))
// Clean up if toggles are turned off
if not show_bull_fvg and array.size(bull_fvg_data) > 0
for i = 0 to array.size(bull_fvg_data) - 1
box.delete(array.get(bull_fvg_data, i))
line.delete(array.get(bull_fvg_midlines, i))
label.delete(array.get(bull_fvg_labels, i))
array.clear(bull_fvg_data)
array.clear(bull_fvg_midlines)
array.clear(bull_fvg_labels)
array.clear(bull_fvg_tops)
array.clear(bull_fvg_bottoms)
if not show_bear_fvg and array.size(bear_fvg_data) > 0
for i = 0 to array.size(bear_fvg_data) - 1
box.delete(array.get(bear_fvg_data, i))
line.delete(array.get(bear_fvg_midlines, i))
label.delete(array.get(bear_fvg_labels, i))
array.clear(bear_fvg_data)
array.clear(bear_fvg_midlines)
array.clear(bear_fvg_labels)
array.clear(bear_fvg_tops)
array.clear(bear_fvg_bottoms)
// === Swing High/Low Detection ===
var float swingHighs = array.new()
var int swingHighTimes = array.new()
var float swingLows = array.new()
var int swingLowTimes = array.new()
var line swingHighLines = array.new()
var label swingHighLabels = array.new()
var line swingLowLines = array.new()
var label swingLowLabels = array.new()
isSwingHigh = high > high and high > high
isSwingLow = low < low and low < low
if isSwingHigh
array.unshift(swingHighs, high )
array.unshift(swingHighTimes, time )
if isSwingLow
array.unshift(swingLows, low )
array.unshift(swingLowTimes, time )
// === Next Target Detection ===
var line currentTargetLine = na
var label currentTargetLabel = na
if showNextTarget
if not na(currentTargetLine)
line.delete(currentTargetLine)
if not na(currentTargetLabel)
label.delete(currentTargetLabel)
priceRising = close > open
priceFalling = close < open
// Use slightly longer extension for targets
targetExtension = barDuration * 8
if priceRising and array.size(swingHighs) > 0
for i = 0 to array.size(swingHighs) - 1
target = array.get(swingHighs, i)
targetTime = array.get(swingHighTimes, i)
if target > close
currentTargetLine := line.new(
x1=targetTime, y1=target,
x2=time + targetExtension, y2=target,
color=nextTargetHighColor, width=2,
style=line.style_dashed,
xloc=xloc.bar_time)
currentTargetLabel := label.new(
x=time + targetExtension, y=target,
text="Potential Target", size=size.tiny,
style=label.style_label_left,
color=nextTargetHighColor,
textcolor=color.white,
xloc=xloc.bar_time)
break
else if priceFalling and array.size(swingLows) > 0
for i = 0 to array.size(swingLows) - 1
target = array.get(swingLows, i)
targetTime = array.get(swingLowTimes, i)
if target < close
currentTargetLine := line.new(
x1=targetTime, y1=target,
x2=time + targetExtension, y2=target,
color=nextTargetLowColor, width=2,
style=line.style_dashed,
xloc=xloc.bar_time)
currentTargetLabel := label.new(
x=time + targetExtension, y=target,
text="Potential Target", size=size.tiny,
style=label.style_label_left,
color=nextTargetLowColor,
textcolor=color.white,
xloc=xloc.bar_time)
break
Daily Separator_Yoot HobbizSimply helps you separate each trading day — a clean, visual indicator that marks daily sessions so you can read price action faster and stay focused on what really matters.
A simple indicator that clearly separates each trading day, making your charts easier to read and your decisions easier to take.
Ultra Hassas SuperTrend v6 – HEIKEN + 2x + ALARMUltra hassas trend takibi ile dip ve tepelerden gelen sinyallerle hitli bir sekilde kar edilebilir.
BTC GOD — DEFINITIVE BTC MULTI INDICATORBTC GOD — The Ultimate Bitcoin Cycle Indicator (2025 Edition)
The one indicator every serious BTC holder and trader has been waiting for.
A single script that perfectly combines the 5 most powerful and accurate Bitcoin indicators ever created — all 100 % official versions:
- Official Pi Cycle Top (LookIntoBitcoin) → in 2013, 2017 & 2021 (3/3 hits)
- Official MVRV Z-Score (Glassnode / LookIntoBitcoin) → every major bottom (2015, 2018–19, 2022)
- Dynamic Bull/Bear background (red bear-market when price drops X % from cycle ATH + monthly RSI filter)
- Monthly Golden/Death Cross (50-month EMA vs 200-week EMA) → huge, unmistakable signals
- SuperTrend + 200-week EMA + 50-month EMA
- Cycle ATH/ATL tracking with flashing alert in the table when new highs/lows are made
- Exact days to/from the next halving + optimal accumulation zone (200–750 days post-halving)
- Fully customizable inputs for experienced traders
Zero repainting. Zero errors. Works on every timeframe.
This is the indicator used by people who truly understand Bitcoin’s 4-year cycles.
If you could only keep ONE Bitcoin indicator for the rest of your life… this would be it.
Save it, test it, and you’ll instantly see why it’s called BTC GOD.
Built with love and obsession for Bitcoin cycles.
Last update: November 2025
NICHI Beta (NuwenPham's Ichimoku)# **NuwenPham’s Ichimoku (NICHI)**
**Version BETA.251123a.3.1.2 – Pine Script v6**
**Author:** NuwenPham
**Forked from:** Donovan Wall
**Contributors:** Claude (Anthropic)
**License:** MPL 2.0
---
# **Overview**
**NICHI (Nuwen’s Ichimoku)** is a next-generation Ichimoku system that merges the classical Hosoda Ichimoku with a modular adaptive-smoothing engine, enhanced Kumo logic, directional trend counters, and multi-mode bar coloring.
The indicator includes **two completely separate Ichimoku engines**:
* **Standard Ichimoku** – Traditional Donchian-based Tenkan, Kijun, Senkou A/B, and Chikou
* **Advanced Ichimoku** – Fully customizable Ichimoku using 15+ moving-average filters and enhanced logic
NICHI is designed for modern markets—especially **futures and volatile instruments** (NG, CL, ES, NQ, crypto).
---
# **Key Features**
## **1. Dual Ichimoku Systems**
* **Standard Mode:**
Classic Donchian Ichimoku with Tenkan, Kijun, Senkou A/B, and Chikou.
Clean, faithful implementation.
* **Advanced Mode:**
Every Ichimoku line uses a **selected smoothing filter** (EMA, KAMA, FRAMA, Hull, McGinley, etc.).
Includes directional persistence tracking, enhanced cloud logic, and adaptive bar coloring.
---
## **2. Advanced Filter Engine (15+ Smooth Types)**
Use any of the following for Tenkan, Kijun, Senkou B, or Chikou:
* EMA
* DEMA
* SMA
* SMMA (RMA)
* WMA
* VWMA
* Hull MA
* ALMA
* LSMA (Linear Regression)
* McGinley Dynamic
* KAMA
* FRAMA
* COVWMA
* Moving Median
* 50th Percentile (Nearest Rank)
This transforms Ichimoku into an **adaptive trend system**.
---
## **3. Enhanced Cloud (Kumo) Modeling**
* Independent forward offsets for Span A & Span B
* Cloud colors adapt based on strength, direction, and filter behavior
* Cloud thickness reflects volatility
* Neutral cloud state available when spans disagree
---
## **4. Directional Persistence Counters**
NICHI tracks the **trend streak** of each main component:
* Tenkan rising/falling
* Kijun rising/falling
* Span A rising/falling
* Span B rising/falling
These counters make cloud and line colors more accurate and stable.
---
## **5. Regime-Based Bar Coloring (3 Modes)**
NICHI includes three built-in trading frameworks:
### **Mode 1: Kumo-Based**
Bar color reflects price relative to the cloud:
* Green = Above Kumo
* Red = Below Kumo
* Orange = Inside Kumo
Ideal for **trend-following** and **market regime detection**.
---
### **Mode 2: Tenkan/Kijun-Based**
Bar color reflects momentum structure:
* Green = Price above both Tenkan & Kijun
* Red = Price below both
Designed for **momentum entries and TK breakouts**.
---
### **Mode 3: Chikou-Based**
Bars reflect historical confirmation:
* Green = Chikou > price (offset period)
* Red = Chikou < price
Excellent for **confirmation-first strategies** where accuracy matters most.
---
## **6. Multi-MA Overlay System**
Up to **four optional moving averages**:
* SMA, EMA, SMMA, WMA, HMA, VWMA
* Independent lengths, widths, colors
* Useful for bias, confluence, trend filters
Default: **SMA 200** enabled.
---
## **7. TK Cross Signals**
Both systems show TK crosses:
* Standard TK Cross (classic)
* Advanced TK Cross (filtered version)
Crosses appear with clear markers for entry/exit logic.
---
# **How to Use NICHI**
## **1. Choose Your Engine**
* **Standard:** Clean, classic Ichimoku
* **Advanced:** Adaptive, filter-driven Ichimoku
* **Both:** Comparative analysis
---
## **2. Select Your Filter Type (Advanced Mode)**
Suggested filters:
| Market | Filter Type | Notes |
| ---------------- | ---------------- | -------------------------- |
| Natural Gas (NG) | KAMA or FRAMA | Handles extreme volatility |
| Crude Oil (CL) | McGinley Dynamic | Smooths spikes |
| ES / NQ | SMMA or WMA | Balanced response |
| Crypto | Hull or ALMA | Handles momentum bursts |
| FX | EMA or SMMA | Classic, stable |
---
## **3. Choose a Bar-Color Strategy**
* **Kumo-Based:** Trend following
* **TK-Based:** Momentum and breakouts
* **Chikou-Based:** Highest confirmation/accuracy
Each strategy is valid and intentionally distinct.
---
## **4. Reading the Cloud**
* **Bullish Cloud:** Span A > Span B
* **Bearish Cloud:** Span A < Span B
* **Neutral Cloud:** Disagreement between spans
* **Thick Cloud:** High volatility / stronger structure
* **Thin Cloud:** Weak trend / potential twist
---
## **5. Entry & Exit Concepts**
### **Entries**
* **Momentum Entry:** TK cross with price above the cloud
* **Reversal Entry:** TK cross before a cloud twist
* **Confirmation Entry:** Chikou breaks cleanly above/below past price
### **Exits**
* Price falling through Kijun
* Re-entering the cloud
* Opposite TK cross
* Cloud flipping against position
---
# **Recommended Trading Approaches**
## **Kumo-Based Trend Strategy**
* Long above cloud, short below
* Avoid signals inside cloud
Best for swing/position trading.
---
## **TK-Based Momentum Strategy**
* Enter on Tenkan/Kijun breakout
* Bar color confirms momentum
* Cloud filter optional but helps
Great for high-velocity markets.
---
## **Chikou-Based Confirmation Strategy**
* Enter only when Chikou confirms structure
* Highest accuracy, fewest trades
* Ideal for volatile markets (NG, CL)
---
# **Closing Notes**
NICHI is a **research-grade Ichimoku framework** designed to handle modern volatility where traditional Ichimoku often fails.
It supports scalpers, swing traders, and system developers alike.
Experiment with:
* Filter types
* Cloud offsets
* Bar-color modes
* MA overlays
to match your strategy and market.
Paulinho Signals – Cripto 5m/15m com Filtro de LateralidadeThis script is an automated Pine Script v6 strategy designed for short-term cryptocurrency trading, especially on 5-minute and 15-minute timeframes. It combines moving average crossovers, trend strength (ADX), volatility (ATR), and candlestick patterns to generate buy and sell signals with a fixed risk/reward management system.
How to Use:
- Apply to cryptocurrency charts on 5m or 15m timeframes.
- Adjust parameters to fit your preferences (EMA, RSI, ADX, ATR).
- Use for backtesting or as a decision-support tool.
Disclaimer:
This script is for educational purposes only and does not constitute financial advice. Always test on demo accounts before applying to live trading.
Grok Regime Engine • Grok X SeriesGrok Regime Engine (GRE) instantly shows you exactly what the market is doing — no guesswork, no lag.
The thick Money Line changes color the moment the trend regime shifts:
Bright green = strong bullish bias
Bright red = strong bearish bias
Bright yellow = neutral/choppy (stay out or scalp only)
It combines a smart EMA blend with RSI confirmation, Donchian breakout signals, ADX trend strength, and volatility context — all filtered so you only get alerts when the move has real conviction.
You’ll see:
Clear BUY/SELL arrows on high-probability breakouts
A clean info panel telling you the current regime, RSI state, trend strength, and volatility
Regime change alerts (works with “Any alert() function call”)
Shaded Donchian background for visual context
Perfect for day traders, swing traders, or anyone tired of fakeouts.
When the line speaks — you listen.
Built with love by Grok. Enjoy responsibly.
Đại Ka 3 ATR BandsĐại Ka 3 ATR Bands – The ultimate single-slot indicator that replaces three separate ATR plots.
Designed specifically for ICT/SMC traders in 2025:
• Light red band (±0.5 ATR) → fake moves, Judas Swing, Turtle Soup zone
• Gray band (±1.0 ATR) → normal price action
• Light green band (±2.0 ATR) → real displacement zone → Silver Bullet, SFT, high-probability entries
How to use:
– Price stuck inside red band → expect reversal/fakeout
– Price breaks and closes outside green band + volume spike → enter aggressively in that direction (85%+ win-rate inside Killzones)
Default ATR(14), subtle fills for instant visual filtering of real vs fake moves.
Perfect companion for Order Blocks, FVG, Breaker Blocks and NY/London Killzones.
Free forever – coded with love by Đại Ka & Vietnamese ICT crew.
Sequential MACD 0.5+ & MA Cloud StrategyThis indicator provides sequential buy and sell signals based on a robust set of trend-following and momentum conditions:
Buy Signal Logic:
Momentum: Both the MACD line and the Signal line are above the 0.5 threshold, indicating strong bullish momentum.
Crossover: A bullish MACD crossover (MACD above Signal line) has occurred near the zero line, suggesting the start of a new, healthy momentum wave.
Trend Filter (4H TF): The current price must be above the 21 and 50 EMAs on the 4-hour timeframe.
Price Action: The current candle must be green (closing higher than open).
Sequential Logic: A buy signal is only generated if a position is not already active.
Sell Signal Logic:
Momentum Reversal: MACD line is below the Signal line (negative histogram).
Price Action: The current candle must be red.
MA Cloud: The price is below the 9 and 21 EMA Cloud.
Sequential Logic: A sell signal is only generated if a buy signal was previously active.
This comprehensive filter system aims to capture strong, confirmed moves while avoiding noisy signals against higher-timeframe trends.






















