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
Indicators

Indicator Tracer - indicator for MetaTrader 4

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

Views:
20639
Rating:
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.

Usage

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.

ind_tracer

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

Limitations

  • 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
Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Holt's double exponential smoothing (mt4 version) Holt's double exponential smoothing (mt4 version)

Holt's double exponential smoothing with linear forecasting.

TimeToNextCandle TimeToNextCandle

This indicator shows how much time remaining to the next bar opening.