Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1843
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
Why this is needed: summary charts are very helpful in understanding a particular process, sector, industry, etc.
Get it from the internet or come up with a calculation formula and create a custom indicator based on it. What's the problem?
Take a calculation formula from the internet or come up with one and create a custom indicator based on it. What is the problem?
"Get it from the internet" where?
What's wrong with your code?
Here's what I got with this script
Thanks for the tip not one way or the other not without your help I solved this problem.
Thank you!!!
But most importantly I didn't understand why the bar shifts????
Thanks for the tip not one way or the other not without your help I have solved this problem.
Thank you!!!
But most importantly I didn't understand why the bar shift happened????
Please help insert the pause function into the EA.
Show me all the code... we'll look for the shift.
Here is the part of the code responsible for the vertical line on the graph. I've already accounted for the shift
Here is the part of the code responsible for the vertical line on the graph. I've already taken the shift into account.
I need the code where the line is created
Here is the part of the code responsible for the vertical line on the graph. I've already accounted for the shift.
Your original code is correct.
Thanks for the tip not one way or the other not without your help I have solved this problem.
Thank you!!!
But most importantly I didn't understand why the bar shifts????
Most likely there was some bug in the code. Compare the working version with the wrong one.
"Get it from the internet" where?
Well, then you should have started with that question in the first place. Maybe someone knows how to do it. And only then should you think about how to write an indicator.