Added colors to Parabolic SAR. The color depends on the acceleration factor.
All calculations performed inside the CParabolic class.
The code will be useful for all who start to learn classes.
The colors are listed in the line:
#property indicator_color1 Blue,Purple,Indigo,Sienna,SteelBlue,Aqua,SpringGreen,Gold,Yellow,Linen,MintCream
This version uses 10 first colors, but it's better to specify more colors in the list.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/96
The CGV class simplifies the work with global variables of MetaTrader 5 client terminal.iStochasticOfOsc
The Stochastic of all oscillator-like indicators, included in MetaTrader 5 client terminal.