TradingView
QuantNomad
12 mai 2023 14:01

Supertrend - Optimised Exit  

Bitcoin / TetherUSBinance

Description

We created a small script that will allow you to have a quick look into static SL/PT to choose from. This might save you time, replacing the manual search for optimal SL/PT.
We're checking signals of the strategy and computing its performance with a grid of SL/PT selected.
We used SuperTrend signals in this example, but it will be straightforward to integrate your signals.
In addition to total Return, we compute MAX Dd and Profit Factor. Other metrics can be implemented as well.

Thanks to @MUQWISHI for helping code it.

Disclaimer
Please remember that past performance may not indicate future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.



Commentaires
ThanosRising
Thank you! Much appreciate
I turned this into a Strategy without mod of your code (except as needed to execute trades), and results are very different
mtahreemalam
Wow. Thanks for sharing these stuff out in the open source community.
Efforts are much appreciated!
theheirophant
some really wonderful logic and code, thanks for sharing QN
chris786
i tried to put on my chart as premium member but the message pops up like something went wrong please try again , i tried on 2 different charts same message came, i dont know why this is happening i am not able to put on my chart as premium member
BeeCeee
Thanks for your great work.
A_Traders_Edge
Just wanted to let you know you have PT rather than TP 4-5x throughout the description.
gu5tavo71
standing applause
ashdays
Thank you for your hardwork in bringing this to the community
Plus