fxDreema

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

    Stochastic EA not trading as per indicator

    Questions & Answers
    3
    13
    2293
    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.
    • K
      kriordan last edited by

      This EA is missing the trades by a long way and I cant see why - it is pretty simple1_1576128735605_Membership.png 0_1576128735603_Annotation 2019-12-12 153009.png

      Buy when base line crosses signal line and sell the reverse. Close trade on opposite.

      Kerry

      1 Reply Last reply Reply Quote 0
      • K
        kriordan last edited by

        Some additional information - setting Candle Index to 1 did not fix the problem. Not only are trades taken in the wrong place but there are large areas where no trades are taken at all!

        Kerry

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

          That screenshot is not enough to give you an answer right now. Could you please share the 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
          • K
            kriordan last edited by

            Thanks for responding - I have enclosed the mq5 file0_1576186753375_20191212Stochastic(3).mq5
            Please let me know if you need any more information

            Kerry

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

              @kriordan said in Stochastic EA not trading as per indicator:

              Thanks for responding - I have enclosed the mq5 file0_1576186753375_20191212Stochastic(3).mq5
              Please let me know if you need any more information

              Hi, split the "no position" , once for Buy and once for Sell

              0_1576187541133_Cattura.PNG

              And also the "if position" block

              1 Reply Last reply Reply Quote 0
              • K
                kriordan last edited by

                thanks again but still not trading in accordance with the indicator

                Kerry

                A 2 Replies Last reply Reply Quote 0
                • A
                  ambrogio @kriordan last edited by

                  @kriordan now i check it in the tester

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

                    @kriordan i don't see problem

                    Stoch 5,3,3 candle ID 1

                    0_1576189224310_Cattura.PNG

                    Stoch 5,3,3 candle ID 0

                    0_1576189260826_2Cattura.PNG

                    https://fxdreema.com/shared/3N1GIRlxe

                    1 Reply Last reply Reply Quote 0
                    • K
                      kriordan last edited by

                      Sorry but even on your example I can see two trades not correct and I have enclosed another example0_1576199013735_InkedGo MetaTrader 5_LI.jpg

                      Kerry

                      A 2 Replies Last reply Reply Quote 0
                      • A
                        ambrogio @kriordan last edited by ambrogio

                        @kriordan Please show me these weird trade you have found on my test (please candle ID 1, because candle ID 0 should not be considered )
                        I have notice you are backtesting with real ticks with delay at 500 ms, this affects a lot on the backtest (and on real trading).
                        If you want to see if the crossings work well you have to test without delay and in Every tick mode.

                        0_1576238324160_Cattura.PNG

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

                          @kriordan These are two example: the first without dealy and every tick mode

                          0_1576241117905_Cattura.PNG

                          the second with 500 ms of delay and real ticks mode

                          0_1576241290123_2Cattura.PNG

                          1 Reply Last reply Reply Quote 0
                          • K
                            kriordan @ambrogio last edited by

                            Ok I appreciate your input - guess I thought that backtesting under these conditions would more closely represent live trading conditions. The strategy I am testing would not work if I had to use Shift 1 conditions as these are very short term trades and make no sense with a delay of one bar

                            Kerry

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

                              @kriordan 😉

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

                              Online Users

                              D
                              L
                              H
                              S

                              8
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors