SIP Trade Closer

MQL4 Libraries Scripts

Job finished

Execution time 4 days
Feedback from employee
Great customer, would be happy to work with them again!

Specification

SIP Trade Closer


I need a script to manage trades and close them based on the SIP indicator.


  https://www.mql5.com/en/market/product/30581



A trade will be opened via an EA or manually and the Trade Manager will then be given a reference to the trade. From there its job is to close the trade in one of two ways:

  • SIP opposite signal alert

    • Takes a parameter that defines which SIP timeframe to use to close the trade

    • This is defined as the signal line crossing 80 from above (a sell signal) or crossing 20 from below (a buy signal) 

    • see https://www.mql5.com/en/market/product/30581 for further explanation/details

  • Close event

    • ie. need to be able to broadcast an event that says:

      • Close all buy orders for a pair

      • Close all sell orders for a pair


    Please let me know how you would plan to implement this and provide some code that you have written so I can see an example of your work. I need this code to be error free, robust and easy to maintain going forward.


    The call to SIP is a standard iCustom call that looks like this: 

    input string   PathtoScalperIndicatorPro = "Market/Scalping Indicator Pro mt4";
    input int      SlowPeriod=150;
    input int      SlowSIP=14;
    input int      FastPeriod=5;
    input int      FastSIP=3;
    
    double SIP (string pair,int tf, bool signalLine) {
       double value =iCustom(pair,tf,PathtoScalperIndicatorPro,SlowPeriod,SlowSIP,FastPeriod,FastSIP,signalLine,0);
       return value;
    }
    
    double sipValue;
    double sipTrendValue;
    sipValue = SIP(Symbol(),mainTimeframe,1);
    sipTrendValue = SIP(Symbol(),mainTimeframe,0);
    



    Responded

    1
    Developer 1
    Rating
    (258)
    Projects
    395
    28%
    Arbitration
    69
    19% / 49%
    Overdue
    120
    30%
    Free
    2
    Developer 2
    Rating
    (354)
    Projects
    630
    26%
    Arbitration
    89
    73% / 13%
    Overdue
    12
    2%
    Working
    3
    Developer 3
    Rating
    (1053)
    Projects
    1390
    45%
    Arbitration
    46
    72% / 13%
    Overdue
    35
    3%
    Free
    4
    Developer 4
    Rating
    (22)
    Projects
    18
    6%
    Arbitration
    31
    3% / 65%
    Overdue
    5
    28%
    Free

    Project information

    Budget
    30 - 200 USD
    For the developer
    27 - 180 USD