fxDreema

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

    "ON TRADE" event works badly?

    Questions & Answers
    3
    10
    1268
    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.
    • A
      ambrogio last edited by

      Hi there! Can someone check if i have made any mistakes?
      Let me explain: at each stop loss there is a lot increase. This is ok in backtesting but not in live trading, why? Please see the account history.

      the project https://fxdreema.com/shared/zIe7tSepe

      0_1602181610776_1Cattura.JPG

      0_1602181621920_2Cattura.JPG

      1 Reply Last reply Reply Quote 0
      • H
        Hadees last edited by

        The broker is probably reseting your terminal so the variable reset. you should update it following miros save to file post so they are saved and can be read back

        A 1 Reply Last reply Reply Quote 0
        • A
          ambrogio @Hadees last edited by

          @hadees Please, it is not a broker issue, it also happens on platforms of several other brokers

          H 1 Reply Last reply Reply Quote 0
          • H
            Hadees last edited by

            Your terminal is resetting which is causing the variable to reset.

            1 Reply Last reply Reply Quote 0
            • H
              Hadees @ambrogio last edited by

              @ambrogio https://fxdreema.com/forum/topic/5164/example-save-variables-into-file-and-read-them-back-advanced

              A 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @Hadees last edited by

                @hadees thanks for spend your time, but please, check the same behavior without variables

                https://fxdreema.com/shared/bvdainWdd

                0_1602187677868_1Cattura.JPG

                0_1602187785967_2Cattura.JPG

                A 1 Reply Last reply Reply Quote 0
                • A
                  ambrogio @ambrogio last edited by

                  @Hadees seems that the "on trade" interrupt him work and "on tick" opens the initial trade

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

                    @ambrogio Create a boolean variable initially as false before block 22. Then change it into true after block 22. That way those blocks on the 'on tick' tab will not interefere anymore until the EA ir reset.

                    (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.

                    A 1 Reply Last reply Reply Quote 1
                    • A
                      ambrogio @l'andorrà last edited by

                      @l-andorrà Already tried something like this, it looks like "trade closed" block does not do his duty because at some point does not pass the buy / sell order in the "on trade" event.

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

                        @ambrogio That's weird because that block works perfectly fine to me in all my EAs. Honesntly I cannot seen any falw in the logic.

                        (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
                        • 1 / 1
                        • First post
                          Last post

                        Online Users

                        E
                        S
                        N
                        O

                        22
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors