Post events from MT4 to a webhook URL

Job finished

Execution time 2 minutes
Feedback from customer
It was my first order here. A great job made very fast. Tzvetan answered my questions perfectly, I highly recommand.
Feedback from employee
Thank you!

Specification

Hi,


I'm looking for a tool to use with MT4 terminal that will take events as a trade being placed or a trade being closed and publish these events as a webhook to a desired URL. 


I.e on a trade open, the tool will send the event as given below to the URL "https://example-url.com/webhook".


The desired payload to be published on a trade open event:

{
  "event": {
    "type": "trade_open",
    "trade": {
      "order_id": "1214412",
      "open_time": "2019-10-01 12:00:00",
      "symbol": "EURUSD",
      "type": "sell",
      "lots": "0.02",
      "open_price": "1.12020",
      "stop_loss": null,
      "take_profit": null,
      "close_price": null,
      "close_time": null,
      "commission": null,
      "swap": null,
      "profit": null,
    },
    "account": {
      "number": "accountnumber",
      "currency": "GBP",
      "balance": "1000",
      "equity": "1000"
    }
  }
}

The desired payload to be published upon a trade being closed:

{
  "event": {
    "type": "trade_close",
    "trade": {
      "order_id": "1214412",
      "open_time": "2019-10-01 12:00:00",
      "symbol": "EURUSD",
      "type": "sell",
      "lots": "0.02",
      "open_price": "1.12020",
      "stop_loss": "1.12020",
      "take_profit": "1.11500",
      "close_price": "1.11500",
      "close_time": "2019-10-01 15:00:00",
      "commission": "0.30",
      "swap": "0.10",
      "profit": "12.40",
    },
    "account": {
      "number": "accountnumber",
      "currency": "GBP",
      "balance": "1012",
      "equity": "1012"
    }
  }
}


No other functionality is desired other than to emit these open/close events.

With thanks,


Responded

1
Developer 1
Rating
(209)
Projects
281
46%
Arbitration
27
59% / 37%
Overdue
36
13%
Free
2
Developer 2
Rating
(249)
Projects
255
30%
Arbitration
0
Overdue
3
1%
Working
Published: 2 codes
3
Developer 3
Rating
(19)
Projects
27
26%
Arbitration
2
0% / 100%
Overdue
2
7%
Free
4
Developer 4
Rating
(7)
Projects
6
0%
Arbitration
5
0% / 100%
Overdue
1
17%
Free
5
Developer 5
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
6
Developer 6
Rating
(26)
Projects
23
39%
Arbitration
26
8% / 38%
Overdue
0
Free
7
Developer 7
Rating
(36)
Projects
45
2%
Arbitration
6
33% / 17%
Overdue
1
2%
Free
8
Developer 8
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
9
Developer 9
Rating
(295)
Projects
472
40%
Arbitration
102
40% / 24%
Overdue
78
17%
Busy
Published: 2 codes
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
Similar orders
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
BitsoFx 40 - 10000 USD
//+------------------------------------------------------------------+ //| Simple Robo Trader MT5 | //| Works on any pair & timeframe | //+------------------------------------------------------------------+ #property strict // Input settings input double LotSize = 0.01; input int FastMA = 10; input int SlowMA = 30; input int RSIPeriod = 14; input int StopLoss = 200; // in points input int TakeProfit = 400;// in
Hello great developers, I need a very fast and hardworking deliver who know both back end and front end of trade copier system. I need a web based trade copier application, i already create the website aspect, only need the copier to be included. I actually have a limited time, and no room for unprofessional developers, kindly send your applications if you can actually get it done in the space of 2 days and my budget
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","

Project information

Budget
40 - 100 USD
Deadline
to 7 day(s)