Learn NinjaScript: Creating Custom Drawing Tools (Advanced)
An orientation to building custom drawing tools in NinjaScript. DrawingTool class, anchor system, mouse handlers, and rendering — the minimum viable shape of a user-placed chart tool.
The platform I’ve been using and building on since NT6.5. Setup, troubleshooting, and what makes it work.

An orientation to building custom drawing tools in NinjaScript. DrawingTool class, anchor system, mouse handlers, and rendering — the minimum viable shape of a user-placed chart tool.

Most momentum oscillators take the difference of price from a moving average. AlgoAlpha’s Dynamic Median Momentum Oscillator takes the difference from a rolling median instead. The median is robust to outliers — a single spike bar can drag a moving average for many bars after, but barely moves a median. So the resulting oscillator is…

How to read ChartControl and ChartScale in NinjaScript for custom overlays. Canvas dimensions, visible bar range, pixel-to-value conversion, and patterns for zoom-responsive rendering.

ChartPrime’s Liquidity Flow Surge Profile takes the volume-profile concept and renders it as a flowing thermal heatmap on the price panel. Twenty-five bins span the lookback’s price range; each bar’s volume is attributed to the bin its close falls into; bin opacity scales with volume share. The hottest bins glow; the coldest fade out below…

When to leave Draw.* behind and take over the chart canvas with OnRender and SharpDX — render gating, RenderTarget lifecycle, coordinate conversion, and a SMA value-label anchor.

QQE — Quantitative Qualitative Estimation — runs an EMA-smoothed RSI through an ATR-of-RSI band system and produces a trailing trend line that flips on close-cross. Mihkel00’s QQE MOD takes that primitive and runs two of them in parallel, then layers a Bollinger band of the primary QQE’s trend line as a zero-cross filter. The histogram…

How to detect events in NinjaScript — price touches, session transitions, and threshold crosses — using fired-this-bar flags and once-per-session flags for single-fire logic.

MFI divergences fire all the time — most are noise, a few are pivots. The hard part is knowing which is which without staring at the chart. AlgoAlpha’s Money Flow Divergence Zones takes a different approach: every confirmed divergence drops a price-panel rectangle anchored to the recent wick + body extremes. The rectangle stays on…

A line says “trend is up.” A background gradient that deepens in color as trend strengthens says “trend is up, and getting stronger for three bars now.” Backgrounds are an underused signal channel — cheap to implement, expressive when done well, and invisible until the reader hovers to notice them. BackBrush paints the current bar’s…

LuxAlgo’s Inertial RSI is the RSI cousin of LuxAlgo’s Inertial Stochastic. Same idea: instead of one fixed lookback, scan every RMA-based RSI from MinLen to MaxLen on each closed bar, then pick the one whose value sits closest to the previous bar’s chosen value. The result is a Wilder-smoothed RSI that resists noise — it…
The Account Copier mirrors one leader account to every follower in lockstep, on the same machine, across your LAN, or through the cloud relay. Free on one account.
Notifications