fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    I need help two custom indicators

    General Discussions
    2
    2
    962
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      frankrogo last edited by

      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

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        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 đŸ™‚

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        A
        A
        M
        A
        M
        T
        E
        E
        F
        E
        G
        M
        C
        L
        K
        E
        S

        39
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors