RSI by GRAFClassic RSI, with small aesthetic changes that provide a better view of the price status. The moving average crossover changes the indicator's background color, and overbought or oversold conditions are reflected in the candlesticks. Ultimately, you don't have to use multiple indicators; you can easily establish a strategy with this RSI. Feel free to modify it as you wish. Thank you.
Win-win, chicken for dinner.
Penunjuk dan strategi
ASH v2 Alert Realtime + % + Δ + VolumeThis indicator is a modified version of Absolute Strength Histogram indicator, there is a real time bull vs bear dominance ration for every candle
Highlight BarsThe script highlights bars on the chart when certain market conditions occur related to price dynamics and trading volume. The color indication helps to detect potential pivot points. The ability to set the period for volume analysis is implemented, the parameter affects the accuracy of selecting significant bars. There are built-in alerts. It is recommended to set the setting higher for a more accurate signal.
Statistical FootprintStatistical Footprint - Behavioral Support & Resistance
This indicator identifies key price levels based on actual market behavior rather than traditional pivot calculations. It analyzes how bulls and bears have historically moved price from session opens, creating statistical zones where future reactions are most likely.
The concept is simple: track how far bullish candles typically push above the open versus how far bearish candles drop below it. These patterns reveal the market's behavioral "footprint" - showing where momentum typically stalls and reverses.
Key Features:
- Separate analysis for daily and weekly timeframes
- Smart zone merging when levels cluster together (within 5 points)
- Uses both mean and median calculations for more robust levels
- XGBoost-optimized lookback periods for maximum statistical significance
- Clean zone-only display focused on actionable price areas
How it Works:
The code separates bullish and bearish sessions, measuring their typical range extensions from the open. It then projects these statistical ranges forward from current session opens, creating "behavioral zones" where the market has historically shown consistent reactions.
When daily and weekly levels align closely, they merge into combined zones with enhanced significance. Labels show both the mean and median values when they differ meaningfully.
Best Used For:
- Identifying high-probability reversal zones
- Setting profit targets based on historical behavior
- Understanding market sentiment shifts at key levels
- Confluence analysis between different timeframes
The lookback periods have been optimized using machine learning to find the most predictive historical sample sizes for current market conditions.
Siege Trade Indicator A Comprehensive Indicator Combining Pivot Points, RSI, and Trend Following
This indicator integrates RSI, Pivot Points, and trend-following features into a single view to create a powerful trading strategy. It is an ideal tool for traders who want to both catch trends and identify potential reversals and overbought/oversold regions.
Key Features
RSI (Relative Strength Index): Shows whether the price has reached overbought or oversold territories. Specific RSI levels (e.g., above 70 and below 30) serve as a warning for potential buy/sell signals.
Pivot Points: Automatically plots support and resistance levels on the chart, calculated on a daily, weekly, or monthly basis. These levels help you identify key points where the price might react.
Trend Following: Determines the direction of the trend based on price movements and provides clues about its strength. This feature helps reduce the risk of trading against the trend, allowing you to take positions aligned with the current market direction.
How to Use
This indicator is not designed to be a standalone buy/sell signal tool. For the most accurate results, it is recommended to use it in conjunction with different timeframes and your own technical analysis. For instance, when the price approaches a pivot support and the RSI enters the oversold region, it can be considered a potential signal for the start of an uptrend.
This indicator provides strong support for deepening your market analysis and making more informed decisions. For more details...
3-Candle Reversal Pattern-vahid2star3-Candle Reversal Zones + Hammer Confirmation (with Risk Management & Alerts)
This script combines 3-candle reversal detection, hammer confirmations, and smart demand/supply zone plotting into a single tool designed for both discretionary and automated traders.
🔍 Core Logic
3-Candle Reversal Pattern
Candle-1: Strong move in one direction (big body).
Candle-2: Doji-like candle (high shadow/body ratio).
Candle-3: Reversal candle in the opposite direction (large body relative to Candle-2).
A gap after Candle-3 is required for extra confirmation.
Hammer Confirmation (Hammer-1 & Hammer-2)
After a valid 3-candle setup, the script searches for a hammer pattern near the zone.
Hammer-1: Draws a box directly on the hammer range if followed by a strong confirming candle.
Hammer-2: If another hammer forms after the confirmation candle and holds for N bars (configurable), a second hammer box is drawn.
Demand & Supply Zones
For bullish setups, a demand zone is created from the Candle-2 low to the Candle-1 low.
For bearish setups, a supply zone is created from the Candle-2 high to the Candle-1 high.
Zones extend to the right until price interacts with them.
🛠 Filters & Quality Controls
Trend filter (optional):
Only draw zones if price respects higher-timeframe EMA200 slope and LTF EMA alignment.
Market structure filter:
Require higher-high / higher-low (for bullish) or lower-high / lower-low (for bearish).
ATR filter:
Zones must have a minimum height relative to ATR.
Overlap control:
Avoid drawing zones that overlap too heavily with existing ones.
Cooldown:
Restrict consecutive zones of the same type within a user-defined bar distance.
🎯 Risk Management & Strategy
Dynamic position sizing:
Trade size is automatically calculated from account equity, risk %, and leverage.
Stop-loss & Take-profit:
SL placed just beyond the zone ± buffer ticks.
TP automatically set at user-defined Reward:Risk ratio (e.g., 3:1).
Capital protection:
Trades respect max leverage and risk per position settings.
⚡ Alerts
The script provides one-time alerts for each zone:
🔔 First Touch Alert → Triggered when price first touches a demand, supply, or hammer box.
Each zone only fires one alert, avoiding duplicates on re-touch or trade exit.
📊 Visuals
Demand zones: Green boxes.
Supply zones: Red boxes.
Hammer boxes: Blue (bullish) / Orange (bearish).
Used zones: Greyed out after price fills them.
Outcomes: Zones change to green if TP is hit, red if SL is hit.
Optional labels mark “Bullish zone ✓”, “Bearish zone ✓”, “Hammer-1 ✓”, or “Hammer-2 ✓” when confirmed.
🔧 Settings Overview
Core pattern ratios (C1/C2, C3/C2 size multipliers).
Doji definition (shadow/body ratio).
Hammer search depth, confirmation delay, and strictness.
Risk % per trade, leverage cap, stop buffer, RR ratio.
Visual styling (colors, max box count, labels).
Trend, structure, ATR, overlap, and cooldown filters.
Option to disable orders (use as indicator + alerts only).
⚠️ Disclaimer
This script is a technical analysis tool intended for educational purposes.
It does not guarantee profits. Use proper risk management and test thoroughly before applying in live trading.
✨ With its combination of 3-candle reversals, hammer confirmations, and smart filtering, this script is designed to reduce noise, highlight high-probability zones, and give traders both visual structure and actionable alerts.
Session Open Candle MarkerThe "Session Open Candle Marker" is a Pine Script indicator designed for forex and futures traders using Smart Money Concepts (SMC) and RP Profits-inspired strategies. It marks the 15-minute opening range candles for the Asia, London, and NY sessions, where institutional "big players" often gather liquidity. Each session’s range is drawn as a rectangle with a customizable midpoint line, ideal for spotting breakouts, retests, and liquidity sweeps.
Features
Session Open Ranges: Plots rectangles for the 15m open candles of Asia (03:00 EEST), London (10:00 EEST), and NY (15:00 EEST), corresponding to 01:00, 08:00, and 13:00 GMT+1.
Customizable Visualization:
Toggle each session (Asia, London, NY) on/off.
Independent high/low label toggles for each session.
Adjustable rectangle color, midpoint line color, style (solid/dashed/dotted), and width.
Customizable rectangle duration (default: 96 bars, ~24 hours on 15m).
Timezone Flexibility: Default times are set for EEST (UTC+3). Adjust session inputs for your chart’s timezone (e.g., GMT+1: Asia 01:00, London 08:00, NY 13:00; UTC: Asia 00:00, London 07:00, NY 12:00).
Clean Design: Rectangles and labels update dynamically, with proper cleanup to avoid clutter.
Usage:
Setup: Add to a 15m chart (e.g., EURUSD, ES1!). Check your chart’s timezone (Chart Settings > Symbol > Timezone) and adjust session times if needed.
Settings:
Toggle sessions and labels to focus on desired ranges (e.g., London and NY for high volatility).
Customize colors, midpoint line style/width, and rectangle duration.
Trading:
Breakouts/Retests: Trade breakouts above/below the rectangle high/low, with retests back to the range or midpoint (aligned with RP Profits scalping).
Liquidity Sweeps: Watch for price sweeping session highs/lows, reversing for entries (SMC concept).
Prev RTH FibsThis study captures the previous day’s Regular Trading Hours (RTH) range (default 09:30–16:00 America/New_York), then projects it onto the current session. It draws HIGH, LOW, and an optional 50% midpoint, plus a configurable set of inside fib-style percentages measured from the HIGH downward. Every level extends a short distance to the right of the current price and shows a clean numeric label (no box) on the right edge.
Key features
Prev-day RTH range tracked automatically; plotted each new session.
Inside levels (from HIGH ↓): 11%, 25%, 29.5%, 38.2%, 45%, 55%, 62% (OTE), 70.5%, 75%, 78.6%, 85% (toggle any on/off).
Clean right-side labels: numbers only, resizable (Tiny → Huge) with transparent background.
Line styling: HIGH/LOW and 50% are solid; inside levels can be Solid/Dashed/Dotted with independent color/width.
Smart right padding: lines/labels extend a few bars past the latest candle, so annotations stay beside price without violating TradingView’s “>500 bars in future” rule.
Works on any symbol/timeframe; RTH window and timezone are adjustable.
Inputs you control
Session: RTH session string and timezone.
Right-side padding (bars) and number size.
Visibility & style for HIGH, LOW, and 50%.
Which inside levels to show, plus their style/color/width.
ORB Breakouts with alerts"ORB Breakouts with Alerts" is a utility indicator that highlights an Opening Range Breakout (ORB) setup during a user-defined intraday time window. It allows traders to visualize price consolidation ranges and receive alerts when price breaks above or below the session high/low.
🔧 Features:
*Customizable session time (start and end), adjustable to local time using a timezone offset.
*Automatically plots:
*A shaded box around the session's high and low.
*Horizontal lines at session high and low levels.
*Optional "BUY"/"SELL" labels to mark breakout directions.
*Visual breakout signals when price crosses above or below the session range.
*Built-in alerts to notify when breakouts occur.
*Configurable styling options including box color, highlight color, and label placement.
⚙️ How It Works:
*During the defined time range, the script tracks the highest high and lowest low.
*After the session ends:
*A box is drawn to represent the opening range.
*Breakouts above the high or below the low trigger visual markers and optional alerts.
*Alerts are limited to one per direction per day to reduce noise.
⚠️ This indicator is a technical analysis tool only and does not provide financial advice or trade recommendations. Always use with proper risk management and in conjunction with your trading plan.
US Liquidity & Debt RatioThe indicator builds a custom liquidity vs. debt ratio using Federal Reserve (FRED) datasets and plots it in TradingView. It shows how US liquidity growth compares to US public debt, which can help flag systemic stress (like repo crises, QE waves, or funding crunches).
RSI with Background & Out-of-Range Alert
RSI with Out-of-Range Alert
This indicator enhances the classic Relative Strength Index (RSI) by adding a visual mid-zone highlight and a simple, effective alert system:
Key Features
• RSI Calculation: Standard RSI with customizable length and source.
• range between oversold (30) and overbought (70). This makes it easy to visually separate trend-neutral conditions from potential reversal zones.
• Clear Overbought/Oversold Levels: Horizontal lines at 70 and 30 to mark key thresholds.
• Out-of-Range Alert: Built-in alert condition triggers when RSI moves above 70 or below 30 — a single alert for both extremes.
Why Use It?
This indicator helps traders:
• Quickly identify when the market is in a neutral zone versus extreme conditions.
• Avoid missing potential breakout/reversal setups by receiving an automatic alert when RSI exits the normal range.
• Keep charts clean and focused by shading only the mid-zone, leaving extreme areas visually clear.
Best Use Cases
• Works on any market and timeframe.
• Ideal for traders who combine RSI extremes with price action, trend filters, or divergence strategies.
• Perfect for those who want simple visual clarity and minimal distractions.
Goldbach Time Indicator🔧 Key Fixes Applied:
1. Time Validation & Bounds Checking:
Hour/Minute Bounds: Ensures hours stay 0-23, minutes stay 0-59
Edge Case Handling: Prevents invalid time calculations from causing missing data
UTC Conversion Safety: Better handling of timezone edge cases
2. Enhanced Value Validation:
NA Checking: Validates all calculated values before using them
Goldbach Detection: Only flags valid, non-NA values as Goldbach hits
Plot Safety: Prevents plotting invalid or NA values that could cause gaps
3. Improved Plot Logic:
Core Level Colors: Blue for core levels (29,35,71,77), yellow/lime/orange for regular hits
Debug Mode Enhanced: Shows all calculations with gray dots when enabled
Better Filtering: Only plots positive, valid values for minus calculations
4. Background vs Dots Issue:
The large green/blue background you see suggests the indicator is detecting Goldbach times correctly, but the dots weren't plotting due to validation issues. This should now be fixed.
Balanced Big Wicks (50/50) HighlighterDetects candles with unusually long, balanced upper and lower wicks—a potential sign of market indecision followed by strong breakout action.
What It Does
Identifies candles where both upper and lower wicks each account for at least a configurable percentage (e.g., 30–40%) of the total range, and where the body remains small—creating the classic “balanced wick” (50/50) appearance.
Marks these candles visually with color (bullish/bearish), optional background shading, and a tiny “50/50” label above the candle.
Why It’s Useful
Balanced wicks often precede decisive moves once price breaks either wick. This script highlights such opportunities systematically.
Helpful for traders looking for clean entry signals: long on close above the upper wick, short on close below the lower wick—with straightforward risk management (SL at opposite wick, TP 1:1).
Key Inputs (default values shown in parentheses)
Min wick % (each side): 30%
Max body %: 20%
Equality tolerance: 10%
Min range filter (ATR multiples): 0 (disable)
ATR length: 14
Color candles: On
Background highlight: Off by default
Plot label on candle: On
Adjust these to fit your preferred timeframe or instrument (e.g., raise wick thresholds or ATR filter for noisy 15‑minute altcoin charts; relax slightly for smoother 1‑hour BTC analysis).
Alerts
Three alert options included:
“50/50 Wick (Any)” — triggers on any balanced-wick candle.
“50/50 Wick (Bullish)” — only when the candle closes bullish (upper close).
“50/50 Wick (Bearish)” — only when the candle closes bearish (lower close).
How to Use It
Add the indicator to your chart.
Adjust input settings to suit the timeframe or trading style.
Watch for highlighted candles.
Optional alert: create alerts using one of the provided alert conditions (e.g., “50/50 Wick (Any)”) with “Once per bar close” to get notified when signal bars appear.
Use your own trade logic (e.g., breakout entries as described above).
Disclaimer & Originality
Original Concept: I built this script from scratch to highlight a specific candle structure often used by traders in breakout setups—long balanced wicks with small bodies.
No external code references; it’s entirely open-source and self-explanatory.
Note: This indicator highlights potential setups—not financial advice. Always backtest any strategy, and use sound risk management. Past patterns do not guarantee future success.
Optimized Settings for 5m–15m Scalping
Min wick % (each side): 0.30
→ Forces both wicks to be almost half the candle each. Very strict.
Max body % of range: 0.40
→ Candle body must be ≤10% of full range = almost a doji.
Equality tolerance: 0.1
→ Wicks must be within 5% of each other relative to full candle size.
Min range filter (ATR multiples): 0
→ Candle must be at least 1.2× bigger than recent average (ATR14). Filters out weak fake dojis.
ATR Length: 14 (standard, stable)
Color candles / Plot labels: On (so you clearly see them)
Background highlight: Optional
Custom Screener Score (MACD atan-slope + RSI + BB)MACD atan-slope + RSI + crossover
also added decay from crossover
Vanesselstine candlestick patternMy test script for candlestick pattern. Using this for testing purposes only. Not for reliable trading recommendations.
🚀 BABINKS 5MN | Quick Profits BTC | PROFIT PROTECTION"Quick Profits BTC" Strategy
Automated trading algorithm designed to capture rapid movements on Bitcoin using short timeframes. The strategy combines institutional volume analysis with momentum indicators to identify optimal entry points.
Core Principle: Detection of validated breakouts through technical confirmation signals, with a rapid exit system favoring frequent small profits over occasional large gains.
Architecture:
Adaptive mode based on market volatility
Configurable directional management
Dynamic protection based on ATR
Session-optimized trading hours
Above/Below Open Background + Percentage ChangeAbove/Below Open Background
This indicator visually highlights whether the current price is trading above or below today’s session open.
It also displays a small table showing the current percentage change relative to today’s open.
Features
• 🟢 Full chart background coloring:
• Green → Price is above today’s open.
• 🔴 Red → Price is below today’s open.
• 📊 Percentage change table in the chart corner:
• Shows real-time % difference from today’s open.
• Automatically updates as price moves.
• 🎛 Clean & lightweight — minimal resource usage, smooth performance.
How to Use
1. Add the indicator to any stock, crypto, or futures chart.
2. The background immediately shows whether price is up or down relative to today’s open.
3. The table in the corner displays the percentage gain/loss.
Best For
• Day traders who want instant visual feedback.
• Scalpers tracking session trends.
• Anyone who wants a quick snapshot of intraday performance.
BTC Premium -WinCAlgoBitcoin Premium/Discount Tracker
This indicator tracks the premium or discount between different Bitcoin markets, helping traders identify arbitrage opportunities and market sentiment shifts.
What it shows:
CME vs Index: Price difference between CME Bitcoin futures and BTC index
CME vs Binance Perpetual: Spread between traditional futures and crypto perpetual contracts
Coinbase vs Binance Spot: Price difference between major spot exchanges
Moving Averages: 20-period smoothed trend lines for each spread
CME Market Hours: Automatically detects when CME is closed (weekends)
How to interpret:
Positive Values (Green): First market trading at premium to second market
Negative Values (Red): First market trading at discount to second market
Large Spreads: Indicate potential arbitrage opportunities or market stress
Converging Spreads: Suggest market equilibrium and efficient pricing
Diverging MA: May signal trend changes in market dynamics
📌 Trading Applications:
Arbitrage Detection: Identify price discrepancies between markets
Market Sentiment: Premium/discount patterns often reflect institutional vs retail sentiment
Weekend Analysis: CME closure periods can create temporary price dislocations
Risk Assessment: Large persistent premiums may indicate overheating in specific markets
Entry Timing: Use spread normalization as confluence for position entries
Key Features:
Smart Timeframe: Automatically switches to daily data on higher timeframes
CME Hours Detection: Shows "No Data" during CME closure with background highlighting
Customizable Display: Toggle different spread calculations and moving averages
Real-time Table: Current values displayed in customizable table
Visual Clarity: Color-coded columns and clear positive/negative distinction
DVWAP Spread -WinCAlgoDynamic VWAP Spread Oscillator
This indicator transforms the relationship between two adaptive VWAP curves into an oscillator format, making trend analysis more precise and intuitive.
What it shows:
Spread Value: The difference between Fast VWAP and Smoothed VWAP
Dynamic Coloring: Intensity increases as the spread moves away from zero
Zero Line: The neutral point where both VWAP curves converge
How to interpret:
Above Zero (Green): Fast VWAP > Smoothed VWAP → Bullish bias
Below Zero (Red): Fast VWAP < Smoothed VWAP → Bearish bias
Distance from Zero: Shows the strength of the current trend
Zero Crossovers: Potential trend change signals
📌 Usage Ideas:
Trend Filter: Take long trades only when oscillator is positive, shorts when negative
Momentum Gauge: Larger spread values indicate stronger trend momentum
Divergence Analysis: Look for divergences between price and oscillator for reversal signals
Overbought/Oversold: Extreme values may indicate potential mean reversion opportunities
Zero Line Bounces: Use zero line as dynamic support/resistance for entries
Parameters:
Period: Controls the lookback period for adaptive calculations
Adjustment Step: Fine-tunes the adaptive smoothing sensitivity
Fast Response: Adjusts how quickly the fast VWAP responds to price changes
Source: Price input for VWAP calculation (default: HLC3)
Untouched ExtremesWhat it is
Untouched Extremes plots horizontal levels at green-candle highs and red-candle lows. Each level is considered “untouched” (clean liquidity) until price revisits it; on the first valid touch the line auto-deletes, keeping only live targets on your chart.
How it works (logic)
Bar close event
If close > open, the script draws a line at that bar’s high and extends it to the right.
If close < open, it draws a line at that bar’s low and extends it to the right.
(Optional) Perfect/almost-dojis can be classified as green or red via settings.
Touch & removal
A green-high line is removed when any later bar’s high ≥ level (optionally within a tick tolerance).
A red-low line is removed when any later bar’s low ≤ level (optionally within a tick tolerance).
You can delay deletion by N bars to make the touch visible before the line disappears.
Housekeeping
Maximum active lines per side and line styling are user-configurable.
Why it’s useful
Untouched highs/lows often coincide with resting liquidity and incomplete price probes. Tracking them helps:
Define targets and magnets price may seek.
Frame mean-reversion rotations after a failed push.
Keep the chart clean: only levels that have not been traded are displayed.
How to use it (trading idea)
Confirmation rule: Treat the line as a level/zone. Price can pierce it; wait for a clear reversal candle pattern (e.g., pin bar, engulfing, strong momentum shift) at or immediately after the touch.
Directional play:
If a bullish reversal pattern forms at/around a red-low line, the working assumption is that price will move toward the first untouched upper line (nearest green-high line above). Many traders use that as the primary target.
Conversely, if a bearish reversal pattern forms at/around a green-high line, expect rotation toward the first untouched lower line.
Risk management: Stops typically go just beyond the level or beyond the pattern’s wick. Consider a fixed R:R (e.g., 1:2) and partials at intermediate levels.
Settings
Doji handling: Choose how to classify close ≈ open bars (Green / Red / Ignore). A small equality margin (ticks) helps with rounding on some symbols.
Touch tolerance (ticks): Counts near-misses as touches if desired.
Deletion delay (bars): Wait N bars after creation before a line becomes eligible for deletion.
Max lines per side / width / colors: Keep the view readable.
Tips
Works on any symbol/timeframe; lower TFs produce more levels—adjust Max lines accordingly.
Combining with a trend filter (e.g., EMA-200), ATR distance, or volume clues can improve selectivity.
If spreads or wicks are noisy, increase tolerance slightly and/or use deletion delay to visualize touches.
Note: This tool provides structure and potential targets, not signals by itself. Always require your reversal pattern as confirmation and manage risk appropriately.
Dynamic VWAP -WinCAlgoDynamic VWAP Curve
This indicator applies an adaptive smoothing method to VWAP (Volume Weighted Average Price) to create two dynamic curves:
Fast VWAP (reacts quickly to price changes)
Smoothed VWAP (slower, adaptive baseline)
How to interpret:
When Fast VWAP > Smoothed VWAP, trend bias is bullish.
When Fast VWAP < Smoothed VWAP, trend bias is bearish.
The shaded area between the two lines works like a dynamic support/resistance zone.
📌 Usage ideas:
As a trend filter: take long trades only when Fast > Smoothed.
As a crossover signal: buy/sell when the two lines cross.
As support/resistance: price moving too far from the band can signal mean-reversion opportunities.