HA EMA10.30 Pullback, Trend Bias, No ConsolidationThis script is a trend-bias + entry signal indicator built around the Heikin-Ashi pullback strategy you shared.
It does three main jobs:
Decides the market bias (LONG only, SHORT only, or NO TRADE)
Filters out consolidation / chop
Signals entries only when momentum aligns
Indicadores y estrategias
@subitrades AIO IndicatorAll In One Indicator by @subitrades
-Initial Balance
-Trading Sessions
-Monday High
-Monday Low
-VAH
-VAL
-POC
-Fibonacci
-VWAP
SolQuant WatermarkSignificance
The SolQuant Watermark is a layout management utility designed to improve chart ergonomics by organizing metadata into a persistent UI layer. By utilizing the Pine Script table functions, the tool ensures that essential contextual data remains anchored to the display area, preventing visual clutter during historical price action analysis.
Calculations & Methodology
Unlike standard labels or drawing objects which are anchored to specific price-time coordinates, this utility utilizes the Table API .
Coordinate Independence: The table logic renders objects relative to the screen dimensions rather than the price scale. This ensures the information remains visible regardless of vertical or horizontal scrolling.
Dynamic Metadata Injection: The script utilizes built-in variables ( syminfo.tickerid , timeframe.period ) to automatically update the UI with current asset data, ensuring data integrity across multiple chart layouts.
Screen Real Estate Optimization: The layout engine uses an anchoring system (9-point grid) to prevent overlap with technical indicators or price action.
Features
9-Point Anchor System: Allows for precision placement at any screen corner or center point to optimize workspace efficiency.
Adaptive Scaling: Includes 5 pre-configured scale settings to maintain readability across various device resolutions.
Visual Configuration: Full control over background opacity and border styles to align with specific "Dark Mode" or presentation philosophies.
Usage
Organization: Use the "Quote Text" field for internal notes or community identifiers.
Contextual Awareness: Enable "Symbol Info" to keep track of assets and timeframes during multi-chart analysis sessions.
Disclaimer
This is a visual utility tool intended for chart organization. It does not provide trade signals or financial advice.
SolQuant PVSRA VolumeSignificance
The SolQuant PVSRA Volume engine is a specialized implementation of Price, Volume, Support, and Resistance Analysis. It is designed to filter standard retail volume noise by identifying Vector Candles —high-intent price moves validated by specific statistical volume thresholds.
Standard volume bars do not distinguish between active market-maker participation and passive retail churn. This tool bridges that gap by isolating the "Fuel" behind price movement to validate the structural integrity of trends.
Calculations & Methodology
Unlike standard volume oscillators, this script utilizes a dual-axis calculation to define market participation:
Relative Intensity Calculation: The script calculates a 10-period simple moving average (SMA) of volume as a baseline. Every current volume bar is then measured as a percentage of this average.
Vector Tier Logic: Participation is categorized into three mathematically defined tiers:
Rising (1.5x): Indicates above-average momentum entering the market.
Peak (2.0x): Correlates with significant liquidity sweeps or structural breaks.
Climax (5.0x): Represents statistical extremes (500%+) where institutional participation is likely exhausted or a major trend is being initiated.
Cross-Exchange Synchronization: To solve the issue of fragmented liquidity in crypto spot markets, the script utilizes request.security logic. It allows users to overlay high-liquidity Binance Perpetual volume data onto any chart, providing a consolidated view of professional positioning.
Features
Synthetic Instrument Override: A proprietary toggle that re-routes volume sourcing to high-liquidity derivatives contracts for more accurate "Vector" detection.
Momentum Color-Coding: High-contrast visual mapping (Cyan/Violet/Gold) based on spread-to-volume ratios to distinguish between aggressive accumulation and passive distribution.
Integrated Smoothing: A volatility-adjusted volume MA to help traders identify when "Velocity" is entering the market.
Usage
Bob's Whale Hunter - V7 (Jorge's Algo)Trade like a whale, not the bait.
The Whale Hunter V7 is a high-performance toolkit specifically engineered for traders following Smart Money Concepts (SMC) and Institutional Price Action. This indicator automates the identification of high-probability zones based on the AMD (Accumulation, Manipulation, Distribution) cycle.
🚀 Key Features:
Institutional Liquidity Sweeps: Automatically detects liquidity grabs at key highs and lows. These are the exact spots where institutional "whales" enter the market by triggering retail stop losses.
Dynamic Fair Value Gaps (FVG): Highlights market imbalances that act as price magnets. This allows you to time your entries during the "rebalance" with surgical precision.
Multi-Timeframe Dashboard (HTF Matrix): A real-time panel showing the Macro bias (4H) versus the Entry trend (15m). Stay aligned with the higher-timeframe order flow at all times.
Elite Market Structure: An institutional-grade trend filter that shifts color based on market dominance, helping you distinguish between a deep retracement and a true trend reversal.
🛠 How to Trade it (The Institutional Checklist):
Macro Alignment: Check the Dashboard. If 4H is green, look for buy setups only. Never trade against the "Big Money" flow.
Identify the Sweep: Wait for the triangle signal (Sweep). This confirms that liquidity has been cleared and the "Manipulation Phase" is likely complete.
The Trigger (FVG): Once a Break of Structure (ChoCH) occurs after the sweep, look for entries within the highlighted FVG boxes that align with your OTE (Optimal Trade Entry) Fibonacci levels.
Targeting: Aim for the opposing liquidity pools or the next institutional level identified by the script.
"Trading is a game of probabilities. Follow the footprints left by the giants."
EMA Rebound Strategy: Stochastics & RSI Confirmation日本語解説は英文の次
Description
This indicator is a robust trend-following tool designed to capture high-probability "Buy the Dip" and "Sell the Rally" opportunities. It identifies precise entry points by combining long-term trend analysis with momentum oscillators.
🟢 How it Works (Long Setup)
Trend Identification: Price must be trading above the EMA 200, signaling a dominant bullish trend.
Mean Reversion/Pullback: Price approaches or touches the EMA 200 (within a customizable proximity percentage).
Oversold Condition: The Stochastics oscillator enters the oversold zone (<20), indicating a temporary price exhaustion.
Momentum Confirmation (Trigger): The RSI crosses back above the 50 level, confirming that bullish momentum has resumed.
🔴 How it Works (Short Setup)
Trend Identification: Price must be trading below the EMA 200.
Pullback: Price rallies back toward the EMA 200.
Overbought Condition: Stochastics enters the overbought zone (>80).
Momentum Confirmation (Trigger): RSI crosses below the 50 level, confirming the resumption of bearish momentum.
⚙️ Key Parameters
EMA Length: Default is 200. Defines the "Backbone" of the trend.
Proximity (%): Adjusts how close the price needs to get to the EMA to validate a "touch."
Stochastics & RSI: Fully customizable periods and levels to match your preferred timeframe.
Lookback Period: Sets the expiration for the "touch" and "oversold/bought" conditions to ensure the signal is timely.
💡 Best Use Cases
Timeframes: 15m, 1h, and 4h are recommended.
Assets: High-liquidity pairs like EUR/USD, USD/JPY, and Gold (XAU/USD).
Tip: For best results, ensure the EMA 200 is clearly sloped in the direction of the trade.
-------------------------------------------
解説
このインジケーターは、長期トレンドにおける「押し目買い」と「戻り売り」を的確に捉えるためのトレンドフォローツールです。EMA200をトレンドの基準(壁)とし、オシレーターで反発のタイミングを計ります。
🟢 買いサインの条件
環境認識: 価格が EMA200より上 で推移していること。
引きつけ: 価格がEMA200付近まで下落(接近・タッチ)すること。
調整確認: ストキャスティクス が売られ過ぎ水準(20以下)に到達。
反発確定: RSIが50を上抜ける 瞬間、トレンド回帰と判断しサインを表示します。
🔴 売りサインの条件
環境認識: 価格が EMA200より下 で推移していること。
引きつけ: 価格がEMA200付近まで上昇(接近・タッチ)すること。
調整確認: ストキャスティクス が買われ過ぎ水準(80以上)に到達。
反発確定: RSIが50を下抜ける 瞬間、トレンド回帰と判断しサインを表示します。
⚙️ 主なパラメータ設定
EMAの期間: デフォルトは200。トレンドの強弱を測る基準です。
EMA接近許容範囲 (%): EMAにどこまで近づいたら有効とするか。通貨ペアのボラティリティに合わせて調整可能です。
サイン有効期限(本数): EMAにタッチ後、何本以内にRSIが50を抜ける必要があるかを設定します。
💡 推奨される活用法
推奨時間足: 15分足、1時間足、4時間足。
推奨通貨ペア: ドル円、ユーロドル、ゴールドなど流動性の高い銘柄。
コツ: EMA200にしっかりとした「傾き」がある時にエントリーすることで、勝率を高めることができます。
Day/Month Returns Analysis [theUltimator5]This indicator calculates the average returns for day of the week, months of the year, and each Friday of the month, then gives a visualization of the average returns in green/red bars as well as the average percentage move.
You can select from (3) options.
1) Day of the week. This shows the average returns for each day of the week calculated back as far as your chart history goes. For crypto, it calculates all 7 days of the week. If not crypto, it does Monday through Friday
2) Month of the year. This shows the average returns for each month. Self explanatory
3) Friday of the month. This is a niche setting that lets you see the average returns of each Friday of the month, to track if there is any OPEX related consistency.
You can also set the start date for the indicator to start calculating from in the options. If there is a certain date that a symbol starts acting differently and you want to only calculate from that point forwards, you can.
The visuals appear as a table which can be repositioned to whichever section of your screen you would like.
This indicator works best on the daily timeframe since lower timeframes may not have enough bars back in history to calculate enough to make an average.
LCCM & C7Lục Chỉ Cầm Ma (LCCM)
This indicator replicates the Lục Chỉ Cầm Ma (LCCM) trading method developed by Khac Quy .
Lục Chỉ Cầm Ma (LCCM) is a rule-based breakout and trend-following trading method, originally designed for Gold (XAUUSD) and optimized for M15 and M30 timeframes.
The method focuses on key support and resistance levels (barriers), candle strength analysis, and MA20 for trade management.
🔹 Core Trading Logic
Buy Signal:
A buy setup is considered when a candle closes above a resistance barrier, indicating a valid breakout.
Sell Signal:
A sell setup is considered when a candle closes below a support barrier, indicating a downside breakout.
🔹 C7 Candle Pattern
🔸 C7CB (Basic 3-Candle Pattern)
C7CB consists of three consecutive candles with decreasing body size.
The body of candle 1 is larger than candle 2, and candle 2 is larger than candle 3.
This pattern indicates that trend momentum is weakening and buyers/sellers are losing control.
Usage:
Exit or partially close positions.
Alternatively, move stop loss to breakeven to protect profits.
🔸 C7CC (Extended 5-Candle Pattern)
C7CC is a five-candle consolidation pattern, consisting of:
One mother candle (largest range),
Followed by four inside candles with smaller ranges.
The final candle that breaks out of this structure is used to confirm trend continuation or reversal, depending on direction.
Usage:
If a strong reversal candle appears after C7CC, close existing positions.
If breakout aligns with the trend, traders may continue holding or add positions cautiously.
You can refer to other C7 patterns in the LCCM documentation by the author Khac Quy.
Intraday Refuges/Shelters (RID)==========================================
RID (INTRADAY SHELTERS/REFUGES) INDICATOR
==========================================
*Fair warning: this may be more words than a humble, simple indicator truly
needs… but Claude insisted.
// ** INTRODUCTION ** //
RID (Intraday Shelters/Refuges) is a lightweight, fast, and easy-to-implement
indicator designed for monitoring price action on intraday timeframes — the same
ones used by institutional operators to execute their trades within each market session.
The indicator generates a framework of support and resistance levels automatically
calculated from the asset's Daily Opening Price (D.O.P.). These levels are established
using fixed percentages that have proven their effectiveness in institutional trading
for decades, constituting "textbook" references widely adopted by market professionals.
RID integrates as an optional module within our Weekly Shelters (RS) indicator, allowing
the operator to simultaneously control their weekly positions and, when conditions warrant,
move down to intraday operations without loading additional indicators or losing sight
of the higher timeframe.
// ** INDICATOR FUNDAMENTALS ** //
The foundation of RID rests on a proven market principle: the daily opening price acts
as a "psychological anchor" that influences participant behavior throughout the entire session.
Why does this method work?
• UNIVERSAL REFERENCE POINT: The daily opening price is objective data, visible to all
market participants simultaneously. Institutions, algorithms, and retail traders use it
as a common reference to calibrate their decisions.
• STANDARD PERCENTAGE LEVELS: The percentages used (0.382%, 1.0%, 1.5%, 2.0%, 2.5% and
extensions) are not arbitrary. They represent intraday volatility thresholds that have
historically acted as inflection points across multiple asset classes.
• SELF-FULFILLING PROPHECY EFFECT: When a critical mass of operators place orders at the
same percentage levels —whether for profit-taking, protective stops, or entries—
these levels become high-probability price reaction zones.
• INSTITUTIONAL RISK MANAGEMENT: Institutional trading desks frequently define their daily
loss limits and profit targets in percentage terms relative to the open. RID captures
this logic and makes it visible for retail operators.
The ±0.382% level deserves special mention: it's a derivation of the Fibonacci golden ratio
(0.382) applied to the intraday context, representing the first significant movement threshold
from the opening.
// ** INDICATOR OBJECTIVES ** //
1) Facilitate manual intraday trade execution by providing a framework of target prices
established under a scheme of mathematical certainty, eliminating subjectivity in
defining entries, exits, and stops.
2) Serve as a lightweight and modular tool, easily integrable —either as an overlay or
source code— with strategies and indicators specialized in intraday trade execution,
both manual and automated.
3) Provide a visual reference framework that allows the operator to quickly assess the
intraday market "temperature": Is price near a key support or resistance? Has it already
reached the session's typical movement target? Is it time to seek entries or protect profits?
// ** INDICATOR TECHNICAL FEATURES ** //
• 21 CONFIGURABLE LEVELS: 11 main levels (±0.382%, ±1.0%, ±1.5%, ±2.0%, ±2.5% and D.O.P.)
plus 10 extended levels (±3.0% to ±5.0%) for high volatility sessions. Each level can
be individually enabled or disabled according to operator needs.
• AUTOMATIC D.O.P. DETECTION: The indicator automatically identifies the start of each daily
session and captures the opening price without user intervention.
• CONFIGURABLE HISTORY LIMIT: Option to limit processing to the last N days (default: 3),
optimizing performance on very low timeframes (1m, 5m) where excess historical data can
slow down the chart.
• PROFESSIONAL VISUALIZATION: Labels with formatted price (thousands separators) and
percentage, placeable with configurable offset. The D.O.P. level (0%) is highlighted
with differentiated width.
• VERTICAL REFERENCE LINES: From D.O.P. to each level, facilitating visualization of the
percentage distance traveled.
• FULL CUSTOMIZATION: Colors, widths, line styles (solid, dashed, dotted), label opacity,
and forward extension fully adjustable.
• PRICE SCALE INTEGRATION: Levels can be displayed on the right margin of TradingView,
controllable from the indicator's Style tab.
• BAR REPLAY COMPATIBILITY: Works perfectly with Bar Replay for back-testing
intraday strategies.
• OPTIMIZED PERFORMANCE: Efficient architecture with persistent arrays and intelligent
updating, suitable for timeframes down to 1 minute.
// ** OPERATING INSTRUCTIONS ** //
INITIAL SETUP:
1) Load the indicator on a chart with 4H or lower timeframe (1H, 30m, 15m, 5m, 1m).
2) Enable "Limit history by days" and adjust "Maximum days to display" according to your needs:
• For scalping (1m-5m): 1-2 days
• For day trading (15m-1H): 2-3 days
• For intraday swing (4H): 3-5 days
OPERATIONAL USE:
3) Identify the D.O.P. (0% line): This is your central reference point for the session.
4) Observe current price position relative to levels:
• Price above D.O.P. → Session with bullish bias
• Price below D.O.P. → Session with bearish bias
5) Use levels as:
• ENTRIES: Look for reversal signals when price reaches S1-S5 (buys) or R1-R5 (sells)
• TARGETS: Set take-profits at the next resistance level (longs) or support (shorts)
• STOPS: Place protective stops beyond the immediate opposite level
PRACTICAL RULES:
6) The ±1.0% and ±2.0% levels are historically most respected; prioritize them.
7) If price exceeds ±2.5% from open, it might be time to take profits and close your position
or consider enabling extended levels (±3.0% to ±5.0%).
8) High volatility days (news, earnings): wait for price to respect at least one level
before trading in its direction.
9) Combine RID with other indicators from our ecosystem (RS, RMP, RLP/RLPS) to confirm level
confluence across multiple timeframes.
VISUAL OPTIMIZATION:
10) For clean charts: keep enabled only main levels (±0.382% to ±2.5%).
11) For detailed volatile asset analysis: also enable extended levels.
12) Adjust "Label margin" to prevent overlap with current price.
// ** INTEGRATION WITH OTHER SHELTER VALUE INDICATORS ** //
RID is part of a complete shelter-based analysis ecosystem we have developed:
• RLP (Long-Term Shelters): For automatic determination of the preponderant phase
of a Zigzag, which institutional investors choose as the base of a Fibo whose
levels calculate order placement projection over the following months and years.
• RLPS (Simplified Long-Term Shelters): Simplified version of RLP where known
coordinates of the preponderant phase are captured, obtained through own analysis
or automatically with the RLP indicator.
• RMP (Medium-Term Shelters): Provides psychological shelter and resistance levels
that institutional investors establish at the beginning of each year. They
constitute the main framework used by professionals to plan operations
throughout the year.
• RS (Weekly Shelters): For short-term tactical analysis (4H, 1H) based on selected
phases of one or two Zigzags that define Fibo tracing, over recent major and minor
degree pauses, whose levels take effect during the current and following weeks.
• RID (Intraday Shelters): This indicator. For intraday operations based on levels
calculated from daily opening price, designed for 4H or lower timeframes,
including scalping strategies.
By combining RID with RLP/RLPS, RMP and RS, a multilevel scaffolding is built that
allows trading with clarity on any time horizon, from minute positions to operations
projected over months and years.
// ** NOTES ** //
• All comments regarding detected errors and improvement suggestions are welcome and deeply appreciated. Your feedback helps us refine these tools.
• To our Hispanic speaking friends, we sincerely regret to inform you that we have not
included the Spanish translation in the published version, due to our latent concern
regarding the ambiguous rules about prohibitions on publishing indicators documented
or described in languages other than English.
• Sharing is motivating because there’s no better way to receive genuine feedback
of real acceptance.
• RECOMMENDED VALIDATION METHOD: Use TradingView's Bar Replay to verify, session by
session, how price of your favorite asset interacts with RID levels. This personal
validation will give you statistical confidence before incorporating the indicator
into your actual trading.
Happy hunting in this magnificent jungle!
Global Session AlertsSee liquidity shifts before they happen. Session & market structure alerts, plotted X minutes early.
Global Session Alerts: Multi-Time-zone (Configurable Lead)
Clean, intraday session and structure alerts plotted directly on your chart: X minutes before the event, fully configurable.
This indicator draws vertical dotted lines + labels for key market sessions, rhythm shifts, and close mechanics, helping you anticipate liquidity and volatility before it hits.
Sessions
Asian Open / Close
London Open / Close
NY Open / Close
Rhythm / Structure
10:00am Reversal / Trend
Wall Street Lunch
PM Session
Power Hour
Close Mechanics
Pre-Close
HOOD Effect
Closing Cross
Features
Configurable lead time (minutes before event)
Editable event times + label text
Vertical or horizontal labels
Adjustable label size & offset
Per-group color + opacity
IANA timezone support (DST-aware)
Optional TradingView alerts
Intraday-only, non-repainting
Automatic cleanup (count-based & time-based)
Designed for SPX / ES / NQ / 0DTE scalpers who care about when the market moves, not just where.
BigMeesh_TBZ_EMA_BB3 EMAs + BB. This indicator is for my TBZ traders. It gives you the Bollinger bands and 3 EMAs that are all editable.
CTR Dual Custom MAs ProI added the ability to show projection dots to help get a feel for future path. Everything else is the same as my most recent custom MAs indicator. This is the latest and greatest.
Strat + 50% Rule TheSTRAT, a niche yet popular trading strategy, was developed by Rob Smith over his 30-year career in the financial markets. The method is praised for its objectivity and systematic approach, while its complexity and unique perspective make it less widely understood. TheSTRAT is a multi-timeframe strategy that focuses on three primary components: Inside Bars, Directional Bars, and Outside Bars. The approach also emphasizes several key principles, including Full Time Frame Continuity, Broadening Formations, and the significance of Inside Bars. With the indicator you will see the numbers on the Bars, you will see the Previous day, week, month Highs and Lows. You will see the table displaying the lastest Strat Bars as well as the 50% rule retracement... If above the previous week 50% the dot will turn green and viceversa if the opposite is true.
Trinity Scalping Direction DashbaordTrinity Scalping Dashboard – User Guide
**Purpose**
This indicator shows whether the current price is above or below the 5-period EMA across five key timeframes (5 min, 15 min, 1 hour, 4 hour, Daily).
It highlights when all five timeframes are aligned in the same direction (all bullish or all bearish), giving a clear "Buy", "Sell", or "No Trade Zone" signal.
**What the indicator displays**
- A dashboard table appears in one corner of the chart
- Each row shows one timeframe
- Text says "Above - Bullish" (green) or "Below - Bearish" (red) depending on whether current price is above or below the 5 EMA on that timeframe
- The bottom row shows the overall signal:
- **Buy** → all 5 timeframes are bullish (price > 5 EMA on every TF)
- **Sell** → all 5 timeframes are bearish (price < 5 EMA on every TF)
- **No Trade Zone** → mixed alignment (not all timeframes agree)
**Customizing the indicator**
- **EMA Period** — default is 5, but you can change it (e.g. to 8, 9, 13, etc.)
- **Colors** — adjust Bullish (green), Bearish (red), and No Trade (yellow) colors to your preference
- **Table Position** — choose Top Right, Bottom Right, or Bottom Left
- **Text Sizes** — separately control the size of the timeframe rows and the signal row (Tiny → Huge)
- **Header** — shows "Options Direction Dashboard" at the top of the table (you can edit the text in the code if desired)
**How to read the signal**
- **Strong Buy** — entire table green + bottom row says **Buy**
- **Strong Sell** — entire table red + bottom row says **Sell**
- **No clear direction** — mixed colors + bottom row says **No Trade Zone**
Only trade in the direction of the **full alignment** (all rows same color) for highest-probability setups.
**Alerts**
Three alert conditions are built-in:
1. **Buy Signal** — triggers when all timeframes become bullish
2. **Sell Signal** — triggers when all timeframes become bearish
3. **Signal Change** — triggers any time the overall signal changes (Buy ↔ Sell ↔ No Trade)
To set an alert:
- Right-click on the chart → **Add Alert**
- In **Condition**, select this indicator
- Choose one of the three conditions (Buy Signal / Sell Signal / Signal Change)
- Set frequency to **Once Per Bar Close** (recommended for most users)
- Customize notification (email, SMS, webhook, etc.)
**Best practices**
- Use for scalping when all EMA align and only take trades in the direction of the alignment.
- Use on higher timeframes (1H, 4H, Daily) for swing/position trading and use the smaller timeframe to time entries
- Combine with your existing price action, support/resistance or other filters
- The strongest setups occur when the signal flips from No Trade → Buy or No Trade → Sell
Andra Algo//@version=5
indicator(title="Andra Algo V 1.2", shorttitle="Andra Algo V1.2", overlay=true)
// =====================
// INPUT
// =====================
src = input(defval=close, title="Source")
per = input.int(defval=100, minval=1, title="Sampling Period")
mult = input.float(defval=3.0, minval=0.1, title="Range Multiplier")
// =====================
// COLOR SET
// =====================
buyLineColor = color.white
sellLineColor = color.blue
midColor = #90bff9
buyBgColor = color.new(color.gray, 20)
sellBgColor = color.new(color.blue, 20)
// =====================
// SMOOTH RANGE
// =====================
smoothrng(x, t, m) =>
wper = t * 2 - 1
avrng = ta.ema(math.abs(x - x ), t)
ta.ema(avrng, wper) * m
smrng = smoothrng(src, per, mult)
// =====================
// RANGE FILTER
// =====================
rngfilt(x, r) =>
rf = x
rf := x > nz(rf ) ?
(x - r < nz(rf ) ? nz(rf ) : x - r) :
(x + r > nz(rf ) ? nz(rf ) : x + r)
rf
filt = rngfilt(src, smrng)
// =====================
// TREND DIRECTION
// =====================
upward = 0.0
upward := filt > filt ? nz(upward ) + 1 : filt < filt ? 0 : nz(upward )
downward = 0.0
downward := filt < filt ? nz(downward ) + 1 : filt > filt ? 0 : nz(downward )
// =====================
// MID LINE COLOR
// =====================
filtColor = upward > 0 ? buyLineColor : downward > 0 ? sellLineColor : midColor
plot(filt, title="Mid Line", color=filtColor, linewidth=2)
// =====================
// BUY & SELL CONDITIONS
// =====================
longCond = src > filt and upward > 0
shortCond = src < filt and downward > 0
CondIni = 0
CondIni := longCond ? 1 : shortCond ? -1 : CondIni
longCondition = longCond and CondIni == -1
shortCondition = shortCond and CondIni == 1
// =====================
// SIGNALS (FIXED BG COLOR)
// =====================
plotshape(longCondition, title="Buy Signal", text="BUY", style=shape.labelup, location=location.belowbar, size=size.small, textcolor=color.white, color=buyBgColor)
plotshape(shortCondition, title="Sell Signal", text="SELL", style=shape.labeldown, location=location.abovebar, size=size.small, textcolor=color.white, color=sellBgColor)
// =====================
// ALERTS
// =====================
alertcondition(longCondition, title="Buy Alert", message="Andra Algo V1.2 BUY")
alertcondition(shortCondition, title="Sell Alert", message="Andra Algo V1.2 SELL")
200 SMA from 1H timeframe &LabelPlots the 200-period Simple Moving Average (SMA) calculated strictly on the 1-hour timeframe, visible and accurate on any chart timeframe (1m, 5m, 15m, 4H, daily, etc.).
• The line appears “stepped” on lower timeframes (normal/expected for higher-TF data).
• Includes a clean, updating label on the right edge showing the current 1H 200 SMA value.
• Optional faint background tint highlights new 1H bars for easy visual reference.
Ideal for: Multi-timeframe analysis, trend filtering, support/resistance on intraday charts, or confirming the broader hourly trend while trading lower timeframes.
PDH & PDLDescription (Copy & Paste)
Overview This is a lightweight, optimized indicator that displays the Previous Day High (PDH) and Previous Day Low (PDL) on intraday charts.
These levels are critical reference points for day traders, acting as key liquidity pools where price often reacts. Whether you are trading Mean Reversion (fading the edges) or Momentum (breakouts), knowing exactly where yesterday's auction limits were is essential context.
Key Features
Historical Accuracy: Plots historical levels using step-line style, allowing you to backtest how price reacted to PDH/PDL in the past.
Zero Clutter (V2 Optimization): Unlike standard indicators that spam labels on every bar, this version uses efficient var label logic. It maintains a single label instance that stays pinned to the current price action, keeping your chart clean.
Multi-Timeframe Ready: Fetches Daily data correctly regardless of your intraday timeframe (1m, 5m, 15m, etc.).
Fully Customizable: Toggle history lines or current labels on/off and adjust colors/width to fit your theme.
How to Use
Context: Use these levels to determine market sentiment. Opening above PDH suggests bullish imbalance; opening inside the range suggests balance/chop.
Entry Triggers: Watch for "Rejection" (wicks) or "Acceptance" (strong closes) at these lines.
Breakout: Price closes firmly outside the level with volume.
Reversal: Price sweeps the level and immediately reclaims the range.
Settings
Show Historical Levels: Enable to see the levels for previous days (useful for backtesting).
Show Current Labels: Enable to see the price tags on the hard right edge.
PDH(RTH)+PMH / PDL(RTH)+PML First Break + 3m EMA Retest + TPshows pre market levels, previous day levels, includes the 3min 9ema for the retest and a take profit indicator.
Volatility & Probability by Hour/DayVolatility & Probability by Hour/Day
Analyzes historical candle data to find statistically significant time-based patterns. Tracks green candle probability, volatility, and average returns broken down by hour (UTC), day of week, and their combinations.
What It Shows:
Hourly Table: P(Green), edge, volatility, and average return for each hour (00:00-23:00 UTC)
Day of Week Table: Same metrics aggregated by day (Sun-Sat)
Top Combinations: The 5 best bullish and 5 best bearish day+hour slots ranked by edge
Key Metrics:
P(Grn): Historical probability the candle closes green
Edge: Deviation from 50% (how tradeable the bias is)
Vol%: Average candle range as percentage of price
N: Sample size
Use Cases:
Identify optimal entry windows with statistical edge
Avoid low-edge, high-volatility periods (noise)
Find specific day+hour combinations with compounding edges
Time trades around recurring market patterns
Notes:
All times in UTC
Current period highlighted with ►
Best results on liquid assets with sufficient history
Edges are historical and not guaranteed to persist






















