OPEN-SOURCE SCRIPT
Telah dikemas kini

Closed Source Strategy Tester

418
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.
Nota Keluaran
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.
Nota Keluaran
Set useSession default to false.
Nota Keluaran
Still trying to get the TP/SL to work right.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.