fxDreema

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

    Condition to open trade - Help Please

    Questions & Answers
    3
    3
    656
    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.
    • S
      SydneyFox last edited by

      I'm trying to add a condition to take a long trade when the following is met.

      ((Highest20 - (ATR14 x 0.25)) - (Yesterday high + ATR14 x 0.05)) > (((Yesterdays High + ATR14 x 0.05) - (Yesterday Low - ATR14 x 0.05)) x 2)

      Hopefully that makes sense? In words what I'm trying to do is look to take a trade where the distance between (a) the highest high in the past 20 days less a buffer and (b) the highest price of yesterdays bar plus a buffer is at least 2 times the the range of yesterdays bar plus a buffer. i.e. I am looking for a greater than 1:2 risk:reward ratio.

      Is this possible to do with fxDreema? If so I would really appreciate some help in how to do it.

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        for this complex formula you can use custom code block
        atr and other values you can store into variables using Modify variable block
        I am sure, with little efforts you create this well with fxdreema 🙂

        Between trading and gambling is a very small gap, be careful.

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

          Well, for such conditions I added second alternative Condition block that accepts code. You can define few Variables, then set values to them in "Modify Variables" and then write the condition with them in this Condition. Of course, regular Condition and Formula blocks can be used, but it will take more blocks to do the same.

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

          Online Users

          H
          A

          8
          Online

          146.8k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors