Simple http upload of a string via Http

MQL5 专家 向网站上传数据

工作已完成

执行时间74 天

指定

i need a EA that creates a json array and submit it via HTTP POST request every x sec.

1. Input field (double) that sets the base Balance

1. input field (int) that sets the timer to execute (every x sec)

1. input field (varchar) for the url

1. input field (varchar) for the access token

if positions open

output array should contain current PnL in % (based on the balance input), Free margin, Running Pnl (in%) and equity Pnl (based on balance input)

if no position open just submit the pnl based on the set balance input.


here is a cURL example of what I need to be submit
curl -X POST \ -k -H "Accept: application/json" \ -H "X-Access-Token: -TOKEN-" \ -H "Cache-Control: no-cache" \ -d '{ "frames": [ { "text": "Margin 3000%", "icon": 45063, "index": 0 }, { "text": "Today PNL +5%", "icon": 45063, "index": 1 }, { "text": "open Positions +10%", "icon": 45063, "index": 2 } ] }' \ https://172.16.67.210:4343/api/xxxx


this is a extremely simple task .. time is the essence here!

反馈

1
开发者 1
等级
(90)
项目
136
14%
仲裁
43
21% / 28%
逾期
14
10%
空闲
发布者: 2 代码
2
开发者 2
等级
(8)
项目
7
0%
仲裁
7
0% / 71%
逾期
2
29%
空闲
3
开发者 3
等级
(361)
项目
644
26%
仲裁
92
72% / 14%
逾期
12
2%
工作中
发布者: 1 代码
相似订单
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {

项目信息

预算
30+ USD
截止日期
 1 天