Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1583
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The logic is lame, everything is there, both arrays for tickets and order types. Only it is not filled when orders are opened, and the array is zeroed out in the TicketLimit function for some reason. At first glance, it looks like that.
How is it like chess? We are missing one move. I will try to analyze it. Thank you, Valery.
How do I get the bar stats right?
I did so, counts the number correctly, but when I try to use the data I get "0"
Perhaps there is a normal way, but I "reinvent the wheel")
Please advise.
How do I get the bar stats right?
I did so, counts the number correctly, but when I try to use the data I get "0"
Perhaps there is a normal way, but I "reinvent the wheel")
Please advise.
It looks like you have all int variables and the result of division is less than 0. Therefore, 0;
Try it:
Like in chess? One move is missing. I'll try to make sense of it. Thank you, Valery.
It looks like you have all int variables and the result of division is less than 0. Therefore, 0;
Try it:
Can you tell me if there is a function that simplifies this definition for opening an order?
The idea is that an order is not opened if the price does not fall within this rangeCan you tell me if there is a function that simplifies this definition for opening an order?
The idea is that an order is not opened if the price does not fall into this rangeDraw it on the paper.
OpenPrice _________________________
Bid _________________________
OpenPrice-10*_Point________________________
From the picture you can see that OpenPrice - Bid should not be higher than 10*_Point
Well, draw it on paper.
OpenPrice _________________________
Bid _________________________
OpenPrice-10*_Point________________________
From the picture you can see that OpenPrice - Bid should not be more than 10*_Point
module difference. Without module only the top zone falls into the condition. | OpenPrice - Bid |> 10*_Point opening condition
Well, draw it on paper.
OpenPrice _________________________
Bid _________________________
OpenPrice-10*_Point________________________
From the picture you can see that OpenPrice - Bid should not be higher than 10*_Point
You amaze me.