Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 562

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
I'm just learning!
Don't be too harsh! ;)
Do you learn how to download codes from the network, attach them to your account and earn money on affiliate? You don't have to learn it, it's pretty easy to do.
Do you learn how to download codes from the net, link them to your account and earn money from your affiliate? You don't need to learn how to do it, it's easy enough.
I want to link my author's (commissioned) Expert Advisor to my account and place it on a dubious server, what's not to understand =)
I'm asking for your help, please tell me what I need to post.I want to link my author's (commissioned) EA to an account and host it on a dodgy server, what's not to understand =)
Therefore, I'm asking for your help, please advise what you need to post.You got the answer.
But you can also insert at the end ofOnInit
You have been told
But you can also insert at the end ofOnInit
Are you sure the person won't copy again without thinking?
That's not quite right. The first thing to do is to calculate the nearest correct value (based on a given value), and then check the difference between the values. If it is zero (or no more than DBL_EPSILON), then everything is OK:
The VolumeCast function can be taken from here.
Thank you very much
That's not quite right. The first thing to do is to calculate the nearest correct value (based on a given value), and then check the difference between the values. If it is zero (or no more than DBL_EPSILON), then everything is OK:
The VolumeCast function can be taken from here.
Thanks. I would just refineVolumeCast a bit more, because if we set quite usual values, for example, lot volume equal to 0.01 and minimum lot equal to 0.01 while volume specified by the user is correct, like 0.03,VolumeCast will increase the volume to 0.04. I would do it this way
Thank you. Only I would like to refineVolumeCast a bit more, because if we set quite usual values, for example lot volume equal to 0.01 and minimum lot equal to 0.01 and volume value set by user is correct, for example 0.03, thenVolumeCast will increase volume to 0.04. I would do so:
Yes, correct.
Can you tell me if it is possible to write code that works on MT5 and MT4?
For example
For example like this
and getting data from the indicators, the graph?