ItsAnders81

SPY to ES / MES

ItsAnders81 已更新   
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.
版本注释:
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
版本注释:
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.
版本注释:
Fixed a bug where the table showing price of SPY would not show correct price during pre and after market.
版本注释:
VWAP from SPY now uses extended session hours
版本注释:
Added support for a fourth price target both on short and long side
版本注释:
Added inputs for darkpool print and late print
Increased bullish and bearish price targets to 5
Changed default line size and colors
版本注释:
Updated code to make lines more stable and accurate
版本注释:
Updated indicator to support ES / MES levels to SPY. The indicator now supports two way conversion.
版本注释:
- 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.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?