[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 245

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 afternoon. I have solved the issue of passing data from the indicator through the buffer to the Expert Advisor with some crunch. But again a mishap, the passed value comes with a delay of several bars ((.
In the indicator, from the place where I pass the flag to the buff (0,1,-1) I build trend lines in the indicator using these values. In the indicator everything is rendered as it should be, but the same calculations in the Expert Advisor draw the levels with a delay of several bars.
What may be the problem? Ask me a vector code.
Please give me the code
In the indicator:
in the EA:
The end result is:
That's about it. What else to add?
Good day! Could you please tell me if you can switch timeframes in the indicator?
Software switching of TFs
Good day! Could you please tell me if you can switch timeframes in the indicator?
Good afternoon.
This is how I draw the line in the indicator
I try to remove it like this
ClearVLine();
it's not deleting, what's the problem?Good afternoon.
This is how I draw the line in the indicator
I try to remove it like this
ClearVLine();
It doesn't clear, what's the problem?Can you tell me if there are any standard functions used in MQL4. For example, if there is an iStochastic, is there any way to find out how the firm has described them?
https://www.mql5.com/ru/articles/1422