You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Expert Advisor settings are like this
We meant testing settings, not input parameters of the Expert Advis or.
In addition to the settings, please give the demo account number and investment password to it.
Sorry, I'm a complete dummy on all these terms..... for now :)
Expert: ssssa.ex5 EURUSD H1
Date: Last Year
Execution: Normal Every tick
Deposit: 10000 USD 1:100
Optimisation: Fast Generic Based Algorithm Balance Max
(last time tried without optimisation )
Forward: NO
Everything is marked in the inputs as in the instructions
Login: 20354
Hello!
1) I was trying to understand this line of code
I consider it useful to provide a link to the reference book:
MQL5 Reference Guide / Language Basics / Data Types / Structures and Classes
namely the example //--- constructor with the initialisation list CPerson(string surname,string name): m_second_name(surname), m_first_name(name) {};
2) By the way, whoever is writing the help, notice in this section of the help:
Looks like a class declaration error: in the
Classes Classes have a number of differences from structures....
Example:
struct trade_settings
{
Login: 20354
I connected to this account and started testing(not optimisation!). The automatic loading of history started and trades started. I have a suspicion that you are confusing optimisation and testing. When optimising you will not see trades!
Hello!
1) I was trying to understand this line of code
I consider it useful to provide a link to the reference book:
MQL5 Reference Guide / Language Basics / Data Types / Structures and Classes
namely the example //--- constructor with the initialisation list CPerson(string surname,string name): m_second_name(surname), m_first_name(name) {};
Thanks , a suggestion has been added to the article:
Initialisation of class members here is done using an initialisation list.
2) By the way, whoever is writing the help, pay attention in this section of the help:
Looks like a class declaration error: in the
Classes Classes have a number of differences from structures....
Example:
struct trade_settings
{
Do you mean this place?
This is what I'm getting.
Very strange, the number of bars, ticks and modelling quality are the same. Do you have UAC enabled? What folder is the terminal installed in?
But I tried to optimise with the same expert and it gives the error TESTED WITH ERROR "Cannot initialise Expert"
can you please check again from my account what it will write to you if you optimise?
can you please check from my account again what it will write to you if you optimise?
2) By the way, whoever is writing the help, pay attention in this section of the help:
looks like a class declaration error: in the section
Classes Classes have a number of differences from structures....
Example:
struct trade_settings
{
Do you mean this place?
Yes, I've now worked out that this is a generic example for classes and struct.
The logic worked on the basis of priorities according to the scheme
Structure - Example, Class - Example,
and then regardless of structure / class we have a general rule:
...if a constructor is explicitly defined, it is impossible to initialise a variable of a structure or class type using an initialising sequence.
There is an example missing here for a class.... ok. I'll be more flexible :-)
2) Why is the comment so strikingly different (imho, the meaning in the fifth is similar to the fourth, namely, we call a method of the base class, what are additional filters)?