Disliked{quote} I hope that it is not one of those MT4 internal caching problems is, those are impossible to solve.Ignored
Try don't lose pants never...
MagicGirl dashboard 221 replies
Help with dashboard style indicator 2 replies
Dashboard indicators 4 replies
Dashboard Indicator Required 1 reply
Dashboard/Grid in lower indictor window 6 replies
Disliked{quote} I hope that it is not one of those MT4 internal caching problems is, those are impossible to solve.Ignored
DislikedWhat i think happens is that MT4 receives the tick but if there is no chart open it just ignores it. It will only copy live (m1,m5,m15 etc) data to his internal buffers when tick received. It will not use offline data until it needs to create a new or update an already open chart and then stores a portion in cache. There is a way around it for trend but than you have to check if trendserver is running on an offline chart, and trend must run on the same tf as renko bars and you have to use iOpen(pairx,Period(),0) , Close(pairx,Period(),0), iHigh(pairx,Period(),0)...Ignored
Disliked{quote} Ok. I can change my code for use iXXX API but problem is iCustom indicator. I don't know what API is using. I think is using onCalculate arrays. Those arrays are cached too?Ignored
Disliked{quote} You might be lucky, oncalculate seems to work for the current chart but (that is open of course) you just have to try it i think. {image}Ignored
MqlRates rates[xxx];
if (ChartGetInteger(ChartID(),CHART_IS_OFFLINE) == false)
CopyRates(x,y,z.....);
else
MyCopyRates(100);
//+------------------------------------------------------------------+
//| MyCopyRatesFunction |
//+------------------------------------------------------------------+
MyCopyRates(int bars) {
int cpidx = 0;
for (int i=0;i<ArraySize(pairs);i++) {
for (int j=bars-1;j>=0;j++) {
rates[cpidx].open = iOpen(pair(i),Period(),j);
rates[cpidx].close = iClose(pair(i),Period(),j);
rates[cpidx].high = iHigh(pair(i),Period(),j);
rates[cpidx].low = iLow(pair(i),Period(),j);
rates[cpidx].time = itime(pair(i),Period(),j);
rates[cpidx].real_volume = iVolume(pair(i),Period(),j);
cpidx++;
}
}
} Disliked{quote} I will check what values returns icustom with the closed chart. I think now signals are working in your side knowing this small issue and you will be able to test this nightIgnored
DislikedI must be getting old and daft...... Had this problem some months ago but i can not even remember i what program but i solved it with something like this but i had a dynamic MqlRates array MqlRates rates[xxx]; if (ChartGetInteger(ChartID(),CHART_IS_OFFLINE) == false) CopyRates(x,y,z.....); else MyCopyRates(100); //+------------------------------------------------------------------+ //| MyCopyRatesFunction | //+------------------------------------------------------------------+ MyCopyRates(int bars) { int cpidx = 0; for (int i=0;i<ArraySize(pairs);i++)...Ignored
Disliked{quote} First I have check if icustom is taking update with chart closed. If do it then I can use your solution without problem. Even i can read hst file if is necessary. That is not the problem nowIgnored
Disliked{quote}Actual debate starts at 9PM ET (-5 GMT) or 2 AM GMT. Should be entertaining. I think coverage by the talking heads start two hours earlier.
Ignored
Disliked{quote}Actual debate starts at 9PM ET (-5 GMT) or 2 AM GMT. Should be entertaining. I think coverage by the talking heads start two hours earlier.
Ignored
DislikedOk. I tested iCustom. MT4 seem dont refresh data while offline chart is closed. Then this dont have any solution. We need charts opened because I cant do iCustom indicator read hst file directly. If nlbody find more bugs in Trend i will give for finished curretn Trend build and I will start with Strength. I have many interesting stuff to add ( some ways to send signals and bidratio mix )Ignored
DislikedOk. I tested iCustom. MT4 seem dont refresh data while offline chart is closed. Then this dont have any solution. We need charts opened because I cant do iCustom indicator read hst file directly. If nlbody find more bugs in Trend i will give for finished curretn Trend build and I will start with Strength. I have many interesting stuff to add ( some ways to send signals and bidratio mix )Ignored