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
B3 Weeklies - Pivot S/RBy request, some more of the levels that I like to see. I find that this works well on gold and crude oil the best. Stocks and ETF's sometimes have weird bars in after hours, and this sometimes destroys the week's levels. Any non liquid jump and back bars will likely not be tolerated by the study and ruin its data. The indexes sometimes work, but I find that the other pivot study I released is better for index futures. Forex hasn't been tested on this particular pivot study as of yet. Feel free to comment with your experiences using this with currencies.
This one is designed to show you your current week's action versus last week's action. Fibonacci levels are drawn from the range created by the week before, then offset from pivot HLC/3. These do not reprint so you can trust them to remain the same straight away from Sunday night into Friday's close. On other platforms I can get the next week in future to print as well, showing you where the next week trade levels on Friday before. Maybe I can figure out how to make pinescript print in the right extension, haven't got there yet.
Pretty good selection in 12 days of being a member though, so I am psyched how well this is going in TradingView, learnin' more language all the time. Feel free to leave some feedback, and happy to answer any questions. ~B3
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.