@josecortesllobat Thanks! I was just looking into reducing the blocks. Although I did not get the right results with the candle body size (probably because it is in pips), I was able to reduce the project with one block. I now have this:
I just noticed that the issue described above in this topic still applies when using the adjust field with Variables instead of Constants. toDigits works VariableName pips doesn't. Any chance you can have a look at this?
Well, I don't recommend using functions that I have made, because eventually I might change them and they will stop to work. When I do things, it happens that I always rethink the way I did them and I always change something here and there. So, use any of my functions on your own risk and be prepared for that EA to broke eventually 🙂
Not in the blocks, but in the code - yes. But once I tried that and it didn't worked very much as a button. I put some code in "on Chart" to depress the button, but it was so quickly that the button appeared static, like if I never clicked it.
Yes, I need to find some way to make this work as a normal button, but now I have other things to do 🙂 What can you use instead.... maybe text label - https://fxdreema.com/shared/X7S0FjXhb