fxDreema

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

    How I can open the same number of long positions in the sale, and vice versa in the BUY with a ONE increase

    Questions & Answers
    4
    37
    5078
    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.
    • khalids222
      khalids222 last edited by

      Please help I am trying to create a robot when crossing two points buys and when crossing sell two points sells.
      In case of repetition in the case of buying, the sale is checked and the winner closes after the intersection
      In the event of a sell-off, the purchase is closed and the winner closes.
      In case of purchase if there are five short positions and close two deals open three long positions more than selling one

      https://fxdreema.com/demo/simple

      Required when you open three deals to buy, and reverse the trend of the sale, re-open four deals sell, so that buying and selling three of four increase one![alt text]![(image url)](0_1574625549318_بدون عنوان.jpg image url)
      0_1574625566588_2.jpg
      ![alt text](0_1574625582812_3.jpg image url)
      0_1574625605901_4.jpg

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

        Could you please share you project? The link you shared is the one of the tutorials. Apparently you are looking for a martingale.

        (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
        • khalids222
          khalids222 last edited by

          I couldn't share the link, because the project is experimental, or I don't know how to share the project. I copied the link and sent it to you.
          Specifically, I would like to assume that there are three short positions, and the price goes to the buy condition.
          Here I want him to open a four positions, and if the price goes again the condition of the sale opens five deals
            As well.
          So that every time the condition changes there will be one increase

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

            Easy:

            https://fxdreema.com/forum/topic/7825/sharing

            (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
            • khalids222
              khalids222 last edited by

              this my project
              https://fxdreema.com/shared/RBWXmgaL

              Specifically, I would like to assume that there are three short positions, and the price goes to the buy condition.
              Here I want him to open a four positions, and if the price goes again the condition of the sale opens five deals
              As well.
              So that every time the condition changes there will be one increase

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

                Ok. This is what I recommend you:

                1. Choose candle ID 1 on both operands in condition blocks 3 and 5. They are now looking at candle ID 0 and that is not necessarily good right now.

                2. What numbers are supposed to be stored on variables 'Selllots' and 'Buylots'? I guess the reason of your problem is here. What numbers are supposed to be on blocks 42 and 43?

                (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
                • khalids222
                  khalids222 last edited by

                  I put the variables in buying market positioning: check selling if there are open positions, for example, two transactions sale, will buy three deals.
                  if sell market positioning : check buy if there are open position three deals will sell four deals.
                  You can edit my project to correct it. i can not correct it
                  And I thank you for your time and effort, and I appreciate your reply

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

                    What I would like to know is the real values those variables can have. Are they 2, 3, 5, or maybe 30, 40, 50?

                    (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
                    • khalids222
                      khalids222 last edited by

                      I could not put the correct variables, I set them to try to change the number of trades in the event of a buy and sell condition only.
                      I don't know right or wrong

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

                        These numbers I every time I try the expert does not succeed in changing the number of trades I delete, and put another.
                        But that's it

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

                          General idea:
                          A position will be opened for each bar for each direction, and if the trend changes, the same positions will be opened in the previous direction + increase the position for each bar again.
                          When profit reaches more than loss, it closes all trades once.

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

                            More than ten days we are looking for a solution, we have not found

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              trader.philipps @khalids222 last edited by

                              @khalids222 Sorry to ask, but are you using google translate for your posts? I read your posts several times, but couldn't get what you want your EA to do. I think there is more a communication issue rather than a technical one.

                              I like to share my knowledge, but expect the others to contribute as well.

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

                                Well, same happened to me, but I didn't dare to say it. 😉

                                (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
                                • khalids222
                                  khalids222 last edited by

                                  Yes I am using Google Translate, I attached a picture explanation.
                                  as you see :
                                  If the 5-day moving average crosses the 20-day moving average on a quarter hour candle for above the trade size will be : 0.01 then if If the 5-day moving average crosses the 20-day moving average on a quarter hour candle for Down the trade size should be (buy lots + add new) (0.01+0.01) total (0.02) and if the buy again a crosses to above i need to the size 0.03.

                                  0_1575191008342_PICTURE1.jpg

                                  0_1575191049579_pictures3.jpg

                                  T 1 Reply Last reply Reply Quote 0
                                  • khalids222
                                    khalids222 last edited by

                                    https://fxdreema.com/shared/2NlaPkPjd

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      trader.philipps @khalids222 last edited by

                                      @khalids222 Okay, that helps a lot. The easiest approach is to have an integer variable as a multiplicator for the lot size. Each time you open a trade for instance (or when one trade is closed depending on your preference) you would adjust that counter variable +1
                                      I'm currently on my mobile phone and can't take a look at your shred project in detail.
                                      Let me know if you require further help to implement the suggested solution.

                                      I like to share my knowledge, but expect the others to contribute as well.

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

                                        @trader-philipps said in How I can open the same number of long positions in the sale, and vice versa in the BUY with a ONE increase:

                                        Okay, that helps a lot. The easiest approach is to have an integer variable as a multiplicator for the lot size. Each time you open a trade for instance (or when one trade is closed depending on your preference) you would adjust that counter variable +1
                                        I'm currently on my mobile phone and can't take a look at your shred project in detail.
                                        Let me know if you require further help to implement the suggested solution.

                                        I need help because I did not understand the solution, since I tried a lot of variables and methods and did not work

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

                                          In this project there is no direct closure but after several buy and several sale is verified the total profit and loss and all transactions are closed once

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            trader.philipps last edited by

                                            @khalids222 Here you go. I don't care for reset the counter on closure, yet. Lot Multiplicator

                                            Basically I added the counter variable and than each time BUY or SELL block is entered (white dot) I add +1 to that variable.

                                            0_1575210994019_5a137b57-2f04-49a7-a511-e59dee77ba1c-image.png

                                            I like to share my knowledge, but expect the others to contribute as well.

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

                                            Online Users

                                            M
                                            F
                                            M
                                            H
                                            A
                                            P
                                            K

                                            13
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors