KioseffTrading

PSAR Optimization Script

KioseffTrading Wizard Uppdaterad   
Hello!

User @henryph24 suggested I make this script!

This script calculates the cumulative and average gain/Loss of rising SAR following a price crossover of SAR.
The cumulative and average gain/Loss of falling SAR following a price crossunder is also measured.
Changes to the parameters of SAR will return the requisite calculations for evaluating performance.
Benchmark SAR can be used to compare performance against test SAR.

When changing the SAR parameters the script will recalculate and display the rising SAR and falling SAR performance of the modified parameters. The script works for any asset on any timeframe.

Essentially, this script allows you to optimize SAR parameters, and quickly ascertain what can/cannot work for an asset.

The script automatically plots the best performing SAR between a benchmark SAR (SAR #1) and a test SAR (SAR #2). Both benchmark SAR and test SAR works the same. The two are used to compare performance between different SAR parameters. If you would like the script not to plot the best performing SAR you can select "On" for the "Override SAR" input box. Doing so will plot the SAR parameters of your choice while still allowing you to compare the performance of benchmark SAR and test SAR.

There are tooltips available in the user input tab that explain the SAR parameters, in addition to what your modifications of the parameters will do, should you be unfamiliar with the indicator!

Enjoy!
Versionsinformation:
Memory calculation compliant

•Access to Next-Gen Optimization Tools: www.kiosefftrading.com

•Discord Server: discord.gg/3cKVU28Z9Z
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?