fxDreema

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

    Stoch Divergence available? Custom indi attached here.

    Questions & Answers
    3
    5
    948
    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.
    • S
      Sukivisa last edited by

      {"error":"Failed to load project"}

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

        Hi, I wonder if it is possible to add a Stoch Divergence (Bull&Bear) pattern? Thanks!

        1 Reply Last reply Reply Quote 0
        • fxDreema
          fxDreema last edited by

          The best is if you have some indicator to do that. Doing indicator's job in an EA is not the very best thing to do 🙂

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

            I have attached a custom indicator Stoch divergence here. When there is a divergence, it will show an arrow (either red or blue).

            Can you please show me an example for SELL, when the red arrow appear? Thank you!

            ......
            Stochastic_DivergenceMTF.mq4
            Stochastic_DivergenceMTF.ex4

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema last edited by

              https://fxdreema.com/shared/bSz1KkGwe

              Here is how to get signals from it's buffers, I draw arrows on the main chart when signals come.
              Buffers 0 and 1 seems to work when candle offset >=2 is used, I used 2 for this example (look at Candle ID parameter).

              I also found a bug in fxDreema when adding an indicator with commented extern parameters like this one:

              extern string separator1 = "*** Stochastic Settings ***";
              /*extern int    fastEMA = 12;
              extern int    slowEMA = 26;
              extern int    signalSMA = 9;*/
              extern int KPeriod=8;
              extern int DPeriod=3;
              

              the result is that fxDreema reads more parameters than needed and then the backtester does some bad things.
              Make sure that you have added that indicator with all the correct parameters, or clear that comment and add the indicator again:

              extern string separator1 = "*** Stochastic Settings ***";
              extern int KPeriod=8;
              extern int DPeriod=3;
              
              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Online Users

              M
              N

              12
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors