fxDreema

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

    Block Condition (Lowest Point - Candle Period) not work

    Bug Reports
    2
    3
    766
    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.
    • A
      activemax last edited by

      Hi please verify condition "SIGNAL UP"

      Not work correctly and not BUY

      https://fxdreema.com/shared/PCHsRLqZd

      ......
      fxdreema-buy.JPG

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

        You use the lowest price between candles 0 and 199. Candle 0 is the current candle. Candles are built from the Bid price, so you actually see history of Bid prices. The lowest price in "Condition" is alco calclated from those Bid prices.

        Mid is Ask-Bid/2, which means that as a value it's bigger than Bid.

        So, what happens is that you can never have a moment when Mid is below the lowest Bid price when you work with Candle 0. Bid can fall deeper and deeper, but in the same time the lowest price is actually the same thing, it's that Bid price. And you even have Mid, which is above Bid.

        The answer is to calculate lower price starting from older candle, but not Candle 0.

        Everything works with Sells, because Mid is > Bid. Even if the current highest price is the current Bid price, Mid will be bigger with half spread.

        1 Reply Last reply Reply Quote 0
        • A
          activemax last edited by

          Thanks for the explanation ..

          I think I have found the solution in this way ..

          ......
          fxdreema-solution.JPG

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

          Online Users

          P
          R
          S
          R
          E
          M
          P
          C
          J

          19
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors