dngale41

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)
Note di rilascio: 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.
Note di rilascio: Tradingview filters out many Renko Bars. This strategy doesn't work in a real setting. DO NOT USE
Rimuovi dagli script preferiti Aggiungi agli script preferiti
This script doesn't work in forward tests. DO NOT USE!
Rispondi
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Regolamento Moderatori Soluzioni per broker & siti web Widget Librerie grafiche Chiedi aiuto Suggerisci funzionalità Blog & Novità FAQ Wiki Twitter
Profilo Impostazioni profilo Account e fatturazione Chiedi aiuto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci