fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. zT3k
    Z
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    zT3k

    @zT3k

    0
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    zT3k Unfollow Follow

    Latest posts made by zT3k

    • Help to create simple martingale EA

      Hello.
      Please help me to create this expert advisor for meta trader 4

      In the same account with this martingale EA, I will use another one expert advisor with fixed TP and SL. This one have a winrate around 50-60% and use same lotsize anytime. This EA will open one position at a time, this position will be called <initial position> in order to understand what position we are talking about

      Next I will tell you the conditions for martingale EA, they are put in the correct order:

      1. EA will wait for <initial position> to be opened

      2. EA will wait for <initial position> to be closed in profit or loss

      3. If <initial position> was closed in profit, EA will do absolutely nothing

      4. If the <initial position> was closed at a loss, EA will wait for the next <initial position> to be opened and will copy it, use the same lotsize (1x lotsize), the same take profit and the same stop loss
        In this case will have this positions:
        1 lot original position
        1 lot copyed position

      5. If the next one <initial position> was closed in loss, EA will wait for the next <initial position> to be opened and copy it, this time it will use 3x lotsize, the same take profit and the same stop loss
        In this case will have this positions:
        1 lot original position
        3 lot copyed position

      6. If the next one <initial position> was closed at a loss, EA will wait for the next <initial position> to be opened and copy it, this time it will use 7x lotsize, the same take profit and the same stop loss
        In this case will have this positions:
        1 lot original position
        7 lot copyed position

      (Result will be a simple martingale multiplication with 2x (1 - 2 - 4 - 8))

      If <initial position> was closed in profit, EA will resume the cycle from point 1

      EA will permanently follow the <initial position> and if it is closed regardless of whether it is in profit or loss, it will close the open position
      If take profit or stop loss is changed at <initial position>, EA will also change to the open position

      Please help 🙂
      I think this EA will help and others ppl. To exclude losses from a strategy

      posted in Questions & Answers
      Z
      zT3k
    • RE: when a position is closed to close and a pending order

      I want cancel a specific pending order, when a specific position was closed (by me or by take profit)

      My EA are placeing a position with TP and a pending order. In case if this position was closed, i want to be canceled pending order if was not feeled, and to place other one position in same conditions

      posted in Questions & Answers
      Z
      zT3k
    • RE: when a position is closed to close and a pending order

      i tryed in different variations like that ...
      Untitled.png

      posted in Questions & Answers
      Z
      zT3k
    • when a position is closed to close and a pending order

      Hello, i tried a lot but i don't understand how to do that

      i want to make a expert advisor, that when are placeing a buy position are placing and a pending sell stop order too, everything fine till here

      but in case if this buy position are closed (by me, or by take profit) i want to be closed and this sell stop order too. how can i do that?

      is about a specific one position, because i will elaborate this strategy, and in some cases will have 3-4 positions opened, and when a specific one position is closed, i want to close and stop order too

      posted in Questions & Answers
      Z
      zT3k