CStochasticOnArray class is designed for calculation of Stochastic on indicator buffers.
Init() method with the following parameters is called in the OnInit() function:
Solve() method with the following parameters is called in the OnCalculate() function:
Test_StochasticOnArray.mq5 is a sample indicator showing CStochasticOnArray class usage. IncStochasticOnArray file must be placed to MQL5\Include\IncOnArray of the terminal data folder (IncOnArray folder must be created).
CMAOnArray class from the IncMAOnArray file is needed for the proper work. It can be found here.
The Stochastic Oscillator Technical Indicator compares where a security’s price closed relative to its price range over a given time period. The Stochastic Oscillator is displayed as two lines.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/629
Trinity-Impulse indicator shows market entries and periods of flat.VGridLine_Intraday X3
Vertical time grid with three hours step.
The indicator displays the crossing points of RSI (Relative Strength Index) indicators belonging to various periods.FiboCandles
The indicator displays colored candlesticks depending on the current trend and considering Fibonacci levels correction and also gives alerts or audio warnings in case of a trend change.