Forum

May I set a deviation of 0 when requesting a market trade with my EA?

I have a mql5 EA which sends market orders with the command OrderSend(request,result) The MqlTradeRequest request object has the following attributes: request.action = TRADE_ACTION_DEAL ; (market execution) request.deviation=0; (I prefer not executing the trade rather than executing it with any

max amount of symbols treated in multi currency expert backtest?

Hi all I have a multi currency expert working on custom symbols . When launching it on a small amount of symbols, it works fine but when I launch it on a big amount of symbols (1365) it fails. Logs are : PL 0 14:25:01.034 Tester SPI 0xe3ee: history data begins from 2020.09.15 00:00 LR 0 14:25:01.034

Heiken Ashi indicator returns wrong values when called from my MT5 EA

Hi all. I am getting crazy with this issue. I have a MT5 EA using the native MT5 Heiken Ashi indicator. It just displays the values of open, high, low, close of the current Heiken Ashi candle. When applying the EA to a graph which has the indicator applied, values printed by the EA do match the one

How to allow 2 MT4 EAs to pass information to each other? THey are trading 2 different accounts with 2 different brokers :-)

I want to do arbitrage so I need to use 2 MT4 EAs tarding on 2 accounts with 2 brokers. I can run the 2 EAs on my machine on 2 instances of MT4, or ideally in the cloud on servers, but how can I make them communicate together AS FAST AS POSSIBLE (arbitrage needs to be quickly executed:-)? Here are

I get only 1 agent available when using the MQL5 cloud network

Hi all when backtesting with MT5, optimisation field set to "slow", I often get only one agent available from the MQL5 cloud networks (actually, 1 from "MQL5 cloud Europe 1" and 1 from "MQL5 CLoud USA"). SOmetimes I get hundreds, sometimes I get only one. Is that because there are very few avaiable