OPEN-SOURCE SCRIPT
Updated

ES Magic Levels

563
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:

  1. Round numbers every 50 points (100pt levels are thicker and more prominent)
  2. Previous Day High / Low
  3. Previous Week High / Low
  4. Previous Month High / Low
  5. 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.
Release Notes
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.
Release Notes
- minor fix
Release Notes
+ minor fix
Release Notes
+ chart update
Release Notes
+ Fix non RH time
Release Notes
+ add PDO e PDC
Release Notes
+ fix out RH
Release Notes
+ out rth fix
Release Notes
ML MH e WL WH added
Release Notes
+ multiple fix
Release Notes
+ update graph
Release Notes
- fix rolling contract

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.