#1 Vishal Toora Buy/Sell Table#1 Vishal Toora Buy/Sell Table
A multi-range volume analysis tool that tracks Short, Medium, and Long-term volume activity directly from recent candles.
It calculates Buy and Sell volumes for each range, shows their Delta (difference), and generates a combined Signal (Buy / Sell / Neutral) based on all active ranges.
Each column and the Signal row can be switched ON/OFF for custom clarity.
🧠 What the Numbers Represent (Candle Connection)
Each number represents total volume from a group of candles:
The script looks back a certain number of candles in each range (e.g., 2–3 candles for Short, 10–20 for Medium, 50–100 for Long).
It measures how much volume occurred on bullish candles (Buy) vs bearish candles (Sell).
Buy Volume (Green Numbers):
Volume from candles where price closed higher than it opened → bullish pressure.
Sell Volume (Red Numbers):
Volume from candles where price closed lower than it opened → bearish pressure.
Delta (White or Yellow Numbers):
The difference between Buy and Sell volumes within that range.
Positive → More bullish volume.
Negative → More bearish volume.
Larger absolute values = stronger imbalance between buyers and sellers.
Signal Row:
Summarizes all ranges’ deltas:
🟢 Buy → majority of ranges show positive delta.
🔴 Sell → majority show negative delta.
⚪ Neutral → roughly balanced or mixed candle behavior.
🎯 In Simple Terms
Each number in the table is a summary of what recent candles did —
it converts multiple candles’ volume data into clean, readable signals,
so you instantly see who’s in control (buyers or sellers) across short, medium, and long perspectives.
© 2025 Vishal Toora — counting volumes so you don’t have to.
Buy or Sell... or just stare at the screen.
Making deltas speak louder than your ex. 💀
Disclaimer:
This indicator is for educational and informational purposes only.
It does not guarantee accuracy or performance.
You are solely responsible for your trading decisions.
Scalp
RightFlow Universal Volume Profile - Any Market Any TimeframeSummary in one paragraph
 
RightFlow is a right anchored microstructure volume profile for stocks, futures, FX, and liquid crypto on intraday and daily timeframes. It acts only when several conditions align inside a session window and presents the result as a compact right side profile with value area, POC, a bull bear mix by price bin, and a HUD of profile VWAP and pressure shares. It is original because it distributes each bar’s weight into multiple mid price slices, blends bull bear pressure per bin with a CLV based split, and grows the profile to the right so price action stays readable. Add to a clean chart, read the table, and use the visuals. For conservative workflows read on bar close.
 Scope and intent 
• Markets. Major FX pairs, index futures, large cap equities and ETFs, liquid crypto.
• Timeframes. One minute to daily.
• Default demo used in the publication. SPY on 15 minute.
• Purpose. See where participation concentrates, which side dominated by price level, and how far price sits from VA and POC.
 Originality and usefulness 
• Unique fusion. Right anchored growth plus per bar slicing and CLV split, with weight modes Raw, Notional, and DeltaProxy.
• Failure mode addressed. False reads from single bar direction and coarse binning.
• Testability. All parts sit in Inputs and the HUD.
• Portable yardstick. Value Area percent and POC are universal across symbols.
• Protected scripts. Not applicable. Method and use are fully disclosed.
 Method overview in plain language 
Pick a scope Rolling or Today or This Week. Define a window and number of price bins. For each bar, split its range into small slices, assign each slice a weight from the selected mode, and split that weight by CLV or by bar direction. Accumulate totals per bin. Find the bin with the highest total as POC. Expand left and right until the chosen share of total volume is covered to form the value area. Compute profile VWAP for all, buyers, and sellers and show them with pressure shares.
 Base measures 
Range basis. High minus low and mid price samples across the bar window.
Return basis. Not used. VWAP trio is price weighted by weights.
 Components 
• RightFlow Bins. Price histogram that grows to the right.
• Bull Bear Split. CLV based 0 to 1 share or pure bar direction.
• Weight Mode. Raw volume, notional volume times close, or DeltaProxy focus.
• Value Area Engine. POC then outward expansion to target share.
• HUD. Profile VWAP, Buy and Sell percent, winner delta, split and weight mode.
• Session windows optional. Scope resets on day or week.
 Fusion rule 
Color of each bin is the convex blend of bull and bear shares. Value area shading is lighter inside and darker outside.
 Signal rule 
This is context, not a trade signal. A strong separation between buy and sell percent with price holding inside VA often confirms balance. Price outside VA with skewed pressure often marks initiative moves.
 What you will see on the chart 
• Right side bins with blended colors.
• A POC line across the profile width.
• Labels for POC, VAH, and VAL.
• A compact HUD table in the top right.
 Table fields and quick reading guide 
• VWAP. Profile VWAP.
• Buy and Sell. Pressure shares in percent.
• Delta Winner. Winner side and margin in percent.
• Split and Weight. The active modes.
Reading tip. When Session scope is Today or This Week and Buy minus Sell is clearly positive or negative, that side often controls the day’s narrative.
 Inputs with guidance 
Setup
• Profile scope. Rolling or session reset. Rolling uses window bars.
• Rolling window bars. Typical 100 to 300. Larger is smoother.
Binning
• Price bins. Typical 32 to 128. More bins increase detail.
• Slices per bar. Typical 3 to 7. Raising it smooths distribution.
Weighting
• Weight mode. Raw, Notional, DeltaProxy. Notional emphasizes expensive prints.
• Bull Bear split. CLV or BarDir. CLV is more nuanced.
• Value Area percent. Typical 68 to 75.
View
• Profile width in bars, color split toggle, value area shading, opacities, POC line, VA labels.
 Usage recipes 
Intraday trend focus
• Scope Today, bins 64, slices 5, Value Area 70.
• Split CLV, Weight Notional.
Intraday mean reversion
• Scope Today, bins 96, Value Area 75.
• Watch fades back to POC after initiative pushes.
Swing continuation
• Scope Rolling 200 bars, bins 48.
• Use Buy Sell skew with price relative to VA.
 Realism and responsible publication 
No performance claims. Shapes can move while a bar forms and settle on close. Education only.
 Honest limitations and failure modes 
Thin liquidity and data gaps can distort bin weights. Very quiet regimes reduce contrast. Session time is the chart venue time.
 Open source reuse and credits 
None.
 Legal 
Education and research only. Not investment advice. Test on history and simulation before live use.
DOGE_TRYING_SCALP_V093dont use this
this is for my fri
he entire purpose of this indicator is to automate the difficult part of the strategy—finding the perfect two-candle setup. It makes trading the system simple, visual, and mechanical.
The Three Key Visuals on Your Chart
The indicator gives you three pieces of information. Understanding them is the key to using it effectively.
The Yellow Candle (The "Setup Candle")
What it is: This is the "Rejection Wick Candle." It's the first candle in the two-part pattern.
What it means: "Get Ready." A potential trade setup is forming, but it is NOT a signal to enter yet. It tells you that the market tried to push in one direction and failed.
Your Action: Do nothing. Simply pay close attention to the next candle that is forming.
The Signal Triangle (The "Entry Trigger")
What it is: A green "LONG" triangle below the candle or a red "SHORT" triangle above the candle.
What it means: "GO." This is your confirmation. It only appears after the candle following the yellow one has closed and confirmed the direction of the trade.
Your Action: This is your signal to enter the trade immediately at the market price.
The Stop Loss Line (The "Safety Net")
What it is: A solid green or red line that appears at the same time as the Signal Triangle.
What it means: This is the exact price where your initial Stop Loss should be placed. The indicator calculates it for you automatically based on the rules.
Your Action: After entering the trade, place your Stop Loss order at this price level.
Step-by-Step Guide to Trading a LONG (Buy) Signal
Let's walk through a live example.
Step 1: The Setup Appears
You are watching the 15-minute chart. The price has been dropping. Suddenly, a candle with a long lower wick closes and the indicator colors it YELLOW.
What this tells you: The sellers tried to push the price down, but buyers stepped in and rejected the lower prices. This is a potential bottom.
Your Action: Do nothing yet. You are now waiting for confirmation.
Step 2: The Confirmation and Entry Trigger
You wait for the next 15-minute candle to complete. It closes as a green (bullish) candle. The moment it closes, three things appear instantly:
A green "LONG" triangle appears below that confirmation candle.
A solid green line appears at the low of the previous yellow candle.
The background of the two-candle pattern is shaded.
What this tells you: The rejection has been confirmed by bullish momentum. The system's rules for entry have been met.
Your Action:
Enter a BUY (Long) trade immediately.
Place your Stop Loss at the level of the solid green line.
Step 3: Manage the Trade
The indicator has done its job of getting you into a high-probability trade with a defined risk. Now, you manage the trade manually according to the strategy's rules (trailing your stop loss under the low of each new candle that makes a higher high).
Step-by-Step Guide to Trading a SHORT (Sell) Signal
Now, let's look at the opposite scenario.
Step 1: The Setup Appears
You are watching the 15-minute chart. The price has been rising. A candle with a long upper wick closes and the indicator colors it YELLOW.
What this tells you: The buyers tried to push the price up, but sellers took control and rejected the higher prices. This is a potential top.
Your Action: Wait for confirmation.
Step 2: The Confirmation and Entry Trigger
You wait for the next 15-minute candle to complete. It closes as a red (bearish) candle. The moment it closes, you will see:
A red "SHORT" triangle appear above that confirmation candle.
A solid red line appear at the high of the previous yellow candle.
The background of the pattern will be shaded.
What this tells you: The rejection has been confirmed by bearish momentum. It's time to sell.
Your Action:
Enter a SELL (Short) trade immediately.
Place your Stop Loss at the level of the solid red line.
Step 3: Manage the Trade
Just like before, your entry and initial risk are set. Your job now is to manage the trade by trailing your stop loss above the high of each new candle that makes a lower low.
Summary of the Workflow
Check H1 Trend (Optional but Recommended): Look at the 1-Hour chart to know if you should be favoring Buys or Sells.
Wait for Yellow: On the M15 chart, wait patiently for the indicator to color a candle yellow.
Wait for the Triangle: Wait for the next candle to close. If a green or red triangle appears, the setup is confirmed.
Execute: Enter your trade and immediately set your stop loss at the line the indicator provides.
Manage: Manage the rest of the trade manually.
Binary Options Fast Scalping [TradingFinder] M1 & M5 Signals🔵 Introduction 
In the structure of financial markets, spiky moments and sudden price movements play a key role in Liquidity Grabs and Market Structure Resets. These movements usually occur after the accumulation of orders in Buy Side or Sell Side Liquidity zones and are accompanied by rapid breaks in the form of Break of Structure (BoS) or Change of Character (CHoCH). 
At this stage, the market temporarily moves in the direction of liquidity to trigger counter orders and then enters a Retracement or Pullback phase, a point where professional traders using the Smart Money Concept (SMC) look for candle confirmation to enter with precision.
 This strategy is built upon the same logic : an initial spiky move as a signal of institutional or liquidity driven algorithms, followed by a controlled pullback toward areas such as the Order Block, Fair Value Gap (FVG), or Imbalance Zone, and finally an entry based on a strong confirmation candle (Engulf, Rejection, Breaker) that defines the true direction of order flow. 
  
This combination of price behavior, especially on lower timeframes such as M1 or M5, provides an ideal setup for fast Scalping, Micro Structure Trading, and even short term directional prediction in Binary Options Trading.
Since the main focus of this method is on identifying liquidity phases, structural confirmations, and momentum confirmation candles, the trader can design entries with high probability and logical stop loss placement using the concepts of Fractal Market Structure and Multi Timeframe Confirmation. 
In the scalping version, the main objective is to capture the move toward the next liquidity pool or opposite demand and supply zone, while in the binary version, only the prediction of the next candle’s direction matters. This strategy inherently operates based on Smart Money Behavior, Liquidity Engineering, and Order Flow Dynamics, allowing the extraction of fast and profitable moves from the internal logic of market structure.
  
  
🔵 How to Use 
The operational logic of this strategy is based on Liquidity Sweep, Pullback, and Confirmation Candle. The trader should first identify the initial Impulse Move, which is often accompanied by liquidity absorption around Buy Side or Sell Side Liquidity areas. After that, the market enters the Retracement phase and returns to structural zones such as the Order Block or the Fair Value Gap (FVG).
At this point, a position is taken only when a confirmation candle (Engulf, Breaker, or Rejection Candle) closes in the direction of continuation and aligns with the new structure (BOS or CHoCH). Applying this model on lower timeframes offers the highest precision for fast Scalping or for predicting the next candle’s direction in Binary Option trading.
🟣 Bullish Setup 
In the bullish setup, the market first forms a spiky upward move with a sudden increase in momentum, indicating the activation of liquidity flow in the Buy Side Liquidity zone. This movement is usually accompanied by a Break of Structure (BOS) to the upside and marks the beginning of the Impulse Move phase. After this move, the price enters the Pullback phase and returns to structural areas such as the Bullish Order Block, Fair Value Gap (FVG), or Mitigation zone. 
At this stage, the trader waits for a bullish confirmation candle (Bullish Engulf or Breaker Candle) to validate the end of the retracement. Entry is made at the close of the confirmation candle or on a minor pullback, with the stop loss placed below the Swing Low or below the pullback zone. The target is set at the next Buy Side Liquidity or Equal Highs. In the binary version, only the direction of the next candle matters and the entry takes place immediately after the confirmation candle.
  
🟣 Bearish Setup 
In the bearish setup, the market first forms a spiky downward move, signaling increased selling pressure and liquidity absorption at the Sell Side Liquidity zone. This movement is accompanied by a Break of Structure (BOS) to the downside and represents the beginning of a bearish momentum phase. After the spike, the price enters the Retracement phase and returns to the Bearish Order Block or bearish Fair Value Gap zone. Within these areas, the formation of a bearish confirmation candle (Bearish Engulf, Breaker, or Rejection Candle) validates the continuation of the downtrend. 
The entry is taken at the close of the confirmation candle, with the stop loss placed above the Swing High or above the pullback zone, and the target set toward the next Sell Side Liquidity or Equal Lows. In binary applications, only the direction of the next candle is considered and the confirmation candle serves as the entry trigger.
  
🔵 Conclusion 
This strategy, by combining the principles of the Smart Money Concept, Liquidity Dynamics, and Candle Confirmation Logic, offers a precise and multi functional approach to market entry. Its core structure, identifying the initial spiky movement, waiting for a structural pullback, and entering based on a confirmation candle allows quick interpretation of institutional liquidity behavior and provides trading opportunities with high accuracy and controlled risk. 
On lower timeframes, this logic becomes a powerful tool for Scalping and Micro Structure Trading, while in binary markets it delivers high success rates due to its focus on predicting the next candle’s direction. Built upon the foundations of Order Flow, Market Structure, and Fractal Liquidity Behavior, this strategy demonstrates that even in the fastest and noisiest market conditions, the order of Smart Money remains observable and exploitable.
LEGEND IsoPulse Fusion Universal Volume Trend Buy Sell RadarLEGEND IsoPulse Fusion • Universal Volume Trend Buy Sell Radar 
 One line summary 
LEGEND IsoPulse Fusion reads intent from price and volume together, learns which features matter most on your symbol, blends them into a single signed Fusion line in a stable unit range, and emits clear Buy Sell Close events with a structure gate and a liquidity safety gate so you act only when the tape is favorable.
 What this script is and why it exists 
Many traders keep separate windows for trend, volume, volatility, and regime filters. The result can feel fragmented. This script merges two complementary engines into one consistent view that is easy to read and simple to act on.
 
 LEGEND Tensor  estimates directional quality from five causally computed features that are normalized for stationarity. The features are Flow, Tail Pressure with Volume Mix, Path Curvature, Streak Persistence, and Entropy Order.
 IsoPulse  transforms raw volume into two decaying reservoirs for buy effort and sell effort using body location and wick geometry, then measures price travel per unit volume for efficiency, and detects volume bursts with a recency memory.
 
Both engines are mapped into the same unit range and fused by a regime aware mixer. When the tape is orderly the mixer leans toward trend features. When the tape is messy but a true push appears in volume efficiency with bursts the mixer allows IsoPulse to speak louder. The outcome is a single Fusion line that lives in a familiar range with calm behavior in quiet periods and expressive pushes when energy concentrates.
 What makes it original and useful 
 
 Two reservoir volume split . The script assigns a portion of the bar volume to up effort and down effort using body location and wick geometry together. Effort decays through time using a forgetting factor so memory is present without becoming sticky.
 Efficiency of move . Price travel per unit volume is often more informative than raw volume or raw range. The script normalizes both sides and centers the efficiency so it becomes signed fuel when multiplied by flow skew.
 Burst detection with recency memory . Percent rank of volume highlights bursts. An exponential memory of how recently bursts clustered converts isolated blips into useful context.
 Causal adaptive weighting . The LEGEND features do not receive static weights. The script learns, causally, which features have correlated with future returns on your symbol over a rolling window. Only positive contributions are allowed and weights are normalized for interpretability.
 Regime aware fusion . Entropy based order and persistence create a mixer that blends IsoPulse with LEGEND. You see a single line rather than two competing panels, which reduces decision conflict.
 
 How to read the screen in seconds 
 
 Fusion area . The pane fills above and below zero with a soft gradient. Deeper fill means stronger conviction. The white Fusion line sits on top for precise crossings.
 Entry guides and exit guides . Two entry guides draw symmetrically at the active fused entry level. Two exit guides sit inside at a fraction of the entry. Think of them as an adaptive envelope.
 Letters . B prints once when the script flips from flat to long. S prints once when the script flips from flat to short. C prints when a held position ends on the appropriate side. T prints when the structure gate first opens. A prints when the liquidity safety flag first appears.
 Price bar paint . Bars tint green while long and red while short on the chart to mirror your virtual position.
 HUD . A compact dashboard in the corner shows Fusion, IsoPulse, LEGEND, active entry and exit levels, regime status, current virtual position, and the vacuum z value with its avoid threshold.
 
 What signals actually mean 
 
 Buy . A Buy prints when the Fusion line crosses above the active entry level while gates are open and the previous state was flat.
 Sell . A Sell prints when the Fusion line crosses below the negative entry level while gates are open and the previous state was flat.
 Close . A Close prints when Fusion cools back inside the exit envelope or when an opposite cross would occur or when a gate forces a stop, and the previous state was a hold.
 Gates . The Trend gate requires sufficient entropy order or significant persistence. The Avoid gate uses a liquidity vacuum z score. Gates exist to protect you from weak tape and poor liquidity.
 
 Inputs and practical tuning 
Every input has a tooltip in the script. This section provides a concise reference that you can keep in mind while you work.
 Setup 
 
 Core window . Controls statistics across features. Scalping often prefers the thirties or low fifties. Intraday often prefers the fifties to eighties. Swing often prefers the eighties to low hundreds. Smaller responds faster with more noise. Larger is calmer.
 Smoothing . Short EMA on noisy features. A small value catches micro shifts. A larger value reduces whipsaw.
 
 Fusion and thresholds 
 
 Weight lookback . Sample size for weight learning. Use at least five times the horizon. Larger is slower and more confident. Smaller is nimble and more reactive.
 Weight horizon . How far ahead return is measured to assess feature value. Smaller favors quick reversion impulses. Larger favors continuation.
 Adaptive thresholds . Entry and exit levels from rolling percentiles of the absolute LEGEND score. This self scales across assets and timeframes.
 Entry percentile . Eighty selects the top quintile of pushes. Lower to seventy five for more signals. Raise for cleanliness.
 Exit percentile . Mid fifties keeps trades honest without overstaying. Sixty holds longer with wider give back.
 Order threshold . Minimum structure to trade. Zero point fifteen is a reasonable start. Lower to trade more. Raise to filter chop.
 Avoid if Vac z . Liquidity safety level. One point two five is a good default on liquid markets. Thin markets may prefer a slightly higher setting to avoid permanent avoid mode.
 
 IsoPulse 
 
 Iso forgetting per bar . Memory for the two reservoirs. Values near zero point nine eight to zero point nine nine five work across many symbols.
 Wick weight in effort split . Balance between body location and wick geometry. Values near zero point three to zero point six capture useful behavior.
 Efficiency window . Travel per volume window. Lower for snappy symbols. Higher for stability.
 Burst percent rank window . Window for percent rank of volume. Around one hundred to three hundred covers most use cases.
 Burst recency half life . How long burst clusters matter. Lower for quick fades. Higher for cluster memory.
 IsoPulse gain . Pre compression gain before the atan mapping. Tune until the Fusion line lives inside a calm band most of the time with expressive spikes on true pushes.
 Continuation and Reversal guides . Visual rails for IsoPulse that help you sense continuation or exhaustion zones. They do not force events.
 
 Entry sensitivity and exit fraction 
 
 Entry sensitivity . Loose multiplies the fused entry level by a smaller factor which prints more trades. Strict multiplies by a larger factor which selects fewer and cleaner trades. Balanced is neutral.
 Exit fraction . Exit level relative to the entry level in fused unit space. Values around one half to two thirds fit most symbols.
 
 Visuals and UX 
 
 Columns and line . Use both to see context and precise crossings. If you present a very clean chart you can turn columns off and keep the line.
 HUD . Keep it on while you learn the script. It teaches you how the gates and thresholds respond to your market.
 Letters . B S C T A are informative and compact. For screenshots you can toggle them off.
 Debug triggers . Show raw crosses even when gates block entries. This is useful when you tune the gates. Turn them off for normal use.
 
 Quick start recipes 
 Scalping one to five minutes 
 
 Core window in the thirties to low fifties.
 Horizon around five to eight.
 Entry percentile around seventy five.
 Exit fraction around zero point five five.
 Order threshold around zero point one zero.
 Avoid level around one point three zero.
 Tune IsoPulse gain until normal Fusion sits inside a calm band and true squeezes push outside.
 
 Intraday five to thirty minutes 
 
 Core window around fifty to eighty.
 Horizon around ten to twelve.
 Entry percentile around eighty.
 Exit fraction around zero point five five to zero point six zero.
 Order threshold around zero point one five.
 Avoid level around one point two five.
 
 Swing one hour to daily 
 
 Core window around eighty to one hundred twenty.
 Horizon around twelve to twenty.
 Entry percentile around eighty to eighty five.
 Exit fraction around zero point six zero to zero point seven zero.
 Order threshold around zero point two zero.
 Avoid level around one point two zero.
 
 How to connect signals to your risk plan 
This is an indicator. You remain in control of orders and risk.
 
 Stops . A simple choice is an ATR multiple measured on your chart timeframe. Intraday often prefers one point two five to one point five ATR. Swing often prefers one point five to two ATR. Adjust to symbol behavior and personal risk tolerance.
 Exits . The script already prints a Close when Fusion cools inside the exit envelope. If you prefer targets you can mirror the entry envelope distance and convert that to points or percent in your own plan.
 Position size . Fixed fractional or fixed risk per trade remains a sound baseline. One percent or less per trade is a common starting point for testing.
 Sessions and news . Even with self scaling, some traders prefer to skip the first minutes after an open or scheduled news. Gate with your own session logic if needed.
 
 Limitations and honest notes 
 
 No look ahead . The script is causal. The adaptive learner uses a shifted correlation, crosses are evaluated without peeking into the future, and no lookahead security calls are used. If you enable intrabar calculations a letter may appear then disappear before the close if the condition fails. This is normal for any cross based logic in real time.
 No performance promises . Markets change. This is a decision aid, not a prediction machine. It will not win every sequence and it cannot guarantee statistical outcomes.
 No dependence on other indicators . The chart should remain clean. You can add personal tools in private use but publications should keep the example chart readable.
 Standard candles only for public signals . Non standard chart types can change event timing and produce unrealistic sequences. Use regular candles for demonstrations and publications.
 
 Internal logic walkthrough 
 LEGEND feature block 
 
 Flow . Current return normalized by ATR then smoothed by a short EMA. This gives directional intent scaled to recent volatility.
 Tail pressure with volume mix . The relative sizes of upper and lower wicks inside the high to low range produce a tail asymmetry. A volume based mix can emphasize wick information when volume is meaningful.
 Path curvature . Second difference of close normalized by ATR and smoothed. This captures changes in impulse shape that can precede pushes or fades.
 Streak persistence . Up and down close streaks are counted and netted. The result is normalized for the window length to keep behavior stable across symbols.
 Entropy order . Shannon entropy of the probability of an up close. Lower entropy means more order. The value is oriented by Flow to preserve sign.
 Causal weights . Each feature becomes a z score. A shifted correlation against future returns over the horizon produces a positive weight per feature. Weights are normalized so they sum to one for clarity. The result is angle mapped into a compact unit.
 
 IsoPulse block 
 
 Effort split . The script estimates up effort and down effort per bar using both body location and wick geometry. Effort is integrated through time into two reservoirs using a forgetting factor.
 Skew . The reservoir difference over the sum yields a stable skew in a known range. A short EMA smooths it.
 Efficiency . Move size divided by average volume produces travel per unit volume. Normalization and centering around zero produce a symmetric measure.
 Bursts and recency . Percent rank of volume highlights bursts. An exponential function of bars since last burst adds the notion of cluster memory.
 IsoPulse unit . Skew multiplied by centered efficiency then scaled by the burst factor produces the raw IsoPulse that is angle mapped into the unit range.
 
 Fusion and events 
 
 Regime factor . Entropy order and streak persistence form a mixer. Low structure favors IsoPulse. Higher structure favors LEGEND. The blend is convex so it remains interpretable.
 Blended guides . Entry and exit guides are blended in the same way as the line so they stay consistent when regimes change. The envelope does not jump unexpectedly.
 Virtual position . The script maintains state. Buy and Sell require a cross while flat and gates open. Close requires an exit or force condition while holding. Letters print once at the state change.
 
 Disclosures 
 This script and description are educational. They do not constitute investment advice. Markets involve risk. You are responsible for your own decisions and for compliance with local rules. The logic is causal and does not look ahead. Signals on non standard chart types can be misleading and are not recommended for publication. When you test a strategy wrapper, use realistic commission and slippage, moderate risk per trade, and enough trades to form a meaningful sample, then document those assumptions if you share results. 
 Closing thoughts 
Clarity builds confidence. The Fusion line gives a single view of intent. The letters communicate action without clutter. The HUD confirms context at a glance. The gates protect you from weak tape and poor liquidity. Tune it to your instrument, observe it across regimes, and use it as a consistent lens rather than a prediction oracle. The goal is not to trade every wiggle. The goal is to pick your spots with a calm process and to stand aside when the tape is not inviting.
ATAI Volume analysis with price action V 1.00ATAI Volume Analysis with Price Action  
 1. Introduction 
 1.1 Overview 
ATAI Volume Analysis with Price Action is a composite indicator designed for TradingView. It combines  per‑side volume data —that is, how much buying and selling occurs during each bar—with standard price‑structure elements such as swings, trend lines and support/resistance. By blending these elements the script aims to help a trader understand which side is in control, whether a breakout is genuine, when markets are potentially exhausted and where liquidity providers might be active.
The indicator is built around TradingView’s up/down volume feed accessed via the TradingView/ta/10 library. The following excerpt from the script illustrates how this feed is configured:
import TradingView/ta/10 as tvta
// Determine lower timeframe string based on user choice and chart resolution
string lower_tf_breakout = use_custom_tf_input ? custom_tf_input :
     timeframe.isseconds  ? "1S" :
     timeframe.isintraday ? "1"  :
     timeframe.isdaily    ? "5"  : "60"
// Request up/down volume (both positive)
  = tvta.requestUpAndDownVolume(lower_tf_breakout)
 Lower‑timeframe selection.  If you do not specify a custom lower timeframe, the script chooses a default based on your chart resolution:  1 second  for second charts,  1 minute  for intraday charts,  5 minutes  for daily charts and  60 minutes  for anything longer. Smaller intervals provide a more precise view of buyer and seller flow but cover fewer bars. Larger intervals cover more history at the cost of granularity.
 Tick vs. time bars.  Many trading platforms offer  a tick / intrabar calculation  mode that updates an indicator on every trade rather than only on bar close. Turning on one‑tick calculation will give the most accurate split between buy and sell volume on the current bar, but it typically reduces the amount of historical data available. For the highest fidelity in live trading you can enable this mode; for studying longer histories you might prefer to disable it. When volume data is completely unavailable (some instruments and crypto pairs), all modules that rely on it will remain silent and only the price‑structure backbone will operate.
  
 Figure caption,  Each panel shows the indicator’s info table for a different volume sampling interval. In the left chart, the parentheses “(5)” beside the buy‑volume figure denote that the script is aggregating volume over five‑minute bars; the center chart uses “(1)” for one‑minute bars; and the right chart uses “(1T)” for a one‑tick interval. These notations tell you which lower timeframe is driving the volume calculations. Shorter intervals such as 1 minute or 1 tick provide finer detail on buyer and seller flow, but they cover fewer bars; longer intervals like five‑minute bars smooth the data and give more history.
   
 Figure caption, The values in parentheses inside the info table come directly from the Breakout — Settings. The first row shows the custom lower-timeframe used for volume calculations (e.g., “(1)”, “(5)”, or “(1T)”)
 2. Price‑Structure Backbone 
Even without volume, the indicator draws structural features that underpin all other modules. These features are always on and serve as the reference levels for subsequent calculations.
 2.1 What it draws 
•	 Pivots:  Swing  highs  and  lows  are detected using the pivot_left_input and pivot_right_input settings. A pivot high is identified when the high recorded pivot_right_input bars ago exceeds the highs of the preceding pivot_left_input bars and is also higher than (or equal to) the highs of the subsequent pivot_right_input bars; pivot lows follow the inverse logic. The indicator retains only a fixed number of such pivot points per side, as defined by point_count_input, discarding the oldest ones when the limit is exceeded.
•	 Trend lines:  For each side, the indicator connects the earliest stored pivot and the most recent pivot (oldest high to newest high, and oldest low to newest low). When a new pivot is added or an old one drops out of the lookback window, the line’s endpoints—and therefore its slope—are recalculated accordingly.
•	 Horizontal support/resistance:  The highest high and lowest low within the lookback window defined by length_input are plotted as horizontal dashed lines. These serve as short‑term support and resistance levels.
•	 Ranked labels:  If showPivotLabels is enabled the indicator prints labels such as “HH1”, “HH2”, “LL1” and “LL2” near each pivot. The ranking is determined by comparing the price of each stored pivot: HH1 is the highest high, HH2 is the second highest, and so on; LL1 is the lowest low, LL2 is the second lowest. In the case of equal prices the newer pivot gets the better rank. Labels are offset from price using  ½ × ATR × label_atr_multiplier,  with the ATR length defined by label_atr_len_input. A dotted connector links each label to the candle’s wick.
 2.2 Key settings 
•	 length_input:  Window length for finding the highest and lowest values and for determining trend line endpoints. A larger value considers more history and will generate longer trend lines and S/R levels.
•	 pivot_left_input, pivot_right_input:  Strictness of swing confirmation. Higher values require more bars on either side to form a pivot; lower values create more pivots but may include minor swings.
•	 point_count_input:  How many pivots are kept in memory on each side. When new pivots exceed this number the oldest ones are discarded.
•	 label_atr_len_input and label_atr_multiplier:  Determine how far pivot labels are offset from the bar using ATR. Increasing the multiplier moves labels further away from price.
•	 Styling inputs  for trend lines, horizontal lines and labels (color, width and line style).
  
 Figure caption,  The chart illustrates how the indicator’s price‑structure backbone operates. In this daily example, the script scans for bars where the high (or low) pivot_right_input bars back is higher (or lower) than the preceding pivot_left_input bars and higher or lower than the subsequent pivot_right_input bars; only those bars are marked as pivots.
     These pivot points are stored and ranked: the highest high is labelled “HH1”, the second‑highest “HH2”, and so on, while lows are marked “LL1”, “LL2”, etc. Each label is offset from the price by half of an ATR‑based distance to keep the chart clear, and a dotted connector links the label to the actual candle.
     The red diagonal line connects the earliest and latest stored high pivots, and the green line does the same for low pivots; when a new pivot is added or an old one drops out of the lookback window, the end‑points and slopes adjust accordingly. Dashed horizontal lines mark the highest high and lowest low within the current lookback window, providing visual support and resistance levels. Together, these elements form the structural backbone that other modules reference, even when volume data is unavailable.
 3. Breakout Module 
 3.1 Concept 
This module confirms that a price break beyond a recent high or low is supported by a genuine shift in buying or selling pressure. It requires price to clear the highest high (“HH1”) or lowest low (“LL1”) and, simultaneously, that the winning side shows a significant volume spike, dominance and ranking. Only  when all volume and price conditions pass  is a breakout labelled.
 3.2 Inputs 
•	 lookback_break_input :  This controls the number of bars used to compute moving averages and percentiles for volume. A larger value smooths the averages and percentiles but makes the indicator respond more slowly.
•	 vol_mult_input : The “spike” multiplier; the current buy or sell volume must be at least this multiple of its moving average over the lookback window to qualify as a breakout.
•	 rank_threshold_input (0–100) :  Defines a volume percentile cutoff: the current buyer/seller volume must be in the top (100−threshold)%(100−threshold)% of all volumes within the lookback window. For example, if set to 80, the current volume must be in the top 20 % of the lookback distribution.
•	 ratio_threshold_input (0–1) :  Specifies the minimum share of total volume that the buyer (for a bullish breakout) or seller (for bearish) must hold on the current bar; the code also requires that the cumulative buyer volume over the lookback window exceeds the seller volume (and vice versa for bearish cases).
•	 use_custom_tf_input / custom_tf_input :  When enabled, these inputs override the automatic choice of lower timeframe for up/down volume; otherwise the script selects a sensible default based on the chart’s timeframe.
•	 Label appearance settings :  Separate options control the ATR-based offset length, offset multiplier, label size and colors for bullish and bearish breakout labels, as well as the connector style and width.
 3.3 Detection logic 
 1.	Data preparation : Retrieve per‑side volume from the lower timeframe and take absolute values. Build rolling arrays of the last lookback_break_input values to compute simple moving averages (SMAs), cumulative sums and percentile ranks for buy and sell volume.
 2.	Volume spike:  A spike is flagged when the current buy (or, in the bearish case, sell) volume is at least vol_mult_input times its SMA over the lookback window.
 3.	Dominance test:  The buyer’s (or seller’s) share of total volume on the current bar must meet or exceed ratio_threshold_input. In addition, the cumulative sum of buyer volume over the window must exceed the cumulative sum of seller volume for a bullish breakout (and vice versa for bearish). A separate requirement checks the sign of delta: for bullish breakouts delta_breakout must be non‑negative; for bearish breakouts it must be non‑positive.
 4.	Percentile rank:  The current volume must fall within the top (100 – rank_threshold_input) percent of the lookback distribution—ensuring that the spike is unusually large relative to recent history.
 5.	Price test:  For a bullish signal, the closing price must close above the highest pivot (HH1); for a bearish signal, the close must be below the lowest pivot (LL1).
 6.	Labeling:  When all conditions above are satisfied, the indicator prints “Breakout ↑” above the bar (bullish) or “Breakout ↓” below the bar (bearish). Labels are offset using half of an ATR‑based distance and linked to the candle with a dotted connector.
  
 Figure caption,  (Breakout ↑ example) , On this daily chart, price pushes above the red trendline and the highest prior pivot (HH1). The indicator recognizes this as a valid breakout because the buyer‑side volume on the lower timeframe spikes above its recent moving average and buyers dominate the volume statistics over the lookback period; when combined with a close above HH1, this satisfies the breakout conditions. The “Breakout ↑” label appears above the candle, and the info table highlights that up‑volume is elevated relative to its 11‑bar average, buyer share exceeds the dominance threshold and money‑flow metrics support the move.
  
 Figure caption,  In this daily example, price breaks below the lowest pivot (LL1) and the lower green trendline. The indicator identifies this as a bearish breakout because sell‑side volume is sharply elevated—about twice its 11‑bar average—and sellers dominate both the bar and the lookback window. With the close falling below LL1, the script triggers a Breakout ↓ label and marks the corresponding row in the info table, which shows strong down volume, negative delta and a seller share comfortably above the dominance threshold.
 4. Market Phase Module (Volume Only) 
 4.1 Concept 
Not all markets trend; many cycle between periods of  accumulation  (buying pressure building up),  distribution  (selling pressure dominating) and  neutral  behavior. This module classifies the current bar into one of these phases  without using ATR , relying solely on buyer and seller volume statistics. It looks at net flows, ratio changes and an OBV‑like cumulative line with dual‑reference (1‑ and 2‑bar) trends. The result is displayed both as on‑chart labels and in a dedicated row of the info table.
 4.2 Inputs 
•	 phase_period_len:  Number of bars over which to compute sums and ratios for phase detection.
•	 phase_ratio_thresh : Minimum buyer share (for accumulation) or minimum seller share (for distribution, derived as 1 − phase_ratio_thresh) of the total volume.
•	 strict_mode:  When enabled, both the 1‑bar and 2‑bar changes in each statistic must agree on the direction (strict confirmation); when disabled, only one of the two references needs to agree (looser confirmation).
•	 Color customisation  for info table cells and label styling for accumulation and distribution phases, including ATR length, multiplier, label size, colors and connector styles.
•	 show_phase_module:  Toggles the entire phase detection subsystem.
•	 show_phase_labels:  Controls whether on‑chart labels are drawn when accumulation or distribution is detected.
 4.3 Detection logic 
The module computes three families of statistics over the volume window defined by phase_period_len:
 1.	Net sum (buyers minus sellers):  net_sum_phase = Σ(buy) − Σ(sell). A positive value indicates a predominance of buyers. The code also computes the differences between the current value and the values 1 and 2 bars ago (d_net_1, d_net_2) to derive up/down trends.
 2.	Buyer ratio:  The instantaneous ratio TF_buy_breakout / TF_tot_breakout and the window ratio Σ(buy) / Σ(total). The current ratio must exceed phase_ratio_thresh for accumulation or fall below 1 − phase_ratio_thresh for distribution. The first and second differences of the window ratio (d_ratio_1, d_ratio_2) determine trend direction.
 3.	OBV‑like cumulative net flow:  An on‑balance volume analogue obv_net_phase increments by TF_buy_breakout − TF_sell_breakout each bar. Its differences over the last 1 and 2 bars (d_obv_1, d_obv_2) provide trend clues.
The algorithm then combines these signals:
•	For  strict mode , accumulation requires: (a) current ratio ≥ threshold, (b) cumulative ratio ≥ threshold, (c) both ratio differences ≥ 0, (d) net sum differences ≥ 0, and (e) OBV differences ≥ 0. Distribution is the mirror case.
•	For  loose mode , it relaxes the directional tests: either the 1‑ or the 2‑bar difference needs to agree in each category.
If all conditions for accumulation are satisfied, the phase is labelled  “Accumulation” ; if all conditions for distribution are satisfied, it’s labelled  “Distribution” ; otherwise the phase is  “Neutral” .
 4.4 Outputs 
•	 Info table row : Row 8 displays “Market Phase (Vol)” on the left and the detected phase (Accumulation, Distribution or Neutral) on the right. The text colour of both cells matches a user‑selectable palette (typically green for accumulation, red for distribution and grey for neutral).
•	 On‑chart labels : When show_phase_labels is enabled and a phase persists for at least one bar, the module prints a label above the bar ( “Accum” ) or below the bar ( “Dist” ) with a dashed or dotted connector. The label is offset using ATR based on phase_label_atr_len_input and phase_label_multiplier and is styled according to user preferences.
  
 Figure caption, The chart displays a red “Dist” label above a particular bar, indicating that the accumulation/distribution module identified a distribution phase at that point. The detection is based on seller dominance: during that bar, the net buyer-minus-seller flow and the OBV‑style cumulative flow were trending down, and the buyer ratio had dropped below the preset threshold. These conditions satisfy the distribution criteria in strict mode. The label is placed above the bar using an ATR‑based offset and a dashed connector. By the time of the current bar in the screenshot, the phase indicator shows “Neutral” in the info table—signaling that neither accumulation nor distribution conditions are currently met—yet the historical “Dist” label remains to mark where the prior distribution phase began.
  
 Figure caption, In this example the market phase module has signaled an Accumulation phase. Three bars before the current candle, the algorithm detected a shift toward buyers: up‑volume exceeded its moving average, down‑volume was below average, and the buyer share of total volume climbed above the threshold while the on‑balance net flow and cumulative ratios were trending upwards. The blue “Accum” label anchored below that bar marks the start of the phase; it remains on the chart because successive bars continue to satisfy the accumulation conditions. The info table confirms this: the “Market Phase (Vol)” row still reads Accumulation, and the ratio and sum rows show buyers dominating both on the current bar and across the lookback window.
 5. OB/OS Spike Module 
 5.1 What overbought/oversold means here 
In many markets, a rapid extension up or down is often followed by a period of consolidation or reversal. The indicator interprets overbought (OB) conditions as abnormally strong selling risk at or after a price rally and oversold (OS) conditions as unusually strong buying risk after a decline. Importantly, these are not direct trade signals; rather they flag areas where caution or contrarian setups may be appropriate.
 5.2 Inputs 
•	 minHits_obos (1–7):  Minimum number of oscillators that must agree on an overbought or oversold condition for a label to print.
•	 syncWin_obos:  Length of a small sliding window over which oscillator votes are smoothed by taking the maximum count observed. This helps filter out choppy signals.
•	 Volume spike criteria:  kVolRatio_obos (ratio of current volume to its SMA) and zVolThr_obos (Z‑score threshold) across volLen_obos. Either threshold can trigger a spike.
•	 Oscillator toggles and periods:  Each of RSI, Stochastic (K and D), Williams %R, CCI, MFI, DeMarker and Stochastic RSI can be independently enabled; their periods are adjustable.
•	 Label appearance:  ATR‑based offset, size, colors for OB and OS labels, plus connector style and width.
 5.3 Detection logic 
 1.	Directional volume spikes:  Volume spikes are computed separately for buyer and seller volumes. A sell volume spike (sellVolSpike) flags a potential OverBought bar, while a buy volume spike (buyVolSpike) flags a potential OverSold bar. A spike occurs when the respective volume exceeds kVolRatio_obos times its simple moving average over the window or when its Z‑score exceeds zVolThr_obos.
 2.	Oscillator votes:  For each enabled oscillator, calculate its overbought and oversold state using standard thresholds (e.g., RSI ≥ 70 for OB and ≤ 30 for OS; Stochastic %K/%D ≥ 80 for OB and ≤ 20 for OS; etc.). Count how many oscillators vote for OB and how many vote for OS.
 3.	Minimum hits:  Apply the smoothing window syncWin_obos to the vote counts using a maximum‑of‑last‑N approach. A candidate bar is only considered if the smoothed OB hit count ≥ minHits_obos (for OverBought) or the smoothed OS hit count ≥ minHits_obos (for OverSold).
 4.	Tie‑breaking:  If both OverBought and OverSold spike conditions are present on the same bar, compare the smoothed hit counts: the side with the higher count is selected; ties default to OverBought.
 5.	Label printing:  When conditions are met, the bar is labelled as “OverBought X/7” above the candle or “OverSold X/7” below it. “X” is the number of oscillators confirming, and the bracket lists the abbreviations of contributing oscillators. Labels are offset from price using half of an ATR‑scaled distance and can optionally include a dotted or dashed connector line.
  
 Figure caption,  In this chart the overbought/oversold module has flagged an OverSold signal. A sell‑off from the prior highs brought price down to the lower trend‑line, where the bar marked “OverSold 3/7 DeM” appears. This label indicates that on that bar the module detected a buy‑side volume spike and that at least three of the seven enabled oscillators—in this case including the DeMarker—were in oversold territory. The label is printed below the candle with a dotted connector, signaling that the market may be temporarily exhausted on the downside. After this oversold print, price begins to rebound towards the upper red trend‑line and higher pivot levels.
  
 Figure caption, This example shows the overbought/oversold module in action. In the left‑hand panel you can see the OB/OS settings where each oscillator  (RSI, Stochastic, Williams %R, CCI, MFI, DeMarker and Stochastic RSI)  can be enabled or disabled, and the ATR length and label offset multiplier adjusted. On the chart itself, price has pushed up to the descending red trendline and triggered an “OverBought 3/7” label. That means the sell‑side volume spiked relative to its average and three out of the seven enabled oscillators were in overbought territory. The label is offset above the candle by half of an ATR and connected with a dashed line, signaling that upside momentum may be overextended and a pause or pullback could follow.
 6. Buyer/Seller Trap Module 
 6.1 Concept 
A bull trap occurs when price appears to break above resistance, attracting buyers, but fails to sustain the move and quickly reverses, leaving a long upper wick and trapping late entrants. A bear trap is the opposite: price breaks below support, lures in sellers, then snaps back, leaving a long lower wick and trapping shorts. This module detects such traps by looking for price structure sweeps, order‑flow mismatches and dominance reversals. It uses a scoring system to differentiate risk from confirmed traps.
 6.2 Inputs 
•	 trap_lookback_len:  Window length used to rank extremes and detect sweeps.
•	 trap_wick_threshold:  Minimum proportion of a bar’s range that must be wick (upper for bull traps, lower for bear traps) to qualify as a sweep.
•	 trap_score_risk:  Minimum aggregated score required to flag a trap risk. (The code defines a trap_score_confirm input, but confirmation is actually based on price reversal rather than a separate score threshold.)
•	 trap_confirm_bars:  Maximum number of bars allowed for price to reverse and confirm the trap. If price does not reverse in this window, the risk label will expire or remain unconfirmed.
•	 Label settings:  ATR length and multiplier for offsetting, size, colours for risk and confirmed labels, and connector style and width. Separate settings exist for bull and bear traps.
•	 Toggle inputs:  show_trap_module and show_trap_labels enable the module and control whether labels are drawn on the chart.
 6.3 Scoring logic 
The module assigns points to several conditions and sums them to determine whether a trap risk is present. For bull traps, the score is built from the following (bear traps mirror the logic with highs and lows swapped):
 1.	Sweep (2 points):  Price trades above the high pivot (HH1) but fails to close above it and leaves a long upper wick at least trap_wick_threshold × range. For bear traps, price dips below the low pivot (LL1), fails to close below and leaves a long lower wick.
 2.	Close break (1 point):  Price closes beyond HH1 or LL1 without leaving a long wick.
 3.	Candle/delta mismatch (2 points):  The candle closes bullish yet the order flow delta is negative or the seller ratio exceeds 50%, indicating hidden supply. Conversely, a bearish close with positive delta or buyer dominance suggests hidden demand.
 4.	Dominance inversion (2 points):  The current bar’s buyer volume has the highest rank in the lookback window while cumulative sums favor sellers, or vice versa.
 5.	Low‑volume break (1 point):  Price crosses the pivot but total volume is below its moving average.
The total score for each side is compared to trap_score_risk. If the score is high enough, a  “Bull Trap Risk”  or  “Bear Trap Risk”  label is drawn, offset from the candle by half of an ATR‑scaled distance using a dashed outline. If, within trap_confirm_bars, price reverses beyond the opposite level—drops back below the high pivot for bull traps or rises above the low pivot for bear traps—the label is upgraded to a solid  “Bull Trap”  or  “Bear Trap” . In this version of the code, there is no separate score threshold for confirmation: the variable trap_score_confirm is unused; confirmation depends solely on a successful price reversal within the specified number of bars.
  
 Figure caption, In this example the trap module has flagged a Bear Trap Risk. Price initially breaks below the most recent low pivot (LL1), but the bar closes back above that level and leaves a long lower wick, suggesting a failed push lower. Combined with a mismatch between the candle direction and the order flow (buyers regain control) and a reversal in volume dominance, the aggregate score exceeds the risk threshold, so a dashed “Bear Trap Risk” label prints beneath the bar. The green and red trend lines mark the current low and high pivot trajectories, while the horizontal dashed lines show the highest and lowest values in the lookback window. If, within the next few bars, price closes decisively above the support, the risk label would upgrade to a solid “Bear Trap” label.
  
 Figure caption, In this example the trap module has identified both ends of a price range. Near the highs, price briefly pushes above the descending red trendline and the recent pivot high, but fails to close there and leaves a noticeable upper wick. That combination of a sweep above resistance and order‑flow mismatch generates a Bull Trap Risk label with a dashed outline, warning that the upside break may not hold. At the opposite extreme, price later dips below the green trendline and the labelled low pivot, then quickly snaps back and closes higher. The long lower wick and subsequent price reversal upgrade the previous bear‑trap risk into a confirmed Bear Trap (solid label), indicating that sellers were caught on a false breakdown. Horizontal dashed lines mark the highest high and lowest low of the lookback window, while the red and green diagonals connect the earliest and latest pivot highs and lows to visualize the range.
 7. Sharp Move Module 
 7.1 Concept 
Markets sometimes display absorption or climax behavior—periods when one side steadily gains the upper hand before price breaks out with a sharp move. This module evaluates several order‑flow and volume conditions to anticipate such moves. Users can choose how many conditions must be met to flag a risk and how many (plus a price break) are required for confirmation.
 7.2 Inputs 
 •	sharp Lookback:  Number of bars in the window used to compute moving averages, sums, percentile ranks and reference levels.
 •	sharpPercentile:  Minimum percentile rank for the current side’s volume; the current buy (or sell) volume must be greater than or equal to this percentile of historical volumes over the lookback window.
 •	sharpVolMult:  Multiplier used in the volume climax check. The current side’s volume must exceed this multiple of its average to count as a climax.
 •	sharpRatioThr:  Minimum dominance ratio (current side’s volume relative to the opposite side) used in both the instant and cumulative dominance checks.
 •	sharpChurnThr:  Maximum ratio of a bar’s range to its ATR for absorption/churn detection; lower values indicate more absorption (large volume in a small range).
 •	sharpScoreRisk:  Minimum number of conditions that must be true to print a risk label.
 •	sharpScoreConfirm:  Minimum number of conditions plus a price break required for confirmation.
 •	sharpCvdThr:  Threshold for cumulative delta divergence versus price change (positive for bullish accumulation, negative for bearish distribution).
 •	Label settings:  ATR length (sharpATRlen) and multiplier (sharpLabelMult) for positioning labels, label size, colors and connector styles for bullish and bearish sharp moves.
 •	Toggles:  enableSharp activates the module; show_sharp_labels controls whether labels are drawn.
 7.3 Conditions (six per side) 
For each side, the indicator computes six boolean conditions and sums them to form a score:
 1.	Dominance (instant and cumulative): 
–	 Instant dominance:  current buy volume ≥ sharpRatioThr × current sell volume.
–	 Cumulative dominance:  sum of buy volumes over the window ≥ sharpRatioThr × sum of sell volumes (and vice versa for bearish checks).
 2.	Accumulation/Distribution divergence:  Over the lookback window, cumulative delta rises by at least sharpCvdThr while price fails to rise (bullish), or cumulative delta falls by at least sharpCvdThr while price fails to fall (bearish).
 3.	Volume climax:  The current side’s volume is ≥ sharpVolMult × its average and the product of volume and bar range is the highest in the lookback window.
 4.	Absorption/Churn:  The current side’s volume divided by the bar’s range equals the highest value in the window and the bar’s range divided by ATR ≤ sharpChurnThr (indicating large volume within a small range).
 5.	Percentile rank:  The current side’s volume percentile rank is ≥ sharp Percentile.
 6.	Mirror logic for sellers:  The above checks are repeated with buyer and seller roles swapped and the price break levels reversed.
Each condition that passes contributes one point to the corresponding side’s score (0 or 1). Risk and confirmation thresholds are then applied to these scores.
 7.4 Scoring and labels 
 •	Risk:  If scoreBull ≥ sharpScoreRisk, a “Sharp ↑ Risk” label is drawn above the bar. If scoreBear ≥ sharpScoreRisk, a “Sharp ↓ Risk” label is drawn below the bar.
 •	Confirmation:  A risk label is upgraded to “Sharp ↑” when scoreBull ≥ sharpScoreConfirm and the bar closes above the highest recent pivot (HH1); for bearish cases, confirmation requires scoreBear ≥ sharpScoreConfirm and a close below the lowest pivot (LL1).
 •	Label positioning:  Labels are offset from the candle by ATR × sharpLabelMult (full ATR times multiplier), not half, and may include a dashed or dotted connector line if enabled.
  
 Figure caption, In this chart both bullish and bearish sharp‑move setups have been flagged. Earlier in the range, a  “Sharp ↓ Risk”  label appears beneath a candle: the sell‑side score met the risk threshold, signaling that the combination of strong sell volume, dominance and absorption within a narrow range suggested a potential sharp decline. The price did not close below the lower pivot, so this label remains a “risk” and no confirmation occurred. Later, as the market recovered and volume shifted back to the buy side, a  “Sharp ↑ Risk”  label prints above a candle near the top of the channel. Here, buy‑side dominance, cumulative delta divergence and a volume climax aligned, but price has not yet closed above the upper pivot (HH1), so the alert is still a risk rather than a confirmed sharp‑up move.
  
 Figure caption, In this chart a Sharp ↑ label is displayed above a candle, indicating that the sharp move module has confirmed a bullish breakout. Prior bars satisfied the risk threshold — showing buy‑side dominance, positive cumulative delta divergence, a volume climax and strong absorption in a narrow range — and this candle closes above the highest recent pivot, upgrading the earlier “Sharp ↑ Risk” alert to a full Sharp ↑ signal. The green label is offset from the candle with a dashed connector, while the red and green trend lines trace the high and low pivot trajectories and the dashed horizontals mark the highest and lowest values of the lookback window.
 8. Market‑Maker / Spread‑Capture Module 
 8.1 Concept 
Liquidity providers often  “capture the spread”  by buying and selling in almost equal amounts within a very narrow price range. These bars can signal temporary congestion before a move or reflect algorithmic activity. This module flags bars where  both buyer and seller volumes are high,  the price range is only a few ticks and the buy/sell split remains close to 50%. It helps traders spot potential liquidity pockets.
 8.2 Inputs 
 •	scalpLookback:  Window length used to compute volume averages.
 •	scalpVolMult:  Multiplier applied to each side’s average volume; both buy and sell volumes must exceed this multiple.
 •	scalpTickCount:  Maximum allowed number of ticks in a bar’s range (calculated as (high − low) / minTick). A value of 1 or 2 captures ultra‑small bars; increasing it relaxes the range requirement.
 •	scalpDeltaRatio:  Maximum deviation from a perfect 50/50 split. For example, 0.05 means the buyer share must be between 45% and 55%.
 •	Label settings:  ATR length, multiplier, size, colors, connector style and width.
 •	Toggles :  show_scalp_module and show_scalp_labels to enable the module and its labels.
 8.3 Signal 
When, on the current bar, both TF_buy_breakout and TF_sell_breakout exceed scalpVolMult times their respective averages and (high − low)/minTick ≤ scalpTickCount and the buyer share is within scalpDeltaRatio of 50%, the module prints a  “Spread ↔”  label above the bar. The label uses the same ATR offset logic as other modules and draws a connector if enabled.
  
 Figure caption, In this chart the spread‑capture module has identified a potential liquidity pocket. Buyer and seller volumes both spiked above their recent averages, yet the candle’s range measured only a couple of ticks and the buy/sell split stayed close to 50 %. This combination met the module’s criteria, so it printed a grey “Spread ↔” label above the bar. The red and green trend lines link the earliest and latest high and low pivots, and the dashed horizontals mark the highest high and lowest low within the current lookback window.
 9. Money Flow Module 
 9.1 Concept 
To translate volume into a monetary measure, this module multiplies each side’s volume by the closing price. It tracks buying and selling system money default currency on a per-bar basis and sums them over a chosen period. The difference between buy and sell currencies (Δ$) shows net inflow or outflow.
 9.2 Inputs 
 •	mf_period_len_mf:  Number of bars used for summing buy and sell dollars.
 •	Label appearance settings:  ATR length, multiplier, size, colors for up/down labels, and connector style and width.
 •	Toggles:  Use enableMoneyFlowLabel_mf and showMFLabels to control whether the module and its labels are displayed.
 9.3 Calculations 
 •	Per-bar money:  Buy $ = TF_buy_breakout × close; Sell $ = TF_sell_breakout × close. Their difference is Δ$ = Buy $ − Sell $.
 •	Summations:  Over mf_period_len_mf bars, compute Σ Buy $, Σ Sell $ and ΣΔ$ using math.sum().
 •	Info table entries:  Rows 9–13 display these values as texts like “↑ USD 1234 (1M)” or “ΣΔ USD −5678 (14)”, with colors reflecting whether buyers or sellers dominate.
 •	Money flow status:  If Δ$ is positive the bar is marked  “Money flow in” ; if negative,  “Money flow out” ; if zero, “Neutral”. The cumulative status is similarly derived from ΣΔ.Labels print at the bar that changes the sign of ΣΔ, offset using ATR × label multiplier and styled per user preferences.
  
 Figure caption, The chart illustrates a steady rise toward the highest recent pivot (HH1) with price riding between a rising green trend‑line and a red trend‑line drawn through earlier pivot highs. A green Money flow in label appears above the bar near the top of the channel, signaling that net dollar flow turned positive on this bar: buy‑side dollar volume exceeded sell‑side dollar volume, pushing the cumulative sum ΣΔ$ above zero. In the info table, the  “Money flow (bar)”  and  “Money flow Σ”  rows both read In, confirming that the indicator’s money‑flow module has detected an inflow at both bar and aggregate levels, while other modules (pivots, trend lines and support/resistance) remain active to provide structural context.
  
In this example the Money Flow module signals a net outflow. Price has been trending downward: successive high pivots form a falling red trend‑line and the low pivots form a descending green support line. When the latest bar broke below the previous low pivot (LL1), both the bar‑level and cumulative net dollar flow turned negative—selling volume at the close exceeded buying volume and pushed the cumulative Δ$ below zero. The module reacts by printing a red  “Money flow out”  label beneath the candle; the info table confirms that the “Money flow (bar)” and “Money flow Σ” rows both show Out, indicating sustained dominance of sellers in this period.
 10. Info Table 
 10.1 Purpose 
When enabled, the Info Table appears in the lower right of your chart. It summarises key values computed by the indicator—such as buy and sell volume, delta, total volume, breakout status, market phase, and money flow—so you can see at a glance which side is dominant and which signals are active.
 10.2 Symbols 
•	↑ / ↓ — Up (↑) denotes buy volume or money; down (↓) denotes sell volume or money.
•	MA — Moving average. In the table it shows the average value of a series over the lookback period.
•	Σ (Sigma) — Cumulative sum over the chosen lookback period.
•	Δ (Delta) — Difference between buy and sell values.
•	B / S — Buyer and seller share of total volume, expressed as percentages.
•	Ref. Price — Reference price for breakout calculations, based on the latest pivot.
•	Status — Indicates whether a breakout condition is currently active (True) or has failed.
 10.3 Row definitions 
1.	Up volume / MA up volume – Displays current buy volume on the lower timeframe and its moving average over the lookback period.
2.	Down volume / MA down volume – Shows current sell volume and its moving average; sell values are formatted in red for clarity.
3.	Δ / ΣΔ – Lists the difference between buy and sell volume for the current bar and the cumulative delta volume over the lookback period.
4.	Σ / MA Σ (Vol/MA) – Total volume (buy + sell) for the bar, with the ratio of this volume to its moving average; the right cell shows the average total volume.
5.	B/S ratio – Buy and sell share of the total volume: current bar percentages and the average percentages across the lookback period.
6.	Buyer Rank / Seller Rank – Ranks the bar’s buy and sell volumes among the last (n) bars; lower rank numbers indicate higher relative volume.
7.	Σ Buy / Σ Sell – Sum of buy and sell volumes over the lookback window, indicating which side has traded more.
8.	Breakout UP / DOWN – Shows the breakout thresholds (Ref. Price) and whether the breakout condition is active (True) or has failed.
9.	Market Phase (Vol) – Reports the current volume‑only phase: Accumulation, Distribution or Neutral.
10.	Money Flow – The final rows display dollar amounts and status:
–	↑ USD / Σ↑ USD – Buy dollars for the current bar and the cumulative sum over the money‑flow period.
–	↓ USD / Σ↓ USD – Sell dollars and their cumulative sum.
–	Δ USD / ΣΔ USD – Net dollar difference (buy minus sell) for the bar and cumulatively.
–	Money flow (bar) – Indicates whether the bar’s net dollar flow is positive (In), negative (Out) or neutral.
–	Money flow Σ – Shows whether the cumulative net dollar flow across the chosen period is positive, negative or neutral.
  
The chart above shows a sequence of different signals from the indicator. A Bull Trap Risk appears after price briefly pushes above resistance but fails to hold, then a green Accum label identifies an accumulation phase. An upward breakout follows, confirmed by a Money flow in print. Later, a Sharp ↓ Risk warns of a possible sharp downturn; after price dips below support but quickly recovers, a Bear Trap label marks a false breakdown. The highlighted info table in the center summarizes key metrics at that moment, including current and average buy/sell volumes, net delta, total volume versus its moving average, breakout status (up and down), market phase (volume), and bar‑level and cumulative money flow (In/Out).
 11. Conclusion & Final Remarks 
This indicator was developed as a holistic study of market structure and order flow. It brings together several well‑known concepts from technical analysis—breakouts, accumulation and distribution phases, overbought and oversold extremes, bull and bear traps, sharp directional moves, market‑maker spread bars and money flow—into a single Pine Script tool. Each module is based on widely recognized trading ideas and was implemented after consulting reference materials and example strategies, so you can see in real time how these concepts interact on your chart.
A distinctive feature of this indicator is its reliance on per‑side volume: instead of tallying only total volume, it separately measures buy and sell transactions on a lower time frame. This approach gives a clearer view of who is in control—buyers or sellers—and helps filter breakouts, detect phases of accumulation or distribution, recognize potential traps, anticipate sharp moves and gauge whether liquidity providers are active. The money‑flow module extends this analysis by converting volume into currency values and tracking net inflow or outflow across a chosen window.
Although comprehensive, this indicator is intended solely as a guide. It highlights conditions and statistics that many traders find useful, but it does not generate trading signals or guarantee results. Ultimately, you remain responsible for your positions. Use the information presented here to inform your analysis, combine it with other tools and risk‑management techniques, and always make your own decisions when trading.
Killzone -WinCAlgoWhat is this Indicator?
The Killzone Trading Sessions Indicator is a comprehensive tool designed to identify and visualize the most important trading sessions across all financial markets. This indicator highlights key timeframes when institutional traders and market makers are most active, creating high-probability trading opportunities in stocks, crypto, commodities, and indices.
How to Use:
- Session Boxes: Each colored box represents a trading session's high and low range
- EQ-OTE Levels: Look for price reactions at 50% and 70% levels within sessions
- Silver Bullets: Purple background highlights high-probability reversal times
- CBDR Analysis: Use deviation levels to identify potential breakout targets
Trading Strategy:
- Wait for price to enter a killzone session
- Look for liquidity sweeps at session highs/lows
- Enter trades at EQ-OTE levels with proper risk management
- Use Silver Bullet times for precise entry timing
- Target deviation levels for profit-taking
Adaptive HMA Trendfilter & Profit SpikesShort Description
Adaptive trend-following filter using Hull Moving Average (HMA) slope.
Includes optional Keltner Channel entries/exits and dynamic spike-based take-profit markers (ATR/Z-Score).
Optional Fast HMA for early entry visualization (not included in logic).
USER GUIDE:
1) Quick Overview
Trend Filter: Slow HMA defines Bull / Bear / Sideways (via slope & direction).
Entries / Exits:
Entry: Color change of the slow HMA (red→green = Long, green→red = Short), optionally filtered by the Keltner basis.
Exit: Preferably via Keltner Band (Long: Close under Upper Band; Short: Close above Lower Band).
Fallback: exit on opposite HMA color change.
Take-Profit Spikes: Marks abnormal moves (ATR, Z-Score, or both) as discretionary TP signals.
Fast HMA (optional): Purely visual for early entry opportunities; not part of the core trading logic (see §5).
2) Adding & Basic Setup
Add the indicator to your chart.
Open Settings (gear icon) and configure:
HMA: Slow HMA Length = 55, Slope Lookback = 10, Slope Threshold = 0.20%.
Keltner: KC Length = 20, Multiplier = 1.5.
Spike-TP: Mode = ATR+Z, ATR Length = 14, Z Length = 20, Cooldown = 5.
Optionally: enable Fast HMA (e.g., length = 20).
3) Input Parameters – Key Controls
Slow HMA Length: Higher = smoother, fewer but cleaner signals.
Slope Lookback: How far back HMA slope is compared against.
Slope Threshold (%): Minimum slope to avoid “Sideways” regime.
KC Length / Multiplier: Width and reactivity of Keltner Channels.
Exits via KC Bands: Toggle on/off (recommended: on).
Entries only above/below KC Basis: Helps filter out chop.
Spike Mode: Choose ATR, Z, or ATR+Z (stricter, fewer signals).
Spikes only when in position: TP markers show only when you’re in a trade.
4) Entry & Exit Logic
Entries
Long: Slow HMA turns from red → green, and (if filter enabled) Close > KC Basis.
Short: Slow HMA turns from green → red, and (if filter enabled) Close < KC Basis.
Exits
KC Exit (recommended):
Long → crossunder(close, Upper KC) closes trade.
Short → crossover(close, Lower KC).
Fallback Exit: If KC Exits are off → exit on opposite HMA color change.
Spike-TP (Discretionary)
Marks unusually large deviations from HMA.
Use for partial profits or tightening stops.
⚠️ Not auto-traded — only marker/alert.
5) Early Entry Opportunities (Fast HMA Cross – visual only)
The script can optionally display a Fast HMA (e.g., 20) alongside the Slow HMA (e.g., 55).
Bullish early hint: Fast HMA crosses above Slow HMA, or stays above, before the Slow HMA officially turns green.
Bearish early hint: opposite.
⚠️ These signals are not part of the built-in logic — they are purely discretionary:
Advantage: Earlier entries, more profit potential.
Risk: Higher chance of whipsaws.
Practical workflow (early long entry):
Fast HMA crosses above Slow HMA AND Close > KC Basis.
Enter small position with tight stop (under KC Basis or HMA swing).
Once Slow HMA confirms green → add to position or trail stop tighter.
6) Recommended Presets
Crypto (1h/2h):
HMA: 55 / 10 / 0.20–0.30%
KC: 20 / 1.5–1.8
Spikes: ATR+Z, ATR=14, Z=20, Cooldown 5
FX (1h/4h):
HMA: 55 / 8–10 / 0.10–0.25%
KC: 20 / 1.2–1.5
Indices (15m/1h):
HMA: 50–60 / 8–12 / 0.15–0.30%
KC: 20 / 1.3–1.6
Fine-tuning:
Too noisy? → Raise slope threshold or increase HMA length.
Too sluggish? → Lower slope threshold or shorten HMA length.
7) Alerts – Best Practice
Long/Short Entry – get notified when trend color switches & KC filter is valid.
Long/Short Exit – for KC exits or fallback exits.
Long/Short Spike TP – for discretionary profit-taking.
Set via TradingView: Create Alert → Select this indicator → choose condition.
8) Common Pitfalls & Tips
Too many false signals?
Raise slope threshold (more “Sideways” filtering).
Enable KC filter for entries.
Entries too late?
Use Fast HMA cross for early discretionary entries.
Or lower slope threshold slightly.
Spikes too rare/frequent?
More frequent → ATR mode or lower ATR multiplier / Z-threshold.
Rarer but stronger → ATR+Z with higher thresholds.
9) Example Playbook (Long Trade)
Regime: Slow HMA still red, Fast HMA crosses upward (early hint).
Filter: Close > KC Basis.
Early Entry: Small size, stop below KC Basis or recent swing low.
Confirmation: Slow HMA turns green → scale up or trail stop.
Management: Partial profits at Spike-TP marker; full exit at KC upper band break.
Scalp Sense AI# Scalp Sense AI (No Repaint)
**Adaptive trend & reversal detector with an AI-driven score, multi-timeframe confirmations, robust volume filters, and a purpose-built Scalping Mode.**
Signals are generated **only on bar close** (no repaint), include structured alert payloads for webhooks, and come with optional ATR-based TP/SL visualization for study and validation.
---
## What it is (in one paragraph)
**Scalp Sense AI** combines classic market structure (DI/ADX, EMA, SMA, Keltner, ATR) with a continuous **AI Score** that fuses RSI normalization, EMA distance (in ATR units), and DI edge into a single, volatility-aware signal. It adaptively gates **trend** and **reversal** entries, applies **HTF confirmation** without lookahead, and enforces **guard rails** (e.g., strong-trend reversal blocking) unless a high-confidence AI override and volume confirmation are present. **Scalping Mode** compresses reaction times and adds micro price-action cues (wick rejections, micro-EMA crosses, small engulfing) to surface more—but disciplined—opportunities.
---
## Non-Repainting Design
* All signals, markers, state, and alerts are computed **after bar close** using `barstate.isconfirmed`.
* HTF data are requested with `lookahead_off`.
* No “future-peeking” constructs are used.
* Result: signals do **not** change after the candle closes.
---
## How the engine works (pipeline overview)
1. **Base metrics**
   * **RSI**, **EMA**, **ATR** (+ ATR SMA for regime/volatility), **SMA long & short**, **Keltner** (EMA ± ATR×mult).
   * **Manual DI/ADX** for fine control (DM+, DM−, true range smoothing).
2. **Volatility regime**
   * Compares ATR to its SMA and scales thresholds by √(ATR/ATR\_SMA) → robust “high\_vol” gating.
3. **Volume & flow**
   * **Volume Z-score**, **OBV slope**, and **MFI** (all computed manually) to confirm impulses and filter weak reversals.
4. **Higher-Timeframe confirmation (optional)**
   * Imports HTF **PDI/MDI/ADX** and **SMA** (no lookahead) to require alignment when enabled.
5. **AI Score**
   * Weighted fusion of **RSI (normalized around 0)**, **EMA distance (in ATR)**, and **DI edge**.
   * Smoothed; then its **mean (μ)** and **volatility (σ)** are estimated to form **adaptive bands** (hi/lo), with optional **hysteresis**.
   * **Debounce** (M in N bars) avoids flicker; **bias state** persists until truly invalidated.
6. **Signal logic**
   * **Trend entries** require AI bias + trend confirmations (DI/ADX/SMA, HTF if enabled), volatility OK, and **anti-breakout** filter.
   * **Reversal entries** come in **core**, **early**, and **scalp** flavors (progressively more frequent), guarded by strong-trend blocks that an **AI+volume+ADX-cooling override** can bypass.
7. **Scalping Mode**
   * Adaptive parameter contraction (shorter lengths), gentler guards, micro-patterns (wick/engulf/micro-EMA cross), and reduced cooldown to increase high-quality opportunities.
8. **Cooldown & state**
   * One signal per side after a configurable spacing in bars; internal “last direction” avoids clustering.
9. **Visualization & alerts**
   * **Triangles** for trend, **circles** for reversals (offset by ATR to avoid overlap).
   * **Single-line alert payload** (BUY/SELL, reason, AI, volZ, ADX) ready for webhooks.
---
## Signals & visualization
* **Trend Long/Short** → triangle markers (above/below) when:
  * AI bias aligns with trend confirmations (DI edge, ADX above threshold, price vs long SMA, optional HTF alignment).
  * Volatility regime agrees; **anti-breakout** prevents entries exactly at lookback highs/lows.
* **Reversal Long/Short** → circular markers when:
  * **Core**: AI near “loose” band, OBV/MFI/volZ supportive, ADX cooling, DI spread relaxed, PA confirms (crosses/div).
  * **Early**: anticipatory patterns (Keltner exhaustion, simple RSI “quasi-divergence”).
  * **Scalp**: micro-EMA cross, wick rejection, mini-engulfing, with relaxed guards but AI/volume still in the loop.
* **Markers appear only on the bar that actually emitted the signal** (no repaint); offsets use ATR so shapes don’t overlap.
---
## Alerts (ready for webhooks)
Enable “**Any alert() function call**” and you’ll receive compact, single-line payloads once per bar:
```
action=BUY;reason=reversal-early;ai=0.1375;volZ=0.82;adx=27.5
action=SELL;reason=trend;ai=-0.2210;volZ=0.43;adx=31.9
```
* `action`: BUY / SELL
* `reason`: `trend` | `reversal-core` | `reversal-early` | `reversal-scalp`
* `ai`: current smoothed AI Score at signal bar
* `volZ`: volume Z-score
* `adx`: current ADX
---
## Inputs (exhaustive)
### 1) Core Inputs
* **RSI Length (Base)** (`rsi_length_base`, int)
  Base RSI lookback. Shorter = more reactive; longer = smoother.
* **RSI Overbought Threshold** (`rsi_overbought`, int)
  Informational for context; RSI is used normalized in the AI fusion.
* **RSI Oversold Threshold** (`rsi_oversold`, int)
  Informational; complements visual context.
* **EMA Length (Base)** (`ema_length_base`, int)
  Primary adaptive mean; also used for Keltner mid and distance metric.
* **ATR Length (Base)** (`atr_length_base`, int)
  Volatility unit for Keltner, SL/TP (debug), and regime detection.
* **ATR SMA Length** (`atr_sma_len`, int)
  Smooth baseline for ATR regime; supports “high\_vol” logic.
* **ATR Multiplier Base** (`atr_mult_base`, float)
  Scales volatility gating (sqrt-scaled); higher = tighter high-vol requirement.
* **Disable Volatility Filter** (`disable_volatility_check`, bool)
  Bypass volatility gating if true.
* **Price Change Period (bars)** (`price_change_period_base`, int)
  Simple momentum check (+/−% over N bars) used in trend validation.
* **Base Cooldown Bars Between Signals** (`signal_cooldown_base`, int ≥ 0)
  Minimum bars to wait between signals (per side).
* **Trend Confirmation Bars** (`trend_confirm_bars`, int ≥ 1)
  Require persistence above/below long SMA for this many bars.
* **Use Higher Timeframe Confirmation** (`use_higher_tf`, bool)
  Turn on/off HTF alignment (no repaint).
* **Higher Timeframe for Confirmation** (`higher_tf`, timeframe)
  E.g., “60” to confirm M15 with H1; used for HTF PDI/MDI/ADX and SMA.
* **TP as ATR Multiple** (`tp_atr_mult`, float)
  For **visual debug** only (drawn after entries); not an order manager.
* **SL as ATR Multiple** (`sl_atr_mult`, float)
  For visual debug only.
* **Enable Scalping Mode** (`scalping_mode`, bool)
  Compresses lengths/thresholds, unlocks micro-PA modules, reduces cooldown.
* **Show Debug Lines** (`show_debug`, bool)
  Plots AI bands, DI/ADX, EMA/SMA, Keltner, vol metrics, and TP/SL (debug).
### 2) AI Score & Thresholds
* **AI Score Smooth Len** (`ai_len`, int)
  EMA smoothing over the raw fusion.
* **AI Volatility Window** (`ai_sigma_len`, int)
  Window to estimate AI mean (μ) and standard deviation (σ).
* **K High (sigma)** (`ai_k_hi`, float)
  Upper band width (σ multiplier) for strong threshold.
* **K Low (sigma)** (`ai_k_lo`, float)
  Lower band width (σ multiplier) for loose threshold.
* **Debounce Window (bars)** (`ai_debounce_m`, int ≥ 1)
  Rolling window length used by the confirm counter.
* **Min Bars>Thr in Window** (`ai_debounce_n`, int ≥ 1)
  Minimum confirmations inside the debounce window to validate a state.
* **Use Hysteresis Thresholds** (`ai_hysteresis`, bool)
  Requires crossing back past a looser band to exit bias → fewer whipsaws.
* **Weight DI Edge (0–1)** (`ai_weight_di`, float)
  Importance of DI edge within the fusion.
* **Weight EMA Dist (0–1)** (`ai_weight_ema`, float)
  Importance of EMA distance (in ATR units).
* **Weight RSI Norm (0–1)** (`ai_weight_rsi`, float)
  Importance of normalized RSI.
* **Sensitivity (0–1)** (`sensitivity`, float)
  Contracts/expands bands (higher = more sensitive).
