New

Drift Desk Premium · Sizes it, fees in R. Trails the rest.Drift Desk Premium

$49 once$49See PremiumSee it
Pine Pro Library · Pine v6 · v1.5.0

Drift Desk trend indicator for TradingView

It flips on a confirmed close through its trail, then sets the stop, the checkpoint and the target at once.

Co-Pilot09:45
READ
Long · −0.18R
PLAN
Target 240.94 · stop 235.75
RULE
1R is a checkpoint: nothing changes
One plan at a timeDrift Desk 1.5.0

Window 1 · first to reach 1R

Simulated 15-minute bars, not a real market, run through Drift Desk's rules, simplified for the browser. Quiet bars run as a time-lapse; the bars that matter slow down. Window 1 is the first simulated window whose trade reaches its 1R checkpoint, so every step shows; Another window plays the next simulated windows with a trade that closes inside the window, whatever the result; every window starts with no plan open.

Read as text
Times are bar opens on the simulated clock. Exit words and R are the desk's own; R is before costs.
TimeEventPrices
13:45Wick through the trail · no flipWick 251.04
16:15Wick through the trail · no flipWick 250.89
16:30Wick through the trail · no flipWick 250.95
17:15Wick through the trail · no flipWick 251.25
17:30SELL · flip downEntry 251.16 · stop 253.48 · 1R 248.84 · target 246.52
19:001R · checkpoint, nothing changes1R 248.84
00:00TARGET +2.00RExit 246.52
08:45BUY · flip upEntry 237.48 · stop 235.75 · 1R 239.21 · target 240.94

Full Pine v6 source in Pine Pro Library. It draws on your chart; you place the trades.

Close through. Not a wick.

The trail only flips on a closed candle beyond its band; wicks through it change nothing.

FLIP

A close above 127.45: long at 127.63, the plan set at once.

  • Close beyond the band: passes
  • Warm-up done: passes
  • Volume window: passes
  • Valid stop: passes
  • No plan open: passes

Five optional gates, all off by default.

Simulated 15-minute bars, simplified rules; shorts mirror longs. The window is the first simulated one with two wicks through the trail before the close that flips it.

01 · The band

Two ATR out

Each band sits two ATR from a centre that leans with buying and selling pressure.

02 · The ratchet

It only tightens

A band only moves toward price while price stays on its side.

03 · The flip

A close, not a wick

A confirmed close beyond the last opposite band flips the trail.

04 · The gates

Off by default

EMA 100, efficiency, eight timeframes, New York hours and the hourly EMA can each block a flip.

Blocked means gone.

Turn a gate on and drag the close: a flip the gate refuses is gone, not saved for later.

Flip refused The EMA 100 gate is on, and this close is on the wrong side of it.

The next close clears the EMA 100: still no entry. A refused flip is never queued.

+0.30 ATR beyond the trail
EMA 100 gate

01 · Default

All gates off

As shipped, any confirmed flip with a valid plan enters.

02 · A gate on

It can say no

A gate that fails on the flip's bar refuses that flip.

03 · No queue

Refused is gone

A later bar that passes the gate does not bring it back.

04 · One at a time

No stacking

A flip while a plan is open, or on its exit bar, is ignored the same way.

Fixed plan. Three endings.

Every entry arrives with a stop that never moves, a 1R checkpoint, and a 2R target, closed within 120 bars.

Straight to the target: Drift Desk keeps the whole move, +2.00R. Premium, same path: half at 1R, the rest at the target if its trail holds → +1.50R.

Drawn paths, not trades, through simplified rules, before fees; the Premium line uses Premium's.

01 · Stop

Beyond the swing

The lowest low of the ten bars before entry, less 0.25 ATR (the highest high for a short).

02 · 1R

A checkpoint

The desk marks it and changes nothing: no partial, no stop move.

03 · Target

2R, one order

A bar that touches the stop and the target counts as the stop.

04 · Time

120 bars at most

Then the plan closes at the close; a gap through the stop exits at the open.

Paste it. Run it.

Two files, the complete v1.5.0, ready for TradingView's Pine Editor.

On a phone? Send this page to your desktop.

  1. Copy the indicatorThe button copies the whole file.
  2. Paste it in the Pine EditorOpen a new indicator, replace the sample, save.
  3. Add it to your chartIt draws the trail, each flip and each plan.

GitHub holds an earlier release (v1.3.0) of the indicator.

1.5.0 · Every market: plans on indices, futures, CFDs and feeds without volume, on any timeframe.

New in 1.4.0: a Direction setting — Both (unchanged) or Long only. Long only refuses each short flip on its own flip bar and never queues it. The trail, its flips and the long-plan rules stay the same. Test both on your own market.

Updating a saved copy? Add 1.5.0 as a new script, or recheck its research, broker and display settings after pasting: those saved values shift.

See Drift Desk on a real TradingView chart →

drift-desk.pine · 1,200 linesDownload drift-desk.pine
//@version=6// …// Shared technical candidates; independent paper and broker acceptance/outcomes.// Price/volume context is not order flow, probability, or proof of a trading edge.// Keep extra historical-tick and order-fill recalculation disabled; overrides are outside the confirmed-close model.indicator("Drift Desk · Open Source", "Drift Desk", overlay = true, behind_chart = false, max_boxes_count = 120, max_lines_count = 250, max_labels_count = 200, max_bars_back = 3000)const bool IS_STRATEGY = falseconst string DRIFT_VERSION = "1.5.0" // DRIFT DESK · original pressure / ratchet engine. No private indicator code.const string NY_TZ = "America/New_York"const string G_PRESSURE = "01 · Pressure & trail"const string G_GATES = "02 · Optional entry gates"const string G_RISK = "03 · Fixed paper plan" int pressureFastLen = input.int(8, "Pressure EMA · fast", minval = 2, maxval = 100, group = G_PRESSURE, display = display.none)int pressureSlowLen = input.int(21, "Pressure EMA · slow", minval = 3, maxval = 200, group = G_PRESSURE, display = display.none)int normalizationLen = input.int(50, "Pressure deviation window", minval = 10, maxval = 300, group = G_PRESSURE, display = display.none)int volumeLen = input.int(20, "Relative volume / valid-bar window", minval = 2, maxval = 200, group = G_PRESSURE, tooltip = "New entries require this many consecutive positive-volume candles. Missing or recovering volume uses neutral price-only context until the complete window is valid.", display = display.none)float volumeCap = input.float(3, "Relative volume cap", minval = 1, maxval = 10, step = 0.25, group = G_PRESSURE, display = display.none)float projection = input.float(0.5, "ATR pressure projection", minval = 0, maxval = 2, step = 0.1, group = G_PRESSURE, display = display.none)int atrLen = input.int(14, "ATR period", minval = 2, maxval = 100, group = G_PRESSURE, display = display.none)float bandMult = input.float(2, "Trail ATR multiplier", minval = 0.5, maxval = 8, step = 0.25, group = G_PRESSURE, display = display.none) bool emaGate = input.bool(false, "Require EMA alignment", group = G_GATES, display = display.none)int emaLen = input.int(100, "Trend EMA length", minval = 5, maxval = 500, group = G_GATES, display = display.none)bool efficiencyGate = input.bool(false, "Require price-path efficiency", group = G_GATES, display = display.none)int efficiencyLen = input.int(20, "Efficiency window", minval = 2, maxval = 200, group = G_GATES, display = display.none)float efficiencyMin = input.float(0.2, "Minimum efficiency · 0 to 1", minval = 0, maxval = 1, step = 0.05, group = G_GATES, active = efficiencyGate, display = display.none)bool mtfGate = input.bool(false, "Require eligible timeframe agreement", group = G_GATES, display = display.none)float mtfRequired = input.float(0.625, "Minimum same-direction fraction", minval = 0.5, maxval = 1, step = 0.025, group = G_GATES, tooltip = "Lower or unavailable frames are excluded. Neutral eligible frames stay in the denominator. This count is not a probability.", active = mtfGate, display = display.none)bool sessionGate = input.bool(false, "Require New York entry session", group = G_GATES, display = display.none)

No coding needed.

View the full code

01 · Library

Full source

In Pine Pro Library: read it, change it, keep it.

02 · Pine v6

Two files

The indicator draws; the strategy twin runs the same rules in the Strategy Tester.

03 · Any chart

Your market

Crypto, forex, indices or stocks, on the timeframe you trade.

04 · Alerts

Built in

Alerts on each flip, entry and exit, in the desk's own words.

Same flip. More tools.

Premium runs this trail with a bigger-trend filter, a pullback entry, size from your risk, and half booked at 1R.

Drift Desk Premium Everything here, plus:

  • Bigger trend on 1H, 4H and 1D, two of three to agree
  • Pullback entry, up to 10 bars after the flip
  • Size and fees from the money you risk, in R
  • Half at 1R, the stop to entry, then the trail
  • A scanner of twenty symbols, fresh flips first
$49, one payment.
Get Drift Desk Premium $49

Full Pine source No subscription 7-day refund before download

Premium is a toolset: its signals are not proven to earn more. Test them on your own market.

Or all eleven products, one payment, nothing renews $97

Straight answers.

How do I get the code?

The page, the films and the manual are open to everyone. The code, the indicator and its strategy twin, is in Pine Pro Library: $49 once for every desk and every update, or as part of the Complete Suite. Sign in to copy or download.

Does it have an edge?

No edge is proven. It applies one fixed rule and draws a plan; you decide.

What happens after a blocked flip?

Nothing. Blocked flips are not queued, so a gate that passes later cannot create an entry.

What does Premium add?

The same trail and flip, with a bigger-trend filter, entries that wait for the pullback, size and fees before you click, half booked at 1R with the stop to entry, and a scanner for twenty symbols. Drift Desk itself stays complete.

We, ProEA Lab, build Drift Desk and Drift Desk Premium. The code is AI-assisted. Charts on this page show simulated bars and simplified rules, not broker fills. Trading involves risk.

Full manual.

Every rule, setting and check, one topic at a time.

Open the full manualClose the full manual
IN THIS MANUALTry · understand · install
ONE SETUP, EXPLAINEDPlan fixed at the close
Trail changes with price
1Trail→2Flip→3Checks→4Plan

Illustrated example · the trail never moves the plan’s stop

What is Drift Desk?

Drift Desk is a TradingView trend indicator in Pine Pro Library that combines candle pressure, relative volume and an ATR-based trail. A confirmed trail flip becomes an entry candidate only when required checks and risk rules pass. Its dashboard separates current trend context from a fixed paper plan, with a separate strategy script for testing.

Does Drift Desk measure buying and selling order flow?

No. Its pressure read combines candle position, body and relative volume; it is not bid-and-ask order flow. Missing or nonpositive volume blocks new plans until the required positive-volume history recovers, while price context and existing-plan management can continue. On a feed that has never carried volume, the default Every market setting runs the checks price-only instead. Understand pressure and volume limits

Why can the trail turn down while a long plan remains active?

The trail describes current context; an accepted plan keeps its original entry, stop and target references. A later opposite flip does not close that plan. Its own stop, target or expiry rules determine when it ends. Compare trend context and fixed plans

Is MONITOR ONLY a new Drift Desk entry signal?

No. MONITOR ONLY identifies an older active reference, not permission to enter late. NEW ON LAST CLOSE marks a newly accepted plan. Read the plan age, distance and original risk alongside the current checks before interpreting the display. Decode the plan status

FRESH FLIPS ONLY

If an enabled filter blocks a flip, that flip is not queued. A later bar passing the filter cannot create an entry without a new confirmed flip. The new flip must pass the enabled checks and risk rules on its closing bar. Version 1.3.1 puts this existing rule in the desk and default Brief explanation.

DIRECTION

New in 1.4.0: a Direction setting — Both (unchanged) or Long only. Long only refuses each short flip on its own flip bar and never queues it. The trail, its flips and the long-plan rules stay the same. Test both on your own market.

EVERY MARKET

1.5.0 · Every market: plans on indices, futures, CFDs and feeds without volume, on any timeframe. When the planned cash risk buys less than one quantity step, the plan keeps the exact size instead of being refused; a feed that has carried no volume runs its checks price-only. Off is the 1.4.0 rule. A coverage change, not a performance claim.

00 · WHY THIS TOOL EXISTS

Turn a busy chart into a clear sequence.

Drift Desk grew from a community request for an understandable trend tool. It explains what changed, which checks matter and where an accepted plan ends. Start with one candle.

0255075100Close 60Pressure +0.20
Open 40Close 60Pressure +0.20
Illustrative units · nineteen earlier volume observations of 100 are supplied · trail history is a separate supplied example.
00 · 1 / 5

Where did this candle finish?

The candle opened at 40 and finished at 60, nearer its high than its low. Its close and rising body contribute positive pressure.

01 · START WITH THE CANDLE

What pushes the trail?

Move a candle’s close to see how its pressure changes. Then compare a wick touch with a confirmed close through the trail.

READ THE CANDLE, THEN THE TRAIL

Pressure is an input. A flip is a separate event.

Drag the blue close, move the slider or press Play.

High 100Open 40Low 0Close 60One hypothetical closed candle
Watch the same candle change
THIS CANDLE’S PRESSURE+0.20Positive pressure
Where it closed
Upper half
What the body did
Rising body
Volume weight
Usual: weight 1

This score feeds the pressure history. Positive pressure alone does not mean the trail flips.

See the formula and volume example
Where it closed
Upper half
What the body did
Rising body
Volume weight
Usual: weight 1

Close location (2 × close − high − low) ÷ range+0.20

Signed body (close − open) ÷ range+0.20

Pressure (0.6 × close location + 0.4 × signed body) × volume weight+0.20

The example’s preceding nineteen volume observations are 100 each. The current volume is 100; its twenty-bar mean is 100. Dividing the current volume by that mean, then capping it at 3, gives weight 1.00. Candle volume is not bid/ask order flow.

The close-location and signed-body terms are clamped to −1 through +1; a zero-range candle contributes zero. Complete historical warmup is still required. Missing history is not a measured zero.

How pressure becomes drift, then a trail

Pressure history → drift. Subtract the slow pressure EMA from the fast one: default lengths 21 and 8. Divide that spread by its fifty-bar standard deviation and clamp to −3 through +3. Zero variance gives zero; the history must first be ready.

Drift → projected center. Start at the candle’s high, low and close average. Add drift × ATR × projection. Defaults: ATR 14, projection 0.5. Raw bands sit an ATR distance times the multiplier around that center; default multiplier 2.

Raw bands → ratcheting trail. While the previous close stays at or below the previous upper band, take the lower of the new raw upper and the previous upper. It cannot rise in that condition. The lower band mirrors this with a maximum when the previous close is at or above it. Equality retains the ratchet.

Confirmed close → raw flip. A downtrend flips up only above its previous upper band; an uptrend flips down only below its previous lower. A wick, equality or a forming bar is insufficient. Initialization sets direction without a flip event.

The sketch supplies earlier raw-band candidates to show this ratchet. It does not compute a historical drift from the single displayed pressure candle. A raw flip is not an accepted paper plan or a broker fill.

Schematic candles and supplied trail history · illustrative units · no market feed

THE IDEA

A candle’s close, body and relative volume contribute to pressure. The history of that pressure shifts an ATR channel. The trail ratchets with it; a flip requires a confirmed close strictly through the previous opposite band.

When the tool must wait for data

Missing open, high, low or close, reversed extremes, or an open/close outside the high–low range pauses calculation on a confirmed bar before technical or ledger state uses it. No plan outcome is inferred from that malformed bar. Coherent zero, negative and flat prices are valid OHLC. This is separate from a recoverable volume gap.

History and ATR must be ready. Missing or zero volume blocks new plans until the full valid-volume window recovers: 20 consecutive positive-volume bars by default. With Every market on (the 1.5.0 default), a feed that has carried no volume on any closed bar runs its checks price-only instead of waiting. During recovery, neutral weight 1 gives price-only context. It is not evidence of participation. Existing plans keep their normal stop, target and timeout processing.

02 · READ THE REAL CHART

The same ideas, inside the actual tool.

These unedited v1.3.1 captures show ETHUSDT 15m in Full and Compact modes. Both use Brief Co-Pilot, leave the five optional checks off and show no active paper plan. The Compact view hides optional explanation rows while keeping RULE visible. Version 1.4.0 draws the same desk with the default Direction setting; only the version label differs. Version 1.5.0 keeps the rule these captures show on a feed with volume, like this one; they were not retaken for it.

ETHUSDT · 15m · v1.3.1 · Full desk, Medium, Brief · all checks optional

Unedited Drift Desk v1.3.1 on ETHUSDT 15m: Full Top Left desk with ENTRY · FRESH FLIPS ONLY, eight context rows and Brief Co-Pilot with RULE. No active paper plan.
Fresh flips only. Blocked flips are not queued.

The ENTRY row makes the existing policy visible: a fresh confirmed flip must pass the enabled checks and risk rules on that closing bar. If an enabled HTF EMA check blocks it, that check passing later without another flip cannot create an entry. This market capture shows the policy label, not the synthetic regression sequence.

Open the original chart full size ↗
03 · ADD THE TOOL

Two files. The complete v1.5.0.

Copy → Pine Editor → Save → Add to chart. The code is in Pine Pro Library.

The indicator

Pressure trail, context matrix, five checks, fixed plans, research lab, Co-Pilot and alerts.

↓ Download drift-desk.pine
drift-desk.pine · Pine v6
Read the complete source

The strategy companion

The same technical candidates, passed to TradingView’s broker model with costs.

↓ Download drift-desk-strategy.pine
drift-desk-strategy.pine · Pine v6
Read the complete source

It ships with percentage commission per fill, one tick of slippage and full margin. Adapt the strategy() header to your market. Keep close processing enabled and extra tick/fill recalculation disabled. A simulated close fill does not promise an external order the same price.

Step-by-step installation help
  1. Open Pine Editor on your TradingView chart.
  2. Paste the indicator, Save, then Add to chart.
  3. Use the strategy companion on a second chart to examine the same candidates with costs.

Both files are in Pine Pro Library. Save the script before changing symbols. Updating a saved copy? Add 1.5.0 as a new script, or recheck its research, broker and display settings after pasting: those saved values shift. New to Pine? Follow the TradingView installation walkthrough.

Full source in Pine Pro Library · Licence · exact v1.5.0 release files

A public GitHub repository holds an earlier v1.3.0 release of the indicator, with its source hash, formulas, limits and a reproducible observation checklist. The files above are v1.5.0.

04 · GO DEEPER WHEN YOU NEED IT

The complete tool, one topic at a time.

Open the question you are working on. All original rules, experiments and settings remain here.

Follow the fixed plan

A flip asks. The checks decide.

Follow one confirmed flip into a plan. Then move a later close: the original-risk distance changes, while the saved entry and plan stay fixed.

From a flip to a fixed plan

15m example · LONG flipSaved close · F0
Close 104
Moving trailConfirmed flip close

A close through the old band.

F0 closes at 104, strictly above the preceding active band at 100. That confirms an UP flip. A touch or the first trend initialization would not be a flip.

Check this very close. The flip alone is not an entry.

Sizing, timing and outcome rules

The example assumes warmup, a full positive-volume window and a valid risk plan. Those are mandatory even when every optional check is off. Matrix neutral rows count; lower or unavailable rows do not. A required HTF EMA must use a strictly longer timeframe and a completed source bar.

Later mode shows four closed bars after entry. Its prior lower band is fixed at 108; equality keeps the UP trail, a strict close below flips it DOWN. The proposed new upper band is 114. These band inputs are supplied for teaching; the pressure explorer explains the preceding calculation. The slider range keeps this example short of stop and final target.

NEW ON LAST CLOSE means age zero. MONITOR ONLY describes an earlier accepted plan. Original-R displacement uses the plan’s direction and initial risk, even when today’s trail points the other way. Current checks describe the current direction; they cannot replace the saved entry checks. In-chart PLAN tags use a readable display lane, so their horizontal position is not entry time.

Here the prior structure low is 97 and the ATR buffer is 1, giving a stop at 96. Entry 104 makes the initial risk distance 8. Cash risk 100, point value 1 and quantity step 1 give a rounded-down size of 12. Actual sizing uses the symbol point value and Auto or Manual quantity increment, without account-currency conversion.

Entry stays at the confirmed close; the stop and target levels round outward to the symbol tick. Size must be positive and price distances valid. An optional maximum-stop limit can also reject a candidate.

The paper ledger evaluates outcomes only after the entry bar. Opening stop gaps come first, then known opening final-target prints; an otherwise unresolved intrabar stop/target collision is stop-first and marked ambiguous. An opening print beyond 1R can record that checkpoint before a later stop touch. The checkpoint never edits the stop or quantity.

If neither stop nor final target resolves it, the default timeout is 120 completed bars and closes at that bar’s close. It is not a wall-clock promise. No replacement paper plan opens on a resolution bar. The strategy companion uses the same candidates with its own broker acceptance and fill rules.

Illustrated prices · saved flip comparison · no trade outcome shown

KEEP THESE APART

The moving trail is not the plan’s stop. Entry, stop, checkpoint, target and size freeze at acceptance. The 1R checkpoint only records a touch; it does not take a partial exit or move the stop.

Sizing, expiry and ambiguous candles

The default stop uses the prior 10 completed bars’ extreme plus a 0.25 ATR buffer, rounded away from entry. Size is cash risk divided by stop distance and point value, rounded down to the quantity increment. Cash risk uses symbol currency without account FX conversion. A zero size, invalid distance or a distance exceeding the enabled stop limit blocks the plan.

Paper outcomes start after the entry bar. An opening stop gap exits at the open; an opening target gap is credited at the target. If a bar touches both stop and target with unknown ordering, the paper model uses the stop and marks the ambiguity. A known opening print beyond 1R can still record the checkpoint before a later stop touch.

The default timeout is 120 closed bars after entry, resolved at the close if neither stop nor target has resolved it. The clock counts observed bars, not a promise of elapsed minutes. No replacement paper plan starts on the resolution bar.

Understand the timeframe count

Eight timeframes. One honest count.

Change the chart timeframe and watch which rows can count. The source label tells you why a reading is included or left out.

EIGHT ROWS. ONLY ELIGIBLE ROWS COUNT.

Which timeframes agree?

FrameDirectionSource
1m—Below chart
5m—Below chart
15m↑ UpThis chart
30m↔ NeutralClosed bar
1h↑ UpClosed bar
4h↓ DownClosed bar
D—No data yet
W↑ UpClosed bar
3 / 5

point up with the trail.

Lower timeframes and missing readings do not count. A neutral reading counts in the total, but agrees with neither side.

These are illustrative row readings. Changing the chart here demonstrates eligibility; it does not recalculate market data.

What each row actually measures

Each row compares EMA 20 with EMA 50 and the slow EMA’s slope over 3 bars. Its RANGE / MIXED / TREND word describes a thresholded strength score. This is EMA context, not eight copies of the pressure engine and not a probability.

Higher rows use completed source bars. Daily and weekly rows match local data only on the corresponding calendar chart; a same-duration alias uses a completed source packet and says “closed alias”. The optional agreement check compares the candidate’s side with the eligible total; its default required fraction is 0.625.

SEPARATE CHECK

The optional confirmed HTF EMA is another reference, separate from this matrix and the chart EMA. Its default is the completed hourly EMA 21, switched off. When required, the reference must be strictly above your chart timeframe; a missing reference blocks new plans.

Keep research separate from the live rule

Test an idea without changing the live inputs.

The lab compares fixed settings on one window, freezes its choice and observes a later window. Your operating setup stays yours.

AN EXPERIMENT, KEPT SEPARATE

Train. Freeze. Then validate.

Operating settingsATR 14 · multiplier 2Stay unchanged at every step
ATR 101.522.53
ATR 141.522.53
ATR 211.522.53

Each row: multipliers 1.5 · 2 · 2.5 · 3

1 / 3

Compare twelve fixed settings.

The lab observes the declared training window. Every cell uses one ATR period and one multiplier, with the same required checks and a separate cost model.

Process illustration only. No measured rankings or selected parameter are shown.

Dates, costs and experiment boundaries

Declare the training start, split and validation end before examining the later window. Load pre-start warmup and any required higher-frame context. The baseline minimum is 20 resolved training plans. A selected cell can still have a negative training score; selection does not establish an edge.

Normal outcomes settle first at the first observed confirmed close at or beyond a date boundary, then surviving plans close there. No validation entry occurs on the split bar. Costs, ambiguous bars and boundary exits remain in the research record. The cost score does not simulate executable fills.

The operating inputs never adopt the leader. Changing inputs or repeatedly inspecting the later window reruns the experiment; fixed dates alone do not keep it independent.

01

Paper record

The indicator’s own plan ledger. It excludes costs and uses stated rules for gaps and ambiguous candles.

02

Research lab

A separate experiment with a standardized cost score. It compares training and validation without changing operating inputs.

03

Strategy companion

TradingView’s broker model, with its own fills, exposure and cost settings. Its ledger is independent.

Read the panel and Co-Pilot

Read the next step in words.

Version 1.3.0 makes the age of a plan explicit. A fresh acceptance says NEW ON LAST CLOSE; an older active plan says MONITOR ONLY.

ROWWHAT IT TELLS YOU
State & ribbonTRAIL → FLIP → CHECKS → PLAN tells you where the process stands. WARMING UP, ATR DATA WAIT, VOLUME WAIT or HTF DATA WAIT explain why a new plan cannot start.
ENTRY / RULEFresh flips only. A blocked flip is not queued. Later filter approval without a new confirmed flip cannot create an entry. ENTRY appears in Full and Compact; RULE stays visible in every enabled Co-Pilot depth, including Brief. With Direction set to Long only, ENTRY reads FRESH LONG FLIPS ONLY and RULE adds that short flips are refused and never queued.
RUNThe operating ATR, multiplier, target and HTF setting. These remain your inputs; they never become the research lab’s choice.
PRESSUREDrift in words: flat, leaning or strong. Path efficiency reads choppy, mixed or clean. Relative volume adds participation context.
FRAME / SOURCE / ALIGNEight EMA-context rows, their strength labels and their source. ALIGN counts eligible rows agreeing with the current trail.
CHECKSFive checks, required first: met, not met, no data or off. The count describes the current trail direction, not the frozen entry snapshot.
PLAN / AGE / CLOSED PRICENEW ON LAST CLOSE marks acceptance at the latest completed bar. MONITOR ONLY marks an older plan. Levels and size stay fixed; age, remaining bars and signed distance in original R describe that reference.
LAST / LAST FLIPThe last resolution and the latest confirmed flip with its date, age and rejection reason. A past rejection is a historical fact, not today’s blocker.
Co-PilotBrief is the default: READ names current context; PLAN distinguishes a new acceptance from an older reference. Standard and Detailed add evidence, including the saved AT ENTRY checks.

Current checks can change while a plan is open. AT ENTRY preserves what was true when that plan was accepted. Original-R distance uses the plan’s saved direction and initial risk, before costs; it is not a closed trade result or a late-entry instruction. Moving the cursor over an older candle does not turn the latest-state desk into a historical dashboard.

Every setting and factory default

Start simple. Change one thing.

Baseline & pressure

ATR 14, multiplier 2, target 2R. Pressure uses fast EMA 8, slow EMA 21, a 50-bar deviation window, a 20-bar relative-volume window capped at 3, and ATR projection 0.5. These are shipped defaults, not selected settings.

The five optional checks

All five default off. Chart EMA uses length 100. Path efficiency uses 20 bars and a minimum of 0.2. Frame agreement uses a minimum fraction of 0.625. The New York session is 09:30–16:00, judged by the chart bar’s opening timestamp; that gate rejects daily or higher charts. The confirmed HTF EMA defaults to 60 minutes, length 21.

Required EMA checks need a strict close on the candidate’s side; equality does not pass. A required HTF reference must be longer than the chart and ready. Turning a check off does not bypass common warmup or the risk rules.

Plan & position size

Cash risk defaults to 100 in symbol currency. Auto quantity step uses TradingView’s minimum contract metadata, falling back to 1; Manual uses your increment. With Every market on, a plan whose cash risk buys less than one step keeps the exact size; off, it is refused. Set structure length, ATR stop buffer, final target, optional maximum-stop limit and bar timeout for your experiment. The estimate does not check a broker’s account-specific restrictions.

Display & Co-Pilot

The factory desk is Full, Medium and Top Left; Co-Pilot is Brief. In-chart PLAN tags are the default, with connectors to their true prices. Their horizontal position is a readable display lane, not the original entry time. Projected tags remain optional. Adjust the transparent Top Left header clearance, text size and Full/Compact density to fit your chart.

Theme, chart view, channel, EMA, candle tint, markers, completed-plan history and paper record have separate display controls. No display setting changes acceptance. Tag spacing is a placement aid, not a guarantee for every scale, session gap or viewport.

Research controls

Set training start, split and validation end, minimum resolved training plans and lab costs before reading the later window. The twelve ATR/multiplier cells stay fixed. An incomplete window or no eligible cell remains a valid no-selection result.

Exact input names and factory defaults from the current source. The explanations above show how they fit together. A disabled option may require its parent switch.

