TradingView
lfnt
21. Jun. 2019 21:10

BTC CME Margin Zones [lfnt] 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Beschreibung

This script calculates specific price zones based on the
- daily, weekly and monthly open and the
- daily maintenance margins of CME BTC futures contracts.

Versionshinweise

Reduced input required for better convenience!
Only the current year and month are required from now on.

Versionshinweise

Included functionality:
- option to plot margin zones from previous days
- option to not plot the first candle of the open (useful when plotting previous days zones without connecting the days)

Minor improvements

NOTE: Take care that you have always selected the correct CME contract Year and Month on the input panel!

Versionshinweise

Included functionality:
- "Offset Of Labels" can be set individually on the input panel

Versionshinweise

bug fixes

Versionshinweise

minor code improvements

Versionshinweise

alignment of automatic selection of running CME contracts acc. to CME specs

Versionshinweise

- removal of confirmation pop-up panel at indicator open
- shorter labels for the Open levels and Margin Zones for a cleaner look

Versionshinweise

script is now updated to Pine Script v4

Included functionality:
- plotting CME daily high and low limits of all running contracts as zones (covering the minimum and maximum prices)
- label with CME daily settlement prices of all running contracts

Versionshinweise

Updated to consider the revised CME specifications for the Bitcoin Futures with regards to the listed contracts:
- Monthly contracts listed for 6 consecutive months and 2 additional Dec contract months. If the 6 consecutive months includes Dec, list only 1 additional Dec contract month.

Further minor improvements.
Kommentare
Navang25
Sweet thank you T money!
bogdanblack83
HI .. can you share the source code ? PLEASE
Mehr