Download MetaTrader 5
To add comments, please log in or register
Read the interviews of the Automated Trading Championship participants
Automated-Trading
Admin
97635
Automated-Trading 2011.02.22 17:06 

ChartNavigate Demo:

Simple script with demonstration of use of the ChartNavigate() function.

The script uses several chart functions:

  • ChartID() - to get the handle of the chart with the script launched (the handle is used in chart operations)
  • ChartGetInteger() - to get the number of the first visible bar on the chart (indexing as timeseries is used - the last (uncompleted) bar has index 0),
  • ChartSetInteger() - to set chart shift from the right border of the chart, to disable autoscroll when new tick, to set drawing as candles and showing of tick volumes.

Each navigation demo is commented using the Comment() function.

tChartNavigate example

Author: MetaQuotes

/
To add comments, please log in or register