OPEN-SOURCE SCRIPT
Mis à jour Cowen Corrirdor Clone

As a fun exercise, I tried to clone Ben Cowen's Corridor!
The formulas for the boundaries are available on his website which are quoted at the top of the script. I couldn't get the boundaries to fit in the same way, but I found a quick and dirty solution in using Euler's number as a multiplier. That got the bands to fit close enough.
Be aware that the original indicator was made by Ben as a joke to show the ease at which a model can be made. This script further deviates from the original in using an altered formula. As such, there is no validity to the model and you shouldn't use it for trading. It's nice to look at though :D
The formulas for the boundaries are available on his website which are quoted at the top of the script. I couldn't get the boundaries to fit in the same way, but I found a quick and dirty solution in using Euler's number as a multiplier. That got the bands to fit close enough.
Be aware that the original indicator was made by Ben as a joke to show the ease at which a model can be made. This script further deviates from the original in using an altered formula. As such, there is no validity to the model and you shouldn't use it for trading. It's nice to look at though :D
Notes de version
- Boundaries fitted more accurately using e - 0.1
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.