Tool
Plot
indicator.plot
Inputs
The series to draw (single-buffer styles).
First leg / upper series (two-value styles).
Second leg / lower series (two-value styles).
Open series for bars/candles.
High series for bars/candles.
Low series for bars/candles.
Close series for bars/candles.
0-based palette index per bar. Values are rounded and clamped to the palette length at draw time.
Outputs
Plot is a terminal sink — it draws on the chart and outputs nothing. Nothing can be wired from it.
Plot draws any wired series on your indicator's chart. Pick one of ten draw styles — line, histograms, arrows, sections, zigzag, filled band, bars, candles, or hidden — and optionally color each bar from a palette.
How it works
Each Plot node claims the buffers its style needs (one for a line, two for a span, four for bars/candles) and writes the wired values into them every bar. With dynamic color on, a wired palette index picks each bar's color (MT5 uses native color buffers; MT4 splits the plot into palette-masked copies). The MT4 build has a hard budget of 8 plotted buffers — the validator shows each plot's cost before you compile.
Modes
Style options
Connects the values with a continuous line — the classic indicator curve.
Vertical columns from the zero line to each value — momentum and volume shapes.
A vertical segment from value_a to value_b on every bar — spans, ranges, gaps.
A glyph at each non-empty value — signals and event markers. Pick the symbol with arrow_code.
Straight segments connecting non-empty values, skipping empty bars.
Alternating legs between the two value series — swing structure drawing.
Fills the area between the two value series. On MT4 this degrades to the two boundary lines without fill.
OHLC bars from the four wired series. On MT4 this paints columns over the chart candles.
Candlesticks from the four wired series. On MT4 this paints columns over the chart candles.
Computes and exposes the buffer without drawing — feed the data window or iCustom readers silently.
Line style options
An unbroken line.
A dashed line. Width above 1 forces solid — a platform rule.
A dotted line. Width above 1 forces solid — a platform rule.
Alternating dashes and dots. Width above 1 forces solid.
A dash followed by two dots. Width above 1 forces solid.
Empty treated as options
Empty values leave a hole in the histogram instead of drawing a zero-height column.
Empty values draw a zero-height column, keeping the histogram continuous instead of leaving a hole.
Configuration
Draw style — how the wired values render on the chart. Each style claims a different number of plot buffers.
Color each bar individually from the palette using the wired color_index. MT5 uses native color buffers; MT4 splits the plot into one masked copy per palette entry.
Plot name shown in the data window and the iCustom buffer list. Leave empty to derive it from the wired source.
Static plot color as #rrggbb. Hidden when dynamic color is on.
Ordered list of #rrggbb colors the color_index selects from. Up to 8 colors on MT5, up to 4 on MT4 (each entry costs one plotted buffer there).
Line, histogram, or arrow width in pixels (1–5).
Line pattern for line-drawing styles. The platforms force solid when width is above 1.
Expose this plot's color and width as terminal inputs so the end user can restyle it from the indicator's Inputs tab (static-color plots only).
Wingdings glyph code (33–255) used by the arrow style.
Vertical offset of the arrow glyph in pixels.
Skip drawing the first N bars. The default -1 derives N from the wired source's warmup so half-formed values never draw.
Shift the whole plot left or right by this many bars.
How empty values render in histogram continuity: 'gap' leaves a hole (the platform default); 'zero' draws a zero-height column instead.