Drawing tool · Drawing Tools
Available

Rectangle

A price-and-time box with a switchable midline and quarter lines, an option to run it to the right edge of the chart, and the top, middle and bottom prices at that edge.

Available·NinjaTrader 8·mdtDrawTools
chart image
Rectangle on a NinjaTrader 8 chart
What it shows

A zone box that shows its own levels.

Two corners

Click one corner, then the opposite one. The fill, its opacity and the outline are separate settings.

Midline and quarter lines

A dashed line at 50 percent of the box's height, on by default, and lines at 25 and 75 percent, off by default, both drawn across the full width.

Extend right

Runs the box, the midline and the quarter lines to the right edge of the panel, so a zone drawn once stays ahead of price.

Prices at the edge

Optional labels with the top, middle and bottom prices at the right edge, rounded to the tick and formatted as the instrument formats prices.

Resize by any corner or edge

Corners, sides and the outline each give their own cursor; the drawing moves as a whole by its outline.

On the chart

What it looks like in a session.

screenshot 1
screenshot 2
screenshot 3
clip: scrolling the chart
Scrolling the chart: the rendering in real time, and the panel buttons.

Background

Supply, demand and the middle of the range.

A rectangle is the plainest way to mark a zone: a consolidation, a supply or demand area, a gap, an opening range. What traders then want from it is its midpoint, since the middle of a range is where acceptance or rejection gets decided, and its edges carried forward in time to where price is now. The Rectangle in this pack adds those to the basic box: a 50 percent line, 25 and 75 percent lines, and an extension to the chart's right edge.

The first click sets one corner; the box follows the mouse to the second click. After release the fill is drawn at its opacity with the outline on top, the midline dashed across the middle, and the quarter lines at a quarter and three quarters of the height when on. With Extend right on, the right side runs to the panel's edge. With prices on, the top, middle and bottom prices appear at that edge. A corner or an edge gives a resize cursor; the outline gives the move cursor.

The box marks prices and times and computes nothing from the bars inside it. The midline and quarter lines are fixed fractions of its height, not volume levels. Settings: fill and fill opacity, the outline stroke, the inner-line stroke, the midline, the quarter lines, extend right and the price labels.

illustration
A translucent box over a consolidation with a dashed midline, its right side extended to the chart's edge and three price tags at that edge.
Settings

Every setting, explained.

Read from the indicator's own settings, so this table always matches the current build.

GroupSettingWhat it does
Settings
AreaFill
Fill opacity (%)
LinesOutline
Midline (50 %)
Quarter lines (25 % / 75 %)
Midline and quarter lines
Extend right
LabelShow prices (top / middle / bottom)

One license. Every tool.

Rectangle is one of 76 tools in the Suite.