01 · Pressure & trail
Pressure EMA · fastpressureFastLenDefault 8
Pressure EMA · slowpressureSlowLenDefault 21
Pressure deviation windownormalizationLenDefault 50
Relative volume / valid-bar windowvolumeLenDefault 20
Relative volume capvolumeCapDefault 3
ATR pressure projectionprojectionDefault 0.5
ATR periodatrLenDefault 14
Trail ATR multiplierbandMultDefault 2
02 · Optional entry gates
Require EMA alignmentemaGateDefault false
Trend EMA lengthemaLenDefault 100
Require price-path efficiencyefficiencyGateDefault false
Efficiency windowefficiencyLenDefault 20
Minimum efficiency · 0 to 1efficiencyMinDefault 0.2
Require eligible timeframe agreementmtfGateDefault false
Minimum same-direction fractionmtfRequiredDefault 0.625
Require New York entry sessionsessionGateDefault false
Entry session · New YorktradeSessionDefault 0930-1600
Require confirmed HTF EMA alignmentsensitivityGateDefault false
HTF EMA reference timeframesensitivityTfDefault 60
HTF EMA reference lengthsensitivityLenDefault 21
DirectiontradeDirectionDefault Both
03 · Fixed paper plan
Planned cash risk · symbol currencycashRiskDefault 100
Quantity incrementqtyModeDefault Auto
Manual quantity stepmanualQtyStepDefault 1
Structure stop · prior barsswingLenDefault 10
Stop ATR bufferstopAtrBufferDefault 0.25
Final target · initial RrewardRDefault 2
Maximum stop distance % · zero disablesmaxStopPctDefault 0
Plan timeout · bars after entrymaxHoldBarsDefault 120
Every market · size and volume never refuse a plananyMarketDefault true
04 · Alerts
Structured paper-entry alertssendJsonAlertsDefault true
05 · Fixed-window research · opt in
Enable 12-candidate research labinResearchDefault false
Training start · UTClabTrainStartDefault 01 Jan 2026 00:00 +0000
Train / validation split · UTClabSplitDefault 01 Jun 2026 00:00 +0000
Validation end · UTClabValidationEndDefault 01 Sep 2026 00:00 +0000
Minimum training trades for selectionlabMinTradesDefault 20
Lab commission % · each sidelabCommissionDefault 0.04
Lab adverse tick cost · each sidelabSlippageDefault 1
Display · make it yours
ThemevThemeDefault Accessible
Chart viewvViewDefault FullCompanion: Minimal
DeskvDeskDefault FullCompanion: Off
Desk positionvDeskPosDefault Top Left
Desk, lab & tag sizevSizeDefault Medium
Pressure channelvChannelDefault true
Trend EMAvReferenceDefault true
Color candles by confirmed directionvTintDefault false
Entry and outcome markersvMarksDefault true
Active price tagsvTagsDefault true
Show gross paper recordvPaperRecordDefault false
Completed plans visiblevHistoryDefault 2
Plan projection barsvAheadDefault 12
Research positionvLabPosDefault Top Left
Price tag placementvTagPlacementDefault In chart
Top Left header clearance · %vTopInsetDefault 12
Co-Pilot · read the reasoning
Explanation depthvNarrDefault BriefCompanion: Off
Co-Pilot positionvNarrPosDefault Bottom Right
Co-Pilot sizevNarrSizeDefault Medium
Explain current gatesvWhyDefault true
Explain fixed planvPlanDefault true
Show limitationsvLimitsDefault true
Broker · dated experiment
Broker start · UTCbrokerFrom · companion onlyDefault 01 Jan 2024 00:00 +0000
Broker end · UTCbrokerTo · companion onlyDefault 01 Jan 2030 00:00 +0000
Close at first observed end-window barbrokerCloseAtEnd · companion onlyDefault true
Alerts and event payloads

Choose the event you actually need.

Long / short paper plan

An accepted plan, after checks and risk validity.

Trail flip

A raw direction change; it may still be rejected.

1R observed

The checkpoint was recorded; the stop stays fixed.

Paper resolved

The paper plan finished under the ledger’s rules.

Long and short are separate conditions: five named conditions in total. Create one “Any alert() function call” alert for structured accepted-plan events. The JSON includes an event ID, symbol, timeframe, close time, direction, fixed levels, size estimate, drift, relative volume, context counts and acceptance reason.

Indicator event versus broker submission

Everything fires once per bar close. The companion emits a broker-submission event, explicitly not a confirmed fill. These are event payloads, not a broker connection. Version 1.3 preserves tiny valid numbers with scientific-capable JSON formatting and keeps unavailable numbers null. The schema and IDs stay unchanged; they do not fully identify the saved settings. Recreate alerts after source or setting changes and retain configuration identity separately. Live notification delivery was not established by the release checks.

Your first chart

Read one setup before changing the rule.

  1. Use standard time-based candles on a feed with volume. Record the actual symbol and interval, and load enough history for warmup.
  2. Read RUN and the current reason. Begin with the baseline, then follow one trail flip through the checks.
  3. Read NEW ON LAST CLOSE or MONITOR ONLY before interpreting the ticket. Compare current checks with AT ENTRY. Watch the fixed stop and target, and read closed-price distance using that plan’s original risk.
  4. If enabling the HTF check, select a strictly higher reference. A 15m chart with a 60m reference is a valid configuration example.
  5. Put the companion on a second chart. Set its costs and record the same history and inputs. Save a named template after checking RUN again.
What was checked

The rule, the costs and the boundaries.

The release includes source, compiler, malformed-data, numeric-output and selected desktop chart checks. These verify implementation within their stated scope. Earlier market observations retain their original source, costs and inspected samples; the paper, research and broker records remain separate.

The documented trading-validity verdict remains inconclusive. Inspectable rules and a readable panel do not establish a trading edge.

What the tool can and cannot tell you
READ THE BOUNDARIES

What this tool does not do

  • Candle volume is not bid/ask order flow. Pressure and frame agreement are not probabilities.
  • A confirmed flip is a candidate. Required checks and risk rules must pass on that bar; a rejected flip is never queued for later.
  • This is an original design with a published formula, inspired by a public request. It does not reproduce Swift Algo’s private formula, signals or rankings.
  • The paper record, research lab and broker model have different accounting. None predicts the next candle or guarantees an executable fill.
