Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 591
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
Copied. And how much is copied is checked?
If you are using an indicator with smoothing, it requires a few more bars than you expect to calculate. Therefore, just because you have copied does not mean that the data is copied and fully available.
It is easier to check the size of the array and exit OnTick() if it does not have the required size.
And how to do it, if in optimization mode no output is given, but in normal mode everything works?
output to file will work?
Can you give me a universal formula for calculating the breakeven price if there are commissions and swaps in a trade?
If you are interested, here is a great code that takes everything into account - https://www.mql5.com/ru/forum/58229#comment_1603761
Here, I guess.
Here, I guess.
this function seems to select the very first transaction. That's the way I want it. Is something wrong?
this function seems to select the very first transaction. That's the way I want it. Is something wrong?
This is where aBuyCount builds up "heavily" and aSellCount does not build up at all.
This is where aBuyCount builds up "heavily" and aSellCount does not build up at all.
Thank you! I didn't even notice! I don't think so, but maybe that's why!
Afternoon!
I bought an indicator on the mql5 website, for the MT4 terminal, installed it, everything worked... but some time ago it stopped working... I've been talking to the developer, technical support from Forex Club (I have their terminal), they were not able to help me. They couldn't help me. Technical support has sent me to mql.5 forum.
Afternoon!
I bought an indicator on the mql5 website, for the MT4 terminal, installed it, everything worked... but some time ago it stopped working... I've been talking to the developer, technical support from Forex Club (I have their terminal), they were not able to help me. They couldn't help me. Technical support has sent me to mql.5 forum.