fxDreema

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

    Can anyone see why this EA only goes short?

    Questions & Answers
    4
    6
    944
    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.
    • S
      SpecialFX last edited by

      https://fxdreema.com/shared/fcMEPv6Wd

      I've probably done something stupid, but been looking at this far too long now and can't spot my error 😞

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

        You are using the exact same variable for the stop loss value for buys and sells. That means buys and sells are overwriting their different prices on the same place and I can't see where and when that variable is reset to 0. I recommend you to duplicate it, one for buys and another one for sells, and then reset the proper one to 0 every time a new pendit order is launched.

        (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
        • roar
          roar @SpecialFX last edited by

          0_1573586576931_c8dc1a98-9ebd-406e-b8b6-0893cb10c715-image.png
          @specialfx I think the "price of the last deal" is actually not what you want. It doesn't refer to your trades, but instead all of the market. Actually it doesn't seem to work at all, at least on demo account - the value is always 0.

          It doesn't open buys, because 0 is never above MA.
          It does open sells, because 0 is always below MA.

          Need small help? Tag me in your post
          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

            @roar Is that the "Depth of market" view? I don't think it works in mt4. mt5 maybe if broker provides it.

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

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

              @trader-philipps Yeah, I think youre right

              Need small help? Tag me in your post
              Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

              1 Reply Last reply Reply Quote 0
              • S
                SpecialFX last edited by

                Thanks all!

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

                Online Users

                S
                N
                S
                E
                H
                E
                S
                A
                T

                16
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors