SIP Trade Closer

MQL4 라이브러리 스크립트

작업 종료됨

실행 시간 4 일
피고용인의 피드백
Great customer, would be happy to work with them again!

명시

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);
    



    응답함

    1
    개발자 1
    등급
    (258)
    프로젝트
    396
    28%
    중재
    69
    19% / 49%
    기한 초과
    121
    31%
    무료
    2
    개발자 2
    등급
    (361)
    프로젝트
    643
    26%
    중재
    92
    72% / 14%
    기한 초과
    12
    2%
    작업중
    게재됨: 1 코드
    3
    개발자 3
    등급
    (1274)
    프로젝트
    1694
    49%
    중재
    52
    71% / 12%
    기한 초과
    37
    2%
    무료
    4
    개발자 4
    등급
    (22)
    프로젝트
    18
    6%
    중재
    31
    3% / 65%
    기한 초과
    5
    28%
    무료

    프로젝트 정보

    예산
    30 - 200 USD