Forum

Why is the spread shown in the "data window" completely nonsense?

I opened different demo accounts with different brokers, but it is always wrong. While the "market watch" and the Expert advisor always show the correct spread, instead in the "data window" the spread is always or slightly off ( 2 - 3 points) or completely off ( like in the picture) Why is that? it

Why MetaTrader is only using 10% of the CPU?

Hello There, I loaded a heavy Script that took more than 15 minutes to complete, and in the meantime I noticed the CPU usage by MetaTrader was only 10% So cleary the program is not using all the available cores in my pc. To understand better, this time I ran an expert on the strategy tester and, on

Can you tell me a method that estimates the linearity of a series ?

Hello everybody, I'm dealing with hundreds of series that have approximately the same % of increase in a given time, but they all differ in terms of linearity. To make it clear, I attached an image here. The blue line represents the ideal series, the green line the worst, the red line the average. I

Why in the world can't I initialize a multidimensional array with variables?

Seriously guys... why? I have a complex EA and I can't manually write the Array rows and columns every fricking time. It would mean stopping the program and run it again for like 10 times. It is not possibile. I would like to pass those values in a function like this: void create_array( int rows

I thought I created the ultimate EA, but...

During the last month I've created an EA which is able to find the best historical combination between a pattern and all its relevant indicators/values. Here is an example: We give the EA all the "morning star" formations for the EUR/USD between 2010 and 2020 as input, and it returns which

Could My Expert Advisor (profitable in the strategy tester) produce an unexpected result during a REAL money trading session?

Hello there, I would greatly appreciate if you could suggest me if I'm missing something before going REAL. I would like to point out that I am using a Demo Account of the same Broker I would like go REAL with, and I emulated an average Slippage based on my connection. Also, from what I saw, -Spead

Why does Take Profit doesn't work ???

Hello everybody, I have set up a simple Buy Position with stop loss and take profit . But, as you can see from the image, after a BUY position is Opened and target is reached, it seems like the program doesn't recognize it and close the position after a very long time. I am losing my mind over this