fxDreema

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

    My first EA FxDreema

    Questions & Answers
    2
    46
    18908
    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.
    • tcanuto
      tcanuto last edited by

      Hello!
      I am newbie in FxDreema, and as I saw good recommendations on this program, descidi test, as the other programs that use have flaws and bugs and support is very time consuming. And now I want to enter the world of FxDreema and study to be alone in it.

      I have a strategy that takes turns it into EA. will work like this:

      If the MAIN Stochastic cross up the Stochastic SIGNAL, open buy order, and vice versa for sell. Need to open an order for each crossing, with maximum of 10 with 5 orders of buy and sell 5 for example.

      To close, I made the logic if the candle shift 2 is above the iBand UPPER, and then the current candle close below the iBand UPPER, close buy order, and vice versa for the sell.

      Need also Trailing Stop, Hedge, a Hedge with mobile option, working as a Trailing Stop.

      The hedge and Hedge mobile option, having an option to turn on and off as you wish, as true or false for example.

      Could you help me?

      I thank you!

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

        Bugs are normal in these programs I think, here are some as well 🙂

        My first question will be - do you tried to make this one?

        This is something I've built, and maybe it's not the right thing, but it can be used for example: http://fxdreema.com/shared/RyHNHwUHd

        What do you mean by Hedge, working as a Trailing stop?

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

          By these programs I made several, even have a test, but how is not working the way you need and the support it takes unfortunately, decided to look for another program. Until I looked at my favorites the fxDreema, who had booked a while already. And I am confident that I can do work fully my EAs.

          Had forgotten to say ... the order of Hedge will be a pending order with x pips from the opening price of the order.

          In fact I already own another EA hedge, but I need to build on my own and so I can work with just 1 EA instead of 2 EAs and also to make backtests.

          But thanks for the tip ... I will try what you told me.

          Yes ... the hedge order working with trailng stop also would be great, but I need to have the option to turn on or off, true or false for example.

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

            __

            This is something I've built, and maybe it's not the right thing, but it can be used for example: http://fxdreema.com/shared/RyHNHwUHd

            [/quote:2hiluseh]

            How wonderful! That's right! What I was believing it happened! Is this even open positions. Exact!

            Now you can add these external variables, so I can make the change by MT4? How do I do that?

            Now lack the addition of hedge.

            How will I do this?

            Since already thank you!

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

              I think I still don't get the hedge thing, but maybe you will be able to do it. It seems that you don't have problems with the ability to think logically.

              You can see where is "Constants (Inputs)" - this is where external variables are defined. Their MQL name is what you see on the right, and all of them can be used in the project if you write their names where it's needed. But you can also use them by right click on some input field and choose the right constant.
              "Variables" are basically the same thing, but they are not external by defalut. Just normal global variables. They can be used in the same way inside the project, and they can also be modified, if needed.

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

                __I think I still don't get the hedge thing, but maybe you will be able to do it. It seems that you don't have problems with the ability to think logically.[/quote:1c7acman]

                The Hedge of which I speak is based on this here: http://www.ea-coder.com/forex-software/ ... RPzFLa5fIU

                I believe that it is not difficult to do.

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

                  __
                  This is something I've built, and maybe it's not the right thing, but it can be used for example: http://fxdreema.com/shared/RyHNHwUHd
                  [/quote:1p6rb5ax]

                  How do you put UseTrailingStop in Value within the block Condition?
                  I tried to do this but do not know how to do.

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

                    With right click over the input field and choose the constant defined in "Constants (Inputs)" (see above Actions History panel). I defined this variable as boolean type (it can be true or false), but "true" is the same as 1, and "false" is 0, so inside Condition I compare it with 1.

                    This hedge thing... I think it will be a problem to make it by using pending orders, because of the need to have a list with trade-order relations. There is another way to automatically close the pending order when the trade hits TP - by assigning "cancel level" or "expiration level" to the pending order, which should be the same as trade's TP. I have this idea from some days ago. But for this to happen, I need to write some code, because pending orders does not have this "cancel level" by itself.

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

                      __With right click over the input field and choose the constant defined in "Constants (Inputs)" (see above Actions History panel). I defined this variable as boolean type (it can be true or false), but "true" is the same as 1, and "false" is 0, so inside Condition I compare it with 1.[/quote:3dktm8tk]
                      Thanks for the tips. I'll be trying today.

                      __This hedge thing... I think it will be a problem to make it by using pending orders, because of the need to have a list with trade-order relations. There is another way to automatically close the pending order when the trade hits TP - by assigning "cancel level" or "expiration level" to the pending order, which should be the same as trade's TP. I have this idea from some days ago. But for this to happen, I need to write some code, because pending orders does not have this "cancel level" by itself.[/quote:3dktm8tk]
                      Over the hedge, orders in the way that it is possible and that you see fit, I'm accepting help. If you have another idea that is most profitable, also accepted views. I believe that these codes will also be of good service to the FxDreema, if you find it interesting!

                      Once again thank you for your support and for helping. Giving all right I am planning to stay and use only the FxDreema.

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

                        __This is something I've built, and maybe it's not the right thing, but it can be used for example: http://fxdreema.com/shared/RyHNHwUHd[/quote:1303f4ol]

                        Hello! What happened? I can't more show with the right mouse button so that I can look at and study what's inside each block.

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

                          __
                          Over the hedge, orders in the way that it is possible and that you see fit, I'm accepting help. If you have another idea that is most profitable, also accepted views. I believe that these codes will also be of good service to the FxDreema, if you find it interesting!
                          [/quote:26hasez5]

                          I don't believe that all those "hedge" strategies are there to make the EA more profitable. If someone makes you feel like that, I can probably try to explain why hedgind is not as good as it seems. But I am a forex loser, so you don't need to believe me.

                          We Buy when we decide that the price will go up. We Sell when we think that the price will go down. Let's say the probability of the price going in our direction is 50%. If the price goes in wrong direction, what we can do about it? We can close that trade and wait for a brand new opportunity to buy or sell.

                          When we use hedge strategy, instead of closing the trade on SL, we open a new trade in the opposite direction. What is that mean? We virtually closed the position (total lot size is 0, because there are two opposite trades), the Equity stopped to move and we feel like winners (in the near future). The reality is that we own Equity, not Balance. Balance is the last known state of our money when we had no trades...
                          Now we sit and wait for the price to start going back in our direction, but this time without any real analysis of the situation. Just sit and wait, we are now in loss-covering mode. We hope and we pray. Now our mind thinks that only because in the last 10 minutes the price was moved in wrong direction, in the next 5-10 minutes it will go back to where we want!

                          Normal strategy:
                          Moment 1: Price is 100. Buy 0.1 lots with SL at 98.
                          Moment 2: Price is 98. Trade closed on loss. Equity is lower.
                          Moment 3: Price is 96. We are free to trade based on what we see at this moment. We can buy, we can sell, we can do nothing.
                          Moment 4: Price is 98. We are free to trade based on what we see at this moment. We can buy, we can sell, we can do nothing.
                          Moment 5: Price is 100. We are free to trade based on what we see at this moment. We can buy, we can sell, we can do nothing.

                          Hedge strategy:
                          Moment 1: Price is 100. Buy 0.1 lots with SL at 98.
                          Moment 2: Price is 98. Sell 0.1 lots with SL at 100. Equity is lower.
                          Moment 3: Price is 96. Same Equity, we own less money from the beginning, but we wait for the price to go up again...
                          Moment 4: Price is 98. Same Equity, we own less money from the beginning, but we wait for the price to go up more...
                          Moment 5: Price is 100. Same Equity, we own less money from the beginning. We can now close our Sell and wait for the price to continue above 100.

                          The question is - will the price continue to move above 100? And why we have waited so long with two virtual trades on our chart for something out of our original strategy to happen?

                          For me such a strategy looks more like a time-waster, but because I am not good in forex trading personally, no one should believe in any word that I said 🙂

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

                            Good words fxDreema. Viewing this way may not make up for a lot, but I operate this way.

                            I did a study and long-term hedging pays off and helps a lot. In addition to helping the trader in psychological be worried to be negative and close in perch, he may have another chance if the market fall back on the initial trend, not having the need to lose in SL.

                            Instead of losing 50 pips of losses for example, I sure hedge, and the order is opened with multiplier of 1.1 lots of initial order. This causes if we enter into a market which is contrary to our tendency, the hedge can order decrease the negative of the crashes and later stay positive in this case and may close the two orders in profit if the market drops get the initial order. This limits the perch.
                            And if the market decides to go back on the initial trend, what is done? The order also has hedge SL, and use the SL, closing with 5 or 10 pips for example, eliminating the possible market noises, and I leave the market back. In this case, in theory, instead of losing 50 pips, missed only 5 to 10 pips for example, limiting my perch and risk.

                            Many professional traders operate in hedge, either in the same currency pair, either in other currency pairs. But it is a matter of strategy and choice.

                            So in short ... If you can make this way and according to this site, you can help a lot. And in this case we may have a proof in backtests,

                            Once again thank you for your attention!

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

                              In case you missed one of the latest topics in this forum, I think you are gonna like this http://fxdreema.com/forum/download/file.php?id=51 and this http://fxdreema.com/shared/zlHZzgzXc

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

                                If that's what I'm thinking, is the hedge that I spoke the way I had told you?
                                If it is, I thank you very much!

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

                                  I think that in the moment fxDreema is not capable to connect trade to a certain pending order in this way. I think this requires a list (array) with relationships between trades and orders, for example - when Trade#5 is closed, also close Order#6.

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

                                    FxDreema Hello! Alright? I just look at this hedging strategy, and realized that functions as a martigale, and I have to test it a safe way because the method martigale I think a little risky.

                                    But that's okay! I thank you for showing me this new way to hedge that did not know! I'll be auditioning!

                                    Now ... I wonder how do I copy and paste this hedging strategy for my EAs?

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

                                      Oh, I'm showing this strategy because your strategy sounds a bit complex for me to do it (the strict connection between order and trade, especially in case of more than one trade at a time).

                                      Export as mq4 file and the project data will be in it. Then, load this file into your account in fxdreema.

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

                                        __Export as mq4 file and the project data will be in it. Then, load this file into your account in fxdreema.[/quote:3abup654]
                                        Actually I can't export the mql4, but build in mql4, but once you've done this way, I can not find the file, nor in MT4 experts folder and not the folder downloads and not in MetaEditor.

                                        Where this mql4 file must be?

                                        Even more!

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

                                          If you have installed the plugin and try to export (build) .mq4 or .ex4 file from shared project, it should go to your /experts subfolder... at least this is in theory. If it doesn't work, you can use another browser or temporary disable the plugin, to download the file in "Save as" mode.

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

                                          Online Users

                                          M
                                          M
                                          C
                                          N

                                          14
                                          Online

                                          146.7k
                                          Users

                                          22.4k
                                          Topics

                                          122.6k
                                          Posts

                                          Powered by NodeBB Forums | Contributors