Errors, bugs, questions - page 473

 
TheXpert:

Holy crap, I was hoping it was a bug.

Another question - are there plans to introduce static and constant members in the class?

Static members are planned.
 
marketeer:

P.S. Actually, it's not a comma that should be passed there, but I made that mistake because I've been using my own function for a long time, where the separator is a string, not a code - imho, it's more convenient. You have to write StringGetCharacter(",", 0) as second parameter;

I packed it into one line, also assembled the input string of two. It's OK :)

   StringSplit(Smbl_Crrnt+","+Smbl_,StringGetCharacter(",",0),Smbl_m);
 
tester_el_pro:

Unfortunately, you write with such formatting that it is impossible to read.

Provide a clear reproducible example with a full layout of input and output data, a description of the environment and the test indicators themselves.

Otherwise in this mode with huge assumptions and understatements you can derive anything.

[Deleted]  
Renat:

Unfortunately, you write with such formatting that it is simply impossible to read.

Provide a clear reproducible example with a full layout of input and output data, a description of the environment and the test indicators themselves.

Otherwise in this mode with huge assumptions and understatements anything can be derived.


What about not saving the right margin size of the template?


in mt4 - saves ...

 

I notice that the opening price has more than 5 digits after the point. Is it supposed to be like this?

Документация по MQL5: Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы
  • www.mql5.com
Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы - Документация по MQL5
[Deleted]  
tol64:

I notice that the opening price has more than 5 digits after the point. Is it supposed to be like this?

Yes, it could well be...
 
Interesting:
Yes, that may well be the case...
In this case the positions were opened manually. If you normalise prices in EA, is this also possible?)
[Deleted]  
tol64:
In this case the positions were opened manually. If you normalise prices in EA, can you observe this too?)
This is observed when recalculating the opening price of a position that was formed by several trades. We use a special formula to calculate the average price for all trades.
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы
  • www.mql5.com
Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы - Документация по MQL5
[Deleted]  
Interesting:
Yes, that could well be...


madhouse ...:))


More signs, more confusion and eye-breaking ...

:(

[Deleted]  

tester_el_pro:

madhouse ...:))

More signs, more confusion and eye-breaking ...

:(

Wrong, simple maths...

Position Price = (Deal1*Volume1+...DealN*VolumeN)/(Volume1+...+VolumeN)