fxDreema

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

    Stochastic and Moving average EA compilation issues

    Questions & Answers
    2
    3
    79
    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.
    • A
      Anti1st last edited by Anti1st

      Hello,

      I'm trying to make a EA with these main conditions:

      Only take buys above 120 SMA
      Only take sells below 120 SMA

      Take buys when stochastic signal line is at 20 or 1.
      Take sells when stochastic signal line is at 80 or 100.

      Also i'd I would only want to open one position at a time. (I don't know if it's already set to that)

      I think the issue is with the conditions but I'm not sure. Any help would be appreciated.

      https://fxdreema.com/shared/nnsuFQFpe

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

        No position will be limited to 1 at a time, I would use < or > rather than X< or X> until everything works. Use a standard condition to check stoc level, for example, main is >80 on id 1, then in the next condition main <81, yellow if not true check for your next condition, opposite tree for 1-20.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        A 1 Reply Last reply Reply Quote 0
        • A
          Anti1st @jstap last edited by

          @jstap Ok thank you, I will implement this.

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

          Online Users

          M
          T
          T
          P
          0
          B
          K
          A
          X

          20
          Online

          147.0k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors