TradingView Indicator · User Guide
DML — statistics, not opinions.
A statistical tool rather than a pattern one. It measures how far price has historically displaced and manipulated from a session open, then draws those distances forward as levels for today.
This guide was generated from the indicator source and has not been proofread against live charts yet. Settings and defaults are accurate; the explanations may need your corrections.
Appears in TradingView as mosaic / DML[Pro +]
Quick start
The defaults work. What matters is understanding what the levels represent.
- Leave Calculation Lookback at 60 periods to start. Shorter reacts to the current regime; longer is more stable.
- Pick a Calculation Method.
Meanis pulled by outliers,Medianis not — start onMean, switch if a few violent days are skewing your levels. - Turn on Day-of-Week once you have watched it a while. Monday and Friday behave differently, and averaging them together hides that.
- Check Use Custom Anchor matches your market. The default is 18:00, which is the futures day.
Calculation
What the statistics are built from. This section is the indicator.
Mean, Median or Both. Median resists outliers; mean does not. On an instrument with occasional violent days, that difference is large.A level here says price has historically moved about this far by this time. It is a probability distribution rendered as a line, not a forecast. Treat a level being reached as normal, and a level being far exceeded as the information.
Levels and Display
Which statistical levels get drawn, and how.
Lines, Zones or Both. Zones show the band; lines show the single value.Full Session extends across the whole session, Current Bar stops at price, Offset parks them to the right of price.Displacement and manipulation are the two halves of the read: manipulation is the distance price takes against you before the move, displacement is the distance it covers once it goes. Watching one without the other tells you half the day.
Sessions
The intraday windows statistics are computed over.
Labels
Minor display controls.
tiny, small or normal.