Please, just put in the editor the cursor in #input, press F1 and start reading ...
Muzaffar Ergashaliev:
Please save this file folder include
Please save this file folder include
Thanks for your anwser I will try, do you know the best way to travel into a Get request to conver it into an object?
I want to convert this to a JsonAlert object
[{"idAlert":"6","orderTypeName":"SELL","pair":"AUDCAD","entryPrice":"34","stopLoss":"324","takeProfit":"32","created_at":"2017-06-01 12:22:03","comment":"test"},{"idAlert":"5","orderTypeName":"SELL","pair":"AUDCHF","entryPrice":"2323","stopLoss":"3442","takeProfit":"42323","created_at":"2017-05-26 13:30:50","comment":"hi"}]
//+------------------------------------------------------------------+ //| JsonAlert.mqh | //| | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "" #property link "https://www.mql5.com" #property version "1.00" #property strict //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ class JsonAlert{ private: int j_idAlert; string j_orderTypeName; string j_pair; double j_entryPrice; double j_stopLoss; double j_takeProfit; string j_sendDate; string j_comment; public: JsonAlert(); ~JsonAlert(); JsonAlert(int id, string cmd, string symbol, double price, double stop, double profit, string date, string comment); }; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ JsonAlert::JsonAlert() { } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ JsonAlert::~JsonAlert() { } //+------------------------------------------------------------------+ JsonAlert::JsonAlert(int idAlert, string orderTypeName, string pair, double entryPrice, double stopLoss, double takeProfit, string sendDate, string comment){ j_idAlert = idAlert; j_orderTypeName = orderTypeName; j_pair = pair; j_entryPrice = entryPrice; j_stopLoss = stopLoss; j_takeProfit = takeProfit; j_sendDate = sendDate; j_comment = comment; }

Trading automático y simulación de estrategias comerciales
- www.mql5.com
MQL5 es un lenguaje built-in de estrategias comerciales para el terminal MetaTrader 5. Este lenguaje permite escribir sus propios sistemas automáticos de trading, indicadores técnicos, scripts y bibliotecas de funciones.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi friends
I know that to include a library I should put in my code "#include <ghttp.mqh>" but when I put this in an Expert Advisor that I am doing the MetaEditor show me an error: "can't open include file".
What and how I should do to use this library?
Thanks you so much for your help!