ItsAnders81

SPY to ES / MES

ItsAnders81 Aktualisiert   
SPY to ES is an indicator that converts SPY price targets to ES / MES futures price targets.

This indicator is helpful when you have price targets for SPY but trade ES or MES futures instead of SPY. It coverts the SPY price targets to ES / MES futures, and draws the SPY VWAP line on your ES / MES chart.

It supports the following lines
  • Bullish Above
  • Bearish Below
  • Long PT1
  • Long PT2
  • Long PT3
  • Short PT1
  • Short PT2
  • Short PT3

It also converts the SPY VWAP to it's current ES / MES value.

Note: The conversion do not work during pre and after market and the lines are only correct during market hours.
Versionshinweise:
Lines are now correctly drawn in extended hours (pre and after market)
Added a table in upper right corner that shows current price of SPY
Versionshinweise:
Updated default smoothing value for price targets and bullish above, bearish below lines.
Added option to smooth VWAP line.
Added option to select where to place the table on the chart.
Optimized and cleaned up the code a bit.
Versionshinweise:
Fixed a bug where the table showing price of SPY would not show correct price during pre and after market.
Versionshinweise:
VWAP from SPY now uses extended session hours
Versionshinweise:
Added support for a fourth price target both on short and long side
Versionshinweise:
Added inputs for darkpool print and late print
Increased bullish and bearish price targets to 5
Changed default line size and colors
Versionshinweise:
Updated code to make lines more stable and accurate
Versionshinweise:
Updated indicator to support ES / MES levels to SPY. The indicator now supports two way conversion.
Versionshinweise:
- Added option to select symbol (SPY or QQQ) to get price targets and VWAP from. Selecting QQQ on a chart showing NQ / MNQ futures now converts from QQQ.
- Added option to select extended or regular hours. This impacts how VWAP is calculated.

Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?