fxDreema

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

    help.. how to make ea cut switch?

    Questions & Answers
    2
    4
    938
    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.
    • M
      meirandi last edited by

      how to make ea cut switch? suppose I open the first position by manual order, then ea will make pending order stop with double lot with a certain pips distance.

      example
      open first manual buy 1 lot 1.2050
      ea will make pending order sell stop 2 lot at price 1.2000
      and so on, ea will make pending order the reverse of current order now ..

      Thank you for the help

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

        First you can change this to 0, so the EA could see the manual orders: http://prntscr.com/hvgndj
        Or, in the blocks there is an option to see only manual orders (where the Group settings are for blocks like "No trade" for example).

        Here is something that I just made - https://fxdreema.com/shared/ELsR5b3od
        To have pairs of trade-order, my idea is every time we create an order, its Comment to be the same as the ticket number of the trade. Well, the Comment is a string and the ticket number is an integer, which means that maybe there is a situation when conversion bug happens, but in my test it worked.

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

          Ooops, don't try this on real account! I left this working and then I looked to see many many trades and orders opened. Something is wrong with this EA and maybe it starts to fail when some pending order is triggered, I don't know

          1 Reply Last reply Reply Quote 0
          • M
            meirandi last edited by

            okay, thanks for the suggestion, i will try first 🙂

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

            Online Users

            C
            F
            S
            R
            M
            U
            C

            15
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors