magft
Interesting Timeframe thought I'll look into it.
Thanks
Interesting Timeframe thought I'll look into it.
Thanks
DislikedFor reference there is a #define CLOSE_ORDER 9 at the top so this is not the cause of the problem. I have had a scan through the code and nothing is obviously standing out as wrong. I haven't had time to run yet, i'll try and have a look later on.
Not sure but i noticed in the indicator they use "current timeframe" and you have used "0" in your icustom calls but this doesn't look like it should cause issues. Also i have seen strange things happen if you don't pass all parameters to an indicator from icustom. So may be worth using a custom...Ignored