1. #1
    shararath2004 is offline Junior Member
    Join Date
    Jan 2013
    Posts
    5
    Points
    94
    Credits
    0
    Post Thanks / Like
    vBActivity - Stats
    vBActivity - Bars
    Follows
    0
    Following
    0
    Follow

    Need help to modify a EA

    hi.
    i attached an ea which closes all open positions and all pending orders once a defined profit target is reached.
    and we should input our previous equity and the profit target in dollars in this ea.

    so. what i want it to do is, it should automatically consider the current equity as previous equity for the closing of the next orders

    for example, my current equity is 100 so i input 100 as my previous equity and 5 as my profit target and i opened some positions and my account equity reached 105 and this ea should close my all orders and it should also consider 105 as the previous equity to close my next orders.

    Is it possible? if yes, please please help me, and if anyone can do it for me i can reveal my strategy to him.

    (sorry my bad English)
    Attached Files

  2. #2
    PANNEK's Avatar
    PANNEK is offline Member
    Join Date
    Jul 2007
    Posts
    31
    Points
    112
    Credits
    49
    Post Thanks / Like
    vBActivity - Stats
    vBActivity - Bars
    Follows
    0
    Following
    0
    Follow
    Quote Originally Posted by shararath2004 View Post
    hi.
    i attached an ea which closes all open positions and all pending orders once a defined profit target is reached.
    and we should input our previous equity and the profit target in dollars in this ea.

    so. what i want it to do is, it should automatically consider the current equity as previous equity for the closing of the next orders

    for example, my current equity is 100 so i input 100 as my previous equity and 5 as my profit target and i opened some positions and my account equity reached 105 and this ea should close my all orders and it should also consider 105 as the previous equity to close my next orders.

    Is it possible? if yes, please please help me, and if anyone can do it for me i can reveal my strategy to him.

    (sorry my bad English)
    Try this file, profit in currency.
    EquityMangager SV2_v0.1.mq4

  3. #3
    shararath2004 is offline Junior Member
    Join Date
    Jan 2013
    Posts
    5
    Points
    94
    Credits
    0
    Post Thanks / Like
    vBActivity - Stats
    vBActivity - Bars
    Follows
    0
    Following
    0
    Follow

    Not exactly what i want

    Quote Originally Posted by PANNEK View Post
    Try this file, profit in currency.
    EquityMangager SV2_v0.1.mq4
    thanks for trying to help me but this is not what i want.
    i will explain you a little more by an example

    My current equity is 100 usd and i have some open orders. so this ea should close my all orders when the account equity reaches to 105 and also it should consider 105 as the new equity and when my account reaches to 110 again it should close all my orders and it should consider 110 as the new equity for the next closure of orders. the ea should not depend on my accounts real equity it should just calculate the equity itself.

    i hope you understood now. and please help me



» Rankings

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help to modify Heiken Ashi indicator
    By Devil2000 in forum Metatrader 4
    Replies: 82
    Last Post: 03-20-2015, 01:18 AM
  2. Need help to modify an indicator
    By moneymate8 in forum Metatrader 4
    Replies: 1
    Last Post: 10-28-2014, 12:40 PM
  3. Replies: 1
    Last Post: 07-05-2007, 10:43 AM
  4. Need help to modify EA With Triggerline
    By Safeer in forum Elite Section
    Replies: 3
    Last Post: 02-23-2007, 10:29 AM
  5. Need help to modify this EA
    By alpin in forum Metatrader 4
    Replies: 1
    Last Post: 11-27-2006, 11:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •