Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hi there!
I am wondering if anyone out there knows how to modify the "GetEventOffset" function on TOS to count # of bars from a certain date? The reason I am looking for this is to offset a plot on an hourly chart offset from data 5 days ago. Being that the number of bars on an hourly chart per day fluctuate based on exchange and after hours trading, I can't specify "from 40 bars ago" (5days x 8bars) to get the data from 5 days ago.
The closest thing I found is using the following code which counts # of bars since last conference call. What I want is to modify this code to output #of bars since close 5 days ago.... Does that make sense?