fxDreema

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

    EA from Examples

    Questions & Answers
    3
    7
    1689
    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
      Rahim 0 last edited by

      I made an simple EA on cross over of 2 indicators copying the same as example but when i make the mql4 ea code and run on strategy tester its no working as i want only buy gets triggered without condition checked, but when i build the EA directly from example window its working perfect, why does this happen..? and guidance..?

      1 Reply Last reply Reply Quote -1
      • J
        josecortesllobat last edited by

        Hi Rahim

        Could you share the Project or show a screenshot?

        1 Reply Last reply Reply Quote 0
        • R
          Rahim 0 last edited by

          hi.,I have made a program on stochastic with 5, 3, 3 overlap on buy and sell
          but only one position is opening, not the condition on sell, any help..?!
          0_1524984709385_fxdreema-1.jpg

          1 Reply Last reply Reply Quote 0
          • J
            josecortesllobat last edited by

            Hi

            Try the following:

            • connect the block #5 directly to "No trade" block
              or
            • connect the block #7 to the yellow output of block #3

            I think both should work as you expect.

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

              @josecortesllobat Does the ELSE of "cross above" really mean "cross below" ?
              Isn't it just "not cross above"?

              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
              • J
                josecortesllobat last edited by

                @roar said in EA from Examples:

                Isn't it just "not cross above"?

                Hi @roar

                I am not using the yellow output of a cross over condition. I am building two different branches for going long or short from the "No trade" block. It works for me. So I think if @Rahim-0 connects the block #5 directly to the "No Trade" orange output, it should work as he expects.

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

                  @josecortesllobat said in EA from Examples:

                  • connect the block #7 to the yellow output of block #3

                  I am not using the yellow output of a cross over condition.

                  @josecortesllobat Hi!
                  I think block #3 is a cross-block. But yeah, its best to make separate flows for buy and sell in this case.

                  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 -1
                  • 1 / 1
                  • First post
                    Last post

                  Online Users

                  E
                  H

                  8
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors