fxDreema

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

    Buy or Sell

    Questions & Answers
    2
    2
    1299
    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
      shyamvinjamuri last edited by

      Please look at this.
      id# mt4-4020

      Trying to buy at previous bar high OR sell at previous bar low.

      It is opening both Buy and Sell orders at the same time.

      Please help.

      Thanks

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

        Is it possible that Ask>=High[1] and Bid<=Low[1]... maybe, if candle 1 is smaller than spread. I was not able to see sells on my backtester.
        When both conditions are so different that cannot happen in one time, connect them in parallel. In your case block 6 should be connected after block 5, not after Buy now. If both conditions can happen in the same time, using "OR" block is good to prevent blocks after conditions to be executed more than once in one tick.

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

        Online Users

        V
        C

        17
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors