fxDreema

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

    Help with defining a price rang and placing pending order based on that pls :)

    Questions & Answers
    2
    7
    203
    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.
    • Y
      Yesthatguy last edited by

      I am trying to create a trading bot that can identify a price range, say from 1pm till 5pm, figure out the price range (so the high minus the low, for example the result being 15 pips), and then be able to plot a pending order 15 pips above and 15 pips below.

      I have made a start but the bot is not able to place trades when I export it and try it on mt5.

      Can someone pls check over my logic for this and let me know, this is how far I have gotten: https://fxdreema.com/shared/ty8NZkfMb

      1 Reply Last reply Reply Quote 0
      • Y
        Yesthatguy last edited by

        I realized I had some major mistakes in some part so here is a more correct version: https://fxdreema.com/shared/DiCNcoOT

        1 Reply Last reply Reply Quote 0
        • l'andorrà
          l'andorrà last edited by

          If you need to program two pending orders at the exact same distance as the high and the low of the price range, why do you need the price range in the first place?

          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

          1 Reply Last reply Reply Quote 0
          • Y
            Yesthatguy last edited by

            The main reason is that the price range happens during the night time for me and I would like to have an automated bot for it. Also the price range would of course be different every day. So for example on Monday price range is 20 pips so pending should be placed 20 pips above and below the range and Tuesday is 10 and the pending would be placed 10 above and below the price range.

            1 Reply Last reply Reply Quote 0
            • Y
              Yesthatguy last edited by

              The price range is what the pending will be based on

              1 Reply Last reply Reply Quote 0
              • Y
                Yesthatguy last edited by

                Worked on it some more today, got it working till an extent. But my main question now is when I have a formula that looks at the highest and lowest price in a range does it take into account the wicks or does it only look at bodies?

                Most up to day version: https://fxdreema.com/shared/YAIGuvxwc

                1 Reply Last reply Reply Quote 0
                • l'andorrà
                  l'andorrà last edited by

                  Only highs and lows are considered, ie, wicks are always considered not bodies.

                  (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                  (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                  (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                  Online Users

                  M
                  G
                  D
                  A
                  A
                  R
                  G
                  S

                  18
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors