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
Hi,
but I think there is no need for market status identification. The indicator should work on closed market as same as other simple indicators do.
TO angevoyageur: Did you try any of listed indicators on closed market?
Peter
It seems to me, similar problem is for all indicators, which use data from different time-frame.
This Renko uses M1 data, but it is not working on different time-frame from M1 on closed market (it waits for a new tick).
https://www.mql5.com/en/code/1299
I met the same problem when i was working on someone's job(multi-currency and multi-time-frame).
I think maybe it is because the data of the pair in that time-frame hasn't been established yet.
Check your data history.
I think maybe it is because the data of the pair in that time-frame hasn't been established yet. Check your data history.
I discovered that by"chart refresh" obtained by pressing left key in the chart the problem solve.
The problem is that using the function ChartRedraw() the effect is not the same by mouse click.
Clicking the update with the mouse do something more that resolve the problem told here.
Anyone has an idea how to emulate the mouse refresh?
I discovered that by"chart refresh" obtained by pressing left key in the chart the problem solve.
The problem is that using the function ChartRedraw() the effect is not the same by mouse click.
Clicking the update with the mouse do something more that resolve the problem told here.
Anyone has an idea how to emulate the mouse refresh?
How is this related to this topic ?
Is related because if you force by code a chart refresh when you are offline you can get rid of the error 4806 for iCustom.
I imagine in the main bar loop something like this:
ResetLastError();
if (CopyBuffer(handle,0,TIME1[0],1,SAR) <0) { Print("Errore nel copy : ",TIME1[0]," err=",GetLastError());
ChartRedraw();
}
but if you force chart refresh with the mouse the error 4806 disappear, instead If you do the same by function ChartRedraw the effect is not the same and the error remain.
The mouse click do something more. If someone discover what really do, we can do it by code
Is related because if you force by code a chart refresh when you are offline you can get rid of the error 4806 for iCustom.
I imagine in the main bar loop something like this:
ResetLastError();
if (CopyBuffer(handle,0,TIME1[0],1,SAR) <0) { Print("Errore nel copy : ",TIME1[0]," err=",GetLastError());
ChartRedraw();
}
but if you force chart refresh with the mouse the error 4806 disappear, instead If you do the same by function ChartRedraw the effect is not the same and the error remain.
The mouse click do something more. If someone discover what really do, we can do it by code
The topic was about a problem when market is closed. You get something else, as the market is not close currently.
In this moment I have the Platform not connected to the network. Isn't it the same as the market closed in term of prices update?