Common questions

Before you add it to your chart

Does it repaint?

Trail flips and acceptance commit on confirmed closes; higher-timeframe readings use completed source bars. Accepted levels stay fixed. A forming candle is provisional, and changing inputs or loaded history recalculates the study. Confirmation adds delay; it is not advance knowledge.

Can a blocked flip enter when the EMA filter passes later?

No. Blocked flips are not queued. Without a fresh confirmed flip there is no new entry, even if the enabled HTF EMA check later passes. Both scripts use this candidate rule. The strategy also applies its own position and date checks and broker fill model, so shared candidates do not imply identical trades. Delayed entries would require a separate rule.

Is Long only the same as Both without the short plans?

No. Long only refuses each short flip on its own flip bar, so a refused short never opens a plan. A later long flip that an open short would have blocked can then be accepted. Test both settings on your own market.

Why can the trail point down while a long plan is active?

The trail reads current context. The plan keeps the levels and reason frozen at its entry. Only its stop, target or expiry resolves it; a later trail flip alone does not.

Does 1R move the stop to entry?

No. The 1R line only records a checkpoint. It does not reduce size, take a partial or move the stop.

Which chart should I use?

Standard time-based candles on a feed with usable volume. Five- and fifteen-minute charts leave several higher rows eligible. The matrix excludes lower rows. Missing volume blocks new plans while the desk explains the wait.

Does MONITOR ONLY mean enter now?

No. It identifies an earlier accepted plan. Its age and closed-price distance explain where price is relative to the saved entry, using the original risk. The current trail and checks do not authorize a late entry.

Is this Swift Algo’s code?

No. Drift Desk is an independent implementation with a published formula. The private script was not accessed.

How do I get the code?

A community request became a complete tool with inspectable rules. This page, its films and this manual are open to everyone; the indicator and companion are in Pine Pro Library, $49 once for every desk and every update, or as part of the Complete Suite. Sign in to copy or download. The framework behind tools like this is available on the lab hub.

05 · THE LOG

Every change, dated

What shipped and what changed in Drift Desk, newest first. Ask for the next change below; what gets built lands here with a date, and on the lab queue on the front page.

  1. Every market: indices, futures, CFDs, no-volume feeds v1.5.0 Updated Drift Desk

    A new Every market setting, on by default: indices, futures, CFDs and feeds without volume get plans, on any timeframe.

    • A plan whose cash risk buys under one quantity step keeps the exact size instead of being refused
    • A feed that has carried no volume runs its checks price-only; a feed with volume keeps the 20-candle window
    • The merged refusal message now names its one cause
    • The strategy sends what the Strategy Tester can fill: the size rounded down to the symbol's minimum quantity
    • Off is the 1.4.0 rule; pasting over a saved 1.4.0 script shifts the research, broker and display values by one input
  2. Direction setting: Both or Long only v1.4.0 Updated Drift Desk

    A new Direction setting. Both, the default, keeps the 1.3.1 rule; Long only refuses short flips.

    • Long only refuses each short flip on its own flip bar; a refused flip is never queued
    • The trail, its flips and the long-plan rules are unchanged in both settings
    • Test both settings on your own market
    • Pasting over a saved 1.3.x script shifts some saved values by one input; recheck them or add 1.4.0 fresh
  3. Historical v1.3.1 entry-rule visibility Lab note Drift Desk

    The desk now spells out the existing entry rule: blocked flips are not queued for later approval.

    • ENTRY appears in Full and Compact; RULE appears in every enabled Co-Pilot depth, including Brief
    • A later filter pass without a fresh confirmed flip cannot create an entry
    • Regression checks cover this sequence in both scripts; entry and risk rules are unchanged
  4. Historical v1.3.0 plan monitoring Lab note Drift Desk

    The desk distinguishes a new accepted entry from an older plan, with clearer labels, age and fixed references.

    • NEW ON LAST CLOSE and MONITOR ONLY explain which plan is being read
    • Current chart labels, Brief explanations and optional Full desk or Compact views
    • Original risk distances describe the latest closed price, not realized performance
  5. Drift Desk v1.2.0 Shipped

    Reads candle pressure and trend before planning an entry.

BUILT WITH TRADERS

Something to change in Drift Desk?

A small friction or a big idea. Tell us what would make this tool work better for you.

What would help?

Describe your rules and what you want the tool to help you see.

Add chart details Optional

For a question about your idea or an update if it ships.

Guides & new tools Optional

Add an email above to choose this.

Show us on your chart Optional

Crop out any account details you don't want to share.

No account needed. Sent privately to the lab.
  1. We read it
  2. We choose what to build
  3. Shipped changes get a date

Requests for a new tool go on the same queue: see what is asked for and what is being built.

PINE PRO LIBRARY · CONFIRMED-CLOSE RULES · CONTEXT, NOT A SIGNAL SERVICE

  • Stochastic Pop Desk

    Compare the trail-flip approach with a separate momentum-based entry trigger and its checks.

  • Location Desk

    Add context about price within a range when comparing it with Drift Desk's pressure and trend read.

Built by ProEA Lab. Compare every desk in Pine Pro Library.