Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2014.07.11 12:37

Indicator Tracer - indicator for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 12
ind_tracer.mq4 (3.64 KB)view

Traces the output of indicators by buffer. Output can be changed on the chart by moving the VL left or right.

This can be useful when tracing the output of custom indicators, particularly of arrow indicators whose index empty value is not exactly known.


The indicator comes with two parameters. The first is the name of the indicator. The second is the number of buffers to trace. Make sure that the indicator being referenced is installed.


As shown in the figure below, ind_tracer is used on BB. The starting position of the vertical line is set to 1, which is the last formed bar. Moving the line left or right will cause the referenced bar to change, and hence, the output.

ind_tracer on bands

On the other hand, arrow indicators such as Fractals do not always fire a value. As shown below, the indicator sets the buffers to zero to hide them on the chart.

However, this is not always the case. Some indicators may use EMPTY_VALUE or any other index value as set by the SetIndexEmptyValue() function.

ind_tracer on Fractals


  • custom indicators only: for standard indicators, search for their counterparts in the codebase
  • up to a maximum of one instance of ind_tracer on any given chart
  • works only on default parameter values for any indicator
The Heavy The Heavy

The indicator helps to find the correct trend before enter the market.

Infoboard Infoboard

Trading information with Fractal trend.

Candle Time End And Spread Candle Time End And Spread

The indicator shows candle end time and current spread.

Time Filter Library Time Filter Library

The function will filter the trade positon. If the current time in the time you set, the function will return true.