OpenCL and MQL5 indicator returning garbage values in the output
The error might be coming from kernel values being float and the indicator buffer being double.
kypa:
The error might be coming from kernel values being float and the indicator buffer being double.
May be. I guess I need to check it out once.
Here is the code that I have tried for Simple Moving Average.
The above code works fine but returns garbage values in the output buffer. Kindly, suggest me what I can do to improve the output and get it done smoothly.