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

2011.02.22 17:06
Scripts

ChartNavigate Demo - script for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
2099
Rating:
votes: 18

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


Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/296

Demo_DRAW_ZIGZAG Demo_DRAW_ZIGZAG

Simple example of use of the DRAW_ZIGZAG drawing style.

MQL5 Wizard - Trade Signals Based on 3 Black Crows/3 White Soldiers + RSI MQL5 Wizard - Trade Signals Based on 3 Black Crows/3 White Soldiers + RSI

Trade signals based on "3 Black Crows/3 White Soldiers" candlestick pattern, confirmed by Relative Strength Index (RSI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + Stochastic MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + Stochastic

Trade signals based on "Dark Cloud Cover/Piercing Line" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + CCI MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + CCI

Trade signals based on "Dark Cloud Cover/Piercing Line" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.