Forum

Limit of /portable MT5

Hello all, anyone experienced how many MT5 can run simultaneously using windows 10 or windows server with 32GB RAM

CustomTicksDelete issue, possibly a bug in build 1940

Hello all. After calling CustomTicksDelete() method, ticks are properly deleted from ticks database of the custom symbol . But, when adding new ticks to the database results in error if their times_msc value happens before the last time_msc value that was there. Only ticks added after are able to be

TIMEFRAMES

I have the impression that MT only works under current graph timeframe: I am using a code from Help Content labeled demo_ima.mq5 which plots MA in its simplest way. If I choose in the parameters windows any other value than current for the time frame it fails. What is the trick to make it work in

Other timeframes

Hello all. I am working on a test for multiple timeframe indicator and starting with a simple dummy code, as below, results in no bar calculation at all. The only way for this code to work is selecting D1 timeframe, but I need this information in other timeframes such as M5 and M2. Any help and

Seconds to close candle in tester

Hello all, I have the following code long start_time = SeriesInfoInteger ( _Symbol , _Period , SERIES_LASTBAR_DATE ); long lastTime = SymbolInfoInteger ( _Symbol , SYMBOL_TIME ); to calculate seconds for current candle to close. When I run it live, it works great but in tester it shows

Plot with different value from debug

Greetings, I have written an indicator, which I cannot post it here due to NDA agreement, which plots a value in a wrong place. When running debug and inspecting value using Print() statements the value it should have is printed correctly but in the graph the plot appears in another value. Anyone

Need add EA every day?

Greetings, When I keep an expert in mt5 from one day to another, it does not send orders. The same happens if I close mt5 and open it again. The only way I got to have it working is to remove EA from graphic and add it again every day. Is this expected behavior or could be something related with

iMA of a custom value

Hello all, I need to calculate iMA from custom values, for instance Open-Close. I was able to get this only by creating a separate indicator that calculates Open-Close values. Partial code: // open-close calculation handle hoc = iCustom ( _Symbol , _Period , "Custom\\oc" ); // MA of open-close hma =

leftover arrows in tester

Hello all, Sometimes buy/sell arrows from a previous test are still being in graphic window when a new test is started. Is there any way to avoid or clean them

Issue on buy limit order on tester

Hello all, while testing an EA in TESTER I came across the following scenario: - One candle high value was @57760 - EA placed a pending order to buy only when price reaches 10 pips above this high value, @57770 - EA hasn't been tested yet during real time market hour, so I hope this not to happen