Forum

question about stop loss in MT5

i am new using MT5, i have two questions 1) I would like to know how the stop loss order triggered. For example, after buying a forex at price 1.0500, if i set a stop loss order at 1.0450. What price MT5 used to determine sending the market sell order out? using the best bid price dropping to

is it possible to retrive current bar data (live data) for multiple symbols concurrently using python API?

seems mt5. copy_rates_range only support one symbol at a time. is it possible to extract concurrently for multiple symbols? thanks

question about the "Open Prices Only" modelling mode in tester

from https://www.mql5.com/en/docs/runtime/testing it mentioned that when using "open price" in modelling mode Suppose we test an Expert Advisor on EURUSD H1 in the "Open Prices Only" mode. In this case the total number of ticks (control points) will be no more than 4*number of one-hour bars within

how to configure the buy price in back test?

i tried to do a very simple test in onTick() function just very simple like buy the symbol when 8 days ma cross 20 day ma and close price higher than 20 days ma on 1H graph. for both ma, i use bar close. and check if ma1.Main(0)>ma2.Main(0) && close>ma2.Main(0) as far as i know, this statement will

question about the prices used in back test

Hi, I am new in mt5. i am confused about the price used in back test. something very simple as below. i hope someone can confirm my understanding CSymbolInfo info; void OnTick () { double ask=info.Ask(); double close= iClose ( NULL , PERIOD_CURRENT , 0 ); if (ma1.Main( 0 )>ma2.Main( 0 ) &&

historical data and tick volume question

may i know where can i find a high quality historical data source of forex pair up to 1min period? and how to interpret the tick volume in different levels of bid/ask depth? does it mean the number of times of the offer/size changes in a small time interval, so it represents how frequent people

some entry level questions - save config, choose broker

i am new in MT5. i hv some questions 1) in tool, option, expert advisor, enable algo trading. i ticked the box but after closing mt5 and reopen it, it is unticked. seem this software won't auto save my config. may i know how to save config? and how to save the layout too? 2) attached is the market

question about historical data

i am new in mt5 and forex. may i know how can i get 15 to 20 years historical data? better have 1min. seems the time definition is GMT+2 (winter) and GMT+3(summer), is it globally true and consistent for different brokers? furthermore, how it defines daily trading hours, for example, what's the two