OPEN-SOURCE SCRIPT
Mis à jour HTR

Here is the step-by-step process:
Copy the Code: Scroll up to the last block of code I provided (the "Final: Sessions + Days + Loopbacks (Replay Fixed)" version) and click the "Copy" button in the top right corner of the code block.
Open Pine Editor:
Go to your TradingView chart.
Look at the very bottom of the screen. You will see a tab labeled "Pine Editor". Click it to open the panel.
Paste the Code:
If there is already code in there (like a default script), delete everything so the editor is completely blank.
Paste the code you just copied (Ctrl+V or Cmd+V).
Save the Script:
Click the "Save" button (or "Untitled Script") in the top right of the Pine Editor panel.
Give it a name, for example: My Custom Session & Days.
Click Save.
Add to Chart:
Click the "Add to Chart" button (next to the Save button
Copy the Code: Scroll up to the last block of code I provided (the "Final: Sessions + Days + Loopbacks (Replay Fixed)" version) and click the "Copy" button in the top right corner of the code block.
Open Pine Editor:
Go to your TradingView chart.
Look at the very bottom of the screen. You will see a tab labeled "Pine Editor". Click it to open the panel.
Paste the Code:
If there is already code in there (like a default script), delete everything so the editor is completely blank.
Paste the code you just copied (Ctrl+V or Cmd+V).
Save the Script:
Click the "Save" button (or "Untitled Script") in the top right of the Pine Editor panel.
Give it a name, for example: My Custom Session & Days.
Click Save.
Add to Chart:
Click the "Add to Chart" button (next to the Save button
Notes de version
update.. Previous day high and low
Previous week high and low
Notes de version
UpdatePrevious day high and low
previous week high and low
Notes de version
updated the version Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
HTR
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
HTR
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.