I downloaded the EA Renko
that you developed and posted on the MQL5 website, I'm having a hard
time putting my EA to work with Renko, I know it creates a new custom
feature, however my EA does not open any request. I noticed that the chart is having update peaks, is this normal? About my EA is there any code to work on Renko? Would you help me?
é possível colocar os tijolos em PRETO quando existir abertura com GAP? exemplo WINM18. O volume é zero nestes tijolos.
Seria possível também mostrar normalmente o último preço negociado?
Tried this out for EURUSD with 100 points renko box (5 digits), in the current window and in a new window, but got many different problems.
Used in different combinations "EURUSDR2", "EURUSD_R2" and empty (stated as default) name as RenkoSymbol input.
The custom symbol is created in all cases, but it's empty if EA was stopped by any of the errors.
Took a glance through the code, and one thing which is popped up instantly - OnBookEvent does not check symbol name, so the code is triggered on any book event!
The code looks amazing, congratulations on this great work and thank you for sharing it. I just have one quick question: from the renkocharts.mqh code I could see that you're using the CopyRates function in order to generate the renko boxes for the custom chart, correct? Is there a reason not to use the CopyTicks instead?
Thanks in advance and cheers from Brazil!
I have one answer, which may fit, though I'm not Guilherme. Hope this helps a bit.
Thank you for the explanation. My main concern was regarding the more volatile symbols, for which sometimes even in the M1 chart you can have some huge candles that did not necessarily opened at their low and closed at their high in a single up movement (for example), but instead took a long fight between bulls and bears until the bar closed, so, in this case, the assumption of getting just the range of the candle after it is closed to generate the renko boxes would be somehow imprecise, but your post showed that empirically there shouldn't be that much difference (plus the fact that, for the live version, the renko boxes are based on ticks after all, so the main problem would be just the backtesting part).
I guess that, for now, the best option is really to use the CopyRates function, at least until we can get reliable historical data from the CopyTicks (or someone works on a workaround for the problems you cited).