Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Forex Community Questions Answer From Traders

Forex Community Questions Answer From Traders Logo Forex Community Questions Answer From Traders Logo

Forex Community Questions Answer From Traders Navigation

Search
Ask A Question

Mobile menu

Close
Ask a Question
You can use WP menu builder to build menus
Home/ Questions/Q 552
Next
sdsunqiang
  • 0
sdsunqiangBegginer
Asked: 13 мая, 20222022-05-13T11:49:41+03:00 2022-05-13T11:49:41+03:00In: Analytics

MT5 multicurrency optimization glitch

  • 0

I have looked through several Expert Advisors on the forum with the word “multicurrency” in their names.
No one of them could be optimized for several currencies in one optimization run.
I had to invent …

extern   int      idxSymbols;
         string   arrSymbols[3];
         string   currSymbol;

OnInit ()
{
...
   arrSymbols[0]="AUDNZD";
   arrSymbols[1]="EURUSD";
   arrSymbols[2]="GBPUSD";

// Вариант 1 - классический : текущий символ = символу из настроек тестера
   currSymbol=Symbol();         
// Вариант 2 - оптимизация : текущий символ = элементу массива, индекс которого перебирается как input параметр при оптимизации
   currSymbol=arrSymbols[idxSymbols]; //
...
}

Simulation: Opening prices only

Testing each pair separately by the first variant, net profit:
AUDNZD – 4180,96
EURUSD – 8674,95
GBPUSD – 1686,79

Optimization by the second variant : The Parameters tab goes through idxSymbols from 0 to 2 inclusive, with the GBPUSD symbol in the tester settings

That’s right. But ….
Changed the symbol for EURUSD in the tester settings: I changed profit on GBPUSD [Pass 2]

Changed the symbol for AUDNZD in the tester settings: I got wrong profits on EURUSD [pass 1] and GBPUSD [pass 2]

What is it ? Help … please … very please 🙁

UPD Cleaning the cache didn’t help

  • 0 0 Answers
  • 8 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report
Leave an answer

Leave an answer
Отменить ответ

Browse

Sidebar

Ask A Question

Stats

  • Questions 81
  • Answers 179
  • Best Answers 0
  • Users 381
  • Popular
  • Answers
  • dyedgirl81

    Has anyone created a successful automated trading system? What is ...

    • 29 Answers
  • semola_r

    League of Trading Systems. Keeping up the good work.

    • 28 Answers
  • nicolat

    Repetitive patterns and other patterns

    • 19 Answers
  • breathless69
    breathless69 added an answer sly275: There are things that require no external confirmation if… 13 мая, 2022 at 1:57 пп
  • sly275
    sly275 added an answer breathless69: Nobody is going to watch or take this apart.… 13 мая, 2022 at 1:57 пп
  • breathless69
    breathless69 added an answer sly275: Last Data Nobody is going to watch or parse… 13 мая, 2022 at 1:57 пп

Related Questions

  • Mikhail.I.Dobrolioubov

    Deal mismatch in the tester

    • 3 Answers
  • vladuttzz

    Testing 'CopyTicks'

    • 14 Answers
  • nicolat

    Repetitive patterns and other patterns

    • 19 Answers

Top Members

pauloucci

pauloucci

  • 0 Questions
  • 46 Points
Begginer
casernier

casernier

  • 0 Questions
  • 36 Points
Begginer
breathless69

breathless69

  • 0 Questions
  • 32 Points
Begginer

Trending Tags

british english

Explore

Footer

Forex Community Questions Answer From Traders

Discy is a social questions & Answers Engine which will help you establis your community and connect with other people.

About Us

Legal Stuff

Help

Follow

© 2021 Discy. All Rights Reserved
With Love by 2code

Вставить/изменить ссылку

Введите адрес назначения (URL)

Или сделайте ссылку на существующий материал

    Поисковый запрос не задан. Показаны недавние элементы. Воспользуйтесь поиском или клавишами вверх/вниз, чтобы выбрать элемент.