Statistics of candles script for MetaTrader 5

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class.

Input Parameters

  • Count of bars – the number of bars (from the rightmost bar on the chart), for which the calculation will be preformed;
  • Verification – the flag for printing the copied timeseries of this symbol and the resulting array of bar series. NOTE: should only be enabled if the Count of bars parameter does not exceed 15-30. Otherwise the amount of printed data will be very large;
  • Save screenShot – enable/disable saving of screenshots of the resulting chart;
  • Sleep (milliseconds) – a delay in displaying the resulting chart.

Free Download

Statistics of candles script for MetaTrader 5

MT5 Forex Script Characteristics

Platform: Metatrader 5

Type: Script

Time frames: any.

How to install Screenshot Script in MetaTrader 5 / MT5:

Copy and paste the Statistics of candles.mql5 files into the MQL5 Scripts folder of the Metatrader 4 trading platform.

Restart your MetaTrader 5 application (assuming it’s currently open) … or Launch your MetaTrader 4 application

You can access this folder from the top menu as follows:

File > Open Data Folder > MQL5 > Script (paste here)

On the left hand side, look for the “Navigator” window and under the “Common” tab, look into the “Scripts” section

Locate the indicator which you have just downloaded into the folder stated in Step 1

Drag (Click and drag) the Script onto the chart (when you want the task to be performed)

your task should now be executed…

Leave a Comment