Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Script

Statistics of candles 2 - script per MetaTrader 5

Visualizzazioni:
5574
Valutazioni:
(23)
Pubblicato:
2018.01.22 09:21
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

A modification of the Statistics of candles script. Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The CGraphic class is used.


What's new

  • Now two types of statistics on bar series are available for the Y axis:
    • The number of series (was available in version 1.xxx);
    • Percent of series (new in version 2.xxx).
  • Drawing a smoothed chart (new in 2.xxx).


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;
  • Output statistics - chart mode: the number of series or the percent of series.

EURUSD,M5. 1200 bars. Percent

Fig. 1. EURUSD,M5. 1200 bars. Percent.

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/19323

DeMarkerValues DeMarkerValues

The indicator shows a text block with the values ​​of the user defined DeMarker oscillator period for each timeframe.

WPRValues WPRValues

The indicator shows a text block with the values ​​of the user defined WRP oscillator period for each timeframe.

Count of candles in interval (histogram) Count of candles in interval (histogram)

The indicator shows the number of bullish and bearish bars in the given interval.

MAMACD MAMACD

A strategy based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD).