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

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
Check MA crossing not on 1 and 2 bars, but on 3 and 4. And if there is a crossover, check the AO values on 1 and 2 bars.
I have another headache - explain how to write the KEY_TILDE key for selecting the Rectangular Label object, so that it can be selected and moved to another place on the chart, I can't figure it out. I have attached a screenshot with an example on Fork Neo indicator at the bottom. I have understood the mouse, but I cannot use keys.
I have another headache - explain how to write the KEY_TILDE key for selecting the Rectangular Label object, so that it can be selected and moved to another place on the chart, I can't figure it out. I have attached a screenshot with an example on Fork Neo indicator at the bottom. I have understood the mouse, but I cannot use keys.
Dear Colleagues, I have finished my Expert Advisor. It works well in the Strategy Tester but has been configured in such a way that it opens a random order immediately when it is added to the chart. This is optimal for GBPUSD. However, it does not open orders on the demo. I have a wide spread, no errors, but, again, orders have not been opened for 24 hours, but I have traded good within the same day using downloaded ticks in the tester. All settings of MetaTrader are normal, faces are smiling and connection with broker's server is also normal. I have to look what is wrong with the code. Although, this code doesn't need any induks and parameters are valid by its conditions for skipping opening orders. I am puzzling.
There are a lot of bottlenecks. The code is poorly written - extremely sloppy data handling. Needs refactoring
There are a lot of bottlenecks. The code is poorly written - extremely sloppy data handling. It needs refactoring.
Your abstract evaluation does not reveal the cause.
what fucking bottlenecks...what the @@#$ refactor
the code was written "for my beloved self, for beer and while I remember it" :-)
honestly - i downloaded it, looked at it diagonally, i don't understand it...
----
Any code is documented/commented in case of sudden personal professional amnesia. That's when you forgot everything except the programming language.
No one will parse an unknown algorithm implemented in unknown ways. For free, at least. For money, they'll just rewrite it.
You're one of them. After two or three months of break you will not remember why there were so many variables in OnTick and what they were intended to read
what fucking bottlenecks...what the @@#$ refactor
the code was written "for my beloved self, for beer and while I remember it" :-)
honestly - i downloaded it, looked at it diagonally, i don't understand it...
----
Any code is documented/commented in case of sudden personal professional amnesia. That's when you forgot everything except the programming language.
No one is going to parse an unknown algorithm implemented in unknown ways. For free, at least. For money, they'll just rewrite it.
You're one of them. Taking a two-three month break you will not remember why there were so many variables in OnTick and what they were intended to read