EA does not work with objects drawn on chart
-
Hello, my EA does not work if I add the marked area. Without it, it does work normally. What did I do wrong?
https://fxdreema.com/shared/6Is8ZLmqc -
@floko125 Do you mean the part with all blocks withion AREA 1? Did you try to craete an EA with those blocks only? And dod it work?
-
@l-andorrà
No it do not work. But why? All variables are mentioned and the blocks are connected correctly... -
@floko125 This means the problem is the way those variables are calculated. I recommend to use a 'comment (ugly)' block in wich ALL your variables are plotetd on screen. That way you will be able to find wich one is incorrect.
-
@l-andorrà
The problem is that no comment section is draw and the EA seems to not check the ticks at all. It just rushes thru and is instanly finished with testing after I pressed the Start button. -
@l-andorrà
I found the error: the deposit variable was equal to zero when I started, so in the one formula it would have divided by 0. Without this formula it does work
-
@floko125 Congrats for fixing it!
