First 5-Minute Candle: Adjusted Levelsdifference of first five levels of high and low pine script code
Chỉ báo và chiến lược
P&F Screener Dashboard w/ Trade Ideas + Alerts + TargetsThis advanced screener and dashboard script is designed for active traders who want to:
1. Monitor multiple optionable stocks simultaneously.
2. Identify Point & Figure-based breakouts and breakdowns.
3. Automatically calculate and visualize breakout/breakdown targets.
4. Highlight when targets are hit.
5. Get trade idea suggestions (e.g., vertical spreads).
6. Display a scanner-style dashboard with market trend context.
7. Generate alerts and chart markers to stay ahead of price action.
The script combines technical analysis (P&F logic, moving averages) with strategy design (target projection, trade suggestions) into a single streamlined workspace.
Designed for use with your preferred watchlist—simply customize the symbols and you're ready to trade smarter.
Renko Compression Index (RCI)Renko Compression Index
The Renko Compression Index (RCI) is a unique market structure indicator designed to detect price compression zones on Renko-based charts. It measures the frequency of directional changes in Renko bricks over a specific period, identifying moments of trend indecision or consolidation that may precede major breakouts.
Renko Momentum Wave (RMW)Renko Momentum Wave
The Renko Momentum Wave (RMW) is a custom momentum oscillator specifically designed for Renko-based price action analysis. Unlike traditional oscillators that rely on time-based data, the RMW focuses on the directional consistency of Renko bricks, measuring the strength of trend momentum purely based on price movement.
M2 Global Liquidity (FX-Neutral)This indicator visualizes the global M2 money supply across major economies (China, USA, Eurozone, Japan, UK), converted into a common USD basis using fixed exchange rates as of January 31, 2020.
By applying constant FX rates, the indicator eliminates the influence of currency fluctuations, providing a "foreign exchange-neutral" view of global liquidity trends.
Multi-Element CFD Indicator ]Multi-Element CFD Indicator
Simple but very effective script that finds areas of support and resistance through ticks exchange. Only works with CFDs
(You must enter in the settings the value corresponding to the CFD, example: US500 = 500, DAX30 = 30, FRANCE40 = 40 etc ...)
SMC Zones Toolkit by KruJeab📄 คำอธิบาย (Description) — ภาษาอังกฤษ
This indicator is a toolset designed to support chart analysis based on price action and key levels.
Features include:
Market structure visualization (Break of Structure & CHoCH)
Detection of Fair Value Gaps (Imbalance zones)
EQH/EQL highlighting with labels and extension lines
Visualization of Order Blocks (OB) including classification: RBR, RBD, DBR, DBD
Optional SL/TP projection lines based on customizable risk-reward
🎯 The script highlights potential reaction zones and structural turning points in the market.
It is intended to assist with manual analysis only, not for automated trading or buy/sell signals.
⚠️ For educational and illustrative use. Always confirm with other tools before making trading decisions.
📝 คำอธิบาย (Description) — ภาษาไทย
อินดิเคเตอร์นี้ออกแบบมาเพื่อช่วยวิเคราะห์พฤติกรรมราคาผ่านโซนสำคัญของตลาด
จุดเด่น:
แสดงโครงสร้างราคา (Break of Structure และ CHoCH)
ตรวจจับ Fair Value Gaps (ช่องว่างราคา)
ขีดเส้น Equal High / Equal Low พร้อม Label
แสดง Order Block และระบุประเภท OB เช่น RBR, RBD, DBR, DBD
วาด SL/TP อัตโนมัติตามอัตราส่วน Risk:Reward ที่ตั้งค่าเองได้
📌 สคริปต์นี้เหมาะกับการวิเคราะห์ด้วยตนเอง ไม่ใช่ระบบเทรดอัตโนมัติ และไม่มีคำสั่ง Buy/Sell
⚠️ ใช้เพื่อการศึกษาและประกอบการวิเคราะห์เท่านั้น ควรยืนยันด้วยปัจจัยอื่นเสมอ
Gold Supply & Demand Zones [HTF] + VWAPGold Supply & Demand Zones + VWAP indicator to effectively, trade XAUUSD (Gold).
🧠 What This Indicator Does
It combines two powerful concepts:
Supply & Demand Zones from a Higher Timeframe (HTF).
VWAP (Volume Weighted Average Price) to understand the price’s relation to fair value.
Supply Zone = Area of potential selling pressure (resistance).
Demand Zone = Area of potential buying pressure (support).
✅ How it's calculated:
You select a Higher Timeframe (default = 1 hour).
Highest high = Supply Zone Top
Lowest low = Demand Zone Bottom
It creates a zone width using a pip size you define (default = 10 pips).
✅ When are zones visible?
Zones only appear if the current price is near them — this avoids clutter and keeps things relevant.
📊 How to Use the Indicator (Strategy Idea)
🟢 Bullish Setup (Buy):
Price enters the demand zone (green lines visible).
VWAP turns green (price above VWAP).
Look for a bullish candle or reversal pattern.
Enter long — target could be mid-range or supply zone.
🔴 Bearish Setup (Sell):
Price enters the supply zone (red lines visible).
VWAP turns red (price below VWAP).
Look for a bearish candle or breakdown.
Enter short — target could be mid-range or demand zone.
Imagine you're on a 15-minute chart with HTF set to 1H:
Gold drops into a green demand zone, VWAP is now green — this is a high-probability long setup.
Gold rallies into a red supply zone, VWAP turns red — this is a potential short.
Like this indicator? Boost it ❣️
JM_BUY_SELL_CCMI**CCMI ** – Combines three CMO calculations into a composite momentum, smoothed with EMA & signal SMA. Trend filter uses EMA instead of SMA, adjustable in settings. Buy/sell signals trigger on crossovers below/above a momentum threshold. Offset shifts signals visually to the left, without affecting logic.
**Scalp:** Smooth=2, Signal=3, EMA=2, Level=-20
**Intra:** Smooth=4, Signal=5, EMA=5, Level=-25
**Swing:** Smooth=6, Signal=7, EMA=21, Level=-30
ZLSMA (Zero Lag Smoothed Moving Average)This is a smooted moving average works very good in daily charts.
MaterialPaletteMaterialPalette Library
█ OVERVIEW
This Pine Script® library provides a convenient way to access and utilize colors based on the popular Material Design color system directly within your TradingView scripts. It offers a comprehensive set of functions to retrieve specific shades of various base colors, allowing developers to create visually consistent and aesthetically pleasing indicators and strategies.
By importing this library, you gain access to functions that generate colors based on saturation, darkness level, and opacity, simplifying the process of managing color palettes in your projects.
█ FEATURES
Provides exported functions for 18 base Material Design colors (e.g., `red()`, `blue()`, `green()`, `amber()`, etc.).
Each color function allows selection from multiple shades based on `saturationLevel` (int) and `darkLevel` (int).
All color functions accept an `opacity` parameter (integer, 0-100).
Includes a `tone()` function for quick access to predefined base tones (e.g., `tone("red")`).
Offers a consistent and organized approach to using Material Design colors in Pine Script®.
Includes detailed `@function`, `@param`, and `@returns` annotations within the code for comprehensive documentation.
█ HOW TO USE
To use this library in your own Pine Script® indicator or strategy, you first need to import it using the `import` statement.
1. Import the Library:
Add the following line at the beginning of your script. Remember to replace `mastertop_astray` with the actual TradingView username the library is published under, and `VERSION` with the specific version number of the library you wish to use (you can find this on the library's script page).
import mastertop_astray/MaterialPalette/VERSION as mp
// Example: import mastertop_astray/MaterialPalette/1 as mp
*(We use `mp` as a short alias for `MaterialPalette` for convenience)*
2. Call Exported Functions:
Once imported, you can call the exported functions using the alias (`mp.` prefix).
//@version=6
indicator("My Indicator Using MaterialPalette")
import mastertop_astray/MaterialPalette/VERSION as mp // Replace VERSION
// --- Get Colors ---
// Get a specific shade: Dark Red (darkLevel=3), highest saturation (13), fully opaque (0)
darkRed = mp.red(13, 3, 0)
// Get another shade: Light Blue (lightLevel=1), medium saturation (e.g., 7), 50% opacity
lightBlueTransparent = mp.lightBlue(7, 1, 50)
// Get a base tone color: Green, fully opaque
baseGreen = mp.tone("green", 0)
// Get another base tone: Amber, 80% opacity
amberToneTransparent = mp.tone("amber", 80)
// --- Use Colors in Plotting ---
plot(close, color = darkRed, title = "Close Line")
plot(sma(close, 20), color = lightBlueTransparent, title = "SMA 20")
bgcolor(close > open ? mp.green(1, 2, 90) : mp.red(1, 2, 90)) // Use light shades for background
// Use a base tone
hline(100, "Upper Band", color = amberToneTransparent)
█ EXPORTED FUNCTIONS
This library provides two main categories of functions:
1. Color Shade Generators (`red()` to `blueGrey()`):
Includes: 18 functions for base colors (`red()`, `pink()`, ..., `blueGrey()`).
Purpose: Generate specific shades of the base color according to Material Design palettes.
Parameter `saturationLevel` (int): Controls color intensity/saturation. The valid range and default value vary depending on the specific color function (typically 1-13 or 1-9). Please check the `@param` annotation in the code for each function.
Parameter `darkLevel` (int): Sets the lightness/darkness of the shade (1: Light, 2: Medium/Base, 3: Dark). Default is 2.
Parameter `opacity` (int): Sets the color's transparency (0 = Opaque, 100 = Invisible). Default is 0.
Returns: The calculated `color` value.
Note: For exact default values and valid saturation ranges for each specific color function, refer to the detailed `@param` annotations within the library's source code.
2. Base Tone Function (`tone()`):
Purpose: Retrieve a single, predefined base color tone from the palette.
Parameter `colorName` (simple string): The text name identifying the desired base color (e.g., 'red', 'blue', 'green', 'light_blue').
Parameter `opacity` (int): Sets the color's transparency (0 = Opaque, 100 = Invisible). Default is 0.
Returns: The corresponding base tone `color`.
Note: Please consult the function's implementation in the source code for the complete list of valid `colorName` strings.
█ VISUALIZATION TABLE (For Demonstration)
The library's source code includes logic (within an `if barstate.islast` block) that generates a large table displaying all available color shades.
Important: This table will only appear on your chart if you add the entire library code itself directly as an indicator. This is primarily intended for demonstration, reference, and development purposes to visualize the palette. When using the library normally via the `import` statement in your own scripts, this table code is not executed or needed.
█ SUMMARY
The `MaterialPalette` library offers a structured and easy way for Pine Script® developers to incorporate Material Design colors into their TradingView scripts, enhancing visual appeal and consistency. Please refer to the detailed comments within the code for specifics on parameter ranges and available tones.
This source code is subject to the terms of the Mozilla Public License 2.0.
© mastertop_astray
Umesh BC IST 3:30 AM Session Tracker + 4H Candles📌 IST 3:30 AM Session Tracker + 4H Candle Marker
This indicator is designed for traders who follow Indian Standard Time (IST) and want precise session tracking and 4H candle insights.
🔧 Features:
🕒 Daily Session Start at 3:30 AM IST
Automatically detects and marks the beginning of each new trading day based on 3:30 AM IST, not midnight.
Displays session Open, High, and Low lines.
Background shading for each session.
Customizable alert when a new day starts.
🟧 4H Candle Start Markers (IST Time)
Identifies every new 4-hour candle that starts at:
3:30, 7:30, 11:30, 3:30 PM, 7:30 PM, 11:30 PM IST
Adds a vertical line and label ("🟧 4H") above the candle.
Plots a dynamic line for the 4H candle's opening price.
Includes optional alert for new 4H candles.
🔔 Alerts Included:
"🕒 New IST Day Start": Triggers at 3:30 AM IST.
"🟧 New 4H Candle": Triggers at each 4H candle start (IST).
✅ Best for:
Intraday, swing, and institutional traders using IST-based analysis.
Those wanting more accurate daily sessions and clear candle structuring.
🔸 Channel Zones + VWAP [Multi-Timeframe]Channel Zones + VWAP for intraday trading, scalping, or swing setups.
🔸 1. Trend + Zone Confluence
If price is near the lower red channel and VWAP is green, look for long entries.
If price hits the upper green channel and VWAP turns red, look for short setups.
🔸 2. HTF Confirmation
Use the HTF zones (lime/orange) as bigger picture support/resistance.
For example:
If on 15m chart, set HTF to 1h or 4h.
If price hits HTF Support + VWAP is green, look for reversal entries.
If price is stuck between HTF zones, consider range-bound plays.
🔸 3. Avoid False Breakouts
If price breaks a channel but VWAP doesn't confirm (e.g., VWAP still red while price breaks above), consider it a fakeout.
This keeps you aligned with volume and mean-reversion logic.
🔸 4. Scalping Plays
Look for price touching current channel levels while diverging from VWAP.
Enter when:
Price is far from VWAP → Expect pullback.
Price is at red/green line → Potential bounce zone.
Like this indicator ? Boost it ♥️
HTF Countdown by Silver Mountain Trading)Stay sharp and time your trades with precision.
This simple but effective tool shows a real-time countdown to the next Higher Time Frame (HTF) candle — such as 4H, 1H, or whatever timeframe you choose.
The countdown is always placed just below the current day’s low, with clean design and no clutter.
🔹 Displays remaining time in H:M:S
🔹 Anchored visually to current day’s LOD
🔹 Works in replay mode
🔹 Open-source and free to use
🔹 From Silver Mountain Trading
🙌 If you found this helpful, a like and subscribe to the Silver Mountain Trading YouTube channel would be much appreciated as a thank-you. www.youtube.com
[Kpt-Ahab] Moving Average Alarm OutputVarious Moving Average with Signal Outputs
Compatible with various backtesting-systems or risk management-systems for generating alarms and trading signals.
Also compatible with the djmad Multibit ecosystem, allowing for signal filtering or combining indicators.
Standard signal output Long/Short +1/-1
Filter, for suppressing signals
Various color variations.
Intraday Long Stoploss DistanceWhile working on intraday 1-minute charts i found it distracting to calculate the stoploss distance from the current price so i created an overlay indicator that plots the values of the last 15 minute and 30 minutes low for safe SL placement so you can get a rough idea of Risk management and lot size to use.
Still in early phases. Few more updates coming soon .stay updated.
*Not a financial advice.
Jack's ADX Entry V5Updated Jack's ADX Entry Indicator to show entry for long/short positions based on:
1. Order of the short, medium and long EMAs.
2. ADX Trend strength momentum value increasing from previous value.
[blackcat] L3 Dark Horse OscillatorOVERVIEW
The L3 Dark Horse Oscillator is a sophisticated technical indicator meticulously crafted to offer traders deep insights into market momentum. By leveraging advanced calculations involving Relative Strength Value (RSV) and proprietary oscillatory techniques, this script provides clear and actionable signals for identifying potential buying and selling opportunities. Its distinctive feature—a vibrant gradient color scheme—enhances readability and makes it easier to visualize trends and reversals on the chart 📈↗️.
FEATURES
Advanced Calculation Methods: Utilizes complex algorithms to compute the Relative Strength Value (RSV) over specific periods, providing a nuanced view of price movements.
Default Period: 27 bars for initial RSV calculation.
Additional Period: 36 bars for extended RSV analysis.
Dual-Oscillator Components:
Component A: Derived using multiple layers of Simple Moving Averages (SMAs) applied to the RSV, offering a smoothed representation of short-term momentum.
Component B: Employs a unique averaging method tailored to capture medium-term trends effectively.
Dynamic Gradient Color Scheme: Enhances visualization through a spectrum of colors that change dynamically based on the calculated values, making trend identification intuitive and engaging 🌈.
Customizable Horizontal Reference Lines: Key levels are marked at 0, 10, 50, and 90 to serve as benchmarks for assessing the oscillator's readings, helping traders make informed decisions quickly.
Comprehensive Visual Representation: Combines the strengths of both components into a single, gradient-colored candlestick plot, providing a holistic view of market sentiment and momentum shifts 📊.
HOW TO USE
Adding the Indicator: Start by adding the L3 Dark Horse Oscillator to your TradingView chart via the indicators menu. This will overlay the necessary plots directly onto your price chart.
Interpreting the Components: Familiarize yourself with the two primary components represented by yellow and fuchsia lines. These lines indicate the underlying momentum derived from the RSV calculations.
Monitoring Momentum Shifts: Pay close attention to the gradient-colored candlesticks, which reflect the combined strength of both components. Notice how these candles transition through various shades, signaling changes in market dynamics.
Utilizing Reference Levels: Leverage the horizontal lines at 0, 10, 50, and 90 as critical thresholds. For instance, values above 50 might suggest bullish conditions, while those below could hint at bearish tendencies.
Combining with Other Tools: To enhance reliability, integrate this indicator with complementary technical analyses such as moving averages, volume profiles, or other oscillators like RSI or MACD.
LIMITATIONS
Market Volatility: In extremely volatile or sideways-trending markets, the indicator might produce false signals due to erratic price movements. Always cross-reference with broader market contexts.
Testing Required: Before deploying the indicator in real-time trading, conduct thorough backtesting across diverse assets and timeframes to understand its performance characteristics fully.
Asset-Specific Performance: The efficacy of the L3 Dark Horse Oscillator can differ significantly across various financial instruments and market conditions. Tailor your strategies accordingly.
NOTES
Historical Data: Ensure ample historical data availability to facilitate precise calculations and avoid inaccuracies stemming from insufficient data points.
Parameter Adjustments: Experiment with adjusting the default periods (27 and 36 bars) if you find them unsuitable for your specific trading style or market conditions.
Visual Customization: Modify the appearance settings, including line styles and gradient colors, to better suit personal preferences without compromising functionality.
Risk Management: While the indicator offers valuable insights, always adhere to robust risk management practices to safeguard against unexpected market fluctuations.
EXAMPLE STRATEGIES
Trend Following: Use the oscillator to confirm existing trends. When Component A crosses above Component B, consider entering long positions; conversely, look for short entries during downward crossovers.
Mean Reversion: Identify extreme readings near the upper (90) or lower (10) bands where prices might revert to mean levels, presenting potential reversal opportunities.
Divergence Analysis: Compare the oscillator's behavior with price action to spot divergences, which often precede trend reversals. Bullish divergence occurs when prices make lower lows but the oscillator shows higher lows, suggesting upward momentum.
💲🤑Money generation signal V4💲sdfasdsasffasdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
SPY Trend-Based Buy Signals🔹 Overview
This indicator identifies potential buy signals on any asset by combining MACD and Stochastic Oscillator crossovers, while using the SPY’s trend (via exponential moving averages) as a broader market filter.
It helps traders stay aligned with macro momentum and avoid counter-trend entries.
🔍 How it works
SPY Trend Filter (Daily Timeframe):
Pulls SPY (S&P 500 ETF) data using EMAs (5, 20, 80)
Categorizes SPY market trend with color codes:
🟢 Green: Strong uptrend (EMA5 > EMA20 > EMA80)
🟡 Yellow: Potential uptrend / early momentum (EMA5 < EMA20 > EMA80)
🔴 Red: Downtrend (EMA5 < EMA20 < EMA80)
🔵 Blue: Possible trend reversal or mixed trend (EMA5 > EMA20 < EMA80)
Buy Signal Conditions (Combined Logic):
A signal is only triggered when:
- SPY trend is either yellow or blue (indicating a neutral-to-bullish or early recovery environment)
-The Stochastic Oscillator's %D line is below 50, showing possible upside
- A bullish MACD crossover occurs on the current symbol
🟢 Green signal: MACD crossover occurs below 0 (early reversal)
🟠 Orange signal: MACD crossover occurs above 0 (momentum continuation)
📈 Visual Output
🟢 Green label below the bar when an early reversal setup occurs
🟠 Orange label above the bar when a trend continuation signal appears
✅ Best Use Case
Ideal for:
Swing traders and position traders
LEAPS (long-term options) traders aligning entries with SPY trend
Anyone seeking clean, contextual entries filtered by market momentum
⚠️ Note: This indicator is most effective when used on fundamentally strong stocks that are sector leaders with solid earnings growth and market presence. Use technical signals as a complement to quality fundamentals.
ℹ️ Clarification: The moving averages displayed on the chart (e.g., on QQQ) are for visual reference only, to help users understand the color logic of the SPY trend filter. The actual logic and signals are based on SPY’s moving averages, regardless of the charted symbol.
WP-Core Alerts MultiTF🧠 WP-Core Alerts MultiTF 📈📉
Rule-based technical execution system inspired by WP-Core (NEXUS framework)
This script alerts you to potential LONG or SHORT entries in BTC, ETH or any asset, combining:
✅ Confluence of key zones (15m & 1H Pivot Points)
✅ Technical confirmation via %R(80) across dual timeframes
✅ Clear, replicable entry conditions
✅ Automatic SL and TP levels with R:R ≥ 2.5
✅ Quick visual cues with labels and live table
⚙️ How it works:
Valid entries only if price is within a WP-Zone
(±0.15% from a current or previous Pivot on 15m or 1H)
Confirmation via %R(80):
🔼 LONG if it crosses above -80
🔽 SHORT if it crosses below -20
Optional slope filter for greater precision
Triggers visual and sound alerts, calculating entry, SL, and TP levels dynamically (based on ATR x 0.5 + 2.5 R:R)
🔔 Built-in alerts:
LONG: %R(80) crosses above -80 inside WP-Zone
SHORT: %R(80) crosses below -20 inside WP-Zone
Great for automation, bots, or disciplined manual trading
🎯 Perfect for:
Traders using zone + momentum confluence logic
WP-Core / NEXUS strategy followers
Intraday BTC/ETH traders with strict risk control
Super Indicator Enhanced by TradeGlobal PROSuper Indicator Enhanced by TradeGlobal PRO
This indicator is designed to help traders identify high-probability trading opportunities across various markets, particularly on intraday timeframes like 1H and 4H. It combines multiple technical indicators—RSI, MACD, Bollinger Bands, and volume analysis—to generate reliable BUY and SELL signals while filtering out noise during sideways markets.
Features
RSI with Divergence Detection: Uses the Relative Strength Index (RSI) to identify overbought/oversold conditions and bullish/bearish divergences for potential reversals.
MACD for Trend Confirmation: Employs the Moving Average Convergence Divergence (MACD) to confirm bullish or bearish momentum, ensuring signals align with the market trend.
Bollinger Bands for Sideways Detection: Filters out false signals during low-volatility (sideways) periods by analyzing the Bollinger Bands width.
Volume Breakout & Whale Detection: Detects significant volume spikes to identify potential whale activity, indicating strong buying or selling pressure.
Support/Resistance with Retest Logic: Identifies key support and resistance levels, enhanced with retest confirmation for higher accuracy.
Double Bottom/Top Patterns: Detects classic reversal patterns (double bottom/top) with volume confirmation to validate breakouts.
Dynamic Stop-Loss and Take-Profit: Automatically calculates stop-loss and take-profit levels using ATR (Average True Range) with a customizable risk-to-reward ratio.
Signal Types
BUY/SELL: Standard signals for entering trades based on RSI, MACD, and whale activity.
BUY EL/SELL EL: Enhanced signals with higher confidence, incorporating support/resistance, double bottom/top patterns, and retest logic.
OUT: Signals to exit a trade when the price hits the stop-loss, take-profit, or breaks key levels.
How to Use
Timeframe: Best used on 1H or 4H charts for intraday trading. Adjust the RSI overbought/oversold levels for higher timeframes if needed.
Signals:
BUY/BUY EL: Enter a long position when these signals appear. Place a stop-loss below the calculated level and aim for the take-profit level.
SELL/SELL EL: Enter a short position when these signals appear. Place a stop-loss above the calculated level and aim for the take-profit level.
OUT: Exit the trade when this signal appears to secure profits or minimize losses.
Customization:
Adjust the RSI Length, MACD settings, and Bollinger Bands Length to suit your trading style.
Modify the ATR Multiplier for stop-loss and the Risk:Reward ratio for take-profit based on your risk tolerance.
Alerts: Set up alerts for BUY, SELL, BUY EL, SELL EL, and OUT signals to stay informed of trading opportunities.
Notes
The indicator works best in trending markets. Avoid using signals during prolonged sideways periods (check Bollinger Bands width).
Always combine the indicator with your own market analysis and risk management strategy.
Try it out and share your feedback in the comments! Let’s master the markets together.
MACD_V1New Features:
Golden/Death Crossover Markers
Golden/Death Crossover Alerts
新增功能
1、金叉死叉标识
2、金叉死叉警报