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

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
Good evening .What does this piece of code say? When does it appear? All pairs are in the list and all history is loaded .
Investor password?
Good evening. What does this piece of code say? When does it appear? All pairs in the list are there and all history is loaded .
No symbols for trading!
the rest is business as usual...
Thank you
Checking that there is no object on the second bar
How do I check that there are no objects on the ten bars?Indicator.
For each bar, calculate the sum of bullish bar sizes and the sum of bearish bar sizes
In the buffer write the difference of these sums.
What is wrong here?
Indicator.
For each bar, calculate the sum of bullish bar sizes and the sum of bearish bar sizes
In the buffer write the difference of these sums.
What is wrong here?
Transfer
inside the first cycle - before announcing the second cycle.
Indicator.
For each bar, calculate the sum of bullish bar sizes and the sum of bearish bar sizes
In the buffer write the difference of these sums.
What is wrong here?
Try to reset the variablesup_sum=0, down_sum=0;
before the second, internal loop.
Like this
Try resettingup_sum=0, down_sum=0;
before the second, internal loop.
Like this
did so, and yes, it makes sense, but now it's no longer displayed at all
Thank you
Checking that there is no object on the second bar
How do I check that there are no objects on the ten bars?If you know how to create the exact name of an object, then there is no point in going through all the objects on the chart.
It is enough to go through these (assumed) names.
I did, and yes, it makes sense, but now it's no longer displayed at all
Yes, also like this, fix it.
In the inner loop