TheTradingParrot

TV signal for DCA backtest

TheTradingParrot Actualizado   
This script allows you to backtest Trading View's "Technical Ratings" (Buy, Strong buy, Sell, Strong Sell) using Gavin's backtest script.

To use it add the backtest script to the chart together with this script and then from the back test settings connect the external indicator. You should select "TV Signal" as the source.

Backtesting works best on the 5m chart, but you can still change this script from its settings to higher timeframes.

Encoding
  • Buy is 1
  • Strong Buy is 2
  • Sell is -1
  • Strong Sell is -2

In the backtest script you can decide which rating you want to use for open deal and which one for close deal.

For example, if you were backtesting a long bot you could enter a long position when TV signal is Buy (1) and close the deal when TV signal is Sell (-1).

You have the full flexibility to decide which technical rating to use for your backtesting.

Enjoy!
Notas de prensa:
Info table removed as its not needed for backtesting
Notas de prensa:
adding continuous mode perfect for opening multiple consecutive trades while the technical rating remains the same value
Notas de prensa:
removing unneeded code
Notas de prensa:
- removing unneeded code
- continuos mode plots improved
- chart updated

Join our membership to gain access to the private scripts.
www.thetradingparrot.com
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?