Forum

Unable to get chart id of second chart in EA

Hi all, I developing an EA and I am using multiple currencies in it and I want to show arrow object on each chart for which I need chart id. The problem I am facing is I am unable to get chart if of the chart other then first chart while back testing. I am using following script to chartid of the

Unable to send large JSON to POST service via MQL5

Hi all, I am having trouble in sending JSON (of length around 5000 character) to a POST service via MQL5. I tries sending small size JSON, it send perfectly and I can get it via following method in python: requrstJSON = request.get_json() However when I increase the size of JSON same method returns

Unable to send Headers, and data to API via POST method using WebRequest

Hi all, I am trying to send WebRequest in MQL5 to API via POST method. The request received at API end however, headers and data dont. following is my code: // JSON text to send string strJsonText = "{\r\n\"key\": \"value\"\r\n}" ; // Text must be converted to a uchar array. Note that

NEWS Trading

Hi all I creating an EA which will trade on news. Economic callendars provides previous, forecast, and actual values for most of the news which a trader can use for trading, however; there are many news which has no previous, forecast, and actual values for instance: USD's ---------------- Fed Chair

Downloading NEWS in EA...

Hi all, I want download NEWS via expert adviser in csv or json format, please suggest from which site I can download it via MQL5

Issue in using TimeGMT method in MQL5

Hi all I am using TimeGMT() method in EA... with I attached to live market (not in stratigee tester) in shows time one our back from current GMT time. please help me

Working with XML

Hi all, I am developing EA in which I need to parse and read XML. Is there any XML library available which I can use to parse, read and search nodes. Thanks

Problem in using WebRequest in MQL5....

Hi all I am having problem in using WebRequest in MQL5....... I have also added web site's url in (Main Menu->Tools->Options, tab "Expert Advisors") under "Allow WebRequest for listed URL" uption. while calling WebRequest method EA returns error code = 4014 following in my code.... bool

Removing TakeProfit and StopLoss of open positions in MQL5

Hi all I am developing an EA in MQL5. I am having issue in removing TakeProfit of open position. I am using following method. CTrade trade; trade.PositionModify(symbol, 0.0 , 0.0 ); I am getting [ invalid stop ] error. Please help

How to spot ranging market

Hi all I am developing EA. I am having difficulty in pragmatically identifying ranging market. Please help in this regards