View the Value in OnCalculate Parameters – indicator MetaTrader 5

OnCalculate Values Display
This is a utility for beginning indicator programmers, or others, that want to have a look at values provided by OnCalculate and a few other functions. The indicator shows: 1) The most recent value provided with the most recent OnCalculate call. 2) The previous value from the previous OnCalculate call. 3) The first value from … Read more

Simple bar spread indicator as reported by the OnCalculate data – indicator MetaTrader 5

Bar Spread
This is a very simple MQL5 code for an indicator to plot the values of the spread[] data (in points) as reported by the OnCalculate event handler. These are the same spread data values that would be returned when collecting MqlRates data via the CopyRates function. Simple bar spread indicator as reported by the OnCalculate … Read more