← Back to all indicators

Price Distance Lines

Draws two horizontal lines above and two below the close of the current chart bar, at a near and a far distance. They are guide lines that all move when price moves, not fixed stop-loss or take-profit prices.

Coming soon · MT5 only · no licence file needed

Download and installation · Manual

Price Distance Lines default settings
MetaTrader 5 display example (default settings) — An example showing 100 point and 300 point above and below.
Examples with changed settings are in the manual.

Main settings

InputDefault
Far Distance (points)300
Near Distance (points)100
Far Line ColorSlateGray
Near Line ColorSlateGray
Far Line StyleSTYLE_DASHDOTDOT
Near Line StyleSTYLE_DOT

Detailed description of the settings (manual)

Usage specifications

Order of Near and Far

Although the names mean near and far, the input values are not automatically reordered by size. If Near is set larger than Far, the names and the visual inner/outer positions are reversed.

Price feed and history

The lines are updated when the chart bar's price can be obtained. While it cannot be obtained, earlier lines may remain. Do not mistake lines during market closure for new prices.

Difference from orders

The lines are on-screen objects; they do not place or modify Stop Loss or Take Profit. They do not send notifications either.

Only 1 instance of the same product on 1 chart

If you add the same product to the same chart more than once, the drawings overwrite each other, or deleting one also removes the display of the other. To use different settings at the same time, use separate charts.

For on-screen display only

It has no value buffers and shows its output as lines and text on the chart. It does not place trade orders or issue alerts. It does not guarantee profit or market direction.

Usage specifications (manual)

Full manual

How to read the display, the settings, installation and what to check when something goes wrong, on one page. The product is in preparation for release; the manual is published so that you can review its content.

Open the manual

  1. MT5 display and examples of changed settings
  2. How to read it in 30 seconds
  3. What it measures
  4. When to use it in decisions
  5. Actual decision steps
  6. Installation and checking the package contents
  7. Settings
  8. Usage specifications
  9. Troubleshooting and usage notes
  10. Technical information and specification details