Experts: Renko Charts - page 2

 

Hello, is there any way to automate this?

 Thanks, bye

 
MQL4 Comments:

Hello LastViking,

Trying to use this on MT4 build 610 I found that it did only work after updating the script to care for the "Offline Charts in the New MQL4" (https://www.mql5.com/en/articles/1387).

I changed from:
HstHandle = FileOpenHistory(SymbolName + RenkoTimeFrame + ".hst", FILE_BIN|FILE_WRITE);

to:
HstHandle = FileOpenHistory(SymbolName + RenkoTimeFrame + ".hst", FILE_BIN|FILE_WRITE|FILE_SHARE_WRITE|FILE_SHARE_READ);

Now it works like a charm :-)

Thanks
/Timid

Thanks, it works
Reason: