fxDreema

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

    Negative Swap Filter?

    Questions & Answers
    4
    9
    1435
    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
      Dre last edited by

      Happy New Year All!

      What is the simplest way for me to apply the following condition in fxDreema?:

      If the Swap of an instrument is negative, do not open the trade

      Any help would be greatly appreciated. Thanks

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

        @dre AFAIK the only way is creating an input parameter that can manually be specified as true/false when running the EA on the chart the forst time. I'm afraid there is no block (to my knowledge) in fxDreema that can detect that info automatically.

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

          Thanks.

          I found this code but I'm not sure if it's useful or how I could implement it to do the above:

          SymbolInfoDouble(Symbol(),SYMBOL_SWAP_LONG)

          Is this of any use for what I want to do?

          I guess I want EA to read the Swap rate and then if it's negative, then do something

          Is anyone aware of how we can best do this in fxDreema (i.e. Custom MQL Code, etc)?

          jstap 1 Reply Last reply Reply Quote 0
          • jstap
            jstap @Dre last edited by

            @dre I am a little lost, I thought swop happened when a trade was already running, when a broker closes 1 trade and swops it for another identical trade, this means swop is never negative before a trade, if it was negative swop that would mean you got a discount from your broker.

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            1 Reply Last reply Reply Quote 0
            • D
              Dre last edited by

              A 'negative Swap' is when you pay rather than receive interest between the two currencies of the pair that you are holding. That's my understanding.

              I mean that I would like the EA to check if the Swap at rollover of a potential entry will be negative. If so, don't open it (as the Swap fee will affect the potential Risk/Reward of the trade, if scalping, for example)

              jstap A 2 Replies Last reply Reply Quote 0
              • jstap
                jstap @Dre last edited by

                @dre I see, I don't know if this is possible.

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

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

                  @dre hi! As you said the swap is known at the beginning of the trade, this can be seen in the contract specifications:

                  0_1641293432723_sgabello.PNG

                  The code you have found is right, you could use it like that:

                  0_1641293572656_sgabello1.PNG

                  Try this https://fxdreema.com/shared/RiHYTwUBb

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

                    @ambrogio Thank you very much - I will give it a try! 🙂

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

                      @ambrogio Interesting. Good job ambrogio!

                      (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

                      D
                      E
                      N
                      N
                      F
                      M
                      A
                      L
                      O

                      29
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors