(2) The indicator now plots the numeric value of the cumulated volume in the indicator panel.
(3) Below is an example of an application. I have looked at the cumulated relative volume (this is the cumulated volume divide by the average cumulated volume for n days (same weekday) of the same period. If the cumulated volume of the night session (RTH close to RTH open) is higher than 110%, the odds for a reversal or an expansion do increase.
Indicator only runs on NT 22.214.171.124 or later. I will wait a bit to put it into the downloads section.
The following 7 users say Thank You to Fat Tails for this post:
The older version of the indicator does not work after installing Nt beta v 21. I was about to ask you about code upgrade for v21 but I suppose you have already taken care of it in this updated version?
In any case I am appending the relevant info:
– GetSessionDate() is no longer publicly exposed. Please use GetTradingDayFromLocal() instead.
– GetSessionBar() is now deprecated. Please use GetDayBar() instead.
The application you have provided is an interesting one.
But the new version of the indicator would still plot in a separate pane, I suppose?
I am still having issues after installing Nt7 and so unable to run the indicator still. Historical data is not loading onto my charts though I have more than 1 yr data migrated successfully from nt6.5 into nt7. The charts hang after saying loading data and ultimately say IB historical data request overload... why it does not load historical data available on the disk I do not know. Any insights into getting Nt7 up and running with historical data migrated from nt6.5?
Open a chart of your instrument, set it to about 100 days ( make sure that you load the front month and the entire last front month, so today for September 14, I would use 110 days to go back to the beginning of June and include the entire September contract. Then increase the lookback period of the chart from 100 to 190 days to include the June contract. Continue increasing by 90 days. The process will get interrupted by data throttling, but in the end you will have your data. With IB you can easily go back to the beginning of 2009 for intraday data.
For updating contracts, I use the historical data manager. You can just select the default group, select the appropriate update period, and all instruments will update one by one, while you have a cup of coffee. Updating for daily data via Kinetick, for intraday data via IB.
The following 3 users say Thank You to Fat Tails for this post:
Have worked today to make this beast faster by using recursive formulae. Not so easy, as
- some days (holidays) do not contain data
- the divisor for the average volume needs to be adapted to the number of results found
- if the first data point is empty, the recursive formula cannot be used
In the end I have now a modified indicator, which is significantly faster, if you select longer reference and display periods. I have not changed the default settings, which have 2 weeks displayed and 20 weeks referenced (-> your chart must have hat least 20 + 2 +1 = 23 calendar weeks of intraday data). For the default settings, there is virtually no speed gain.
However, if you use the indicator on 50 reference weeks and 50 display weeks (-> your chart must have at least 50 + 50 + 1 = 101 weeks or roughly 2 years of intraday data), then the speed gain can be significant. For a 15 min chart it came down from 2 minutes to 20 seconds.
I won't put the indicator in the download section right now, as I am still running some experiments.
Attached latest indicator for NT 7.0
The following 12 users say Thank You to Fat Tails for this post:
Thanks and how about a Relative Performance Indicator?
Thanks a ton for the indicator, I am able to use it as I had envisaged.
I like the fact that I was able to bring an idea or trading input to the table and now we have an indicator to work the idea courtesy your efforts.
Let me bring another idea to the table - that of comparing relative performance of indices/sectors/equities/commodities... any market(s) that one may want to compare, across different periodicities and time periods. Two usage scenarios come to mind straightaway
1. Compare intraday performance for the S&P sectors, futures and select stocks. Plot graphs of each as % change from opening price
2. Compare sector and/or select equities performance for a set period - say quarter or year.
Here's my concrete concrete idea for intraday usage.
Overlay this indicator (% increase from open) on a TICK chart. At a glance this will give TICK confirmation/divergence for all instruments/markets one is tracking.
Take all the time you need to produce a quality breed.
Glad that my idea found resonance with you.
I currently track NYSE Tick on a separate chart too along with Cumulative tick, but what I outlined will provide a "at a glance" intraday sentiment snapshot, I feel. This towards my goal of zoning in on a few fundamental concepts and applying them consistently.