Smart closing EA for shut down trading pc.
Results 1 to 3 of 3
 0 Attachment(s)    

Thread: Smart closing EA for shut down trading pc.

  1. #1

    Default Smart closing EA for shut down trading pc.

    Hi Funyoo,

    I could not find an EA solution for this:

    I have a trading pc that i need to close at the end of the day, sometimes the equity is almost at the balance level so i can close all positions immediately with perhaps only a small loss compared to the last balance level. But most of the time there are a lot of positions open (negative). So mostly i try to sit and wait, looking at the screen until the biggest part of the open positions climb to the balance level or when they have finally closed by their corresponding EA's and then i close all left open orders manually, preferrable with the equity at a minimum of 99% of the last balance total.

    But this takes some time to do manually and i was wondering if it is possible to have an EA that does this automatic, so not just closing all open positions immediately, because i already found such EA, but close all when the equity reaches a predefined level for instance 99% of the account balance. If this 99 % cannot be reached within a predefined time, lets say for instance 1 hour, then close all open positions no matter of equity % . (Because finally i need to switch off the pc)

    So the idea is that the EA has a equity% of the balance component and time component, and to complete this it would be great to have a sound alarm when the EA closes all positions and also have a second sound alarm when equity reaches x amount of profit compared to the startbalance. (Startbalance measured when the EA is activated or if this is more easy, as input variable)

    Would such be possible to code?

    P.s. Wondering if it is possible to code a function that immediately after all positions are closed also disables all EA's that are active? (Same sort of function like the "Expert Advisors" button located above in MT4)

    Many thanks in advance.
    Last edited by CycleTrader; 05-27-2010 at 17:11. Reason: Additional info

  2. #2


    For EAs to operate they have to be running on a MT4 session connected to the broker.

    If you cannot run your PC 24/7 have you considered a VPN host who can run it for you?

  3. #3


    Hi Luther_Blissett,

    I already have VPS's running for robots, but i have 1 PC that i use for manual trades and some automation on small TF as well.
    I need/want to shut down this PC after a trading day. Perhaps more traders would benefit from such universal closing EA.
    Last edited by CycleTrader; 05-28-2010 at 01:45.

Similar Threads

  1. Replies: 1
    Last Post: 06-20-2013, 12:16
  2. Trading W/ Smart Money
    By nyse1982 in forum Ideas for manual systems
    Replies: 2
    Last Post: 12-24-2009, 07:27
  3. Forex Smart S System EA
    By funyoo in forum Expert advisors backtesting
    Replies: 34
    Last Post: 05-12-2009, 14:22

Tags for this Thread

alarm, automatic, broker, closing, eas, expert, expert advisors, funyoo, level, manual, mt4, profit, robots, trading

Posting Permissions

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

Smart closing EA for shut down trading pc.