fxDreema

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

    Arrows on crossover

    General Discussions
    3
    8
    1256
    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.
    • M
      max_well last edited by

      how can I make the ea place buy and sell arrows upon the crossover of MA's after 2 candles?

      1 Reply Last reply Reply Quote 0
      • max c
        max c last edited by

        cross would have to be set to ID3 , create object arrow.

        1 Reply Last reply Reply Quote 0
        • M
          max_well last edited by max_well

          Hey, actually i have 3 conditions to be met before the EA could place the buy/sell arrows, Buy conditions are:

          1. fast MA should be above slow MA.
          2. Base line of the stochastic oscillator should cross above the signal line.
            3)Place a buy arrow on the close of the next candle after the crossover. Condition- the opening of this "next" candle should be above fast MA.
            sell conditions are opposite.

          I have implemented first 2 conditions, but I'm not sure whether I have done it correctly and for the third condition I completely don't know how to implement it. Could you please help me out.
          Below is the link to this project.
          https://fxdreema.com/shared/2B7v31Y4

          1 Reply Last reply Reply Quote 0
          • max c
            max c last edited by max c

            https://fxdreema.com/shared/DizdxZbZb

            make sure all ID number are 1 means the candle has closed otherwise it will trade on open bar.

            missed the bit where u said next bar... just make your moving average and stochastic ID2 , if you want a bull or bear bar next ID1

            not sure if u wanted bull or bear so made candle open and close above MA. if it was a bull then only open is need because its a given it will close above. could also write candle low less or equal to 50MA so u know its close to MA and not way up there. just drop down menu parameter on candle open/close lots of options there. bull bar would simply be close is greater than open ect..

            1 Reply Last reply Reply Quote 0
            • M
              max_well last edited by

              Hey, thanks for you help!
              I deleted the LAST conditions for both buy/sell, as I don't mind if the candle closes below 50 MA in buy signal (and opposite for sell). I tested the EA and the problem is that I get multiple arrows on one candle. sometimes I get two buy arrows on one candle and sometimes I get buy and sell both arrows on one candle and also the placement of the arrows are not where they should really be. Could you please have a look and see where the error is? Is that a timeframe problem? Please do have a look at the photos below.
              0_1621582591114_p2.PNG 0_1621582332476_p1.PNG

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

                @profaalaa You will never get what you want. We gumans can see where the cossing happened, but the MT4 platform is not working that way. It only connects points from candle to candle. Depending on the values of those MA in candle ID 1 and cnadle ID2, for example, lines will be traced and a crossing can happen or not. Sometimes we can see it just in betwee both candles, sometimes closer to candle ID 1 or maybe closer to candle ID2. No EA will ever be able to plot any arrow in between candles. The best you can do is accepting with candle ID to work on.

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

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

                  @l-andorrà you got me wrong bro. I know it's not possible to draw the arrow in between the candles neither do i want that. Did I not explain well enough of what I want?

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

                    @profaalaa Ok. I got it. Did you try max c 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
                    • 1 / 1
                    • First post
                      Last post

                    Online Users

                    F
                    R
                    S
                    D
                    V
                    O

                    15
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors