OPEN-SOURCE SCRIPT
Mis à jour ES Magic Levels

This indicator projects key SPX price levels onto the ES or MES futures chart, automatically calculating the real-time basis offset between SPX and ES so that every level is drawn at the exact corresponding ES price.
Levels included:
Each level is drawn as a horizontal line extending to the left with a label showing the original SPX value it corresponds to. Colors are fully customizable per level type. A small table in the bottom-right corner displays the current ES−SPX basis in real time.
How to use:
Apply to any ES or MES chart on any timeframe. All levels update automatically at each tick. The dynamic offset ensures that even during roll periods the levels remain accurate.
Levels included:
- Round numbers every 50 points (100pt levels are thicker and more prominent)
- Previous Day High / Low
- Previous Week High / Low
- Previous Month High / Low
- Previous Year High / Low
Each level is drawn as a horizontal line extending to the left with a label showing the original SPX value it corresponds to. Colors are fully customizable per level type. A small table in the bottom-right corner displays the current ES−SPX basis in real time.
How to use:
Apply to any ES or MES chart on any timeframe. All levels update automatically at each tick. The dynamic offset ensures that even during roll periods the levels remain accurate.
Notes de version
This indicator projects key SPX price levels onto the ES or MES futures chart, automatically calculating the real-time basis offset between SPX and ES so that every level is drawn at the exact corresponding ES price.Levels included:
- Round numbers every 50 points (100pt levels are thicker and more prominent)
- Previous Day High / Low
- Previous Week High / Low
- Previous Month High / Low
- Previous Year High / Low
Each level is drawn as a horizontal line extending to the left with a label showing the original SPX value it corresponds to. Colors are fully customizable per level type. A small table in the bottom-right corner displays the current ES−SPX basis in real time.
How to use:
Apply to any ES or MES chart on any timeframe. All levels update automatically at each tick. The dynamic offset ensures that even during roll periods the levels remain accurate.
Notes de version
- minor fixNotes de version
+ minor fixNotes de version
+ chart updateNotes de version
+ Fix non RH timeNotes de version
+ add PDO e PDCNotes de version
+ fix out RH Notes de version
+ out rth fixNotes de version
ML MH e WL WH addedNotes de version
+ multiple fixNotes de version
+ update graphNotes de version
- fix rolling contractScript 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.
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.
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.