PROTECTED SOURCE SCRIPT

AR–CISD-Market Shift-FVG

34
AR–CISD-Market Shift-FVG is a precision price-action indicator that combines three core ideas in one tool:
• Shift → market structure breaks (internal + major) using a wick→body confirmation model.
• CISD → Change in State of Delivery, where one-sided orderflow is decisively wiped out.
• FVG → cleaned-up, ATR-filtered Fair Value Gaps that only highlight meaningful imbalances.
It’s built to give you structure, delivery and imbalance on a single chart without turning everything into spaghetti.
________________________________________
What it plots
1. Shift (structure breaks)
• Detects both internal and major structural breaks from user-defined pivots.
• Uses a wick→body close (no zigzags, no candle-by-candle stepping).
• Optional displacement gating (ATR-aware): the break candle must have
o a minimum body size vs ATR,
o decent body/range ratio,
o close near the bar’s extreme,
o and close beyond the broken level by a fraction of ATR.
• Internal and major breaks that occur at (almost) the same price are merged into a single “Shift” line, so you see one clean level instead of two overlapping labels.
2. CISD (Change in State of Delivery)
• Looks for a run of one-sided candles (e.g. a series of reds) that is taken out by the opposite side.
• Uses strict validation to avoid random noise:
o Opposite run must be longer / more meaningful than the wipe run (Opp ÷ Cur ratio).
o Wipe bar must show real displacement (body vs ATR + body/range).
o Opposite run must span a minimum price range vs ATR and contain at least one non-doji candle.
o Optional EMA baseline and de-dup (time + ATR-scaled price radius) to prevent spam.
• When valid, it draws a wick→body horizontal line with inline CISD text, rendered as
---- CISD ---- in bull or bear color.
3. FVG (Fair Value Gaps)
• Detects 3-bar FVGs only when the gap exceeds a minimum ATR-scaled size, so tiny micro-gaps are ignored.
• Boxes project forward for N bars and are automatically removed on fill.
• Labels are small and slightly dim, so they support structure/CISD rather than overpower them.
(If you enabled it in the inputs, you’ll also see optional VI (Volume Imbalance) hints as tiny horizontal tags when a body gap clears the prior body band with elevated volume.)
________________________________________
Inputs & usage tips
• Shift block – control pivot sensitivity (L/R & Li/Ri), displacement rules, equality tolerance, and whether to extend lines right.
• CISD block – adjust min opposite bars, max wipers, strict filters (ATR, body/range, range vs ATR), EMA context, and de-dup radius.
• FVG block – set the minimum FVG size (×ATR), right extension, how many to track, and label style.
• If you see too many lines, first tighten CISD strictness and Shift displacement, or increase pivot lengths, before touching anything else.
• On your execution timeframe, look for Shift + CISD + FVG lining up in the same leg or zone – that’s where the indicator is telling a strong, consistent story about structure, delivery, and imbalance.
________________________________________
Disclaimer
For educational and chart-marking purposes only. Not financial advice. Always forward-test and adapt parameters to your instrument, timeframe, and personal risk tolerance.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.