
I wrote a custom indicator that looks like this:
It has a single input called period which determines the period of the moving average. Default is 200. I also have an expert advisor that is calling this indicator like this:
The problem is that no matter what value I pass in for the period, I keep getting data for the 200 (default) average. I looked online at the iCustom documentation and I think I'm calling it correctly. What am I doing wrong? I'm using mql5.
I am having the same problem. In the tester journal it reports the correct input values : "variable=x". But it doesnt actually use them after the indicators are loaded. It almost seems as if the default values are overriding what is in the input tab. Its doing it on EVERY indicator including the included indicators in the Examples folder. So frustrating. I'm thinking of doing a clean reinstall.
Build 3326
I wrote a custom indicator that looks like this:
It has a single input called period which determines the period of the moving average. Default is 200. I also have an expert advisor that is calling this indicator like this:
The problem is that no matter what value I pass in for the period, I keep getting data for the 200 (default) average. I looked online at the iCustom documentation and I think I'm calling it correctly. What am I doing wrong? I'm using mql5.