Price‑EMA Z‑ScoreThis indicator calculates the delta between price and an ema and then goes to calculate zscore of this
Indicators and strategies
SH Vertical LinesSH Vertical Lines for specific of the day which is 2am, 6am, 10am, 2pm, 6pm, and 10pm
Asia Opening Range [fjk]Draws a box based on a timeframe and highs/lows for that timeframe with a few other options available to customise the box itself.
Bullish Reversal (RSI < 50)Uses MA20 and MA200
Detects bullish reversal patterns:
Hammer (not inverted)
Bullish Engulfing
RSI < 50 at the reversal
Pattern can occur above or below MA200
Prints "REVERSAL" below the candle when all conditions are met
Bullish Reversal (RSI < 50)Uses MA20 and MA200
Detects bullish reversal patterns:
Hammer (not inverted)
Bullish Engulfing
RSI < 50 at the reversal
Pattern can occur above or below MA200
Prints "REVERSAL" below the candle when all conditions are met
Bullish Reversal (Any MA200 Position)Here’s a simple and complete Pine Script v5 for TradingView 15-minute chart that detects bullish reversal candlestick patterns (Hammer and Bullish Engulfing), and prints the word "REVERSAL" below the candle, regardless of whether it's above or below MA200.
FVG Zones (Remove Filled) + AlertA powerful TradingView indicator that automatically identifies Fair Value Gap (FVG) zones, removes them once price “fills” the gap, and sends you crystal-clear alerts specifying Bull or Bear zones—so you never miss a market imbalance.
🔍 Key Features
Automatic FVG Detection
Spots three-candle imbalance patterns (low > high for Bull, high < low for Bear) and draws colored boxes on your chart.
Auto-Remove Filled Zones
Once price enters a gap, the corresponding box is deleted—keeping your chart clutter-free.
Dedicated Alerts
Two separate alert conditions with constant messages:
“Price filled Bull FVG zone”
“Price filled Bear FVG zone”
On-Chart Labels
Enable debugging to display Bull FVG or Bear FVG tags above the triggering candle.
Performance-Tuned
Supports up to 500 active zones without slowing down your chart.
⚙️ Inputs & Customization
Show Alert Labels (Boolean) – Toggle on-chart text labels.
Max Boxes Count (Integer) – Control the maximum number of zones displayed.
🚀 Stay Connected
Love the indicator? Have suggestions or questions? Let’s connect on Twitter:
👉 @BoaBias
Follow for more trading insights, indicator updates, and pro tips!
8/21 EMA Crossover + VWAP + 200 EMA8/21 EMA crossover with VWAP and slow moving average confirmation
CANX Candle I.D© CanxStixTrader
CANX Candle Identification tool
Fully customizable indicator for candle identification.
17 Different Candlestick Formations
The default script has:
Doji
Evening Star
Morning Star
Shooting Star
Hammer
Inverted Hammer
Bearish Harami
Bullish Harami
Bearish Engulfing
Bullish Engulfing
Piercing Line
Bullish Belt
Bullish Kicker
Bearish Kicker
Hanging man
Dark Cloud Cover
Keep it simple
© CanxStixTrader
RTH Session Range Position (0-100) with EMAA Pine Script indicator designed to help traders understand where the current price is located within the Regular Trading Hours (RTH) session range, from 0 (session low) to 100 (session high). It also plots a smoothed EMA of this position to provide insight into momentum or trend during the RTH session.
What the Indicator Does
Defines RTH (Regular Trading Hours):
Start: 9:30 AM
End: 4:00 PM
These are typical US equity market hours.
Tracks the session's high and low during RTH:
sessionHigh and sessionLow update only during RTH.
Calculates position of the current price within the RTH range:
Formula: ((close - sessionLow) / (sessionHigh - sessionLow)) * 100
Result is a percentage:
0 = at session low
100 = at session high
50 = middle of session range
Calculates an EMA of that position (posEMA):
Smooths out the raw position to help visualize momentum within the range.
Plots and table:
Plots pos and posEMA on a separate chart pane.
Adds horizontal lines at key levels (0, 30, 50, 70, 100).
Table shows current values for Position, EMA, and Range.
Visual cues:
bgcolor highlights when pos crosses over or under the EMA — potential momentum shifts.
Alerts:
Cross above/below 50 (session midpoint).
Cross above/below EMA.
How to Use It Effectively
1. Session Strength & Momentum
Position above 70: Price is near session highs — strong upward momentum.
Position below 30: Price is near session lows — strong downward momentum.
Use the EMA of position to filter out noise and identify trends.
2. Breakout or Reversal Detection
Cross above EMA: Momentum may be turning bullish.
Cross below EMA: Momentum may be turning bearish.
These crosses (especially near mid-levels like 50) can hint at session trend shifts.
3. Range Context for Entries
If you're a mean-reversion trader, look for:
Price > 70 + turning down below EMA → possible short.
Price < 30 + turning up above EMA → possible long.
For breakout traders, you might wait for:
Crosses above 70 with EMA support.
Crosses below 30 with EMA resistance.
4. Confirmation Tool
Use this indicator alongside others to confirm:
Whether price action has strength within the day.
Whether breakouts have real momentum or are extended already.
Open-Based Percentage Levelsv2
This is an updated version of my original script.
Changes:
I took off the displacement levels since there served no purpose on this script.
I also fixed it to where the percentage level lines are visible continually throughout the entire trading day. Old version had these lines disappearing.
I also updated the name to better reflect its purpose.
Now only works on 30 min and below as the higher time frames are meaningless. The older version allow higher time frames and the code is open source to adjust as desired
teyo_knn_machine_learningThis library is for creating KNN Machine Learning Signals with different Indicators
EMA ATR bandsDraws upper and lower bands N-ATR above and below the EMA of length of your choosing. Helpful for seeing if prices are running away from an average.
RTH Session Highs & LowsA Pine Script indicator designed to track and plot the Regular Trading Hours (RTH) session highs and lows on a chart, typically for U.S. equity markets (e.g., S&P 500, Nasdaq, etc.), which operate from 9:30 AM to 4:00 PM Eastern Time.
Session High & Low Lines:
During the RTH session, the indicator draws green and red horizontal lines that represent the highest and lowest price seen so far within that trading session.
These levels help traders identify intraday support (low) and resistance (high) levels.
New High/Low Markers:
Small triangle markers are placed:
Above the bar when a new intraday high is made (green triangle).
Below the bar when a new intraday low is made (red triangle).
This visually flags when momentum may be building or reversing.
Intraday Strategy Support:
Use the session high/low as dynamic support/resistance for scalping or breakout strategies.
For example:
Breakouts above session highs may indicate bullish strength.
Breakdowns below session lows may suggest bearish momentum.
Mean Reversion Tactics:
Prices approaching these lines and then rejecting can be used for mean reversion setups.
Combine with volume or candlestick patterns for confirmation.
Risk Management:
Set stops or targets relative to session highs/lows.
For instance, use session high as a stop-loss level in a short position.
Volatility Gauge:
Tracking how frequently new highs/lows are formed can help assess intraday volatility or range expansion.
Complement with Indicators:
Combine this with our "McGinley Dynamic Channel with Directional Shading" indicator or our "EMA Crossover with Shading" indicator to add context to breakouts or rejections.
My Strategy fo CashNot sure how it works but works excellent on NQ Futures on a 9 minute chart. Im still trying to automate. No experience there. Todays its 5/20/25 and the profit was 5k with only using 1 contract at a time. drawdown was 1500 or .1%. If you have any thoughts on automating please let me know. ill start researching t now, because with back testing it was profitable for the last 3 years. Thanks!
Deep Blue Sea Refactor [ALLDYN]Deep Blue Sea Refactor
A dynamic trend visualization tool that layers weighted moving averages and a stylized Ichimoku-inspired cloud to help traders map market momentum and structure across multiple timeframes.
🌀 Why Use It:
Visualizes the “depth” of market trend using color-coded momentum layers
Highlights short-term acceleration (WMA 5 vs 13) and medium- to long-term commitment (WMA 36 to 1440)
Identifies cloud compression and breakout potential via custom trend envelopes
Includes alert conditions for fast WMA crossovers (momentum shifts)
🎯 Who It’s For:
Visual traders who rely on color, rhythm, and structure
Swing, intraday, and scalpers looking to time entries off WMA confluence
Those who value clean, toggle-based control over complexity
📊 Features:
Short / Mid / Long-term WMA toggles
Color-adjusted cloud layers with transparency ranking
Legend table with MA explanations
Alerts for WMA 5/13 crossovers
💡 Inspired by the depth of the ocean: shallow = fast reaction, deep = structural confluence. Part of the FxAST Toolset Suite by @alldyn_pip_king.
D/W Open [flasi]Vertical Session Lines:
Draws vertical lines at the start of each new trading session (default: 5 PM)
Sunday sessions appear with black/dark lines
Weekday sessions appear with white/light lines
Horizontal Price Lines (optional):
Can show horizontal lines at the opening prices
Sunday opens marked with dark lines
Weekday opens marked with light lines
Toggle on/off with "Show Horizontal Lines" input
Stochastic RSI sinerjiportfoySTOCHASTIC RSI Sinerjiportfoy Versiyon.
It is aimed to reach more sensitive results by changing the settings in STOCHASTIC RSI. You can test it by trying
i am using this very much and liked it
EMA Scalping ToolUsing EMA for quick scalping trading.
EMA is an underrated moving averages for scalping. Using this method, we'll be using EMA9 and EMA21 as our support and resistance level. Use EMA21 as a mid trend and EMA9 as our entry and exit points.
OHLCVRangeXThe OHLCVRange library provides modular range-building utilities for Pine Script v6 based on custom conditions like time, price, volatility, volume, and pattern detection. Each function updates a persistent range (OHLCVRange) passed in from the calling script, based on live streaming candles.
This library is designed to support dynamic windowing over incoming OHLCV bars, with all persistent state handled externally (in the indicator or strategy). The library merely acts as a filter and updater, appending or clearing candles according to custom logic.
📦
export type OHLCVRange
OHLCV.OHLCV candles // Sliding window of candles
The OHLCVRange is a simple container holding an array of OHLCV.OHLCV structures.
This structure should be declared in the indicator using var to ensure persistence across candles.
🧩 Range Updater Functions
Each function follows this pattern:
export updateXxxRange(OHLCVRange r, OHLCV.OHLCV current, ...)
r is the range to update.
current is the latest OHLCV candle (typically from your indicator).
Additional parameters control the behavior of the range filter.
🔁 Function List
1. Fixed Lookback Range
export updateFixedRange(OHLCVRange r, OHLCV.OHLCV current, int barsBack)
Keeps only the last barsBack candles.
Sliding window based purely on number of bars.
2. Session Time Range
export updateSessionRange(OHLCVRange r, OHLCV.OHLCV current, int minuteStart, int minuteEnd)
Keeps candles within the [minuteStart, minuteEnd) intraday session.
Clears the range once out of session bounds.
3. Price Zone Range
export updatePriceZoneRange(OHLCVRange r, OHLCV.OHLCV current, float minP, float maxP)
Retains candles within the vertical price zone .
Clears when a candle exits the zone.
4. Consolidation Range
export updateConsolidationRange(OHLCVRange r, OHLCV.OHLCV current, float thresh)
Stores candles as long as the candle range (high - low) is less than or equal to thresh.
Clears on volatility breakout.
5. Volume Spike Range
export updateVolumeSpikeRange(OHLCVRange r, OHLCV.OHLCV current, float avgVol, float mult, int surround)
Triggers a new range when a volume spike ≥ avgVol * mult occurs.
Adds candles around the spike (total surround * 2 + 1).
Can be used to zoom in around anomalies.
6. Engulfing Pattern Range
export updateEngulfingRange(OHLCVRange r, OHLCV.OHLCV current, int windowAround)
Detects bullish or bearish engulfing candles.
Stores 2 * windowAround + 1 candles centered around the pattern.
Clears if no valid engulfing pattern is found.
7. HTF-Aligned Range
export updateHTFAlignedRange(OHLCVRange r, OHLCV.OHLCV current, OHLCV.OHLCV prevHtf)
Used when aligning lower timeframe candles to higher timeframe bars.
Clears and restarts the range on HTF bar transition (compare prevHtf.bar_index with current).
Requires external management of HTF candle state.
💡 Usage Notes
All OHLCVRange instances should be declared as var in the indicator to preserve state:
var OHLCVRange sessionRange = OHLCVRange.new()
sessionRange := OHLCVRange.updateSessionRange(sessionRange, current, 540, 900)
All OHLCV data should come from the OHLCVData library (v15 or later):
import userId/OHLCVData/15 as OHLCV
OHLCV.OHLCV current = OHLCV.getCurrentChartOHLCV()
This library does not use var internally to enforce clean separation of logic and persistence.
📅 Planned Enhancements
Fib zone ranges: capture candles within custom Fibonacci levels.
Custom event ranges: combine multiple filters (e.g., pattern + volume spike).
Trend-based ranges: windowing based on moving average or trend breaks.
Killzones (UTC+3) by Roy⏰ Time-Based Division – Trading Quarters:
The trading day is divided into four main quarters, each reflecting distinct market behaviours:
Opo Finance Blog
Quarter Time (Israel Time) Description
Q1 16:30–18:30 Wall Street opening; highest volatility.
Q2 18:30–20:30 Continuation or correction of the opening move.
Q3 20:30–22:30 Quieter market; often characterized by consolidation.
Q4 22:30–24:00 Preparation for market close; potential breakouts or sharp movements.
This framework assists traders in anticipating market dynamics within each quarter, enhancing decision-making by aligning strategies with typical intraday patterns.