fxDreema

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

    Pending Order Issue

    Questions & Answers
    3
    6
    1726
    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.
    • M
      mpantogi last edited by

      Hello,

      I open a pending order using costum price,but the result which i take is not that i say the EA to do.
      Please look the images above:1_1512763979141_pending order.jpg 0_1512763979141_metatrader.jpg

      It opens the pending orders very close,but i use highest/lowest price for 0-32 candle id.Why this happened?

      Thank you

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

        This candle is 33. The most right candle is 0, the current candle. The first already closed candle is 1 and so on. Start to count from 0 🙂

        M 1 Reply Last reply Reply Quote 0
        • M
          mpantogi @fxDreema last edited by

          @fxdreema ok,that you told is true,but there is no sense where the pending orders opened.As you can see i told the ea to open the pending sell order on the lowest price from 0-32 candle and the pending buy order on the highest price from 0-32.As you can see in the image in metatrader, that didn't happened.

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

            Is it because of your adjust value?

            For the buy you are placing your order at the highest price of the last 32 candles + 6 pips?

            For the sell you are placing your order at the lowest price of the last 32 candles + 6 pips?

            M 1 Reply Last reply Reply Quote 0
            • M
              mpantogi @SydneyFox last edited by

              @sydneyfox Thank you,i didn't notice that on sell peding order should put adjust -6pips.

              Although the result is not right for sell pending order.There isn't that the lowest price for candles 0-32.
              I change it to 0-24 candles and looks it work now.

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

                Here is some test EA that I made to see what is going on: https://fxdreema.com/shared/f9R4lpRS
                I see no problems now, but if you can make it so it shows wrong results, I will fix it

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

                Online Users

                M
                N
                C
                S
                S
                P

                15
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors