fxDreema

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

    Possible basic errors in my program structure causing issues

    Questions & Answers
    3
    9
    1379
    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.
    • D
      Dore last edited by

      I have been using fxdreema for 4 or 5 weeks. I am very impressed It allows me to put my ideas into an algo very easily.
      I have started with a simple concept & have continually improved & added features to the basic structure
      I see my algo trading as a semi-auto. Allow the algo to run but be able to have manual control over certain functions
      Yesterday I was trying to add max loss protection. If the max loss goes over a certain # of pips or a max # of consecutive losing trades turn off the trade opening part, but allow auto-close of existing positions to happen.
      I start from an algo revision that has been tested & works. I add the max loss logic & start a test on a demo account. The max loss works OK but is not perfect & needs some refinement. I turn the EA Off via my chart control button BUT it continues to take trades. Before I did the max loss changes the ON/OFF control worked, now it does not. I check all the logic & the on/off should work. I did not touch this part of the program
      So as I add to the program & make it more complex I must be doing something wrong & causing some fxdreema issues?
      Here is a link to my project https://fxdreema.com/shared/H0eSkjhXd
      I must be doing something wrong! any help would be greatly appreciated
      Thanks & sorry for the long post

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

        Man, that's a huge project. Reviewing it all is VERY time consuming. Could you please try to specify the area that you guess can be wrong?

        (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 1
        • D
          Dore last edited by

          I am not really looking for a detailed review. What I want are more general program building guidelines. I must be doing something basic wrong. You might look at my program & see some obvious programming "do not do like this " things. Why when I start to build a more complex program do parts that worked (before that I did not change), now they do not work?
          Things like I use a Pass block & turn it on/off to control parts of the program. Is that OK
          Is the way I use buttons OK
          0_1586089378059_f5a82239-89d7-46c3-9854-f4891c447515-image.png
          Both of these do the same thing. Is one better than the other?
          https://fxdreema.com/shared/9AwV3Bjqc
          I realize that my question is vague & difficult to answer
          Thanks for taking the time to look at my post

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

            @dore If you want to pass the structures twice per tick, than both are fine. If that is a mistake, none of the given ones are good.

            I'd in this case do something like this

            0_1586098846973_eee1355f-8da4-4322-b499-ec4d0f2bcd4c-image.png

            Keep in mind that block 1799 and followwed are executed before block 1801 and so on!

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

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

              I see you use many Pass blocks. Are you really sure you need all of them? They are adding more code to the EA that maybe can be saved. I also guess that parto of your problem is nor turning on/off some of them correctly. Are you maybe using them as switches?

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

                Yes I am using pass blocks as switches controlled by chart pushbuttons. I am going to try & eliminate as many as possible

                1 Reply Last reply Reply Quote 0
                • D
                  Dore @trader.philipps last edited by

                  @trader-philipps I want all the logic to run as often as possible But I only want the Buy now to open 1 trade. That is why I put the once per block at the end. Is that OK?

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

                    @dore Well, you should try to let run each block as often than needed. That's why I place Once per bar on the top.

                    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

                      I can't fully see the logic of all those 'turn on/off' actions. My bet is that the issue should be there. Have you checked all of them, one by one?

                      (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

                      O
                      J
                      B

                      18
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors