OPEN-SOURCE SCRIPT
Aggiornato

Closed Source Strategy Tester

346
Allows you to test an indicator that is closed source (you don't have access to the code). You will need to understand the exposed data elements of the indicator you are testing. This strategy is only looking for a buy, sell, exit long, or exit short to be signals that change from 0 to 1. The stop loss/take profit, if used, are expected to be price values.

I encourage you to copy this code and modify it to your needs for specific indicators.
Note di rilascio
Allows you to test an indicator that is closed source (you don't have access to the code). You will need to understand the exposed data elements of the indicator you are testing. This strategy is only looking for a buy, sell, exit long, or exit short to be signals that change from 0 to 1. The stop loss/take profit, if used, are expected to be price values.

I encourage you to copy this code and modify it to your needs for specific indicators.
Note di rilascio
Set useSession default to false.
Note di rilascio
Still trying to get the TP/SL to work right.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.