Forum

difference between close price on tick and buy price

Hi, I'm trying to make an automated trading bot. Every time I want to make buy order with the last close price in the function "ontick", I see the price bought in my order several pip higher than what I want, and I don't understand why. Somebody can help me? I'm in a demo account with swissquote as

limitation of available datas

Hi, I grab data from mql5 for training a neural network written in python script. First I store input and output data in two separates .csv files and then I reopen them with the python script to train my model. I discovered there is a limitation on available datas that

How to get ask bid price on history array with copyclose?

Hi, I want to calculate a vector who represent the profitability to buy now a forex cross (like EURUSD) and sell it in a futur period of time pre-defined. To calculate this, I made a for loop who calculate the difference between the close price now and the close price in 20minutes(for exemple). This

transferring experienced data between two EA

Hi, first: Sorry if it is a noob question, I started to learn mql5 last week so i'm trying to do... Basically, i have two EA: One that I first run on "history data" mode (metaeditor: debug->start profiling on history data), which will "train" with data from the three last years. When the DeInit