fxDreema

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

    Make trades ignore straddles

    Questions & Answers
    2
    4
    694
    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.
    • L
      Luqmaan last edited by

      When I trade i dont enter when the market is straddling/dead.

      I ratger prefer to trade with the trend or with a retracement.

      Is their a noise filter or something i can apply that would make my EA ignore when the market isnt moving in either direction?

      S 1 Reply Last reply Reply Quote 0
      • S
        seb 0 @Luqmaan last edited by seb 0

        @luqmaan
        Yes you can apply a "time filter" block, or a condition block with the ATR.
        The ATR measures the "volaitlity" of the market, the average size of the "X" last bars. Can add the condition that the ATR must be above a certain value relatively to the price of the instrument.

        L 1 Reply Last reply Reply Quote 0
        • L
          Luqmaan @seb 0 last edited by Luqmaan

          @seb-0 thank you im new to fxdreema but not new to trading. I understand what you meant by this. i will test this and get back to you if i run into any issues.

          should i say something along the lines of if trade (if trade x amount of volitility over x amount of time/bars etc. no trades)

          What i mean is if i say if trade, condition, no trade. Would that be how to correctly structure it to "not trade" under the given conditions u just mentioned?

          S 1 Reply Last reply Reply Quote 0
          • S
            seb 0 @Luqmaan last edited by

            @luqmaan
            You just need to add this condition above the others conditions which need to be satisfied to open a trade.
            If you want to buy when MA5>MA20, then,
            Before : If MA5>MA20 -> Buy now
            Now : If MA5>MA20 and if ATR>0.002 -> Buy now

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

            Online Users

            O
            M
            J
            P
            L

            22
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors