Custom Screener Score (MACD atan-slope + RSI + BB)MACD atan-slope + RSI + crossover
also added decay from crossover
Penunjuk dan strategi
Vanesselstine candlestick patternMy test script for candlestick pattern. Using this for testing purposes only. Not for reliable trading recommendations.
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.
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.
Globex Trap w/ percentage [SLICKRICK]Globex Trap w/ Percentage
Overview
The Globex Trap w/ Percentage indicator is a powerful tool designed to help traders identify high-probability trading opportunities by analyzing price action during the Globex (overnight) session and regular trading hours. By combining Globex session ranges with Supply & Demand zones, this indicator highlights potential "trap" areas where significant price reactions may occur. Additionally, it calculates the Globex session range as a percentage of the daily Average True Range (ATR), providing valuable context for assessing market volatility.
This indicator is ideal for traders in futures markets or other instruments traded during Globex sessions, offering a visual and analytical edge for spotting key price levels and potential reversals or breakouts.
Key Features
Globex Session Tracking:
Visualizes the high and low of the Globex session (default: 3:00 PM to 6:30 AM PST) with customizable time settings.
Displays a semi-transparent box to mark the Globex range, with labels for "Globex High" and "Globex Low."
Calculates the Globex range as a percentage of the daily ATR, displayed as a label for quick reference.
Supply & Demand Zones:
Identifies Supply & Demand zones during regular trading hours (default: 6:00 AM to 8:00 AM PST) with customizable time settings.
Draws semi-transparent boxes to highlight these zones, aiding in the identification of key support and resistance areas.
Trap Area Identification:
Highlights potential trap zones where Globex ranges and Supply & Demand zones overlap, indicating areas where price may reverse or consolidate due to trapped traders.
Customizable Settings:
Adjust Globex and Supply & Demand session times to suit your trading preferences.
Toggle visibility of Globex and Supply & Demand zones independently.
Customize box colors for better chart readability.
Set the lookback period (default: 10 days) to control how many historical zones are displayed.
Configure the ATR length (default: 14) for the percentage calculation.
PST Timezone Default:
All times are based on Pacific Standard Time (PST) by default, ensuring accurate session tracking for users in this timezone or those aligning with U.S. West Coast market hours.
Recommended Usage
Timeframes: Best used on 1-hour charts or lower (e.g., 15-minute, 5-minute) for precise entry and exit points.
Markets: Optimized for futures (e.g., ES, NQ, CL) and other instruments traded during Globex sessions.
Historical Data: Ensure at least 10 days of historical data for optimal visualization of zones.
Strategy Integration: Use the indicator to identify potential reversals or breakouts at Globex highs/lows or Supply & Demand zones. The ATR percentage provides context for whether the Globex range is significant relative to typical daily volatility.
How It Works
Globex Session:
Tracks the high and low prices during the user-defined Globex session (default: 3:00 PM to 6:30 AM PST).
When the session ends, a box is drawn from the start to the end of the session, capturing the high and low prices.
Labels are placed at the midpoint of the session, showing "Globex High," "Globex Low," and the range as a percentage of the daily ATR (e.g., "75.23% of Daily ATR").
Supply & Demand Zones:
Tracks the high and low prices during the user-defined regular trading hours (default: 6:00 AM to 8:00 AM PST).
Draws a box to mark these zones, which often act as key support or resistance levels.
ATR Percentage:
Calculates the Globex range (high minus low) and divides it by the daily ATR to express it as a percentage.
This metric helps traders gauge whether the overnight price movement is significant compared to the instrument’s typical volatility.
Time Handling:
Uses PST (UTC-8) for all time calculations, ensuring accurate session timing for users aligning with this timezone.
Properly handles overnight sessions that cross midnight, ensuring seamless tracking.
Input Settings
Globex Session Settings:
Show Globex Session: Enable/disable Globex session visualization (default: true).
Globex Start/End Time: Set the start and end times for the Globex session (default: 3:00 PM to 6:00 AM PST).
Globex Box Color: Customize the color of the Globex session box (default: semi-transparent gray).
Supply & Demand Zone Settings:
Show Supply & Demand Zone: Enable/disable zone visualization (default: true).
Zone Start/End Time: Set the start and end times for Supply & Demand zones (default: 6:00 AM to 8:00 AM PST).
Zone Box Color: Customize the color of the zone box (default: semi-transparent aqua).
General Settings:
Days to Look Back: Number of historical days to display zones (default: 10).
ATR Length: Period for calculating the daily ATR (default: 14).
Notes
All times are in Pacific Standard Time (PST). Adjust the start and end times if your market operates in a different timezone or if you prefer different session windows.
The indicator is optimized for instruments with active Globex sessions, such as futures. Results may vary for non-24/5 markets.
A typo in the label "Globe Low" (should be "Globex Low") will be corrected in future updates.
Ensure your TradingView chart is set to display sufficient historical data to view the full lookback period.
Why Use This Indicator?
The Globex Trap w/ Percentage indicator provides a unique combination of session-based range analysis, Supply & Demand zone identification, and volatility context via the ATR percentage. Whether you’re a day trader, swing trader, or scalper, this tool helps you:
Pinpoint key price levels where institutional traders may act.
Assess the significance of overnight price movements relative to daily volatility.
Identify potential trap zones for high-probability setups.
Customize the indicator to fit your trading style and market preferences.
Publishing Notes
This indicator is authored by SLICKRICK and is version 1.0. For feedback, suggestions, or support, feel free to comment below or contact me directly on TradingView. Happy trading!
Tips for Publishing on TradingView
Paste the Code: Copy the provided PineScript code into TradingView’s Pine Editor.
Add the Description: Use the description above in the "Description" field when publishing. This helps users understand the indicator’s purpose and usage.
Include a Screenshot: Add a chart screenshot showing the indicator in action (e.g., Globex and Supply & Demand zones with labels). Highlight the ATR percentage label for emphasis.
Set Access Permissions: Choose whether to make it public, private, or protected (requires a paid TradingView subscription for protected access).
Tags: Use relevant tags like “Globex,” “Supply and Demand,” “ATR,” “Futures,” and “Trap Zones” to improve discoverability.
Test Thoroughly: Before publishing, test the indicator on different instruments (e.g., ES, NQ) and timeframes to ensure it behaves as expected.
Fix the Typo: Consider updating the label text from "Globe Low" to "Globex Low" in the code before publishing to avoid confusion:
pinescriptlabel.new(x=mid_point_range1, y=range1_low, text="Globex Low", style=label.style_label_up, color=color.gray, textcolor=color.white)
Engage with Users: After publishing, monitor comments for feedback and respond to questions to build a community around your indicator.
Globex Trap w/ percentage [SLICKRICK]Globex Trap w/ Percentage
Overview
The Globex Trap w/ Percentage indicator is a powerful tool designed to help traders identify high-probability trading opportunities by analyzing price action during the Globex (overnight) session and regular trading hours. By combining Globex session ranges with Supply & Demand zones, this indicator highlights potential "trap" areas where significant price reactions may occur. Additionally, it calculates the Globex session range as a percentage of the daily Average True Range (ATR), providing valuable context for assessing market volatility.
This indicator is ideal for traders in futures markets or other instruments traded during Globex sessions, offering a visual and analytical edge for spotting key price levels and potential reversals or breakouts.
Key Features
Globex Session Tracking:
Visualizes the high and low of the Globex session (default: 3:00 PM to 6:30 AM PST) with customizable time settings.
Displays a semi-transparent box to mark the Globex range, with labels for "Globex High" and "Globex Low."
Calculates the Globex range as a percentage of the daily ATR, displayed as a label for quick reference.
Supply & Demand Zones:
Identifies Supply & Demand zones during regular trading hours (default: 6:00 AM to 8:00 AM PST) with customizable time settings.
Draws semi-transparent boxes to highlight these zones, aiding in the identification of key support and resistance areas.
Trap Area Identification:
Highlights potential trap zones where Globex ranges and Supply & Demand zones overlap, indicating areas where price may reverse or consolidate due to trapped traders.
Customizable Settings:
Adjust Globex and Supply & Demand session times to suit your trading preferences.
Toggle visibility of Globex and Supply & Demand zones independently.
Customize box colors for better chart readability.
Set the lookback period (default: 10 days) to control how many historical zones are displayed.
Configure the ATR length (default: 14) for the percentage calculation.
PST Timezone Default:
All times are based on Pacific Standard Time (PST) by default, ensuring accurate session tracking for users in this timezone or those aligning with U.S. West Coast market hours.
Recommended Usage
Timeframes: Best used on 1-hour charts or lower (e.g., 15-minute, 5-minute) for precise entry and exit points.
Markets: Optimized for futures (e.g., ES, NQ, CL) and other instruments traded during Globex sessions.
Historical Data: Ensure at least 10 days of historical data for optimal visualization of zones.
Strategy Integration: Use the indicator to identify potential reversals or breakouts at Globex highs/lows or Supply & Demand zones. The ATR percentage provides context for whether the Globex range is significant relative to typical daily volatility.
How It Works
Globex Session:
Tracks the high and low prices during the user-defined Globex session (default: 3:00 PM to 6:30 AM PST).
When the session ends, a box is drawn from the start to the end of the session, capturing the high and low prices.
Labels are placed at the midpoint of the session, showing "Globex High," "Globex Low," and the range as a percentage of the daily ATR (e.g., "75.23% of Daily ATR").
Supply & Demand Zones:
Tracks the high and low prices during the user-defined regular trading hours (default: 6:00 AM to 8:00 AM PST).
Draws a box to mark these zones, which often act as key support or resistance levels.
ATR Percentage:
Calculates the Globex range (high minus low) and divides it by the daily ATR to express it as a percentage.
This metric helps traders gauge whether the overnight price movement is significant compared to the instrument’s typical volatility.
Time Handling:
Uses PST (UTC-8) for all time calculations, ensuring accurate session timing for users aligning with this timezone.
Properly handles overnight sessions that cross midnight, ensuring seamless tracking.
Input Settings
Globex Session Settings:
Show Globex Session: Enable/disable Globex session visualization (default: true).
Globex Start/End Time: Set the start and end times for the Globex session (default: 3:00 PM to 6:30 AM PST).
Globex Box Color: Customize the color of the Globex session box (default: semi-transparent gray).
Supply & Demand Zone Settings:
Show Supply & Demand Zone: Enable/disable zone visualization (default: true).
Zone Start/End Time: Set the start and end times for Supply & Demand zones (default: 6:00 AM to 8:00 AM PST).
Zone Box Color: Customize the color of the zone box (default: semi-transparent aqua).
General Settings:
Days to Look Back: Number of historical days to display zones (default: 10).
ATR Length: Period for calculating the daily ATR (default: 14).
Notes
All times are in Pacific Standard Time (PST). Adjust the start and end times if your market operates in a different timezone or if you prefer different session windows.
The indicator is optimized for instruments with active Globex sessions, such as futures. Results may vary for non-24/5 markets.
A typo in the label "Globe Low" (should be "Globex Low") will be corrected in future updates.
Ensure your TradingView chart is set to display sufficient historical data to view the full lookback period.
Why Use This Indicator?
The Globex Trap w/ Percentage indicator provides a unique combination of session-based range analysis, Supply & Demand zone identification, and volatility context via the ATR percentage. Whether you’re a day trader, swing trader, or scalper, this tool helps you:
Pinpoint key price levels where institutional traders may act.
Assess the significance of overnight price movements relative to daily volatility.
Identify potential trap zones for high-probability setups.
Customize the indicator to fit your trading style and market preferences.
Publishing Notes
This indicator is authored by SLICKRICK and is version 1.0. For feedback, suggestions, or support, feel free to comment below or contact me directly on TradingView. Happy trading!
Tips for Publishing on TradingView
Paste the Code: Copy the provided PineScript code into TradingView’s Pine Editor.
Add the Description: Use the description above in the "Description" field when publishing. This helps users understand the indicator’s purpose and usage.
Include a Screenshot: Add a chart screenshot showing the indicator in action (e.g., Globex and Supply & Demand zones with labels). Highlight the ATR percentage label for emphasis.
Set Access Permissions: Choose whether to make it public, private, or protected (requires a paid TradingView subscription for protected access).
Tags: Use relevant tags like “Globex,” “Supply and Demand,” “ATR,” “Futures,” and “Trap Zones” to improve discoverability.
Test Thoroughly: Before publishing, test the indicator on different instruments (e.g., ES, NQ) and timeframes to ensure it behaves as expected.
Fix the Typo: Consider updating the label text from "Globe Low" to "Globex Low" in the code before publishing to avoid confusion:
pinescriptlabel.new(x=mid_point_range1, y=range1_low, text="Globex Low", style=label.style_label_up, color=color.gray, textcolor=color.white)
Engage with Users: After publishing, monitor comments for feedback and respond to questions to build a community around your indicator.
Stratégie Longue Supertrend/RSI/MME200 - gold -1 one daystrategy based on the supertrend indicator, the RSI, and the exponential moving average
interval 1 day on god (xau/usd)
XRP 5-10m EMA+RSI Signal//@version=5
indicator("XRP 5-10m EMA+RSI Signal", overlay=true)
// === Inputs ===
emaFastLength = input.int(9, "EMA Fast")
emaSlowLength = input.int(21, "EMA Slow")
rsiLength = input.int(14, "RSI Length")
rsiOverbought = input.int(70, "RSI Overbought Level")
rsiOversold = input.int(30, "RSI Oversold Level")
// === Calculations ===
emaFast = ta.ema(close, emaFastLength)
emaSlow = ta.ema(close, emaSlowLength)
rsi = ta.rsi(close, rsiLength)
// === Conditions ===
trendUp = emaFast > emaSlow
trendDown = emaFast < emaSlow
buySignal = trendUp and ta.crossover(rsi, rsiOversold)
sellSignal = trendDown and ta.crossunder(rsi, rsiOverbought)
// === Plotting ===
plot(emaFast, color=color.yellow, title="EMA 9")
plot(emaSlow, color=color.red, title="EMA 21")
plotshape(buySignal, title="BUY Signal", location=location.belowbar,
color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="SELL Signal", location=location.abovebar,
color=color.red, style=shape.labeldown, text="SELL")
// === Alerts ===
alertcondition(buySignal, title="BUY Alert", message="XRP BUY Signal (EMA+RSI)")
alertcondition(sellSignal, title="SELL Alert", message="XRP SELL Signal (EMA+RSI)")
Stratégie Longue Supertrend/RSI/MME200strategy based on the supertrend indicator, the RSI, and the exponential moving average
Open=High & Open=Low StrategyJUST A SIMPLE HEIKENASHI OPEN LOW STRATEGY . YOU CAN BUT SELL BASED ON SIGNALS AND THIS STRATEGY IS HAVING AN OPTION TO FURTHER REDUCE RISK WITH OPTIONAL DOJI EXIT.
Just a simple heikenashi open low strategy. You can buy and sell based on signals and this strategy is having a optional doji exit to reduce ask
Daily Start Vertical Lines (≤1H)This indicator automatically plots vertical lines at the start of each new trading day, based on the selected chart’s timezone. Unlike the default daily session boundaries (which often start at 17:00 New York time), this tool ensures that lines are drawn precisely at 00:00 midnight of the chart’s timezone.
🔹 Features:
Plots a vertical line at every new day start (midnight).
Fully time-zone aware → lines adjust automatically when you change the chart’s timezone.
Customizable line style, width, and color.
Option to limit plotting to specific timeframes (e.g., show only on ≤ 1H charts).
Lightweight & optimized (does not clutter higher-timeframe charts).
🔹 Use Cases:
Quickly identify daily boundaries for intraday analysis.
Helps scalpers and day traders align trades with new day opens.
Useful for strategies that depend on daily session resets.
This tool is especially helpful for traders who want clarity when working across different time zones.
ATH Minimalist From Enigma.Dynamic indicator based on the latest ATH, showing the percentage up or down since that point.
5ema&1maI wanted a simple indicator that had 5 EMAs and 1 MA. But I wanted to be able to change the values for all averages depending on my use.
This is a simple script that does that.
Trend detection for stocksThis Pine Script indicator combines exponential moving averages (EMA) with the Average Directional Index (ADX) to identify clear upward and downward trends. The chart colors the background according to the trend and optionally displays buy and sell signals as well as alerts.
Functionality in detail:
The Fast EMA (Standard 21) reacts quickly to price changes.
The Slow EMA (Standard 55) smooths the trend more.
If the Fast EMA is above the Slow EMA and the ADX is above the defined threshold, the background turns green – indicating a clear upward trend.
Conversely, a red background signals a dominant downward trend.
Buy and sell arrows appear at the EMA crossover as soon as the ADX confirms that a trend is intact.
EMA 20 ColouredBasically if the candle above 20ema, it will convert into green and if the candle is below 20ema, it will convert into red colour.
So,
If the EMA shows green line, then you have to look for the LONG TRADES
If the EMA shows red line, then you have to look for SHORT SIDE TRADES.
US Presidents 1789–1916Description:
This indicator displays all U.S. presidential elections from 1789 to 1916 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Historical flag style: All presidents before 1900 are considered historical, providing visual distinction.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Great for studying historical market behavior around elections or for general reference of U.S. presidents during the early history of the country.
US Presidents 1920–2024Description:
This indicator displays all U.S. presidential elections from 1920 to 2024 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Modern flag style: Presidents from 1900 onward are highlighted as modern, giving clear historical separation.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Useful for analyzing modern U.S. presidential cycles, market reactions to elections, or quickly referencing recent presidents directly on charts.
Adaptive FoSThis library contains adaptive functions for some strategies from the general set of FoS (Force of Strategy) script. Mainly based on LastGuru libraries, but rewritten to work with specific conditions of the main script operation.
Trend/Chop/Range✅ CHOP, ADX, ATR-based Trend/Choppy/Range detection
✅ Multi-timeframe noise filtering
✅ Fully customizable dashboard and colors
✅ Auto ATR baseline (using 0.0 as a default input for auto-mode)
✅ Alerts for dominant market states
SExI - Super Exhaustion Indicator [Da_Prof]As we know, the RSI can remain at "overbought" or "oversold" levels for long periods of time while the price continues in that direction. The SExI (Super Exhaustion Indicator) is an indicator designed to help detect exhaustion of strong moves.
The SExI is a combination of the RSI and "upper" Aroon. For the indicator to trigger, the RSI has to be above or below a top/bottom trigger line when the Aroon has had a set number of drives up or down correspondingly. An Aroon top drive is defined as the Aroon hitting 100% on the current candle when the previous candle was below 100%. An Aroon bottom drive is defined as the Aroon hitting 0% on the current candle when the previous candle was above 0%. Consecutive top or bottom drives are counted and exhaustion triggers when these drives hit a setpoint (default is 5 drives = the Aroon exhaustion trigger). When Aroon exhaustion is triggered and the RSI is correspondingly above/below a trigger line, the overall indicator signals exhaustion. There are two lines for bottoms and tops, one each for a "normal" trigger and and an "extreme" trigger.
The Aroon drives are visualized at the top and bottom of the indicator. The RSI is plotted as a line that crosses top and bottom trigger lines. There are extreme trigger values for both the bottom and top exhaustion triggers.
--Da_Prof
Divergences v2.4 [LTB][SPTG]Open-source credit & license
Original author: LonesomeTheBlue.
This fork by: sirpipthegreat — with attribution to the original work.
License: Open-source, published under the MPL-2.0 (same license header in the code).
I am publishing this open-source in accordance with TradingView’s Open-source reuse rules.
What’s new:
- Fixes & stability (addresses “historical offset beyond buffer” errors)
- Capped and validated all historical indexing with guarded lookbacks (e.g., min(…, 200) style limits) to prevent referencing data beyond the buffer on shorter histories/thin symbols.
- Refactored highest/lowest bars scans to obey the cap and avoid cumulative overflows on long sessions.
- Added per-bar counters with safety clamps to ensure it never exceeds available history.
- Ensured HTF switching doesn’t create invalid offsets when the higher timeframe compresses history.
Modernization & user control:
- Pine v6 upgrade and re-organization of logic for clarity/performance.
- More predictable tops/bottoms detection.
What it does:
- Detects regular (trend-reversal) and optional hidden (trend-continuation) divergences between price swing tops/bottoms and the selected oscillator(s).
- Computes candidate pivots with a light HTF alignment to reduce micro-noise; validates divergence when oscillator and price move in opposite directions across those pivots.
- Plots colored lines/labels on price to highlight bearish (regular & hidden) and bullish (regular & hidden) patterns.
How to use:
- Choose the oscillator set you trust (start with RSI + MACD).
- Consider confluence (S/R, volume, trend filters). This tool only identifies conditions