Problem with candle ID and "Shift"of indicators
-
I have had this problem with several indicators that have a "Shift"function, does anybody know a way around this?

Explanation: Whenever i try to change the Candle ID from a condition, it will also automatically change the "shift"parameter from indicators after i close the window, it also does that when i use constants:

-
Uploaded the indicator i am trying to use:
0_1559414747342_tirone_levels_x3.mq5
The error will show up as soon as you try to modify/update a single Candle ID parameter. Thanks in advance.
-
Try to redo this project on MT4 and try it. More than probably the problem is just on MT5.
-
@l-andorrà Hi, i need it working in MT5 because that's where my account is. My guess is that Fxdreema uses the "Shift" for something related to its "Candle ID" functions.
-
I'm sorry to say this but I had to renounce to work on fxDreema's MT5 due to its many troubles and lack of solutions available on the bugs forum :(. Maybe the administrator van give a final answer.
-
@l-andorrà I noticed i can just remove shift from the inputs and the problem is "solved"
.. Sadly i found a very good indicator that requieres to shift, so i won't be able to automate it.And yes MT5 can be buggy as hell (specially in Win7) . But it has very good value for: Lot of free good (new) indicators, multi-currency testing, infinite custom symbols , realistic testing using the broker's data feed (although there is some annoying stuff aswell).
I hope the admin can shed some light into the issue

-
I have some ideas from where this problem can come, but it can be hard for me to easily fix it, because I have some ugly code there that needs extra care. The problem is that "Shift" parameter is already the actual name of the "Candle ID" parameter and there is a collision. It would be the same if you have parameter "Period". But I can tell you how to escape the problem - just rename the input parameter to something else. Parameter names of custom indicators doesn't really matter that much.
-
@fxdreema Thanks, i am going to try out renaming the input. For the other indicators (on which i don't plan to Shift) i already found a very simple solution, i'm just using the current open instead of last close as reference so shift and candle ID remain as 0. BTW i am having some conection problems with the builder and the forums.
-