You can see in the picture that the trade was successful and well above the prices on the chart. The gap is not there either. The price of the trade is outside the chart at all.
If I send the wrong order to the exchange, it simply will not be executed or passed in the market. I was just going through all possible price variants in the asc code to bypass the error, but it did not work. The transaction is not correct either way. I can't bypass 10 o'clock either, as it's the movement I need. Different timeframe doesn't solve the problem either.
You can see in the picture there that the trade was successful and well above the prices on the chart. The gap is not there either. The price of the deal is outside the chart at all.
If I send the wrong order to the exchange, it simply will not execute or go through the market. And in the asc code I was just going through all possible price options to bypass the error, but it didn't work. The transaction is not correct either way. I can't bypass 10 o'clock either, as it's the movement I need. Different timeframe doesn't solve the problem either.
We buy at Ask and sell at Bid. At the moment, the Bid price is shown in your picture. The Ask price is equal to the Bid+Spread.
You can see in the picture there that the trade was successful and well above the prices on the chart. The gap is not there either. The price of the deal is outside the chart at all.
If I send the wrong order to the exchange, it simply will not execute or go through the market. And in the asc code I was just going through all possible price options to bypass the error, but it didn't work. The transaction is not correct either way. I can't bypass 10 o'clock either, as it's the movement I need. Different timeframe doesn't solve the problem either.
Forgive me for the remark, but you should study the basics first - you've written nonsense (in the quoted). Why - do not ask.
This makes the code look much clearer. If you insert the code correctly in your forum posts, your posts will be easier to read.Inserting the code correctly in the forum
invent your own exchange and write your own terminal for it
Nazar, I can see you're not a trader.
Buy orders are executed on the ack.
You can see in the picture that the trade was successful and well above the prices on the chart. The gap is not there either. The price of the trade is outside the chart at all.
If I send the wrong order to the exchange, it simply will not be executed or passed in the market. I was just going through all possible price variants in the asc code to bypass the error, but it did not work. The transaction is not correct either way. I can't bypass 10 o'clock either, as it's the movement I need. Different timeframe doesn't solve the problem either.
You can see in the picture there that the trade was successful and well above the prices on the chart. The gap is not there either. The price of the deal is outside the chart at all.
If I send the wrong order to the exchange, it simply will not execute or go through the market. And in the asc code I was just going through all possible price options to bypass the error, but it didn't work. The transaction is not correct either way. I can't bypass 10 o'clock either, as it's the movement I need. Different timeframe doesn't solve the problem either.
You can see in the picture there that the trade was successful and well above the prices on the chart. The gap is not there either. The price of the deal is outside the chart at all.
If I send the wrong order to the exchange, it simply will not execute or go through the market. And in the asc code I was just going through all possible price options to bypass the error, but it didn't work. The transaction is not correct either way. I can't bypass 10 o'clock either, as it's the movement I need. Different timeframe doesn't solve the problem either.
Can you tell me please, is this tester figure realistic in life? And is it a good or bad result for a year with a deposit of $3000?
https://www.mql5.com/ru/code/1574
If you meant ZeroMemory(), it didn't help. Can you tell me where the error is, it's still hard for me to navigate on my own.
to buy