All indicators

Anchored Monte Carlo Shuffled Projection

By LuxAlgoJun 4, 2024

Anchored Monte Carlo Shuffled Projection is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Anchored Monte Carlo Shuffled Projection builds simulated futures from a point you choose: it takes the candle moves (close minus open) of the Lookback bars ending at the anchor, shuffles their order, and projects the cumulative paths forward from the anchor bar's close, up to 1,000 runs. The resulting fan of Monte Carlo price paths frames where price could plausibly travel if the window's volatility persists.

How to Trade the Anchored Monte Carlo Shuffled Projection?

  • Average Line: the mean of all simulations; because shuffling preserves the window's net change, it extends at the slope of the current lookback, a continuation baseline.
  • Standard deviation values: derived from the average deviation across vertical groups of simulation data and shown along the center line, they bound the projected range and can serve as forward support or resistance estimates.
  • Randomize Direction: inverts every alternate change to strip the drift bias, producing a more balanced, range-style projection.

The anchor is set purely by time: click the chart to place it, then drag the vertical line whenever you want it moved. Since the projection resamples the market's own recorded changes rather than an assumed distribution, the ranges inherit real volatility.

Anchored Monte Carlo Shuffled Projection Settings

  • Lookback: how many bars feed the calculation window.
  • Simulation Count: number of randomized runs, up to 1000.
  • Randomize Direction: alternates the sign of changes for a more normalized outcome.
  • Visualize Simulations: draws up to 99 of the computed paths in randomized colors.
  • Standard Deviation Multiplier: distance of the deviation values from the center line.
  • Extend Lines: projects the simulated value lines forward for reference.

Frequently Asked Questions

Free to use

Run it on Vela. Go further with a paid plan.

  • Up to 500 Custom Alerts, with webhook automation
  • Up to 10× the chart history of Free
  • Orderflow lookback up to full history
  • More Quant usage to customize it, plus extra usage when you need it
  • Futures data alongside crypto, stocks, forex and commodities
See plans

Also works on

TradingView
NinjaTrader
Original indicatorBuilt in-house by LuxAlgo

Run it on Vela. Make it yours with Quant.

Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.