### 3) Volume Filters
* **Volume MA Length** (`vol_ma_len`, int)
  Baseline for volume Z-score.
* **Volume Z-Score Window** (`vol_z_len`, int)
  Std-dev window for Z-score; larger = fewer volume “spikes”.
* **Reversal: Min Volume Z for confirm** (`vol_rev_min_z`, float)
  Minimum Z required to validate reversals (adaptively relaxed in scalping).
* **OBV Slope Lookback** (`obv_slope_len`, int)
  Rising/falling OBV over this window supports bull/bear confirmations.
* **MFI Length** (`mfi_len`, int)
  Money Flow Index lookback (manual calculation).
### 4) Filters (Breakout / ADX / Reversal)
* **Enable Breakout Filter** (`enable_breakout_fil`, bool)
  Avoid trend entries at lookback highs/lows.
* **Breakout Lookback Bars** (`breakout_lookback`, int ≥ 1)
  Window for the anti-breakout guard.
* **Base ADX Length** (`adx_length_base`, int)
  Lookback for DI/ADX smoothing (also adapted in Scalping Mode).
* **Base ADX Threshold** (`adx_threshold_base`, float)
  Minimum ADX to validate trend context (scaled in Scalping Mode).
* **Enable Reversal Filter** (`enable_rev_filter`, bool)
  Master switch for reversal logic.
* **Max ADX for Reversal** (`rev_adx_max`, float)
  Hard cap: above this ADX, reversals are blocked (unless overridden by AI if allowed in Guards).
### 5) Reversal Guard (regime protection & overrides)
* **Strong Trend: ADX add-above Thr** (`guard_adx_add`, float)
  Extra ADX above `adx_threshold` to mark “strong” trend.
* **Strong Trend: min DI spread** (`guard_spread_min`, float)
  Minimum DI separation to consider a trend “dominant”.
* **Require ADX drop from window max (%)** (`guard_adx_drop_min_pct`, float 0–1)
  ADX must drop at least this fraction from its window maximum to consider “cooling”.
* **Regime Window (bars)** (`guard_regime_len`, int ≥ 10)
  Window over which ADX max is measured for the “cooling” check.
* **EMA Slope Lookback** (`guard_slope_len`, int ≥ 2)
  EMA slope horizon used alongside Keltner for strong-trend identification.
* **Keltner Mult (ATR)** (`guard_kc_mult`, float)
  Keltner width for strong trend bands and exhaustion checks.
* **HTF Reversal Block Mode** (`htf_block_mode`, string: `Off` | `On` | `AI-controlled`)
  * `Off`: never block by HTF.
  * `On`: block reversals whenever HTF is strong.
  * `AI-controlled`: block **unless** AI+volume+ADX-cooling override criteria are met.
* **AI-controlled: allow AI override** (`ai_htf_override`, bool)
  Enables the override mechanism in `AI-controlled` mode.
* **AI override multiplier (vs band\_hi)** (`ai_override_mult`, float)
  Strength needed beyond the high band to count as “strong AI”.
* **AI override: min bars beyond strong thr** (`ai_override_min_bars`, int ≥ 1)
  Debounce on the override itself.
### 6) Markers
* **Reversal Circle ATR Offset** (`rev_marker_offset_atr`, float ≥ 0)
  Vertical offset for reversal circles; trend triangles use a separate (internal) offset.
### 7) Scalping Mode Tuning
* **Reversal aggressiveness (0–1)** (`scalp_rev_aggr`, float)
  Higher = looser guards and stronger AI sensitivity.
* **Wick: body multiple (bull/bear)** (`scalp_wick_body_mult`, float)
  Wick must be at least this multiple of body to count as rejection.
* **Wick: ATR multiple (min)** (`scalp_wick_atr_mult`, float)
  Minimal wick length in ATR units.
* **Micro EMA factor (vs EMA base)** (`scalp_ema_fast_factor`, float 0.2–0.9)
  Fast EMA length = base EMA × factor (rounded/int).
* **Relax breakout filter in scalping** (`scalp_breakout_relax`, bool)
  Lets more trend entries through in scalping context.
### 8) ICT-style SMA (bases)
* **ICT SMA Long Length (Base)** (`sma_long_len_base`, int)
  Long-term baseline for regime/trend.
* **ICT SMA Short1 Length (Base)** (`sma_short1_len_base`, int)
  Short baseline for price-action crosses.
* **ICT SMA Short2 Length (Base)** (`sma_short2_len_base`, int)
  Companion short baseline used in PA cross checks.
> **Adaptive “effective” values:** When **Scalping Mode** is ON, the script internally shortens multiple lengths (RSI/EMA/ATR/ADX/μσ windows, SMAs) and gently relaxes guards (ADX drop %, DI spread, volume Z, override thresholds), reduces cooldown/confirm bars, and optionally relaxes the breakout filter—so you get **more frequent but still curated** signals.
---
## Plots & debug (optional)
* DI+/DI−, ADX (curr + HTF), EMA, long SMA, Keltner up/down (when strong), AI Score, AI mean, AI bands (hi/lo; low plots only when hysteresis is on), Volume MA and Z-score, and ATR-based TP/SL guide (after entries).
* These are **study aids**; the indicator does not manage trades.
---
## Recommended use
* **Timeframes**:
  * Scalping Mode: M1–M15.
  * Standard Mode: M15–H1 (or higher).
* **Markets**: Designed for liquid FX, indices, metals, and large-cap crypto.
* **Chart type**: Standard candles recommended (Heikin-Ashi alters inputs and hence signals).
* **Alerts**: Use “Any alert() function call”. Parse the key/value payloads server-side.
---
## Good to know
* **Why some alerts don’t draw shapes retroactively**: markers are drawn **only on** the bar that emitted the signal (no repaint by design).
* **Why a reversal didn’t fire**: strong-trend guards + HTF block may have been active; check ADX, DI spread, Keltner position, EMA slope, and whether AI override criteria were met.
* **Too many / too few signals**: tune **Scalping Mode**, `signal_cooldown_base`, AI bands (`ai_k_hi/lo`, `sensitivity`), volume Z (`vol_rev_min_z`), and guards (`rev_adx_max`, `guard_*`).
---
## Disclaimer
This is an **indicator**, not a strategy or an execution system. It does not place, modify, or manage orders. Markets carry risk—validate on historical data and demo before any live decisions. No performance claims are made.
---
### Version
**Scalp Sense AI v11.5** — Adaptive AI bands with hysteresis/debounce, HTF no-lookahead confirmations, guarded reversal logic with AI override, full volume suite (Z, OBV slope, MFI), anti-breakout filter, and a dedicated Scalping Mode with micro-PA cues.
FVG Pro - Advanced Multi-Timeframe iDea TradeFVG Pro – Advanced Multi-Timeframe
This indicator automatically detects and visualizes Fair Value Gaps (FVGs) across two different timeframes. Features include:
Dual-timeframe FVG detection (bullish & bearish)
Customizable display: boxes, lines, or both
Optional Fibonacci levels inside gaps (25%, 50%, 75%)
Touch tracking & “respected” status
Adjustable quality scoring and filtering
Automatic removal of filled gaps (configurable)
You can easily tailor colors, label size, and visibility for your needs.
How to use:
Enable the timeframes you want, set your visual preferences, and use the quality filter if you wish to highlight only the strongest imbalances. FVGs can be used as potential support/resistance or reaction zones—combine with your own trading strategy.
Note:
This script does not provide buy/sell signals. It is for technical analysis only and should not be considered financial advice. Please use proper risk management.
Protected script. Source code is hidden but free for all TradingView users.
Momentum Fusion v1Momentum Fusion v1  
Overview
Momentum Fusion v1 (MFusion) is a multi-oscillator indicator that combines several components to analyze market momentum and trend strength. It incorporates modified versions of classic indicators such as PVI (Positive Volume Index), NVI (Negative Volume Index), MFI (Money Flow Index), RSI, Stochastic, and Bollinger Bands Oscillator. The indicator displays a histogram that changes color based on momentum strength and includes "FUSION🔥" signal labels when extreme values are reached.
Indicator Settings
Parameters:
EMA Length – Smoothing period for the moving average (default: 255).
Smoothing Period – Internal calculation smoothing parameter (default: 15).
BB Multiplier – Standard deviation multiplier for Bollinger Bands (default: 2.0).
Show verde / marron / media lines – Toggles the display of auxiliary lines.
Show FUSION🔥 label – Enables/disables signal labels.
Indicator Components
1. PVI (Positive Volume Index)
Formula:
pvi := volume > volume  ? nz(pvi ) + (close - close ) / close  * sval : nz(pvi )
Description:
PVI increases when volume rises compared to the previous bar and accounts for price percentage change. The stronger the price movement with increasing volume, the higher the PVI value.
2. NVI (Negative Volume Index)
Formula:
nvi := volume < volume  ? nz(nvi ) + (close - close ) / close  * sval : nz(nvi )
Description:
NVI tracks price movements during declining volume. If the price rises on low volume, it may indicate a "stealth" trend.
3. Money Flow Index (MFI)
Formula:
100 - 100 / (1 + up / dn)
Description:
An oscillator measuring money flow strength. Values above 80 suggest overbought conditions, while values below 20 indicate oversold conditions.
4. Stochastic Oscillator
Formula:
k = 100 * (close - lowest(low, length)) / (highest(high, length) - lowest(low, length))
Description:
A classic stochastic oscillator showing price position relative to the selected period's range.
5. Bollinger Bands Oscillator
Formula:
(tprice - BB midline) / (upper BB - lower BB) * 100
Description:
Indicates the price position relative to Bollinger Bands in percentage terms.
Key Lines & Histogram
1. Verde (Green Line)
Calculation:
verde = marron + oscp (normalized PVI)
Interpretation:
Higher values indicate stronger bullish momentum. A FUSION🔥 signal appears when the value reaches 750+.
2. Marron (Brown Line)
Calculation:
marron = (RSI + MFI + Bollinger Osc + Stochastic / 3) / 2
Interpretation:
A composite oscillator combining multiple indicators. Higher values suggest overbought conditions.
3. Media (Red Line)
Calculation:
media = EMA of marron with smoothing period
Interpretation:
Acts as a signal line for trend confirmation.
4. Histogram
Calculation:
histo = verde - marron
Colors:
Bright green (>100) – Strong bullish momentum.
Light green (>0) – Moderate bullish momentum.
Orange (<0) – Bearish momentum.
Red (<-100) – Strong bearish momentum.
Signals & Alerts
1. FUSION🔥 (Strong Momentum)
Condition:
verde >= 750
Visualization:
A "FUSION🔥" label appears below the chart.
Alert:
Can be set to trigger notifications when the condition is met.
2. Background Aura
Condition:
verde > 850
Visualization:
The chart background turns teal, indicating extreme momentum.
Usage Recommendations
FUSION🔥 Signal – Can be used as a long entry point when confirmed by other indicators.
Histogram:
1. Green bars – Potential long entry.
2. Red/orange bars – Potential short entry.
3. Media & Marron Crossover – Can serve as an additional trend filter.
4. Suitable for a 5-15 minute time frame
Conclusion
Momentum Fusion v1 is a powerful tool for momentum analysis, combining multiple indicators into a unified system. It is suitable for:
Trend traders (catching strong movements).
Scalpers (identifying short-term impulses).
Swing traders (filtering entry points).
The indicator features customizable settings and visual signals, making it adaptable to various trading styles.
Triple Confirmation Scalper v2 - Alarm CompatibleTriple Confirmation Scalper Strategy
A high-probability scalping strategy combining trend momentum, overbought/sold conditions, and volume confirmation to filter low-noise signals.
📊 Strategy Logic
Trend Direction
Dual EMA crossover (9 & 21 periods) for momentum and trend bias.
Overbought/Oversold Zones
RSI (14-period) to avoid entries at extremes.
Volume Spike Filter
OBV + 20-period volume average to confirm breakout validity.
Dynamic Risk Management
Stop-loss: Adaptive to recent price action (5-candle low/high ±1%).
Take-profit: 1.5% target (1.5:1 risk/reward).
🔍 Advanced Features
Precision VWAP (20-period, HLC3-based) for dynamic S/R levels.
Visual Aids:
EMA/VWAP bands + trend-colored background.
Volume spike alerts.
TradingView Alerts pre-configured for long/short signals.
⚙️ Default Settings
Commission: 0.1% factored into backtests.
Mode: Supports both long/short positions.
⚠️ Disclaimer
This is a technical analysis tool, not financial advice.
Past performance ≠ future results. Test thoroughly in a demo account.
Adjust parameters (e.g., EMA periods, RSI thresholds) to match your risk tolerance.
✅ TradingView Compliance Notes:
No exaggerated claims (e.g., "100% win rate").
Clear disclaimer included.
Focus on objective strategy logic (no promotional language).
AlphaSignal | MindMarketAlphaSignal — Smart Indicator for Precise Entries
What does AlphaSignal do?
AlphaSignal looks for moments when the price moves too far from its average, volume spikes, and overall market activity increases. When these things line up, it gives you a clean, high-quality trading signal — either to buy or sell.
 How it works : 
 
 Activity & Volume Detection
 It monitors for sudden bursts in trading volume and volatility — clear signs that something important is happening in the market.
 Price Deviation with  Nadaraya-Watson Envelope 
 The indicator uses a smooth curve (called the Nadaraya-Watson estimate) to track the average price. When price drifts too far from this curve, it might be ready to snap back. That’s where AlphaSignal starts paying attention.
 Signal Rating System
 Each potential trade gets a score based on:
 Market activity
 Volume deviation
 How far price is from the NW envelope
 
(Optionally) Trend strength and momentum via ADX, RSI, MACD
Only if the total score is high enough — a signal is fired.
 Advanced Filters (Optional) 
Want more confirmation? Turn on ADX, RSI, and MACD checks to avoid weak setups during choppy, low-trend periods.
 Cooldown Logic 
To avoid overtrading, AlphaSignal waits a set number of bars between signals — you can customize this.
 Trading Suggestions (Signal Panel)
AlphaSignal gives you real-time trading guidance with a simple suggestion box:
 BUY NOW / SELL NOW 
All conditions are met, rating is strong — take action.
 PREPARE BUY / PREPARE SELL 
No full confirmation yet, but the price is very close to key levels (within 1.5% of the NW envelope). Get ready — a signal might appear soon.
 AWAIT BUY / AWAIT SELL 
The market is leaning toward a buy or sell, but price isn’t in a good spot yet. Be patient and watch for better positioning.
 Pro Scalper AI [BullByte]The  Pro Scalper AI    is a powerful, multi-faceted scalping indicator designed to assist active traders in identifying short-term trading opportunities with precision. By combining trend analysis, momentum indicators, dynamic weighting, and optional AI forecasting, this tool provides both immediate and latched trading signals based on confirmed (closed bar) data—helping to avoid repainting issues. Its flexible design includes customizable filters such as a higher timeframe trend filter, and adjustable settings for ADX, ATR, and Hull Moving Average (HMA), giving traders the ability to fine-tune the strategy to different markets and timeframes.
 Key Features :
-  Confirmed Data Processing :
  Utilizes a helper function to lock in price and volume data only from confirmed (closed) bars, ensuring the reliability of signals without the risk of intrabar repainting.
-  Trend Analysis : 
  Employs ADX and Directional Movement (DI) calculations along with a locally computed HMA to detect short-term trends. An optional higher timeframe trend filter can further refine the analysis.
