I need help two custom indicators
-
Hi all, I have two custom indicators and need to create an EA and I have not got, something I'm doing wrong. The conditions are as the two indicators appear at the same time be bought or sold with the expiration one candle. Nothing more, is very simple but I can not create.
Thanks in advance
-
I can see you have this - http://prntscr.com/boumyl
No, "Indicator appear" blocks are not connected as an AND logic, they are connected as OR logic, which means that only one of them needs to be true in order to run the following block. If you want blocks 1 and block 2 to be true before running block 3, then connect them like this 1 -> 2 -> 3, one after another.But "Indicator appear" is not suitable for AND logic. This block passes rarely, when it detects that the value of the indicator turns from EMPTY_VALUE or 0 into something else. And after that the blocks does not pass again until the next time when this event happens. So, these blocks are detecting an event, not a condition. These blocks are different from "Indicator is visible".
It's just almost impossible to have 2 indicators becoming visible on the exactly the same tick. But one can be visible and you can just check whether it's visible, and then you can detect the time at which the other turns from invisible to visible (the event). As you can see, there are some things to be considered
