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)
Broker: NT Brokerage, Kinetick, IQFeed, Interactive Brokers
Trading: ES
Posts: 159 since Dec 2014
Thanks Given: 40
Thanks Received: 166
SessionIterator is something I use in almost every indicator and strategy I make so I definitely plan to cover it (hopefully soon). Once you figure out how it works, it's such a simple but useful mechanism. In the meantime, here is a code snippet to hopefully get you running:
I "new up" my sessionIterator field in the DataLoaded state because it requires a Bars object. So however you handle NT8's different states in OnStateChange (I use a switch statement, I've seen others use if/else), you'll need this:
Here is a short list of books I've read and recommend. I am not a big reader of books in print, I tend to prefer on-line methods... but nonetheless, these are great reads and contain a lot of information that helped me.