THF Buy/Sell Signal Crossover and Trend Signals Golden CrossIndicator Explanation:
The "THF Buy/Sell and Golden Cross/Death Cross" indicator is designed to provide trend signals using EMA (Exponential Moving Averages) and SMA (Simple Moving Averages), with a focus on Golden Cross and Death Cross patterns. It also includes Buy and Sell signals based on crossovers of these moving averages. This indicator aims to assist traders in identifying trend changes, potential entry/exit points, and overall market momentum.
Key Features:
1. Exponential Moving Averages (EMA):
EMA 21 (Green): A short-term moving average that responds more quickly to price changes.
EMA 50 (Yellow): A medium-term moving average used to capture intermediate trends.
2. Simple Moving Averages (SMA):
SMA 50 (Red): A longer-term moving average, often used to identify the overall market trend.
SMA 200 (Blue): A key long-term moving average, helping identify major trend shifts in the market.
3. Buy and Sell Signals:
Buy Signal: Triggered when the EMA 21 crosses above the SMA 50 (bullish crossover). This indicates potential buying opportunities.
Sell Signal: Triggered when the EMA 21 crosses below the SMA 50 (bearish crossover), suggesting potential selling opportunities.
4. Golden Cross (Bullish Trend Reversal):
Occurs when EMA 50 crosses above SMA 200. It signals a potential long-term bullish market trend.
Golden Cross is highlighted on the chart with a yellow label to indicate the event.
5. Death Cross (Bearish Trend Reversal):
Occurs when EMA 50 crosses below SMA 200. It suggests a potential bearish market trend.
Death Cross is highlighted with a blue label on the chart to indicate the event.
6. Volume Moving Average:
The volume moving average (based on a 20-period default) is plotted to show the average trading volume.
Volume bars are color-coded (green for high volume, red for low volume) to show when the volume is increasing or decreasing compared to the moving average.
How to Use:
Buy Signal: Look for green labels marked "BUY" when the EMA 21 crosses above the SMA 50.
Sell Signal: Watch for red labels marked "SELL" when the EMA 21 crosses below the SMA 50.
Golden Cross: A yellow label will indicate when the EMA 50 crosses above the SMA 200, signaling potential long-term upward momentum.
Death Cross: A blue label appears when the EMA 50 crosses below the SMA 200, suggesting potential long-term downward pressure.
Volume: Pay attention to the volume bars. High volume (green bars) suggests strong momentum, while low volume (red bars) might indicate weak trends.
Ideal for:
Trend-following traders: This indicator helps identify trend reversals and provide buy/sell signals.
Traders focusing on major trend changes: The Golden and Death Cross signals can help spot long-term bullish or bearish trends.
Volume traders: The volume bars and volume moving average help validate price moves and momentum.
Benefits:
Clear visual signals for buy, sell, golden cross, and death cross events.
Color-coded volume to indicate strong or weak market momentum.
Helps identify trend changes using both short-term and long-term moving averages.
指標和策略
THF Crossover and Trend Signals Golden & Death Cross with VolumeScript Overview:
This Pine Script is designed to assist traders in identifying key buy/sell signals and major trend changes on the chart using Exponential Moving Averages (EMA) and Simple Moving Averages (SMA), as well as visualizing Golden Cross and Death Cross events. The script also includes a volume indicator to highlight the volume trading activity in relation to the price movements.
Key Features:
1. Moving Averages:
EMA 21: Exponential Moving Average over a 21-period, shown in green.
EMA 50: Exponential Moving Average over a 50-period, shown in yellow.
SMA 50: Simple Moving Average over a 50-period, shown in red.
SMA 200: Simple Moving Average over a 200-period, shown in blue.
2. Signals:
Buy Signal: Generated when EMA 21 crosses above SMA 50, indicating a potential upward trend. Displayed with a green label below the price bar.
Sell Signal: Generated when EMA 21 crosses below SMA 50, indicating a potential downward trend. Displayed with a red label above the price bar.
3. Golden Cross (Bullish Trend):
A Golden Cross occurs when EMA 50 crosses above SMA 200, which often signals the start of a long-term upward trend. The signal is displayed with a yellow label below the price bar.
4. Death Cross (Bearish Trend):
A Death Cross occurs when EMA 50 crosses below SMA 200, which often signals the start of a long-term downward trend. The signal is displayed with a blue label above the price bar.
5. Volume Indicator:
The volume is plotted as colored columns. Green indicates higher volume than the 20-period moving average, and red indicates lower volume.
A Volume Moving Average (SMA 20) is also plotted to compare volume changes over time.
How the Script Works:
1. The EMA and SMA lines are plotted on the chart, providing a visual representation of the short- and long-term trends.
2. Buy/Sell signals are triggered based on the crossover between EMA 21 and SMA 50, helping to identify potential entry and exit points.
3. The Golden Cross and Death Cross indicators highlight major trend reversals based on the crossover between EMA 50 and SMA 200, providing clear visual cues for long-term trend changes.
4. Volume is displayed alongside price movements, offering insight into the strength or weakness of a trend.
Key Customizations:
Moving Average Periods: Users can modify the lengths of the EMAs and SMAs for customized analysis.
Volume Moving Average Period: The script allows for adjustment of the volume moving average period to suit different market conditions.
Signal Visibility: The size and color of the buy, sell, Golden Cross, and Death Cross signals can be easily customized to make them more prominent on the chart.
Conclusion:
This script is ideal for traders looking to combine price action with volume analysis, using key technical indicators such as EMA, SMA, Golden Cross, and Death Cross to make informed decisions in trending markets.
---
This explanation covers all aspects of the script and provides a clear understanding of its functionality, which is helpful for sharing the script or using it as an educational resource.
🌀 STD-Torque Wave Map v1.0🔍 Overview
The STD-Torque Wave Map v1.0 is a multi-timeframe market pressure visualizer that uses the slope of standard deviation (STD) to measure torque—i.e., the acceleration or deceleration of volatility. By combining short, medium, and long-term torque across timeframes (1H, 4H, and 1D by default), this tool helps traders spot confluence zones of high energy. It also detects key signals from RSI divergence and volume spikes to confirm potential breakout or reversal moments.
⚙️ Inputs
Short-Term TF (1H): Select your short timeframe (e.g., 15m, 1H).
Mid-Term TF (4H): Select your medium timeframe.
Long-Term TF (1D): Choose a higher timeframe for macro alignment.
STD Length: Length used for calculating standard deviation.
RSI Length: Length for Relative Strength Index calculation.
Volume Smoothing: Period used to smooth volume for pressure analysis.
Torque Spike Threshold: Sensitivity threshold for torque spike detection.
📊 How to Use
Read the Torque Histograms:
Three color-coded histograms represent torque (slope of STD) at different timeframes:
🟩 Lime: Short-Term Torque
🟧 Orange: Mid-Term Torque
🟪 Purple: Long-Term Torque
Watch for Yellow Confluence Zones:
A yellow background signals that torque is spiking across all three timeframes — a strong confluence zone indicating possible momentum ignition.
Breakout Watch Labels:
A ⚡ red label appears on the main chart (top location) when:
All torque values exceed the threshold AND
Either an RSI divergence or a volume spike is detected.
This is your cue to monitor for explosive breakouts or fakeouts.
Use Alerts:
Set alerts for:
✅ Torque Confluence
✅ Torque + RSI Divergence
✅ Torque + Volume Spike
Get real-time heads-up when pressure is building beneath the surface.
🧠 Interpretation Tips
Torque is Pressure, Not Direction: This tool measures energy building in the market. Combine it with your directional bias, price action, or trend tools.
Ideal for Pre-Breakout Contexts: Use in sideways, low-volatility zones to anticipate the breakout direction using RSI or volume confirmation.
Great Add-On: Pairs well with structure-based tools (e.g., support/resistance, order blocks) or liquidity mapping indicators.
📌 Designed for active traders who want to visually map hidden energy across timeframes before it erupts on the chart.
DR OF ORB ( MEROOOO )this indicator marks the first 15 min candle of each session
if the market closed above the box go long with stop loss blow the box
and vice versa
GreenyyP Leverage Vortex v6Function Summary of “GreenyyP Leverage Vortex v6”
General Settings
Input fields for long and short base prices
Configurable leverage factor
Adjustable line length and label offset
Toggles for chart labels and scale display
Separate switch to show/hide base-price lines
Individually Toggleable Levels
Each level can be turned on or off independently under the Long/Short groups:
L1, L2, L3 (percentage deviations from the entry price)
TP (Take Profit)
SL (Stop Loss)
Automatic Stop-Loss Correction
SL percentages are processed with math.abs()
Ensures SL lines always plot below (for Long) or above (for Short) the base price regardless of input sign
Drawing Logic
All lines and labels redraw every 10 bars to keep the chart clean
Previous labels are deleted before drawing new ones
Lines are drawn with a width of 2 for clear visibility
Base-Price Lines & Labeling
Optional solid lines for Long and Short base prices
White price labels for each base line
Percentage or short text labels (e.g. “L1: 5%”, “TP: 20%”, “SL: 5%”) with configurable transparency
With these features, you get fully customizable level-plotting, automatic SL handling, and clear visual cues directly on your chart.
LANZ Strategy 6.0🔷 LANZ Strategy 6.0 — One-Shot NY Candle Logic with Dynamic SL/TP, Multi-Account Lot Sizing and Visual Confirmation System
LANZ Strategy 6.0 is a high-precision, visually driven indicator that executes a single operation per day based on the 09:00 a.m. New York candle. Built for simplicity and accuracy, it calculates dynamic Stop Loss and Take Profit levels using the candle range, and adapts position sizing per account with pip-accurate risk control. All actions are visualized in real-time for full clarity.
📌 This is an indicator, not a strategy — It does not place trades automatically, but provides exact entry setups, SL/TP levels, risk-based lot size guidance, and optional alerts.
🧠 Core Logic & Features
🚀 Entry Signal (BUY Only)
A BUY setup is triggered only once per day, when:
The current candle is the 09:00–10:00 a.m. NY session candle
The candle is bullish (close > open)
This single candle is used to define the trade levels for the day, and the signal is only evaluated once. If bullish, a visual "BUY" label appears with SL/TP/EP levels calculated from the candle body or full range.
⚙️ Stop Loss and Take Profit
You can configure:
SL as a percentage of the candle’s range (from wick to wick), or use the wick extreme
RR ratio (e.g., 1:4) to dynamically calculate the TP based on SL
Each level is drawn as a line:
EP (Entry Price) at the candle’s close
SL below the low (or % of range)
TP above the entry at the selected RR
💰 Risk-Based Lot Size Calculation per Account
Manage up to 5 independent accounts simultaneously. Each account can have:
Its own capital
Its own risk percentage per trade
Lot size is calculated automatically for each based on:
Defined SL in pips
The pip value (auto-detected for Forex or manually defined for indices/gold)
📋 All lot sizes are displayed in a dedicated info panel, with their corresponding risk-adjusted values per account.
🖼️ Trade Visualization Panel
When a trade is active, a clean table is displayed in the top-right corner showing:
TP / SL / EP levels
Distance in pips for SL and TP
Lot size per account
Line visuals (style, color, thickness) are fully customizable.
🧪 Outcome Tracking (Real-Time Labels)
For each trade:
If SL is hit → a label shows “–1.00%” at the SL level
If TP is hit → a label shows “+X.XX%” at the TP level
If still open at 3:00 p.m. NY, the trade closes manually and the actual result (in %) is calculated and labeled on chart
🔔 Alerts You Can Trust
You'll get an alert when:
A BUY entry is confirmed
SL or TP is hit
Manual close is triggered at 15:00 NY
All alerts include the symbol, price, and result for immediate action or tracking.
🧭 Execution Flow Summary
Every day:
At 09:00 a.m. NY → Evaluate candle
If bullish:
Set EP, SL, TP
Calculate lot sizes
Plot lines + labels
Display dashboard panel
Monitor SL/TP hits
At 15:00 NY → Force close if needed
💡 Ideal For:
Traders who want a clean, single-shot entry system per day
Index or gold traders who operate with strict SL/TP logic
Anyone managing multiple accounts or fixed-capital models
Visual learners and disciplined execution fans
👨💻 Credits:
💡 Developed by: LANZ
🧠 Execution Model & Logic Design: LANZ
📅 Designed for: 1H timeframe, high-conviction NY-based entries
📈 Purpose: Clean decision-making, precision risk control, visual certainty
ATR % of yesterday close with SMA (Bull/Bear colored)This script visualizes the Average True Range (ATR) as a percentage of a user-selected price point for a quick view of volatility.
ATR % values are plotted as a color-coded histogram. Bullish days (close > prior close) paint the bar green; bearish days (close < prior close) paint it red; unchanged days are gray.
Two simple moving average (SMA) overlays to reveal volatility trends.
Variables:
Histogram bars represent ATR as a % of one of:
- Previous Close (default option)
- Previous Open
- Today Close
- Today Open
Two SMA lines (default: blue for 20-period, orange for 5-period) shown on ATR % for trend/range regime tracking.
Optionally display the ATR % in continuous line (yellow)—hidden by default.
If you find it helpful, feel free to share any feedback and how you incorporate it into your trading strategy with the community!
OBV Oscillator with Divergence CirclesCredit to original code from the 'PPO Divergence alerts' by Scarf and OBV Oscillator by LazyBear is used as the input.
Replication of Lunndi 'OBV Divergence Alerts (BETA)' script with additional divergence logic implemented.
OBV-based divergence logic adapted from RSI divergence logic added in addition to existing divergence logic.
Modify length and smoothing to suit your trading style. Open source free for use.
Fair Value MSThis indicator introduces rigid rules to familiar concepts to better capture and visualize Market Structure and Areas of Support and Resistance in a way that is both rule-based and reactive to market movements.
Typical "Market Structure" or "Zig-Zag" methods determine swing points based on fixed thresholds (length or percentage). While this does provide rigid structure, the results may be lagging or confusing due to the timing, since it is fixed to static parameters.
I believe the concept of Fair Value Gaps can solve this problem.
As you will notice, there are no length settings in this indicator.
> FVG Market Structure
Fair Value Gaps are a well known concept used to indicate directional intent, forming when price moves aggressively in one direction, leaving behind an imbalance between buyers and sellers. While the term FVG was popularized by ICT, the underlying concept predates them, known historically as imbalances, inefficiencies, or liquidity voids in institutional trading.
Note: For simplicity, in this indicator they'll be called FVGs.
By reading into this, we are able to clearly and rigidly define market structure simply by "looking" at the chart, using objective price events rather than subjective interpretation, or lengths.
By using FVGs to determine structure direction, the length, and speed of identification lies entirely on the market. If an FVG Down occurs immediately after a New Higher High forms, it is reasonable to assume there was a seller at that point, so the script would indicate a New Swing High.
The script is NOT stuck, waiting for a % retrace, or # bars to pass to identify it as such.
Sometimes the market is in a steady trend in a single direction and no FVGs form; therefore, no structure forms. -> Why would we try to impose structure on a clear trend?
Ultimately, the FVG Structure Method uses real reactions from the market to determine Market structure, and is not fixed to specific parameters.
As with other market structure indicators, "Market Structure Breaks" are still identifiable when price moves outside the most recent swing points.
These are helpful to indicate larger direction. In the following section you will see how these help us determine when we should start the search for an "Area of Interest (AOI)".
> Areas of Interest (AOIs)
"Area of Interest (AOI)" is a generalized term, and could refer to many types of zones you might recognize under different names. While the AOIs in this indicator are specialized in their own way, I have chosen to simply use the term "Area of Interest" because it’s more important to understand how they behave and why they exist than to focus on what they’re called.
The goal of an AOI is to point out reasonable areas where buyers or sellers may be staging, as is typical with support and resistance.
In order to reasonably identify these areas, we look for cause and effect relationships. When considering these relationships, it's easier to understand the placement of the points to define each zone.
(Buyer Examples)
Cause: Strong Buyers step in at Swing Low
Effect: Fair Value Gap Forms
Cause: Sustained Buying Pressure
Effect: Market Structure Breaks
In this example, The zone is drawn from the Swing Low, to the Bottom of the FVG closest to the swing point.
In theory, the participation at the swing point was strong and aggressive enough to create the FVG imbalance. Which then found acceptance and continued into a Market Structure Break. So with these AOIs, we are trying to locate the aggressive Buyers or Sellers which were positioned BEFORE the FVG.
These Zones are intended to act as areas to look for reactions from market participants, to judge where price may be going. When revisiting these zones, we look for a reaction or a break, to further provide us information to if the buyers or sellers are still there.
As seen in the screenshot above, The information we gain is not from the creation of these zones, but from the behavior we witness when these zones are revisited.
Technical Note: In this indicator, Market Structure Breaks are only considered when price closes outside the recent swing points. Wicks are not considered as confirmation, therefore are not used to detect structural breaks.
Inside each AOI you can optionally display a readout of the volume which accumulated during the time starting at the swing point and going until the closing bar of the FVG.
Note: We are counting volume until the closing bar of the FVG since the FVG is a 3 bar formation, and aggressive volume is required throughout to create the imbalance.
There are multiple FVGs that typically occur in a single direction, but we do not look to every single one to be indicative of structure, only the first FVG in the opposite direction of the previous direction (which is determined by previous FVGs)
You will probably notice, the AOIs do not form from the closest swing or FVG to the break, this is because we are targeting larger directional changes to draw these AOIs from.
Since they do not always happen perfectly every time, the AOI formation waits for an FVG to occur AND a Market structure break to happen. One without the other will result in no Zone displaying.
> Reflection Lines
While they may seem slightly redundant, Reflection Lines serve as reminders of previous support and resistance pivots. They are drawn at the same Pivots where and AOI is formed, and extend beyond the mitigation of the AOI.
These lines are often points of price to look for "Support Flips", a re-test pattern where price trades through previous support (or resistance) then returns to it and rejects, continuing into a larger move or trend.
Their namesake is based on the behavior of price, "reflecting" at these levels.
The Reflection lines are simple and change color based on price's location.
If price is above, we would typically look to a reflection line in with support in mind.
As a basic filter, these lines use an average price to determine their color, this way they will not change their color as frequently in choppy situations.
> Session Start/End Lines
For analysis purposes and trade review, it is helpful to analyze with context.
For that reason, I have implemented start and end session lines into the indicator, these are helpful when reviewing historical charts to not provide additional context.
By default, they are set to the NYSE Session, but can be changed to fit any needs.
These lines are not advanced, and simply draw a line as the chart passes the start and end of the sessions. It's very likely that you may need to adjust the session for your specific needs.
Note: The Timezone can be adjusted within the code if needed. By Default, the indicator uses "America/New_York" Timezone.
> Conclusion
If you’ve ever felt like your structure tools were confusing or lagging, drawing zones too late, or zones that simply don't make sense, this should feel like a breath of fresh air.
By removing arbitrary length settings and instead using FVGs to define structure and as a basis for AOIs, you're getting a more accurate look at what price is doing and where it's reacting from.
This indicator is rule-based, reactive, and aims to keep things logical without fluff or false confidence.
Enjoy!
TheDevashishratio-MomentumThis custom momentum indicator is inspired by Fibonacci principles but builds a unique sequence with steps of 0.5 (i.e., 0, 0.5, 1, 1.5, 2, ...). Instead of traditional Fibonacci numbers, each step functions as a dynamic lookback period for a momentum calculation. By cycling through these fractional steps, you capture a layered view of price momentum over varying intervals.
The "Fibonacci" Series Used
Sequence:
0, 0.5, 1, 1.5, 2, … up to a user-defined maximum
For trading indicators, lag values (lookback) must be integers, so each step is rounded to the nearest integer and duplicates are removed, resulting in lookbacks:
1, 2, 3, 4, ... N
Indicator Logic
For each selected lookback, the indicator calculates momentum as:
Momentum
n
=
close
−
close
Momentum
n
=close−close
Where:
close = current price
n = integer from your series of
You can combine these momenta for an averaged or weighted momentum profile, displaying the composite as an oscillator.
How To Use
Bullish: Oscillator above zero indicates positive composite momentum.
Bearish: Oscillator below zero indicates negative composite momentum.
Crosses: A cross from below to above zero may signal emerging bullish momentum, and vice versa.
Customization
Adjust max_step to control how many interval lags you want in your composite.
This oscillator averages across many short and mid-term momenta, reducing noise while still being sensitive to changes.
Summary
TheDevashishratio-Momentum offers a fresh momentum oscillator, blending a "Fibonacci-like" progression with technical analysis, and can be easily copy-pasted into TradingView to experiment and refine your edge.
For more on momentum indicator logic or how to use arrays and series in Pine Script, explore TradingView's official documentation and open-source scripts
Timing LinesSmall indicator to show third Friday of each month and triple witching events when monthly, weekly and quarterly contracts expire together.
There is also a period of max pain highlighted, when market makers try to balance options with equities before monthly option contracts expiry.
Fakeout marks events when market MAY be very turbulent
Analisis Perubahan Persentase Blok v2(Part 1: Summary)
The Block Percentage Change Analysis Indicator (APP Block) is a visual tool designed to detect significant price movements within a specific time period. Instead of analyzing each candle individually, this indicator identifies a group (block) of candles and provides a visual signal if the total price change from the first candle to the last candle in the block exceeds the percentage you specify.
The goal is to help traders quickly recognize strong momentum, potential reversals, or breakouts from consolidation phases.
(Part 2: Key Features)
Block Visualization: Automatically colors the entire block of candles that meet the criteria, making it easy to see periods of significant price movement.
Direction Detection: Uses different colors (customizable) for upward (Bullish) and downward (Bearish) movements, providing instant insight into the direction of momentum.
Full Customization: You can easily adjust the main parameters according to your trading style, asset, and timeframe:
Number of candles in one block.
Minimum percentage price change required.
Price source being analyzed (Open, High, Low, Close).
Colors for upward and downward blocks.
Alert System: Equipped with built-in alert conditions that you can set to receive notifications whenever a signal block forms.
(Section 3: How It Works)
This indicator works in a simple way:
It looks back at the number of candles you specify (e.g., 20 candles).
Then, it calculates the price change in percentage between the price on the first candle and the price on the last candle in that block.
If the change (whether up or down) exceeds the threshold you set (e.g., 2%), the entire candle block will be colored according to its direction of movement.
(Section 4: How to Use in Trading)
This indicator is flexible and can be used in various ways:
Momentum Confirmation: After a breakout from a pattern, the appearance of a green block (upward) can serve as strong confirmation that a bullish momentum is underway. The opposite applies for red blocks.
Market Exhaustion Identification: In a prolonged upward trend, the first appearance of a red block can signal the initial entry of significant selling pressure, indicating a potential reversal or correction.
Signal Filter: Use as a filter for other indicators. Example: “I will only take a buy signal from RSI if the price has just formed a green block,” to avoid false signals when the market is sideways.
(Section 5: Settings)
Number of Candles in Block: Set the length of the block being analyzed. Smaller values will be more sensitive, while larger values will indicate long-term trends.
Minimum Percentage Change (%): The threshold to trigger a signal. Adjust this value based on asset volatility (e.g., stocks may require 5%, while forex may need 1%).
Price Source: Select which price (Open, High, Low, Close) best suits your strategy. Close is the default option.
Block Color (Up/Down): Adjust the background color to match your chart theme.
(Section 6: Conclusion and Disclaimer)
We hope this indicator is useful for your analysis and trading strategies.
Remember, no indicator is 100% accurate. Always use the APP Block as part of your larger trading system, combine it with other analyses (such as market structure, support/resistance, etc.), and most importantly, always apply proper risk management.
Suggestions and feedback for further development are greatly appreciated! Happy trading!
Translated with D
High/Low mura visionDescription
High/Low mura vision plots static support and resistance lines based on the completed high and low values of the prior trading day, week and calendar month.
This script:
Anchors each level to the exact start and end bars of the completed period
Does not repaint or extend levels into the current period
Uses request.security() to retrieve only historical data (no lookahead)
This indicator was built to give traders clear, unambiguous reference points for breakout entries, pullback targets or confirmation of supply/demand zones without guessing where to draw manually.
How It Works
At the close of each daily candle, the script captures high and low via request.security() and draws flat lines spanning only that day’s bars.
Similarly, at the close of Friday’s weekly candle and the last bar of each calendar month, it draws the completed week’s and month’s high/low ranges.
All lines are deleted and redrawn only once per period completion, ensuring no forward painting or hidden repainting logic.
Key Features
No repaint: levels appear exactly once, immediately after the period closes
Period‑specific: lines confined to the bars of the prior day, week or month
Customizable: toggle each period on/off; choose independent colors, line styles (Solid, Dotted, Dashed) and width
Lightweight: minimal calculations for maximum performance on any timeframe
How to Use
Apply to any chart (M1 to MN).
In the Inputs panel, enable the levels you need: Yesterday, Last Week or Last Month.
Adjust High and Low line color, style and thickness to suit your chart layout.
Use these historic levels for support/resistance, breakout confirmation or confluence with other tools.
Inputs
Show Yesterday’s High: toggle yesterday’s high line
Show Yesterday’s Low: toggle yesterday’s low line
Show Last Week’s High: toggle last week’s high line
Show Last Week’s Low: toggle last week’s low line
Show Last Month’s High: toggle last month’s high line
Show Last Month’s Low: toggle last month’s low line
High Line Color / Low Line Color: choose colors for each set of lines
High Line Style / Low Line Style: select Solid, Dotted or Dashed
Line Width: adjust overall thickness
Disclaimer
This script is provided “as‐is” under the Public License. It is intended for educational and analytical purposes only and does not constitute trading or investment advice. Past performance does not guarantee future results. Always perform your own analysis and manage risk responsibly.
Current and Prior Inside Bar ColoringDescription
This script colors bars that are inside the prior bar's high and low range. Inside is defined as ≤ the high, and ≥ the low of the prior bar. You can choose to color only the current inside bar or all inside bars on the chart.
Utility
This gives a quick visual indication of inside bars across your chart. Inside bars, by definition, indicate consolidation and non-trending price action. By highlighting both current and historical inside bars, you can quickly identify periods of market indecision and potential breakout zones. Seeing the frequency and clustering of inside bars helps assess overall market conditions.
Function
Colors distinguish if the close is above or below the opening price of each inside bar. You can set different colors for current vs prior inside bars to visually separate real-time signals from historical patterns. If you prefer no distinction, simply use the same colors for both. The "Color prior inside bars?" toggle allows you to show only the current inside bar or all inside bars on your chart.
Momentum_EMABand📢 Reposting this script as the previous version was shut down due to house rules. Follow for future updates.
The Momentum EMA Band V1 is a precision-engineered trading indicator designed for intraday traders and scalpers. This first version integrates three powerful technical tools — EMA Bands, Supertrend, and ADX — to help identify directional breakouts while filtering out noise and choppy conditions.
How the Indicator Works – Combined Logic
This script blends distinct but complementary tools into a single, visually intuitive system:
1️⃣ EMA Price Band – Dynamic Zone Visualization
Plots upper and lower EMA bands (default: 9-period) to form a dynamic price zone.
Green Band: Price > Upper Band → Bullish strength
Red Band: Price < Lower Band → Bearish pressure
Yellow Band: Price within Band → Neutral/consolidation zone
2️⃣ Supertrend Overlay – Reliable Trend Confirmation
Based on customizable ATR length and multiplier, Supertrend adds a directional filter.
Green Line = Uptrend
Red Line = Downtrend
3️⃣ ADX-Based No-Trade Zone – Choppy Market Filter
Manually calculated ADX (default: 14) highlights weak trend conditions.
ADX below threshold (default: 20) + Price within Band → Gray background, signaling low-momentum zones.
Optional gray triangle marker flags beginning of sideways market.
Why This Mashup & How the Indicators Work Together
This mashup creates a high-conviction, rules-based breakout system:
Supertrend defines the primary trend direction — ensuring trades are aligned with momentum.
EMA Band provides structure and timing — confirming breakouts with retest logic, reducing false entries.
ADX measures trend strength — filtering out sideways markets and enhancing trade quality.
Each component plays a specific role:
✅ Supertrend = Trend bias
✅ EMA Band = Breakout + Retest validation
✅ ADX = Momentum confirmation
Together, they form a multi-layered confirmation model that reduces noise, avoids premature entries, and improves trade accuracy.
💡 Practical Application
Momentum Breakouts: Enter when price breaks out of EMA Band with Supertrend confirmation
Avoid Whipsaws: Skip trades during gray-shaded low-momentum periods
Intraday Scalping Edge: Tailored for lower timeframes (5min–15min) where noise is frequent
⚠️ Important Disclaimer
This is Version 1 — expect future enhancements based on trader feedback.
This tool is for educational purposes only. No indicator guarantees profitability. Use with proper risk management and strategy validation.
CRS by TQCRS by TradeQUO
Comparative Relative Strength Indicator
What it does
Computes the percentage difference in performance between your current chart symbol (e.g. GC1!) and a chosen benchmark (e.g. ES1!, DXY, NQ1!).
Smooths that “CRS” line with a configurable moving average (SMA, EMA, WMA) — default length is 63 bars.
Key Plots
CRS (%) (aqua) — how your symbol has held up relative to the benchmark since the chart loaded.
CRS MA (%) (fuchsia) — smoothed trend of that relative strength.
How to Interpret
Trend-Following
Long when CRS crosses above its MA and is above 0 → your symbol is outperforming.
Short (or reverse) when CRS crosses below its MA and is below 0 → underperformance.
Regime Filter
CRS > 0 → Risk-On environment for your symbol vs. benchmark.
CRS < 0 → Risk-Off relative to the benchmark.
Divergence Signals
Bearish Divergence: Price makes a higher high, but CRS makes a lower high → potential sell-off incoming.
Bullish Divergence: Price makes a lower low, but CRS makes a higher low → look for rebound opportunity.
Pairs Trading
Outperformance: Long your symbol + Short benchmark when CRS > MA.
Underperformance: Short your symbol + Long benchmark when CRS < MA.
Why it matters
Reveals relative market leadership early, not just absolute price moves.
Helps you allocate risk dynamically, spot rotations and catch reversals before they show in price alone.
Overheat Oscillator with DivergenceIndicator Description
The Overheat Oscillator with Divergence is an advanced technical indicator designed for the TradingView platform, assisting traders in identifying potential market reversal points by analyzing price momentum and volume, as well as detecting divergences. The indicator combines trend strength assessment with signal smoothing to provide clear indications of market overheat or oversold conditions. An optional divergence detection feature allows for the identification of discrepancies between price movement and the oscillator's value, which may signal upcoming trend changes.
The indicator is displayed in a separate panel below the price chart and offers visual cues through a color gradient, horizontal reference lines, and a dynamic market sentiment table. Users can customize numerous parameters, such as calculation periods, sentiment thresholds, line colors, and visualization styles, making the indicator a versatile tool for various trading strategies.
How the Indicator Works
The indicator is based on the following key components:
Oscillator Calculations
The indicator analyzes price candles, assigning a score based on their nature. A bullish candle (when the closing price is higher than the opening price) receives a score of +1.0, while a bearish candle (when the closing price is lower than the opening price) receives a score of -1.0. This scoring reflects the strength of price movement over a given period.
The score is modified by a volume multiplier (default: 2.0) if the candle's volume exceeds the volume's simple moving average (SMA, default: calculated over 20 candles). This ensures that candles with higher volume have a greater impact on the oscillator's value, better capturing significant market movements driven by increased trading activity. For example, a bullish candle with high volume may receive a score of +2.0 instead of +1.0, amplifying the bullish signal.
The scores are summed over a specified number of candles (default: 20), normalized to a 0–100 range, and then smoothed using a simple moving average (SMA, default: 5 periods) to reduce noise and improve signal clarity.
Color Gradient
The oscillator's values are visualized using a color gradient that changes based on the oscillator's level:
Green: Market cooldown (values below the Gradient Min threshold).
Yellow: Neutral sentiment (values between Gradient Min and Gradient Yellow).
Orange: Elevated activity (values between Gradient Yellow and Gradient Orange).
Red: Market overheat (values above Gradient Orange).
The color gradient is applied as the background in the oscillator panel, facilitating quick assessment of market sentiment.
Reference Levels
The indicator displays customizable horizontal lines for key thresholds (e.g., Overheat Threshold, Oversold Threshold, Gradient Min, Yellow, Orange, Max). These lines are visible only at the height of the last few oscillator candles, preventing chart clutter and helping users focus on current values.
Users can also define three custom horizontal lines with selectable styles (solid, dotted, dashed) and colors. These lines serve as auxiliary tools, e.g., for marking personal support/resistance levels, but do not affect the oscillator's signals or background colors.
Market Sentiment
The indicator displays sentiment labels in a table located in the top-right corner of the panel, dynamically updating based on the oscillator's value:
Cooled: Values below Gradient Yellow (default: 35).
Neutral: Values between Gradient Yellow and Gradient Orange (default: 60).
Excited: Values between Gradient Orange and Overheat Threshold (default: 70).
Overheated: Values above Overheat Threshold (default: 70).
The Overheat Threshold and Oversold Threshold are critical for displaying the "Overheated" and "Cooled" labels in the sentiment table, enabling users to quickly identify extreme market conditions. The labels update when key thresholds are crossed, and their colors match the oscillator's gradient.
Divergence Detection
The indicator offers optional detection of regular bullish and bearish divergences:
Bullish Divergence: Occurs when the price forms a lower low, but the oscillator forms a higher low, suggesting a weakening downtrend.
Bearish Divergence: Occurs when the price forms a higher high, but the oscillator forms a lower high, suggesting a weakening uptrend.
Divergences are marked on the chart with labels ("Bull" for bullish, "Bear" for bearish) and lines indicating pivot points. They are calculated with a delay equal to the Lookback Right setting (default: 5 candles), meaning signals appear after pivot confirmation in the specified lookback period. The indicator also generates alerts for users when a divergence is detected.
Indicator Settings
Main Settings (SETTINGS)
Period Length: Specifies the number of candles used for oscillator calculations (default: 20).
Volume SMA Period: The period for the volume's simple moving average (default: 20).
Volume Multiplier: Multiplier applied to candle scores when volume exceeds the average (default: 2.0).
SMA Length: The period for smoothing the oscillator with a simple moving average (default: 5).
Thresholds (THRESHOLDS)
Overheat Threshold: Level indicating market overheat (default: 70). This value determines when the sentiment table displays the "Overheated" label, signaling a potential peak in an uptrend.
Oversold Threshold: Level indicating market cooldown (default: 30). This value determines when the sentiment table displays the "Cooled" label, signaling a potential bottom in a downtrend.
Gradient Min (Green): Lower threshold for the green gradient (default: 20).
Gradient Yellow Threshold: Threshold for the yellow gradient (default: 35).
Gradient Orange Threshold: Threshold for the orange gradient (default: 60).
Gradient Max (Red): Upper threshold for the red gradient (default: 70).
Visualization (VISUALIZATION)
Signal Line Color: Color of the oscillator line (default: dark red, RGB(5, 0, 0)).
Show Reference Lines: Enables/disables the display of threshold lines (default: enabled).
Divergence Settings (DIVERGENCE SETTINGS)
Calculate Divergence: Enables/disables divergence detection (default: disabled).
Lookback Right: Number of candles back for pivot analysis (default: 5).
Lookback Left: Number of candles to the left for pivot analysis (default: 5).
Line Style (STYLE)
Custom Line 1, 2, 3 Value: Levels for custom horizontal lines (default: 70, 50, 30).
Custom Line 1, 2, 3 Color: Colors for custom lines (default: black, RGB(0, 0, 0)).
Custom Line 1, 2, 3 Style: Line styles (solid, dotted, dashed; default: dashed, dotted, dashed).
How to Use the Indicator
Adding to the Chart
Add the indicator to your TradingView chart by searching for "Overheat Oscillator with Divergence."
Configure the settings according to your trading strategy.
Signal Interpretation
Overheated: Values above the Overheat Threshold (default: 70) in the sentiment table may indicate a potential uptrend peak.
Cooled: Values below the Oversold Threshold (default: 30) in the sentiment table may suggest a potential downtrend bottom.
Divergences:
Bullish: Look for "Bull" labels on the chart, indicating potential upward reversals (calculated with a Lookback Right delay).
Bearish: Look for "Bear" labels, indicating potential downward reversals (calculated with a Lookback Right delay).
Customization
Experiment with settings such as period length, volume multiplier, or gradient thresholds to tailor the indicator to your trading style (e.g., scalping, medium-term trading).
Usage Examples
Scalping: Set a shorter period (e.g., Period Length = 10, SMA Length = 3) and monitor rapid sentiment changes and divergences on lower timeframes (e.g., 5-minute charts).
Medium-Term Trading: Use default settings or increase Period Length (e.g., 30) and SMA Length (e.g., 7) for more stable signals on hourly or daily charts.
Reversal Detection: Enable divergence detection and observe "Bull" or "Bear" labels in conjunction with overheat/cooled levels in the sentiment table.
Notes
The indicator performs best when used in conjunction with other technical analysis tools, such as support/resistance lines, moving averages, or Fibonacci levels.
Divergences may serve as early signals but do not always guarantee immediate trend reversals—confirmation with other indicators is recommended.
Test different settings on historical data to find the optimal configuration for your chosen market and timeframe.
VWAP Volume Profile [BigBeluga]🔵 OVERVIEW
VWAP Volume Profile is an advanced hybrid of the VWAP and volume profile concepts. It visualizes how volume accumulates relative to VWAP movement—separating rising (+VWAP) and declining (−VWAP) activity into two mirrored horizontal profiles. It highlights the dominant price bins (POCs) where volume peaked during each directional phase, helping traders spot hidden accumulation or distribution zones.
🔵 CONCEPTS
VWAP-Driven Profiling: Unlike standard volume profiles, this tool segments volume based on VWAP movement—accumulating positive or negative volume depending on VWAP slope.
Dual-Sided Profiles: Profiles expand horizontally to the right of price. Separate bins show rising (+) and falling (−) VWAP volume.
Bin Logic: Volume is accumulated into defined horizontal bins based on VWAP’s position relative to price ranges.
Gradient Coloring: Volume bars are colored with a dynamic gradient to emphasize intensity and direction.
POC Highlighting: The highest-volume bin in each profile type (+/-) is marked with a transparent box and label.
Contextual VWAP Line: VWAP is plotted and dynamically colored (green = rising, orange = falling) for instant trend context.
Candle Overlay: Price candles are recolored to match the VWAP slope for full visual integration.
🔵 FEATURES
Dual-sided horizontal volume profiles based on VWAP slope.
Supports rising VWAP , falling VWAP , or both simultaneously.
Customizable number of bins and lookback period.
Dynamically colored VWAP line to show rising/falling bias.
POC detection and labeling with volume values for +VWAP and −VWAP.
Candlesticks are recolored to match VWAP bias for intuitive momentum tracking.
Optional background boxes with customizable styling.
Adaptive volume scaling to normalize bar length across markets.
🔵 HOW TO USE
Use POC zones to identify high-volume consolidation areas and potential support/resistance levels.
Watch for shifts in VWAP direction and observe how volume builds differently during uptrends and downtrends.
Use the gradient profile shape to detect accumulation (widening volume below price) or distribution (above price).
Use candle coloring for real-time confirmation of VWAP bias.
Adjust the profile period or bin count to fit your trading style (e.g., intraday scalping or swing trading).
🔵 CONCLUSION
VWAP Volume Profile merges two essential concepts—volume and VWAP—into a single, high-precision tool. By visualizing how volume behaves in relation to VWAP movement, it uncovers hidden dynamics often missed by traditional profiles. Perfect for intraday and swing traders who want a more nuanced read on market structure, trend strength, and volume flow.
Advanced Correlation Monitor📊 Advanced Correlation Monitor - Pine Script v6
🎯 What does this indicator do?
Monitors real-time correlations between 13 different asset pairs and alerts you when historically strong correlations break, indicating potential trading opportunities or changes in market dynamics.
🚀 Key Features
✨ Multi-Market Monitoring
7 Forex Pairs (GBPUSD/DXY, EURUSD/GBPUSD, etc.)
6 Index/Stock Pairs (SPY/S&P500, DAX/NASDAQ, TSLA/NVDA, etc.)
Fully configurable - change any pair from inputs
📈 Dual Correlation Analysis
Long Period (90 bars): Identifies historically strong correlations
Short Period (6 bars): Detects recent breakdowns
Pearson Correlation using Pine Script v6 native functions
🎨 Intuitive Visualization
Real-time table with 6 information columns
Color coding: Green (correlated), Red (broken), Gray (normal)
Visual states: 🟢 OK, 🔴 BROKEN, ⚫ NORMAL
🚨 Smart Alert System
Only alerts previously correlated pairs (>80% historical)
Detects breakdowns when short correlation <80%
Consolidated alert with all affected pairs
🛠️ Flexible Configuration
Adjustable Parameters:
📅 Periods: Long (30-500), Short (2-50)
🎯 Threshold: 50%-99% (default 80%)
🎨 Table: Configurable position and size
📊 Symbols: All pairs are configurable
Default Pairs:
FOREX: INDICES/STOCKS:
- GBPUSD vs DXY • SPY vs S&P500
- EURUSD vs GBPUSD • DAX vs S&P500
- EURUSD vs DXY • DAX vs NASDAQ
- USDCHF vs DXY • TSLA vs NVDA
- GBPUSD vs USDCHF • MSFT vs NVDA
- EURUSD vs USDCHF • AAPL vs NVDA
- EURUSD vs EURCAD
💡 Practical Use Cases
🔄 Pairs Trading
Detects when strong correlations break for:
Statistical arbitrage
Mean reversion trading
Divergence opportunities
🛡️ Risk Management
Identifies when "safe" assets start moving independently:
Portfolio diversification
Smart hedging
Regime change detection
📊 Market Analysis
Understand underlying market structure:
Forex/DXY correlations
Tech sector rotation
Regional market disconnection
🎓 Results Interpretation
Reading Example:
EURUSD vs DXY: -98.57% → -98.27% | 🟢 OK
└─ Perfect negative correlation maintained (EUR rises when DXY falls)
TSLA vs NVDA: 78.12% → 0% | ⚫ NORMAL
└─ Lost tech correlation (divergence opportunity)
Trading Signals:
🟢 → 🔴: Broken correlation = Possible opportunity
Large difference: Indicates correlation tension
Multiple breaks: Market regime change
SMA Strategy with Re-Entry Signal (v6 Style)*SMA Trend Strategy with Re-Entry Signal (v6 Edition)*
This indicator is based on a classic moving average trend-following system, enhanced with re-entry signals designed for medium to short-term traders.
---
### 📈 Key Features:
1. *Trend Detection Logic:*
- The 30-period SMA (SMA30) is used as the trend filter.
- When the closing price is above the SMA30, the market is considered to be in an uptrend.
2. *Re-Entry Signal:*
- While in an uptrend, if the closing price crosses above the SMA20, a re-entry (add position) signal is triggered.
- These signals are shown with green upward arrows below the bars.
3. *Background Highlighting:*
- Green background: indicates an uptrend.
- Red background: indicates a break below SMA30, suggesting weakening momentum.
4. *Multi-SMA Visualization:*
- Five SMAs are displayed: SMA10, SMA20, SMA30, SMA60, and SMA250.
- This helps visualize both short-term and long-term trend structures.
---
### 🔍 Usage Tips:
- Use this script directly on your main chart to monitor trend direction and wait for re-entry signals during pullbacks.
- Combine with other tools like volume, price action, or candlestick patterns to confirm entries.
---
### ⚠️ Disclaimer:
- This indicator is for educational and informational purposes only. It does not constitute financial advice or a buy/sell signal.
- Avoid relying solely on this script for trading decisions. Always manage your own risk.
---
👨💻 *Developer’s Note:*
This script is 100% manually developed, not copied or auto-generated. It is an original implementation based on my personal trading logic. Suggestions and feedback are welcome!
Stochastic with Z-Score📊 Stochastic with Z-Score
This custom indicator enhances the classic Stochastic Oscillator by applying Z-Score normalization to both %K and %D lines, helping traders identify statistically significant overbought and oversold conditions based on historical behavior.
🔍 Key Features:
Z-Score Normalization of %K and %D:
Detects deviations from the mean using standard deviation, offering a more dynamic and statistically grounded way to interpret momentum.
Signal Confirmation Filters:
✅ Trend Filter using 200 EMA: Only trade in the direction of the prevailing trend.
✅ Volume Filter: Confirms signals only when volume exceeds the moving average, reducing noise.
Buy & Sell Signals:
📈 Buy: Triggered when the Z-score of %K crosses above a negative threshold, %D is still below that threshold, and the candle is bullish.
📉 Sell: Triggered when the Z-score of %K crosses below a positive threshold, %D is still above that threshold, and the candle is bearish.
Signals are further filtered by trend and volume if enabled.
Customizable Thresholds & Settings:
Control Z-score length, thresholds, Stochastic lengths, and filter settings.
Visual Enhancements:
Colored histogram based on Z-score levels.
Shaded background in overbought/oversold zones.
Clear “Buy” and “Sell” labels plotted directly on the chart.
Alerts Included:
Set alerts on confirmed buy and sell signals for real-time notifications.
📘 How to Use:
Use this indicator on any timeframe or asset.
Enable or disable trend and volume filters depending on your strategy.
Use signals in confluence with price action or other indicators.
Adjust Z-score thresholds for more or fewer signals based on your risk profile.
⚠️ Note: This is an indicator, not a strategy. Always test signals on historical data and in simulation before live trading.
BornInvestor Gap Detector📈 BornInvestor Gap Detector
The BornInvestor Gap Detector is a powerful visual tool for identifying and analyzing price gaps on any chart. It automatically detects up and down gaps, highlights them with customizable boxes, and offers detailed labeling and alerting functionality.
🔍 Key Features:
Automatic Detection of bullish and bearish gaps based on customizable deviation settings.
Visual Highlighting of gaps using colored boxes with optional trail length limitation.
Gap Size Labels showing the percentage size of the gap, with the ability to display them only on the most recent N gaps.
Alerts for:
New gap appearance
Gap fully or partially closed
Price entering a gap zone (ideal for breakout/backfill strategies)
Customizable Colors for up/down gap borders and backgrounds.
Optional Message when no gaps are found on the current chart.
💡 Usefulness:
Gaps are an edge. They frequently act as support or resistance—especially on the first retest—when aligned with high-volume areas or other key price zones. Many strong stock moves begin with gaps, a concept central to strategies like Episodic Pivots.
This indicator helps you:
Identify gaps as potential entry zones on secondary setups
Quantify gaps via percentage size
Filter gaps based on size to suit your specific trading approach
Set alerts when price enters a gap or meets your custom criteria
Time-Based Market Structure – DEMO (TRAL 00 / 03 / 29)This is a simplified DEMO version of our advanced time-based levels indicator.
It highlights only three key algorithmic time anchors:
00, 03, and 29 — moments when price is likely to react due to internal logic derived from advanced temporal analysis (Hopiplaka-inspired).
These time levels are often associated with liquidity shifts and potential trend reversals, especially when price aligns with these anchors.
Ideal for both intraday and multi-timeframe traders looking to observe how time-based reactions influence price behavior.