-  Flexible Momentum Modes :
  Choose between three momentum calculation methods—Stochastic RSI, Fisher RSI, or Williams %R—to match your preferred style of analysis. This versatility allows you to optimize the indicator for different market conditions.
-  Dynamic Weighting & Volatility Adjustments :
  Adjusts the contribution of trend, momentum, volatility, and volume through dynamic weighting. This ensures that the indicator responds appropriately to varying market conditions by scaling its sensitivity with user-defined maximum factors.
-  Optional AI Forecast :
  For those who want an extra edge, the built-in AI forecasting module uses linear regression to predict future price moves and adjusts oscillator thresholds accordingly. This feature can be toggled on or off, with smoothing options available for more stable output.
-  Latching Mode for Signal Persistenc e: 
  The script features a latching mechanism that holds signals until a clear reversal is detected, preventing whipsaws and providing more reliable trade entries and exits.
-  Comprehensive Visualizations & Dashboard :  
  -  Composite Oscillator & Dynamic Thresholds : The oscillator is plotted with dynamic upper and lower thresholds, and the area between them is filled with a color that reflects the active trading signal (e.g., Strong Buy, Early Sell).
  -  Signal Markers : Both immediate (non-latching) and stored (latched) signals are marked on the chart with distinct shapes (circles, crosses, triangles, and diamonds) to differentiate between signal types.
  -  Real-Time Dashboard : A customizable dashboard table displays key metrics including ADX, oscillator value, chosen momentum mode, HMA trend, higher timeframe trend, volume factor, AI bias (if enabled), and more, allowing traders to quickly assess market conditions at a glance.
 How to Use :
1. S ignal Interpretation :
   -  Immediate Signals : For traders who prefer quick entries, the indicator displays immediate signals such as “Strong Buy” or “Early Sell” based on the current market snapshot.
   -  Latched Signals : When latching is enabled, the indicator holds a signal state until a clear reversal is confirmed, offering sustained trade setups.
2.   Trend Confirmation :
   - Use the HMA trend indicator and the optional higher timeframe trend filter to confirm the prevailing market direction before acting on signals.
3.  Dynamic Thresholds & AI Forecasting :
   - Monitor the dynamically adjusted oscillator thresholds and, if enabled, the AI bias to gauge potential shifts in market momentum.
4.  Risk Management :
   - Combine these signals with additional analysis and sound risk management practices to determine optimal entry and exit points for scalping trades.
 Disclaimer : 
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Always perform your own analysis and use proper risk management strategies before trading.
HilalimSBHilalimSB A Wedding Gift 🌙
HilalimSB - Revealing the Secrets of the Trend
HilalimSB is a powerful indicator designed to help investors analyze market trends and optimize trading strategies. Designed to uncover the secrets at the heart of the trend, HilalimSB stands out with its unique features and impressive algorithm.
Hilalim Algorithm and Fixed ATR Value:
HilalimSB is equipped with a special algorithm called "Hilalim" to detect market trends. This algorithm can delve into the depths of price movements to determine the direction of the trend and provide users with the ability to predict future price movements. Additionally, HilalimSB uses its own fixed Average True Range (ATR) value. ATR is an indicator that measures price movement volatility and is often used to determine the strength of a trend. The fixed ATR value of HilalimSB has been tested over long periods and its reliability has been proven. This allows users to interpret the signals provided by the indicator more reliably.
ATR Calculation Steps
1.True Range Calculation:
           + The True Range (TR) is the greatest of the following three values:                        
                       1.  Current high minus current low
                       2.  Current high minus previous close (absolute value)
                       3.  Current low minus previous close (absolute value)
2.Average True Range (ATR) Calculation:
        -The initial ATR value is calculated as the average of the TR values over a specified period 
         (typically 14 periods).
        -For subsequent periods, the ATR is calculated using the following formula: 
                                        ATRt=(ATRt−1×(n−1)+TRt)/n
Where:
                                     
+ ATRt is the ATR for the current period,
+ ATRt−1 is the ATR for the previous period,
+ TRt is the True Range for the current period,
+ n is the number of periods.
Pine Script to Calculate ATR with User-Defined Length and Multiplier
Here is the Pine Script code for calculating the ATR with user-defined X length and Y multiplier:
 //@version=5
indicator("Custom ATR", overlay=false)
// User-defined inputs
X = input.int(14, minval=1, title="ATR Period (X)")
Y = input.float(1.0, title="ATR Multiplier (Y)")
// True Range calculation
TR1 = high - low
TR2 = math.abs(high - close )
TR3 = math.abs(low - close )
TR = math.max(TR1, math.max(TR2, TR3))
// ATR calculation
ATR = ta.rma(TR, X)
// Apply multiplier
customATR = ATR * Y
// Plot the ATR value
plot(customATR, title="Custom ATR", color=color.blue, linewidth=2)
 
This code can be added as a new Pine Script indicator in TradingView, allowing users to calculate and display the ATR on the chart according to their specified parameters.
HilalimSB's Distinction from Other ATR Indicators
HilalimSB emerges with its unique Average True Range (ATR) value, presenting itself to users. Equipped with a proprietary ATR algorithm, this indicator is released in a non-editable form for users. After meticulous testing across various instruments with predetermined period and multiplier values, it is made available for use.
ATR is acknowledged as a critical calculation tool in the financial sector. The ATR calculation process of HilalimSB is conducted as a result of various research efforts and concrete data-based computations. Therefore, the HilalimSB indicator is published with its proprietary ATR values, unavailable for modification.
The ATR period and multiplier values provided by HilalimSB constitute the fundamental logic of a trading strategy. This unique feature aids investors in making informed decisions.
Visual Aesthetics and Clear Charts:
HilalimSB provides a user-friendly interface with clear and impressive graphics. Trend changes are highlighted with vibrant colors and are visually easy to understand. You can choose colors based on eye comfort, allowing you to personalize your trading screen for a more enjoyable experience. While offering a flexible approach tailored to users' needs, HilalimSB also promises an aesthetic and professional experience.
  
Strong Signals and Buy/Sell Indicators:
After completing test operations, HilalimSB produces data at various time intervals. However, we would like to emphasize to users that based on our studies, it provides the best signals in 1-hour chart data. HilalimSB produces strong signals to identify trend reversals. Buy or sell points are clearly indicated, allowing users to develop and implement trading strategies based on these signals.
For example, let's imagine you wanted to open a position on BTC on 2023.11.02. You are aware that you need to calculate which of the buying or selling transactions would be more profitable. You need support from various indicators to open a position. Based on the analysis and calculations it has made from the data it contains, HilalimSB would have detected that the graph is more suitable for a selling position, and by producing a sell signal at the most ideal selling point at 08:00 on 2023.11.02 (UTC+3 Istanbul), it would have informed you of the direction the graph would follow, allowing you to benefit positively from a 2.56% decline.
Technology and Innovation:
HilalimSB aims to enhance the trading experience using the latest technology. With its innovative approach, it enables users to discover market opportunities and support their decisions. Thus, investors can make more informed and successful trades. Real-Time Data Analysis: HilalimSB analyzes market data in real-time and identifies updated trends instantly. This allows users to make more informed trading decisions by staying informed of the latest market developments. Continuous Update and Improvement: HilalimSB is constantly updated and improved. New features are added and existing ones are enhanced based on user feedback and market changes. Thus, HilalimSB always aims to provide the latest technology and the best user experience.
Social Order and Intrinsic Motivation:
Negative trends such as widespread illegal gambling and uncontrolled risk-taking can have adverse financial effects on society. The primary goal of HilalimSB is to counteract these negative trends by guiding and encouraging users with data-driven analysis and calculable investment systems. This allows investors to trade more consciously and safely.
Moving Average Scalper by nnamdertWhat does this Indicator Do? 
By request and popular demand, I have created a quick and easy Moving Average Crossover Scalper Indicator. This indicator simply allows the trader to visualize scalping opportunities in an easy way using MA crossovers.
The Indicator also plots multiple higher moving averages via an "optional"  table. The table gives a quick glance at the overall trend (based on moving Averages alone).
Users can adjust the initial Moving Average Length and the number of additional Moving Average Lengths to be plotted on the chart.
 How do I use it?  
As shown below, the cross overs are very easy to see. The Stoploss "should" be set at the most recent swing high or low prior to the MA Cross.
The dotted yellow line must cross above or below the thick mutli-colored line in order to be considered valid.
  
As seen in the screenshot below, an optional input setting turns ON / OFF additional Moving Average "Lines" and plots them on the chart. In addition, the indicator color fills between the moving averages based on Bullish or Bearish movement. If the lines are in continuity, then the color will be either RED or GREEN depending on the market sentiment (bull or bear).
  
The total number of Moving Averages listed in the table can be manually adjusted in the settings by the user. The table is small and see-through so it works on mobile devices as well and allows the user to still see the candles easily. Simply double clicking on the table will bring up the settings.
  
As shown below, the table can be relocated to a position acceptable to the user if it is in the way. This option is available under input settings.
  
I hope this indicator proves useful for you and your trading style. If you have any suggestions please let me know.
GKD-C Trend Scalp [Loxx]Giga Kaleidoscope GKD-C Trend Scalp is a Confirmation module included in Loxx's "Giga Kaleidoscope Modularized Trading System".
 █ Giga Kaleidoscope Modularized Trading System 
 What is Loxx's "Giga Kaleidoscope Modularized Trading System"? 
The Giga Kaleidoscope Modularized Trading System is a trading system built on the philosophy of the NNFX (No Nonsense Forex) algorithmic trading. 
 What is the NNFX algorithmic trading strategy? 
The NNFX (No-Nonsense Forex) trading system is a comprehensive approach to Forex trading that is designed to simplify the process and remove the confusion and complexity that often surrounds trading. The system was developed by a Forex trader who goes by the pseudonym "VP" and has gained a significant following in the Forex community.
The NNFX trading system is based on a set of rules and guidelines that help traders make objective and informed decisions. These rules cover all aspects of trading, including market analysis, trade entry, stop loss placement, and trade management.
Here are the main components of the NNFX trading system:
1. Trading Philosophy: The NNFX trading system is based on the idea that successful trading requires a comprehensive understanding of the market, objective analysis, and strict risk management. The system aims to remove subjective elements from trading and focuses on objective rules and guidelines.
2. Technical Analysis: The NNFX trading system relies heavily on technical analysis and uses a range of indicators to identify high-probability trading opportunities. The system uses a combination of trend-following and mean-reverting strategies to identify trades.
3. Market Structure: The NNFX trading system emphasizes the importance of understanding the market structure, including price action, support and resistance levels, and market cycles. The system uses a range of tools to identify the market structure, including trend lines, channels, and moving averages.
4. Trade Entry: The NNFX trading system has strict rules for trade entry. The system uses a combination of technical indicators to identify high-probability trades, and traders must meet specific criteria to enter a trade.
5. Stop Loss Placement: The NNFX trading system places a significant emphasis on risk management and requires traders to place a stop loss order on every trade. The system uses a combination of technical analysis and market structure to determine the appropriate stop loss level.
6. Trade Management: The NNFX trading system has specific rules for managing open trades. The system aims to minimize risk and maximize profit by using a combination of trailing stops, take profit levels, and position sizing.
Overall, the NNFX trading system is designed to be a straightforward and easy-to-follow approach to Forex trading that can be applied by traders of all skill levels. 
 Core components of an NNFX algorithmic trading strategy 
The NNFX algorithm is built on the principles of trend, momentum, and volatility. There are six core components in the NNFX trading algorithm:
1. Volatility - price volatility; e.g., Average True Range, True Range Double, Close-to-Close, etc.
2. Baseline - a moving average to identify price trend 
3. Confirmation 1 - a technical indicator used to identify trends
4. Confirmation 2 - a technical indicator used to identify trends
5. Continuation - a technical indicator used to identify trends
6. Volatility/Volume - a technical indicator used to identify volatility/volume breakouts/breakdown
7. Exit - a technical indicator used to determine when a trend is exhausted
 What is Volatility in the NNFX trading system? 
In the NNFX (No Nonsense Forex) trading system, ATR (Average True Range) is typically used to measure the volatility of an asset. It is used as a part of the system to help determine the appropriate stop loss and take profit levels for a trade. ATR is calculated by taking the average of the true range values over a specified period.
True range is calculated as the maximum of the following values:
-Current high minus the current low
-Absolute value of the current high minus the previous close
-Absolute value of the current low minus the previous close
ATR is a dynamic indicator that changes with changes in volatility. As volatility increases, the value of ATR increases, and as volatility decreases, the value of ATR decreases. By using ATR in NNFX system, traders can adjust their stop loss and take profit levels according to the volatility of the asset being traded. This helps to ensure that the trade is given enough room to move, while also minimizing potential losses.
Other types of volatility include True Range Double (TRD), Close-to-Close, and Garman-Klass
 What is a Baseline indicator? 
The baseline is essentially a moving average, and is used to determine the overall direction of the market.
The baseline in the NNFX system is used to filter out trades that are not in line with the long-term trend of the market. The baseline is plotted on the chart along with other indicators, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR).
Trades are only taken when the price is in the same direction as the baseline. For example, if the baseline is sloping upwards, only long trades are taken, and if the baseline is sloping downwards, only short trades are taken. This approach helps to ensure that trades are in line with the overall trend of the market, and reduces the risk of entering trades that are likely to fail.
By using a baseline in the NNFX system, traders can have a clear reference point for determining the overall trend of the market, and can make more informed trading decisions. The baseline helps to filter out noise and false signals, and ensures that trades are taken in the direction of the long-term trend.
 What is a Confirmation indicator? 
Confirmation indicators are technical indicators that are used to confirm the signals generated by primary indicators. Primary indicators are the core indicators used in the NNFX system, such as the Average True Range (ATR), the Moving Average (MA), and the Relative Strength Index (RSI).
The purpose of the confirmation indicators is to reduce false signals and improve the accuracy of the trading system. They are designed to confirm the signals generated by the primary indicators by providing additional information about the strength and direction of the trend.
Some examples of confirmation indicators that may be used in the NNFX system include the Bollinger Bands, the MACD (Moving Average Convergence Divergence), and the MACD Oscillator. These indicators can provide information about the volatility, momentum, and trend strength of the market, and can be used to confirm the signals generated by the primary indicators.
In the NNFX system, confirmation indicators are used in combination with primary indicators and other filters to create a trading system that is robust and reliable. By using multiple indicators to confirm trading signals, the system aims to reduce the risk of false signals and improve the overall profitability of the trades.
 What is a Continuation indicator? 
In the NNFX (No Nonsense Forex) trading system, a continuation indicator is a technical indicator that is used to confirm a current trend and predict that the trend is likely to continue in the same direction. A continuation indicator is typically used in conjunction with other indicators in the system, such as a baseline indicator, to provide a comprehensive trading strategy.
 What is a Volatility/Volume indicator? 
Volume indicators, such as the On Balance Volume (OBV), the Chaikin Money Flow (CMF), or the Volume Price Trend (VPT), are used to measure the amount of buying and selling activity in a market. They are based on the trading volume of the market, and can provide information about the strength of the trend. In the NNFX system, volume indicators are used to confirm trading signals generated by the Moving Average and the Relative Strength Index. Volatility indicators include Average Direction Index, Waddah Attar, and Volatility Ratio. In the NNFX trading system, volatility is a proxy for volume and vice versa.
By using volume indicators as confirmation tools, the NNFX trading system aims to reduce the risk of false signals and improve the overall profitability of trades. These indicators can provide additional information about the market that is not captured by the primary indicators, and can help traders to make more informed trading decisions. In addition, volume indicators can be used to identify potential changes in market trends and to confirm the strength of price movements.
 What is an Exit indicator? 
