Forum

My Expert Advisor doesn't show any indicators on MT5

Dear all, After many months of back-testing with Expert Advisors (EAs) I wrote myself in MT5, I decided to dive into live trading. But, for about a week now I am stuck. I log in to my live account, open the chart of the instrument I want to trade, drag my EA to chart, I enable algo trading both in

Huge dip in EFA's price on July 3, 2023

Dear all, I hope I landed in the proper section with my question. Here is the story. I was back testing some MT5 experts I developed on various instruments, and when I came to EFA, iShares MSCI EAFE ETF (EFA.arcx), I noticed that my experts behave strange, to say the least. Sometimes they yield

Reading Leverage from .ini file in Strategy Tester interactively and non-interactively gives different outcomes

Dear all, I am developing some experts in MQL5 and am running back tests on them. To make things faster, I also develop Power Shell (7) scripts which run tests in a non-interactive fashion, varying various trading parameters, including the leverage. I noticed that scripts sometimes give unexpected

A question about spread costs in MQL5

Dear all, I am new to trading and am developing my first strategies in MQL5. Up to now, I am only testing different strategies in Strategy Tester . Whenever I open a position, I am essentially buying, I only "go long", because "going short" is still a bit nebulous in my mind. Imagine I start with

Simulating Costs in Strategy Tester

Dear all, I am a freshman in trading, and am in the stage in which I am trying to learn as much theory as I can and am, at the same time, developing "experts" in MT5, which I test and tune on historical data for selected instruments, with MT5's Strategy Tester . I would really like to know if

Strategy Tester App Constantly Staeling Focus

Dear all, I appologize if I ask something banal, but I have an issue with Strategy Tester (ST) in Meta Trader 5 (MT5), constantly stealin the focus from other open windows. Here is my situation: I developed a number of Windows batch files which I use for backtesting of the experts I am developing

A very simple question on S&P 500 leveraged trading

Dear all, I am stuck with something which is probably very basic, but can't figure it out. Here it is. I am writing an expert in MT5 to trade S&P 500, symbol name SPY. My initial budget is 10'000 and leverage 1:100. When I test it, I use the command: Buy(Volume, _Symbol , // SPY 0.0

My experts' outcome depends a lot on applied time frames

Dear all, I got interested in trading several months back, did some reading on it and realized that algorithmic trading is the way for me to go since I have a full time job and am reasonably skilled in computer programming. I picked MT5 since it is close to C++, a language I am familiar with

How is the profit calculated when trading gold?

Hi everyone, I am pretty fresh in trading as well as in MT5 and am trying to figure out some details when trading gold. I developed a rather simple two moving average expert advisor which trades gold as follows: When criterion for buying is met, I buy gold with this command: if ( goodToBuy ||