fxDreema

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

    I’m stumped on this one!

    Questions & Answers
    4
    12
    1185
    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
      Ads last edited by

      Hi everyone,

      I’ve spent the weekend trying to solve this problem and I’ve got nowhere so I’m hoping someone may be able to help me onto the right path.

      Essentially I’ve setup an EA that once the criteria’s are met it sets the stop loss and take profit for the weekly swing high and low using a custom indicator that’s shows this. That all works fine EXCEPT early in the week the swing hi or low is obviously very tight and when it’s creating new hi’s or lows it can sometimes set the TP really close to the entry.

      My question is there a way to put in the conditions not to enter a trade if the close price is within say the ATR figure in pips of the swing hi/low line?

      1 Reply Last reply Reply Quote 0
      • X
        Xfire last edited by

        hi. can you clearly say what do you want ATR to do for you? i working with ATR always

        IN GOD WE TRUST

        A AlphaOmega 2 Replies Last reply Reply Quote 0
        • A
          Ads @Xfire last edited by

          @xfire essentially I’m saying for example if the weekly high is 1.1900 and the trigger for a buy trade comes when it’s very close to 1.1900 I would like the EA to make sure it’s not too close to that weekly high so I want to use the ATR figure as the pip gap that I would like to set away from the weekly high to skip that trade. Does that make sense?

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

            @that_adam_guy Yes, you can do it with variables. All those values should be stored into variables before opening the trade. Is that the way you do it?

            (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 0
            • A
              Ads @l'andorrà last edited by

              @l-andorrà thanks for the reply. I’m sorry I don’t know how to set a variable?

              X 1 Reply Last reply Reply Quote 0
              • X
                Xfire @Ads last edited by

                @that_adam_guy
                ok you should use a variable for saving ART and check that before open the next position.

                so you can find how to use the variable from this link
                link here

                I created a small sample for you

                link here

                IN GOD WE TRUST

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

                  @xfire Hi. Hope I am not hijacking this thread, if so , I will start a new one for now I ask the question.... .. If you use ATR regularly, do you have a good ATR setup to use in an existing expert of mine? The normal setup would be buy and sell at different values also with the ATR period14. I guess I am looking for a setup from your experience that will work well to help indicate my other indicators etc.
                  0_1618163009419_AO-Hodrick-Prescott Channel.mq5
                  0_1618163035575_Autotrendlines 3.mq5

                  Thank you in advance

                  X 1 Reply Last reply Reply Quote 0
                  • A
                    Ads @Xfire last edited by Ads

                    @xfire thanks for this. So if ive identified the variables like this: shared/NaIFvZvud how can i then get the figure of the "high" number minus the ATR number and then how do i then put it in the conditions to not trade if its within that number of the candle close?

                    X 1 Reply Last reply Reply Quote 0
                    • X
                      Xfire @AlphaOmega last edited by

                      @alphaomega
                      HI. Please create a new topic for your question because some users are professional in Fxdreema and can see your topic and help you.
                      i check it for you and if I find a better setting say to you

                      IN GOD WE TRUST

                      1 Reply Last reply Reply Quote 1
                      • X
                        Xfire @Ads last edited by Xfire

                        @that_adam_guy

                        i can't see your link. you should click on the link and copy the share link from the address bar.

                        you can use any calculate under the block in the "Adjust" part and after that save data into a variable.

                        please share your project I can see what do you need

                        you can use the variable in the conditions same this sample

                        link text

                        IN GOD WE TRUST

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

                          @xfire thanks, does this work: https://fxdreema.com/shared/bWyQ5JJ1d

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

                            @that_adam_guy You got the general idea. However, you will need different variables for each timefram. They cannot be stored as you suggest. Additionally I guess you are searching for lows and highs with a limited period of time. You also need to specify that period in candles like this:

                            0_1618312966845_01.png

                            This is the way to store the highest price on H1 timeframe for the last 10 candles.

                            (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
                            A
                            N
                            L
                            A
                            M
                            B
                            E

                            25
                            Online

                            146.6k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors