fxDreema

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

    Stochastics Indicator

    Questions & Answers
    4
    6
    4182
    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.
    • R
      rytucker2000 last edited by

      Hi,
      I can't find the answer here..
      I would like to make a buy entry when the Stochastic k and d crosses belowe the 20 level line and sell when the k and d crosses above the 80 level line. how do I do that?

      1 Reply Last reply Reply Quote 0
      • C
        Cgammons01 last edited by

        Hi there... I'm having some difficulty creating a simple EA based on Stochastics. The problem I'm having is that the EA is taking trades to early. I want it to take trades based on the stochastic closing above 80 or below 20. Should be as simple as using a condition block, Left side choosing Stochastic 5,3,3/ Not really sure about the MA Method to choose as the properties under Stochastics in MT4 doesn't give you that option, as for Price Field, I'm assuming I want Close/Close so the EA reads the value of the main line at the last bar closed, and Candle ID I'm assuming is how far back I want it to read the Stoch's Main Line Value.... So by putting 1, I think it reads the value of the Stochs main line of the last closed bar. On the right hand side, I am comparing it with a numeric value. What it's doing is sometimes taking trades when the Stochastic is between the 80 and 20 and I can't figure out why. I want it to close a trade after a 15 pip TakeProfit which is working fine, If the MainLine of the stoch crosses over the 80 for a buy and 20 for a sell, or if the stoch main line crosses it's signal line before either of the other 2 happen. I'm using it on gbp/Usd pair 5 minute chart. If you could take a look at my project and help me out please. Thanks!

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

          Your logic seems to be fine.. Maybe the stochastics is repainting, try visual mode to find out?

          Need small help? Tag me in your post
          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

          1 Reply Last reply Reply Quote 0
          • C
            Cgammons01 last edited by

            I always use visual mode in the strategy tester. It doesn't seem to be repainting. I had a coder off the MQL5 website make what I wanted and it's entries are perfect. But I would like to make one with this so I can add things myself when I want.

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

              I think that all my signals are correct: http://prntscr.com/bxgqc3
              Show me how it looks like for you

              1 Reply Last reply Reply Quote 0
              • C
                Cgammons01 last edited by

                Thanks... I finally got it to work correctly. I did post another question about moving my TP automatically after a certain event. I'll wait for a reply on that post. Thanks again!

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

                Online Users

                H
                P
                E
                M
                F
                M
                H

                13
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors