victor,
OK.
At the top of the code, you have string Pair_suffix. But it does not have extern in front of it, so it's an internal input, which means you have to open MetaEditor.
Then in init function every time we have pair name associated with Pair array, we also have +Pair_suffix, so that he suffix is put on the pairs. Then in start, Pair array is used in for loop to get open, close, high, low, and volume for all pairs.
But what needs to happen to is make getting this suffix to be automatic.
so in init function, I would put this code:
Pair_suffix=StringSubstr(Symbol(),6,StringLen(Symbol())-6);
The code that is already there concerning Pair_suffix, along with this at top of init function, should take care of it I would think.
Regards,
Don
OK.
At the top of the code, you have string Pair_suffix. But it does not have extern in front of it, so it's an internal input, which means you have to open MetaEditor.
Then in init function every time we have pair name associated with Pair array, we also have +Pair_suffix, so that he suffix is put on the pairs. Then in start, Pair array is used in for loop to get open, close, high, low, and volume for all pairs.
But what needs to happen to is make getting this suffix to be automatic.
so in init function, I would put this code:
Pair_suffix=StringSubstr(Symbol(),6,StringLen(Symbol())-6);
The code that is already there concerning Pair_suffix, along with this at top of init function, should take care of it I would think.
Regards,
Don
DislikedHi, Don
I'm afraid neither the T101 indi nor the EA that has sliding scripts to open & close trades with has any user inputs for those changes. Perhaps it is possible by going into mq4 codes, but I'm not very well equipped to be able to do that appropriately.
Regards,Ignored