Experts: Renko 2.0 Offline - page 3

To add comments, please log in or register
Felipe Miguel dos Santos
25
Felipe Miguel dos Santos  

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?



Cláudio Müller
54
Cláudio Müller  

Olá Guilherme,

é 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?

excelente trabalho.

Abraços,


Stanislav Korotky
24556
Stanislav Korotky  

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.

Got:

  • "Renko symbol error" most of the trials;
  • very strange renko chart with only 2 boxes 10 000 000 points each;
  • renko2offline (EURUSD,M1) array out of range in 'Renko2.mqh' (360,46)

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!

brunno
16
brunno  

Guilherme,

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!

Brunno

Stanislav Korotky
24556
Stanislav Korotky  
brunno:

Guilherme,

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?

I have one answer, which may fit, though I'm not Guilherme. Hope this helps a bit.

brunno
16
brunno  
Stanislav Korotky:

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).

Thank again,

Brunno

Jox90
665
Jox90  
I tested the renko2 indicator: https://www.mql5.com/en/code/19559  on which this offline version is based on, and I found that it repaints. Does this offline version also repaints? Unfortunately it cannot tested in the strategy tester. Thank you.
Renko 2.0
Renko 2.0
  • www.mql5.com
Views: 9792 Rating: Published: 2017.12.28 14:23 Updated: 2018.08.02 09:19 New Renko 2.0 (indicator) with a lot more information (time, volumes, and spread). References the Symbol library for MetaTrader 5 by fxsaber. Configure using Tick Size, Pip Size or Points. Parameters View Version history Implemented normal array buffer for better...
123
To add comments, please log in or register