-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iCustom with parameters #266
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using iCustom with parameter array 2147483647 is returned however if I use the method that doesnt take a parameter array I get the correct returned value, it is then using the indicator defaults in the indicator file at this time to simplify testing have been set as 1,3,2.5 ie the same as being passed in through code.
here is the code
string sym = "GBPJPY";
const ChartPeriod timeframe = ChartPeriod.PERIOD_D1;
string ea = "JFTEST";
double[] param = { 1, 3, 2.5 };
const int mode = 0;
const int mode1 = 1;
const int shift = 0;
var result1 = _apiClient.iCustom(sym, (int)timeframe, ea, param, mode1, shift);
var result2 = _apiClient.iCustom(sym, (int)timeframe, ea, mode1, shift);
Am I making a basic mistake or is this a known issue?
I am using v1.43.
The text was updated successfully, but these errors were encountered: