How do I write code to compare current value and previous value of stochastic line
I want to say current value minus previous value is equal to or more/less than a certain value. How do I do it
An example of how to create an indicator handle in MQL5 and how to get the value of the 'Stochastic' indicator:
An example of get values from the iStochastic indicator
How to start with MQL5
- 2020.04.09
- www.mql5.com
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors...
Why don't you use CopyBuffer function?