OPEN-SOURCE SCRIPT
Mis à jour Rolling HH with Future Projection

Highest High line of last X bars
Plus a deferred line which shifts the first one by factor Y
Plus a deferred line which shifts the first one by factor Y
Notes de version
What the indicator doesDraws two lines.
The 1st HHline shows the Highest High line of last X bars. Plus a prolongation for the next X bars.
This prolongaton pretends that there will be no more higher highs in the future. What off course will often, but not always be the case.
2nd line is a deferred line which shifts the first one by factor Y
How is it working
Collecting the HHs of the last X bars, storing them in an arryay.
Use-case
Trade setup 'return to the mean'. Factor < 1.0, so derived line is below HHline. When derived line is thouched/crossed, then there is a correction by factor Y below the HH of the last X bars.
In case the derived line isn't hit yet, how much time and space is left to accomplish that? The prolongation gives an estimation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.