Since it seems that we can not rely only on the brute force of metatrader 5, from time to time we need to revisit the code and optimize it - for speed mainly. One example of that is vortex indicator (originally published here : Vortex along with detailed description.
This version is, regardless that the code is not simpler, significantly faster. Hence, it is more suitable to be used from any iCustom() calls
A base class to simplify analyzing trade transactions in MQL5.Daily Percent Change
This indicator uses the open price for the day, and computes the percent change for that day. Use on any chart TF up to and including D1.