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
close. I think i would do somthing like this. maybe a moderator can "pipe in".
where you have the copy buffer, i would add a function call of the following function load_Buffers();
I did this but the response is still 0 in both buffers
Hello every one.
I'm iniciant in mql5, I have a indicator that I do and now I want create a EA for work with indicator. This is very simple because I am a iniciant
I'm testing this EA, but I think that the values of buffers are not actualized when I am using the EA.
If you try ut just the indicator on a graph, you will see tha indicator works fine, but if you try use the EA, the values of buffers will be 0 ever.
this the code to indicator:
and this is the code of EA:
OnTimer() and OnBookEvent() are not triggering in an indicator launched through iCustom() alone.
You would need to add the indicator on the chart using ChartIndicatorAdd().
OnTimer() and OnBookEvent() are not triggering in an indicator launched through iCustom() alone.
You would need to add the indicator on the chart using ChartIndicatorAdd().
OK, nice, can you show me, how do it?
I'm researching now to understand how to do this, but if you could show me I'd be grateful
He literally gave you the answer—"You would need to add the indicator on the chart using ChartIndicatorAdd()."
So, now read the documentation, which includes sample code, and apply the function in your code ... Documentation on MQL5: Chart Operations / ChartIndicatorAdd
He literally gave you the answer—"You would need to add the indicator on the chart using ChartIndicatorAdd()."
So, now read the documentation, which includes sample code, and apply the function in your code ... Documentation on MQL5: Chart Operations / ChartIndicatorAdd
Sorry, I don't know the community very well yet. But I managed to do it, thank you very much!