The exit indicator is used in conjunction with other indicators in the system, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR), to provide a comprehensive trading strategy.
The exit indicator in the NNFX system can be any technical indicator that is deemed effective at identifying optimal exit points. Examples of exit indicators that are commonly used include the Parabolic SAR, the Average Directional Index (ADX), and the Chandelier Exit.
The purpose of the exit indicator is to identify when a trend is likely to reverse or when the market conditions have changed, signaling the need to exit a trade. By using an exit indicator, traders can manage their risk and prevent significant losses.
In the NNFX system, the exit indicator is used in conjunction with a stop loss and a take profit order to maximize profits and minimize losses. The stop loss order is used to limit the amount of loss that can be incurred if the trade goes against the trader, while the take profit order is used to lock in profits when the trade is moving in the trader's favor.
Overall, the use of an exit indicator in the NNFX trading system is an important component of a comprehensive trading strategy. It allows traders to manage their risk effectively and improve the profitability of their trades by exiting at the right time.
 How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above? 
Loxx's GKD v1.0 system has five types of modules (indicators/strategies). These modules are: 
1. GKD-BT - Backtesting module (Volatility, Number 1 in the NNFX algorithm)
2. GKD-B - Baseline module (Baseline and Volatility/Volume, Numbers 1 and 2 in the NNFX algorithm)
3. GKD-C - Confirmation 1/2 and Continuation module (Confirmation 1/2 and Continuation, Numbers 3, 4, and 5 in the NNFX algorithm)
4. GKD-V - Volatility/Volume module (Confirmation 1/2, Number 6 in the NNFX algorithm)
5. GKD-E - Exit module (Exit, Number 7 in the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data between modules. Data is passed between each module as described below:
GKD-B => GKD-V => GKD-C(1) => GKD-C(2) => GKD-C(Continuation) => GKD-E => GKD-BT
That is, the Baseline indicator passes its data to Volatility/Volume. The Volatility/Volume indicator passes its values to the Confirmation 1 indicator. The Confirmation 1 indicator passes its values to the Confirmation 2 indicator. The Confirmation 2 indicator passes its values to the Continuation indicator. The Continuation indicator passes its values to the Exit indicator, and finally, the Exit indicator passes its values to the Backtest strategy. 
This chaining of indicators requires that each module conform to Loxx's GKD protocol, therefore allowing for the testing of every possible combination of technical indicators that make up the six components of the NNFX algorithm. 
 What does the application of the GKD trading system look like? 
Example trading system: 
 
 Backtest: Strategy with 1-3 take profits, trailing stop loss, multiple types of PnL volatility, and 2 backtesting styles 
 Baseline: Hull Moving Average 
 Volatility/Volume: Hurst Exponent
 Confirmation 1: Trend Scalp as shown on the chart above 
 Confirmation 2: Williams Percent Range
 Continuation: Fisher Transform
 Exit: Rex Oscillator 
 
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD protocol chain. 
 Giga Kaleidoscope Modularized Trading System Signals (based on the NNFX algorithm) 
 Standard Entry  
1. GKD-C Confirmation 1 Signal
2. GKD-B Baseline agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
 Baseline Entry 
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
6. GKD-C Confirmation 1 signal was less than 7 candles prior
 Continuation Entry 
1. Standard Entry, Baseline Entry, or Pullback; entry triggered previously
2. GKD-B Baseline hasn't crossed since entry signal trigger
3. GKD-C Confirmation Continuation Indicator signals
4. GKD-C Confirmation 1 agrees  
5. GKD-B Baseline agrees
6. GKD-C Confirmation 2 agrees
 1-Candle Rule Standard Entry  
1. GKD-C Confirmation 1 signal
2. GKD-B Baseline agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
 Next Candle: 
1. Price retraced (Long: close < close  or Short: close > close )
2. GKD-B Baseline agrees
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
 1-Candle Rule Baseline Entry 
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 1 signal was less than 7 candles prior
 Next Candle: 
1. Price retraced (Long: close < close  or Short: close > close )
2. GKD-B Baseline agrees
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume Agrees
 PullBack Entry 
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is beyond 1.0x Volatility of Baseline  
 Next Candle: 
1. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume Agrees
 █ GKD-C Trend Scalp 
 What is T3? 
The T3 Moving Average (T3MA) is a technical analysis indicator that was developed by Tim Tillson. It is a trend-following indicator that aims to provide a smoother and more accurate representation of price trends than other moving average indicators.
The T3MA is a type of exponential moving average ( EMA ) that is calculated using a series of complex formulas. Unlike a simple or exponential moving average , which use fixed smoothing factors, the T3MA uses a variable smoothing factor that is based on the volatility of the underlying asset. This means that the T3MA is able to adapt to changing market conditions and provide more accurate signals.
The formula for calculating the T3MA is as follows:
T3 = a * EMA1 + (1 - a) * T3
Where:
-T3 is the current value of the T3MA
-EMA1 is the current value of the first EMA
-T3 is the previous value of the T3MA
-a is the smoothing factor, which is based on the volatility of the underlying asset and is calculated using the following formulas:
-c1 = -1 + exp (-sqrt(2) * pi / period)
-c2 = 2 * c1 * c1 + 2 * c1
-c3 = 1 - c1 - c2
-a = c1 * sqrt(period) * (close - T3) + c2 * T3 + c3 * EMA1
In simple terms, the T3MA is calculated by taking a weighted average of two different EMAs, with the weight given to each EMA depending on the volatility of the asset being analyzed. The T3MA is then smoothed using a second smoothing factor, which further reduces noise and improves the accuracy of the indicator.
The T3MA can be used in a variety of ways by traders and analysts. Some common applications include using the T3MA as a trend-following indicator, with buy signals generated when the price of an asset crosses above the T3MA and sell signals generated when the price crosses below. The T3MA can also be used in combination with other indicators and analytical techniques to confirm trading decisions and identify potential trend reversals.
Overall, the T3 Moving Average is a highly sophisticated and complex technical indicator that is designed to provide a more accurate and reliable representation of price trends. While it may be difficult for novice traders to understand and use effectively, experienced traders and analysts may find the T3MA to be a valuable tool in their trading toolbox.
 What is Trend Scalp? 
Trend Scalp calculates the difference between bull and bear power and then smooths this calculation using the T3 filter. This indicator is good for lower timeframe scalping. For use in regular trading, decrease the levels value, for scalps, keep the levels value high.
 Requirements 
 Inputs 
Confirmation 1 and Solo Confirmation: GKD-V Volatility / Volume indicator
Confirmation 2: GKD-C Confirmation indicator
 Outputs 
Confirmation 2 and Solo Confirmation Complex: GKD-E Exit indicator
Confirmation 1: GKD-C Confirmation indicator
Continuation: GKD-E Exit indicator
Solo Confirmation Simple: GKD-BT Backtest strategy
Additional features will be added in future releases.
VWAP Bollinger Band Crossover Breakout with ResistanceCredit to  © Jesus_Salvatierra for VWAP script 
This script help you find a trend in momentum stock that is about to breakout and shows resistance point.  This script utilizes Bollinger bands VWAP and is good for intra day charts. 
VWAP, or Volume Weighted Average Price, is a technical analysis tool used to measure the average price a security trades at during a given time period, weighted by the trading volume for each price level. It is commonly used by traders and investors to identify the true average price of a security and to assess whether they are buying or selling at a fair price.
A Bollinger Band is a technical analysis tool that uses standard deviation to measure the volatility of a security. The Bollinger Band is typically composed of three lines: the upper band, the lower band, and the middle band. The middle band is a simple moving average of the security's price, while the upper and lower bands are calculated based on the standard deviation of the security's price.
A Bollinger Band crossover occurs when the price of a security crosses above or below one of the bands. When the price crosses above the upper band, it is considered overbought, while when it crosses below the lower band, it is considered oversold. Traders often use Bollinger Band crossovers as a signal to enter or exit a position, depending on their trading strategy.
The VWAP and Bollinger Band crossover are two separate technical analysis tools that can be used in conjunction with each other. When a security's price crosses above or below the Bollinger Band, traders may look to the VWAP to confirm whether the security is trading at a fair price. If the security is trading above the VWAP, it may be overvalued, while if it is trading below the VWAP, it may be undervalued. Similarly, traders may use the Bollinger Band crossover as a signal to enter or exit a position, while also taking into account the VWAP to assess whether the price is fair.
Scalp Zones [SI]The  Scalp Zones  indicator provides traders with visual ranges or "zones" on their charts, which can be used to quickly identify potential entry points for their trades in real time. Once price action enters the designated zone, trade signals and alerts will be generated, making it easier for both scalpers and swing traders to identify promising trading opportunities with greater confidence.
Although  Scalp Zones  is relatively easy to use, its simplicity is the end result of some interesting and rather complex analysis of price action and market structure.
█ CONCEPTS
 Price Action vs Market Structure 
For our purposes, “price action” refers to the movement of a security's price over time, whereas “market structure”, which is built upon price action, includes trends and support/resistance levels, breakouts, reversals of trend, etc.  All of which can help traders identify potential entry and exit points for their trades.
 Scalp Zone 
A “Scalp Zone” is an area just above resistance or just below support that is deemed to be part of a trend that is exhausted or part of a “whipsaw” in the price action.
█ FEATURES
 Can be combined with other indicators 
 Scalp Zones  displays color-coded rectangles or "zones" that indicate areas of potential volatility, trend reversals and consolidation in price action. These zones can be used in conjunction with other indicators to more effectively identify trade opportunities.
 Can also serve as an exit signal 
Since  Scalp Zones  identifies areas where market participants are likely to enter or exit positions, they can offer some traders a way to spot good exits for their trades.  For instance, if the price fails to surpass a significant resistance level (identified by a “scalp Zone”) and begins to decline, this may serve as a sell signal for traders who intend to lock in profits on a potential trend reversal.
 Automatically adjusts to market conditions 
 Scalp Zones  uses Average True Range (ATR) to dynamically adjust the size of the color-coded zones based on the current market conditions. By factoring in the ATR, the tool can produce zones that reflect the volatility of the market and adjust to changing levels of price movement.
█ LIMITATIONS
The  Scalp Zones  indicator is designed to provide traders with signals for potential entry points in the market, but it should not be used as the sole basis for making trading decisions. As with any trading indicator, it is important to acknowledge and understand that past performance does not guarantee future outcomes and that several other variables contribute to achieving success as a trader, especially proper risk management.
Acrylic's 1m/3m Scalper Buy/Sell SignalsAcrylic's Scalper Signals uses a combination of RSI / Stochastic / Williams %R to calculate the perfect entry signals. The script(with it's default settings) has been optimized and thoroughly tested on BTC & ETH 1 and 3 minute time frames. It's intended for quick in and out trades that should only last a few minutes unless a strong trend is caught. Basic knowledge of market structure is needed, as you will not be taking every signal generated by the script.
You also have the option to display all signals regardless of the short term trend that has been confirmed by RSI. This can be good if you're looking for reversal entries at resistance/support levels.
-Large triangle signal: Strongest signal that was confirmed with RSI & Williams %R optimized calculations. (prints at current candle close)
-Small triangle signal: Fractal signal can be used as a late entry signal/continuation. (prints after 2 candle closes)
-Candle colors are matched to stochastic strength for added confluence to enter trades. (Must hide default trading view candles to see these)
-233SMMA color is matched to the extreme short term trend based off of RSI calculations.
 Perfect Long Entry Setup Image :
1) EMA21 > EMA55 > EMA100 > SMMA233(Colored green for added confluence) - All pointing up indicating strong trend
2) Enter on pullback to short term EMA after signal candle closes. (Do not take entry if candles closed below 100EMA)
 Perfect Short Entry Setup Image :
1) EMA21 < EMA55 < EMA100 < SMMA233(Colored red for added confluence) - All pointing down indicating strong trend
2) Enter on pullback to short term EMA after signal candle closes. (Do not take entry if candles closed above 100EMA)
 Feel free to ask questions or leave feedback in the comments, I'm always looking to improve! Thanks!
Scalper RibbonThis Scalper Ribbon is a combination of 6 different oscillators with a sprinkle of secret sauce . It’s smoothed out so it’s easy to read, but is quick enough to catch reversals early and helps you spot divergences. It will turn green or red according to the bullish or bearish nature of the ticker you are viewing without all of the noise that most oscillators give you.
It combines price action, momentum, rsi and a few other oscillators together to give an overall trend strength line that is smoothed out and coupled with a moving average to make it less noisy. Use it as an identifier of the underlying trend so you can make better decisions on scalp trades as well as swing trades on longer timeframes. Wait for the ribbon to break out/down from the middle blue range to avoid chop and get in when price is actually moving.
***HOW TO USE***
Find tops and bottoms of the market by looking for reversals in the ribbon when it is either very high or very low. The white line is the midline and the ribbon is overall bullish when above the midline and overall bearish when below the midline. There are also two blue lines just above and below the midline that is a buffer area I like to call the neutral range. When the ribbon is in the neutral range, expect indecision in the market and look for the ribbon to break out or down from that range for continuation of a trend. The farther away from the neutral range the ribbon is, the stronger the trend is. Take a look at how it performs across multiple timeframes and tickers and get a feel for it before using it in your strategy. It will help you spot reversals early and show you hidden divergences in price action before the reversals happen.
***CUSTOMIZATION***
You can adjust the length of the oscillators and the moving average ribbon to be faster or slower to suit your preferences. The lower the number used, the faster it will detect changes, but the more noise it will have. The higher the number used, the slower it will detect changes, but there will be less noise and easier to follow.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This Scalper Ribbon indicator can be used on all timeframes.
Bollinger Bands Scalper + VWAPGet more consistent scalps by trading in-between Bollinger Band Deviations.
FEATURES: 
1) 3 Bollinger Bands with default settings to 1, 2, and 3 deviations for more consistent scalps
2) Trendicator: a dynamic color changing moving average that helps you see trend quickly 
3) Robust VWAP tool with up to 3 different deviations as well as different anchor points to help you see strong support and resistances 
4) Calming "purple cloud" color palette  helps you focus on price action
5) Discover new trading strategies with a wide range of customizability 
Scot Signal IndicatorThe Scot Signal Indicator is intended as a Scalping Resource. It was designed to work best on the ❗❗ 5 MINUTE CHART with Bitcoin ❗❗ / USD & USDT pairs.
 🟡🔼🔽 Yellow Triangles : these are pre-signals. If the triangle is Pointing Down, then look for a possible Short to come, and vice-versa for Upward facing triangles will go Long.
                                      * Be careful, this is a Canary in the Coal Mine, but not the full signal. Going purely on the triangle as a signal could lead to fake-outs more frequently.
 🟩 🟥 Green & Red Boxes : these are "Long" & "Short" signals where the indicator feels the time is safe to enter a trade. 
❗ EXITING THE TRADE ❗ :  this is a scalping indicator, specifically meant for entering trades, NOT EXITING them. An ideal scalp is $100 - $200 Bitcoin move. Though, we run bots using this indicator, taking scalps as little 
                                            as $60, performing up to 8 trades a day.
                                                  






















