fxDreema

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

    Help Needed

    Questions & Answers
    2
    4
    503
    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
      ssdhillon last edited by

      Hey,

      I wanted to find out if anyone knows how to receive a Market Order entry price and then make sure that any future Pending Order is only placed if the Pending Order entry price is above or below the highest or lowest Market Order price.

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

        I think I don't fully inderstand the question 🙂

        1 Reply Last reply Reply Quote 0
        • S
          ssdhillon last edited by

          __I think I don't fully inderstand the question :)[/quote:kc3h127o]

          Hey,

          Ok lets say that i have the EA trailing a Sell Stop based on the Previous Candle Low, so whenever a new Candle has formed the Sell Stop is readjusted to the new Previous Candle Low.

          Now lets presume that the Sell Stop gets activated into a Sell Market Order and i don't want the EA to keep placing a Sell Stop if the Previous Candles Low is now below the Highest Sell Market Orders entry price.

          So far i know how to trail the Sell Stop at the Previous Candles Low, but i don't know how to include a condition that it will only place the future Sell Stops if the Previous Candles Low is above the highest Sell Market Order price?

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

            I assume that you know how to get Previous Candles Low and you don't know how to get the highest price from a group of trades. Try this: http://prntscr.com/920jx5

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

            Online Users

            A
            E
            K
            J
            J
            G

            27
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors