OPEN-SOURCE SCRIPT
Cập nhật SPY to ES / MES

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
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.
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.
Phát hành các Ghi chú
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
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
Fixed a bug where the table showing price of SPY would not show correct price during pre and after market.Phát hành các Ghi chú
VWAP from SPY now uses extended session hoursPhát hành các Ghi chú
Added support for a fourth price target both on short and long sidePhát hành các Ghi chú
Added inputs for darkpool print and late printIncreased bullish and bearish price targets to 5
Changed default line size and colors
Phát hành các Ghi chú
Updated code to make lines more stable and accuratePhát hành các Ghi chú
Updated indicator to support ES / MES levels to SPY. The indicator now supports two way conversion.Phát hành các Ghi chú
- 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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.