fxDreema

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

    Help with location of commands necessary for EA creation

    Questions & Answers
    2
    2
    536
    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.
    • P
      pierre444 last edited by

      Hello guys,

      I am try to create a EA. This is the first EA that I try to create, so I find it difficult to locate the commands necessary. Any help on which commands to use for my plan below will be appreciated.

      First, I want to remain in control of the trade entry. I would buy or sell manually, and only then the EA will manage the trade. So, I think I should use the "on Trade" function of Events.

      Second, taking going long for example, I want the EA to place 3 buying orders at each 10 pips of the trade going in my direction. Other criteria are:

      • the volume has to double (from the previous entry) for each standing order
      • take profit is the same of the parent trade (the one I open)
      • fixed stop loss for each entry

      Any help would be greatly appreciated.

      Paolo

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

        You say "my direction" - is this the profitable direction or when you lose? 🙂 Because normally people double the lot size when they lose, which is probably not "their direction" :))

        By the way there is some example for creating new trade on every 10 pips - https://fxdreema.com/demo/mt4-loop-add-to-volume-on-loss - it does that on loss, but I don't know what is your "my direction".

        To allow the EA to work with your manual trades, set this to 0:
        0_1540408105839_c1ef5906-a49a-41b7-ae27-e29d3ab4ea13-image.png

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

        Online Users

        E
        A
        S

        11
        Online

        146.9k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors