Renko Hacked Backtest

This code is a custom made backtest for a Metatrader 4 EA that is being sold by another person at this link https://www.mql5.com/en/market/product/3... I made this backtest myself to see how the EA would perform. I don't have the author's source code, but by looking at how the EA ran, it was very easy to see how it worked. When using this backtest, keep in mind a few things.

1. You can change the backtest date at the last two lines of this script. This is necessary to do as Tradingview can only simulate a maximum of 3000 orders at a time.
2. After adding this script to a renko chart, change the "pyramidding" setting (in the settings tab) to a really large number, like 100, in order to simulate the EA accurately.
3. In this backtest, when one short order is opened, all long orders are closed. Likewise, one long order is opened, all short orders are closed. No hedging.
4. I'm not very skilled at pinescript. The EA opens a long order at the top of green bars and a short order at the bottom of red bars, but this backtest doesn't do that. Still, I think that setting the slippage to 10 ticks gives an accurate and robust enough backtest. (This is for EURUSD 2 min chart with 2 pip size renko boxes)
Notas de Lançamento: In this version, I added the option to change the backtest range. In comment #4, I also gave instructions on how to make the backtest accurate.
Notas de Lançamento: Tradingview filters out many Renko Bars. This strategy doesn't work in a real setting. DO NOT USE
Remover dos scripts favoritos Adicionar aos scripts favoritos


This script doesn't work in forward tests. DO NOT USE!
+4 Resposta
is there any possibility to convert this code to MT4?
+3 Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e Cobrança Indique um Amigo Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar