OPEN-SOURCE SCRIPT
업데이트됨

SBSniper - HTF PSP

452
HTF PSP

Six higher timeframes drawn as a compact candle column beside price, with correlated-asset
disagreement marked across all of them. Correlated markets normally move together. When one takes
out a high or low and the other refuses to follow, or one closes up while the other closes down,
that disagreement is information. This finds it on six timeframes at once so you are not flipping
charts to check.

Built for index traders watching NQ, ES and YM against each other, but it works on any correlated
set — metals, energies, or symbols you choose yourself.


CREDIT

Built on "ICT HTF Candles [Source Code] (fadi)" by fadizeidan, published open-source under the
Mozilla Public License 2.0:
ICT HTF Candles [Source Code] (fadi)


The HTF candle column, its swing and equilibrium lines, the fair value gap and volume imbalance
boxes, the trace lines, the info table, and the SMT divergence feature itself all come from that
script. Full credit for those to the original author. This publication is open-source under the
same licence.


WHAT IT MARKS

PSP — Precision Swing Point
An HTF candle that closes up while a correlated asset closes down, or the reverse. The candle takes
a coloured border and a halo, with a label naming which correlations disagreed and whether you are
on the strong (S) or weak (W) side. A still-forming candle is coloured differently, because a PSP
can vanish before the candle closes.

SMT divergence
One asset takes out a prior high or low, its partner fails to. Drawn as a line between the two
candles on the HTF column, and optionally across the real swing on your chart. It looks at every
pair of candles in a lookback window, not only the newest two, so a divergence anchored a few
candles back still shows. A divergence disappears once price takes the level it was built on — if
the line is still there, the level is still intact.

SMTF — divergence into a gap
An SMT where the diverging high or low landed inside a fair value gap that already existed. Price
reaching into an old imbalance at the same moment the correlation cracks. Prefixed "SMTF".

SSMT — sequential divergence
Divergence filtered by time. A cycle splits into four quarters, each quarter being one candle of the
timeframe below: the day into four 6H candles (Asia, London, NY AM, NY PM), the session into 90m,
the week into days, the month into weeks. A divergence between two CONSECUTIVE quarters is
sequential, prefixed "SSMT" — or "SSMTF" if it also delivered into a gap. Skip a quarter and it is
an ordinary divergence again, whatever the timeframe. These are never hidden by the decluttering
settings.

Strength Switch — off by default
Divergence filtered by the sweep instead of by time: which asset took the prior extreme, and which
failed to pair it. Tagged onto labels that are already on the chart rather than adding new marks.
"SS" for a single formation, "SS²" where a second confirms it.


NOTES

An analysis aid, not a trading system. It shows where correlated markets disagree. It does not
generate entries, exits, targets or alerts, and disagreement alone is not a reason to trade.

Readings on the currently forming HTF candle are live and can change until it closes — that is why
forming PSPs have their own colour.

Correlated data is requested with lookahead off.
릴리즈 노트
Version 5.1

Five shortcuts at the top of the settings, the Strength Switch made optional, a change to what the metals correlate against, and two fixes to tick boxes that were not being honoured.

Five quick toggles at the top of the settings

The settings panel now opens with five switches, above every group. None of them is a new feature — each is a shortcut onto something you could already reach further down, put where you can get at it without scrolling.

Enable Strength Switch (off) turns the SS and SS-squared tags on and off in one place.

Quarterly timeframes (off) swaps the candle column onto 30m / 1H / 90m / 4H / 6H — the cycle-quarter set that sequential divergence is built around. It switches the 15m slot off and turns the daily slot into 6H, which gives you session divergence: one index taking the London or Asia low while another fails to. Untick it and your own timeframes come back untouched.

Indices: pair against YM (on) — untick to run NQ against ES alone.

Indices: pair against RTY (off) — adds the Russell as a third leg on NQ, ES and YM. It is a useful breadth read and it prints noticeably more lines, which is why it is off.

Metals: pair against spot FX (off) — adds the spot metal quoted in USD and in EUR alongside the futures leg. Gold diverging against XAUEUR but not XAUUSD is a euro story rather than a gold one.

The last three only steer what gets filled in automatically on a recognised futures root. On any other chart the three correlation boxes are yours to type and the switches do nothing.

Strength Switch is now off by default, and split into its parts

Strength Switch was always on. It is now off, and while it is off it costs nothing — the extra data it needs is no longer requested at all.

When you do turn it on, you can choose which formations get marked rather than taking all four. SS-PSP tags candles, SS-SMT tags divergence lines, and Two-stage only keeps just the confirmed SS-squared form of whichever you have on. SS-SMT works with PSP highlights switched off, since it only needs divergence.

Metals now pair against the sibling metal alone

A gold chart used to pair against silver plus XAUUSD plus XAUEUR, all three, straight away. It now pairs against silver only, with the two spot legs behind the Metals switch above. The triads themselves are confirmed correct: gold takes SI, XAUUSD and XAUEUR; silver takes GC, XAGUSD and XAGEUR.

All three correlation slots are ticked by default now, including the third. On charts where nothing fills the third slot it stays empty, and an empty slot is simply inactive — so leaving it ticked costs you nothing there.

Two fixes to the correlation tick boxes

Strength Switch ignored the Corr. 1 and Corr. 2 tick boxes. Unticking a correlation removed it from PSP, from the column divergences and from the chart overlay, but its SS tags carried on appearing. It was the one place in the script where unticking a correlation did not remove it everywhere. Fixed.

An empty correlation slot could be counted as a live correlation. An empty symbol box quietly fell back to the chart's own symbol, which of course never disagrees with itself. Under the default ANY rule that was invisible, but with "SMT needs every symbol" switched on it could silence every PSP and divergence on the chart. An empty slot is now properly inactive, and its name drops out of the labels.

Faster on every tick

Divergence detection was rescanning the same price history from the start for every pair of candles it tested. It now works those running highs and lows out once per pass and reads them back, which is an order of magnitude fewer scans on a busy column and shows up as smoother behaviour on a live chart with several timeframes drawn.

Migration

Settings will not carry over cleanly. Eight new inputs, five of them at the very top, shift the saved layout — if you had this on a chart already, open the settings and confirm they read the way you expect rather than trusting them.

Three defaults changed what you see, all in the direction of less: the metals no longer pair against spot FX, YM no longer picks up RTY, and Strength Switch no longer marks anything until you turn it on. Everything is one tick away if you want it back.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.