PROTECTED SOURCE SCRIPT
Atualizado Mark Fix Backtest

The backtesting is most powerful tool in our trading routine. It allows to check different trading theories and methods and so on, it also trains you to see how price behaves in different stages of the market. TradingView provides great Reply Tool in order to achieve that. And to me it is the best out of anything Ive met til now.
Why do I need this indicator?
Anybody who's familiar with TV replay mode probably is suffering from one awkward bug(personally I treat it as the bug) that TV has. The issue takes place when you deal with several TimeFrames in your strategy. So it happens when you step over a few bars and then go to HTF the TV fills HTF last bar with history low, high and close value instead of filling it with the current LTF values and see intermediate candle state. Seeing that it actually spoilers future candle and makes backtesting unfair to you
Using this indicator you can avoid spoiled HTF candles.
How to use it?
1. Make your ticker invisible
2. Add this indicator to your ticker pane
3. Adjust your candles colors
4. Use it in replay mode instead of your ticker candles
What issues I have with this indicator?
1. Automatic scale does not work if you double click on scale pane
2. If you switch to HTF the last bar (the ones you have after switching to HTF, not after stepping over) wont be updated with history values if you press step over. in order to fix it I draw wicks and body manually for that particular candle. After reswitching TF my manual drawing disappears and replaces with the right history candle
3. It supports only plotting candles so far
Why do I need this indicator?
Anybody who's familiar with TV replay mode probably is suffering from one awkward bug(personally I treat it as the bug) that TV has. The issue takes place when you deal with several TimeFrames in your strategy. So it happens when you step over a few bars and then go to HTF the TV fills HTF last bar with history low, high and close value instead of filling it with the current LTF values and see intermediate candle state. Seeing that it actually spoilers future candle and makes backtesting unfair to you
Using this indicator you can avoid spoiled HTF candles.
How to use it?
1. Make your ticker invisible
2. Add this indicator to your ticker pane
3. Adjust your candles colors
4. Use it in replay mode instead of your ticker candles
What issues I have with this indicator?
1. Automatic scale does not work if you double click on scale pane
2. If you switch to HTF the last bar (the ones you have after switching to HTF, not after stepping over) wont be updated with history values if you press step over. in order to fix it I draw wicks and body manually for that particular candle. After reswitching TF my manual drawing disappears and replaces with the right history candle
3. It supports only plotting candles so far
Notas de Lançamento
added changing colors for each part of the candle added price line color
Notas de Lançamento
- added incomplete candle mark- added fillng up candle width
Notas de Lançamento
added bar styleadded RT marks drawing options
Notas de Lançamento
added countdown to bar close option improved performance
Notas de Lançamento
- fixed countdown label Notas de Lançamento
fixed blinking on realtime barsScript protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Trade Smart Money? Check out our website link where we do all the heavy lifting for you, automate your analysis and keep you updated on every trading setup you’ve created.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Trade Smart Money? Check out our website link where we do all the heavy lifting for you, automate your analysis and keep you updated on every trading setup you’ve created.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.