Forum

Why does TerminalInfoString(TERMINAL_CPU_ARCHITECTURE) return nothing?

Is this a bug? I have a ryzen 7950x so I believe it should say avx512. Print ( "Architecture: " + TerminalInfoString (TERMINAL_CPU_ARCHITECTURE)); //Prints "Architecture: " Also maybe another bug: ( vectorf vec( 10 )) vec = 2 /vec; compiles ( matrixf mat( 1 , 10 )) mat= 2 +mat; compiles ( matrixf

Would the spread of the price be different with different brokers?

Metaquotes demo ticks show less spread than my brokers ticks. Are the ticks from metaquotes showing an ideal spread and my broker the real life spread? Or is my broker's spread just not as good? Are there different spreads for different brokers

Where can I find updates on what the devs are working on? Are they working on any alternative/improved genetic algorithms?

What the title says. I know that there are some articles on genetic algorithm alternatives, but are far as I'm aware they aren't multithreaded and if I'm being honest I don't understand half of what they say

Can I get opinions on good indicators for scalping?

I am trying to code an expert advisor but I don't really know how good different indicators are. I'll end up throwing a couple in there and seeing how well it does, but if anyone has any suggestions on where to start I'd appreciate it

Am I calculating triple exponential moving average correctly?

I am trying to code my own triple exponential moving average . Here is what I have: tema1ema1 = MathMean(typical); //typical is an array for the last 20 bars where 0 is the most recent for ( int i= 1 ;i< 20 ;i++) { tema1ema1 = typical[ 19 -i] * . 0952 + tema1ema1 * . 948 ;

Feature request of sign(x) function.

I don't see the sign of a variable as a function in the docs. I would like to request this feature/function. This can already be achieved using if statements and sped up using branchless techniques but it would be nice to have a super fast simple function that returns 1 for positive, 0 for 0, and -1

Pointer to this function type is not supported yet.

I am trying to make a pointer to a method. When I try to compile it says "Pointer to this function type is not supported yet". I don't understand what the function type in this error means. Is it the return type? The method I am calling is a static function but is in a virtual child class. (the

Is there a way to run or rerun forward tests with the same inputs as a previous backtest?

Me and a couple other people experience a bug where the forward test results are incorrect. In order to see how well a pass actually did I have to manually run a single test on it. It isn't possible for me to manually check thousands of passes. I am wondering if I could automate it or is there a way

Why would the number of passes in the strategy tester determine whether a bug happens or not.

I am trying to figure out why only me and a couple other people experience certain bugs when doing forward tests ( https://www.mql5.com/en/forum/454524 ). I believe the bugs might be hardware related. After some experimentation I found out that the bugs happen when the number of inputs

How can I see what exactly went wrong when a forward optimization pass fails?

I have been experiencing bugs in forward optimization for a while now and I am trying to identify the problem (post about bugs: https://www.mql5.com/en/forum/454524 ). The only error message that shows up says in the journal tab is " x forward passes not processed and returned to task queue". If I