Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 295
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
What do you want to update from the EA?
A chart with quotes. I've noticed this trick - if you manually press "Refresh" in the terminal, the quotes for a certain period are loaded and the chart changes its appearance. Often the studs disappear or the opener/close changes. This affects the drawings created by the indicator.
Is it possible to make such a chart update from an EA?
Hello, is it possible to make a universal condition for all robot work? I have a ready open code and want to make a change to "only trade on increasing signal candle volume".
make a boolean output from your code and use it. Or what is the question?
This affects the drawings created by the indicator.
If the indicator changes by the refresh button, there's a bug in the indicator (most likely when initialising global/static variables).
Read more: https://www.mql5.com/ru/forum/65432
If the indicator changes on the refresh button - the fault is in the indicator (most likely in the initialisation of global/static variables).
er ... i.e. according to you the trendline drawn by the hai should not change when the spire upwards disappears after the update? =)))
and what does mt5 have to do with it if we are discussing mql4?er ... i.e. according to you the trendline drawn by the hai should not change when the steeple disappears after the update upwards? =)))
Is the spire drawn by the indicator or the spire of the chart? I'm talking about the case where the indicator view changes when you press refresh.
the spire of the chart.
If you press refresh, the chart pattern changes and accordingly the drawn by the indicator changes. If you do not press refresh, the price chart does not change and the pattern remains the same.
how can you update the price chart from the EA?the spire of the chart.
If you press refresh, the chart pattern changes and accordingly the drawn by the indicator changes. If you don't press refresh, the price chart doesn't change and the pattern remains the same.
Um... I haven't come across the fact that when I press refresh the chart itself changes... somehow it's suspicious. The question here is whether the DC is changing the quotes...
Any DC changes the quotes, but the terminal only updates them forcibly. How to force it out of the EA?
make a boolean output from your code and use it. Or what is the question?
The question is: what exactly do you need to put in for the universal condition of the whole trade. In my case trade: opening all trades of the whole robot only if ".... "