fxDreema

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

    HOLD INDICATOR CONDITION FOR PERIOD OF TIME BEFORE MAKING TRADE

    Questions & Answers
    2
    2
    539
    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.
    • 4
      4xFatigue last edited by

      So a problem I run into while using CCI in my particular EA is that the CCI may spike into my condition to activate the EA and then out.

      Is there any block I can use that would basically say: CCI >100 for 5 minutes (or whatever time) before passing to the next block? And if it doesn't hold for that period of time, don't pass?

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

        If you want to pause the EA for a while when CCI becomes > than 100, there is this "Delay" block, but note that it stops the whole EA for a while. But this will not work as expected in a backtest.

        Otherwise maybe something with some of the "Once per..." blocks, or using a Variable, or Flag... it depends.

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

        Online Users

        T
        M
        C
        A
        A
        H
        E

        11
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors