Jump to content

room25

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by room25

  1. Hello,

     

    i need help for Programming an Expert ! I hope you can help me !

     

    I have two codes, the first code is for check if the MT4 is connected or disconnected:

     

    ----------------------------------------------------------------------------------------

    void start()

    {

     

    if(IsConnected()) Print("Connected!");

    if(!IsConnected()) Print("Alarm!!! Connection is lost!");

    }

     

    ------------------------------------------------------------------------------------------

     

    the second code is to start a Program:

     

    ------------------------------------------------------------------------------------------

     

    //CHANGE BELOW!!!!!!!!!!!!!!

    extern string What_To_Open="C:\editor.exe";

    //CHANGE ABOVE!!!!!!!!!!!!!!

     

     

     

    #define SW_HIDE 0

    #define SW_SHOWNORMAL 1

    #define SW_NORMAL 1

    #define SW_SHOWMINIMIZED 2

    #define SW_SHOWMAXIMIZED 3

    #define SW_MAXIMIZE 3

    #define SW_SHOWNOACTIVATE 4

    #define SW_SHOW 5

    #define SW_MINIMIZE 6

    #define SW_SHOWMINNOACTIVE 7

    #define SW_SHOWNA 8

    #define SW_RESTORE 9

    #define SW_SHOWDEFAULT 10

    #define SW_FORCEMINIMIZE 11

    #define SW_MAX 11

    #import "shell32.dll"

    int ShellExecuteA(int hWnd,int lpVerb,string lpFile,int lpParameters,int lpDirectory,int nCmdShow);

    #import

     

    //+------------------------------------------------------------------+

    //| script program start function |

    //+------------------------------------------------------------------+

    int start()

    {

    //----

    ShellExecuteA(0,0,What_To_Open,0,0,SW_SHOW);

    Comment("Copyright © 2008, www.marketprogramming.com");

    //----

    return(0);

    }

    //+------------------------------------------------------------------+

    -----------------------------------------------------------------------------------------------------

     

     

     

    I will make it so , that the ea load the Program when the MT4 is disconnected !!!

     

     

    I hope you can help...

     

    Thanks for that and Best Regards...

  2. I need help to decode the EA´s from Tradecopy ...

     

    It´s a Tool to copy Trades from one Master Account to another Slave Account on MT4 !

     

    I have this Demo Version Decompiled but i have my problems to decode the Demo Restrictions.

     

    This Programm has follow Restrictions:

     

    it works only on demo accounts and has limited functionality:

    - can copy no more than 2 orders

    - copy trades with Lot=1 only

    - only "buy" and "sell stop" orders (or "sell" and "buy limit" if reversed)

    - without orders modifications function

     

    Here is the Link to Download the Decompiled Demo Version:

    h**p://www.ziddu.com/download/6087854/TradeCopy-demoDecomp..rar.html

     

    Best Thanks to all helpers...

×
×
  • Create New...