fxDreema

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

    How to take profit using indicator

    Questions & Answers
    4
    14
    788
    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.
    • T
      tmk1000 last edited by

      Please help,
      I want to build an EA that takes profit using an indicator. so from the attached image, if I buy at the bottom where the arrow is and I want to take profit further up when the candle crosses x< the ema or adx indicator above a certain price level ( where the circles are. it could be any of the circle. this is just to illustrate). so in steps it will be:

      1. let's say I Buy
      2. let's say the price has gone up 2x the stoploss distance.
      3. the candle crosses x< the adx/ema indicator
      4. TP
        I did my search on the forum and came across this:
        https://fxdreema.com/forum/topic/9640/how-to-make-tp-take-profit-a-variable-based-on-an-indicator?_=1683643943502

      But it didn't really help. if someone can give me just and example on how i will stack those blocks together.

      Thanks in advance.
      TP screenshot.PNG

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

        Before doing anything you need to check if the indicator repaints, because if it does, the bot is doomed.

        (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
        • T
          tmk1000 last edited by

          Yeah i checked, it doesn't repaint. it's quite easy doing it manually with the eyes. once the price is above certain level and price crosses x< the indicator you exit but programming it, it's a bit tricky. the yellow line is the ema. even if TP using the ema i will still be the same principal. please if you can help me.

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

            Ok. Did you create any initial project?

            (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
            • T
              tmk1000 last edited by

              Hi, Sorry I was away. I got stuck here when I was building it so I haven't done the Selling section
              https://fxdreema.com/shared/dv2mpR98

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

                You can remove the OR block number 15. Your current connections are achieving the same effect. Do trades open as you want?

                (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
                • T
                  tmk1000 last edited by

                  Yes, Trades do open as i want, I added another formula block that subtract the SL from the EMA than times it by 2 for the TP. I need help with closing the trade. as i stated in the question. how do i close a buying trade once the price has gone up twice the SL than the price crosses back down x< the adx indicator. As you can see I managed to do step 1 &2. I'm already calculating the x2 SL for my TP now it just implementing the x< above the TP (x2 SL) thanks

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

                    Could you please upload a screenshot with a numeric example of what you need? I don't fully understand that SL calculation.

                    (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
                    • P
                      PhiLykia last edited by

                      https://fxdreema.com/shared/xCvVC5Kgc

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

                        Are you sure Buffer0 of the indicator HMA is the value you want?

                        1 Reply Last reply Reply Quote 0
                        • P
                          PhiLykia last edited by

                          I gave as an example, an example of closure using indicator, you edit condition .

                          1 Reply Last reply Reply Quote 0
                          • T
                            tmk1000 last edited by

                            Hello, I think there's a misunderstanding. My issue is about exit not entry.

                            I have attached a new link where I over simplified the EA. i also attached two pictures to explain it better.
                            Pic 1
                            Pic.PNG

                            Pic 2
                            Pic 2.PNG

                            Link
                            https://fxdreema.com/shared/lh4RO3mJb

                            there are two steps for the exit i want.

                            1. Price is at least x2 greater than the stop loss.
                            2. Price crosses back the MA indicator.

                            As you can see I'm only on step1

                            What i want is to exit the trade when the market crosses x< the MA but only if the market is atleast x2 higher the value of the SL so if the market crosses the MA but it's lower than x2 SL value the trade shall continue. thanks for all your assistance so far.

                            1 Reply Last reply Reply Quote 0
                            • P
                              PhiLykia last edited by

                              https://fxdreema.com/shared/b96swwxEc
                              Can you review it, maybe it will be a clue for the solution.

                              1 Reply Last reply Reply Quote 0
                              • T
                                tmk1000 last edited by

                                Hi thank you for the suggestion but I still couldn't figure it out. can someone Help please

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

                                Online Users

                                G
                                J
                                F
                                G
                                O
                                Z
                                M
                                W
                                N

                                20
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors