fxDreema

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

    How simultaneosly Open Opposite Pending Orders

    Questions & Answers
    2
    2
    1014
    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.
    • G
      ginogeorge last edited by

      For the previous candle, I want a Pending Buy at its high, and a pending sell at its sell.
      My logic for my EA right, But only 1 pending order operates at a time. Either Sell or Buy. Both Pending orders never get activated at the same time

      M 1 Reply Last reply Reply Quote 0
      • M
        moreirajbn @ginogeorge last edited by

        @ginogeorge

        Use Buy/Sell pending orders with custom price (you'll find candle high/low within the block settings) in "OnTick"

        ... then, in the "onTrade" tab you add a block "Position created" that after passing will delete pending orders (use "Delete Pending order" block)

        with that logic the sell order will be deleted when a buy position is opened (or vice-versa).

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

        Online Users

        J
        T
        J
        B

        20
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors