OKCoin future diffThis indicator checks the accuracy of okcoin futures against the current index. Example, check how the 1W future from 7 days ago matches the current spot value. The matches are on the 1W, 2W, 3M futures
The indicator bundles them together, makes a weighted average and shows it all.
the thin lines are the futures deltas for each of the futures(check the code to see the color of each).
the thick line is the compound indicator, the line is red when the value is too far off the spot price, black when it's <5%
background is green on "bullish", red for "bearish", take it as you want with many grains of salt :)
there is an input value (default = 1) to adjust time scales. the value is a multiplier for the number of periods in a day.
Example:
1D chart, input = 1
4h chart, input = 4h * 6 = 24h
using the incorrect adjustment for the wrong time scale, makes the indicator (even more) meaningless ;)
Futures
Herrick Payoff Index for Quandl DataUpdate to my previous Herrick Payoff Index script. This script pulls Quandl futures data with daily open interest. The prior version only used the weekly Commitment of Traders open interest data so could only be used on weekly bars. Note: Must use Quandl Symbol methodology in chart (i.e. enter symbol as QUANDL:CHRIS/CME_FC2, QUANDL:CME/FCX2016, ect.). Unfortunately, I haven't been able to program this to pull from the embedded futures data.
[Bitcoin] Spot price vs Futures indicatorA handy script to detect opportunities in the futures market during extreme movement.
During rallies, futures usually tend to be US$10 above spot price, on the other hand it can be $1 below spot price when the price starts to decline.
You could also draw a trendline to it :) measuring the amount of risk people are willing to take just to predict future prices in the rally/decline.
Credits to lowstrife for the idea, I'm just implementing it :)
CM_DayOfWeek All Instruments V2Updated Code That Highlights Bars Based On Days Of The Week.
Works On Daily and Intra-Day Bars.
Works on All Instruments. Stocks, Forex, Futures, Bitcoin.
Shows Correct Trading Sessions!!!
Ability to Turn On/Off Each Day Of The Week via Inputs Panel.