[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 146
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
Try it, each buffer in a separate loop.
Thank you for the advices. Everything works, but when you install the indicator it is drawn strangely (see chart). The indentation (in bars) from the left edge of the chart window to the vertical yellow line is always UNSTOPPED for ANY number of visible bars in the window and equals eight bars. Once these eight bars go beyond the left window boundary, ALL lines on the chart immediately appear and then everything is normal. Can it be fixed and how?
Thank you for the advices. It works, but when you install the indicator it is drawn strangely (see chart). The indentation (in bars) from the left border of the chart window to the vertical yellow line is always UNSTOPPED for ANY number of visible bars in the window and equals eight bars. As soon as these eight bars go beyond the left window border, ALL chart lines immediately appear and then everything is normal. Can it be fixed and how?
try it like this
This code construction allows to recalculate at every new tick the indicator only at zero and the first (for check) bar, instead of recalculating already calculated indicator anew. i need to build an indicator by ALL visible bars visible in the window, and then find its max and min at this point. help me to solve the problem, mentioned in my previous post. there is an example, but not everything is clear to me. can someone explain these three strings line by line?
Not quite clear what you need, if you need to find the MAX and MIN of the visible bars of the indicator, first draw the indicator and then search.
Maybe it's better to use WindowPriceMax(), WindowPriceMin().
Stepan2
Works
There's a glitch with arrays after all, but with while
c for for works without any problems
))
Good afternoon.
People, tell me what to test EAs with. Because the built in MT gives an average of 50% simulation quality, and people are posting more than 90% on screenshots.
Good afternoon.
People, tell me what to test EAs with. Because the built in MT gives an average of 50% simulation quality, but on screenshots people post more than 90%.
If you have the whole minute history, it will be 90%. 99% is achieved by creating a tick history fxt yourself. This is usually done using dukascoping quotes. Google scripts on the subject of 99% quality testing