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)
You have not posted anything since December, and I do not know what you talk about. This message does not belong into this thread anyhow. Why not send me a private message?
Can you help answer these questions from other members on NexusFi?
Thanks for your great work on the VWAP. I have a question that is maybe a little off-topic but I see you reset the VWAP at the beginning of the session. If I would like to do that for any other indicator does it need a change of code in the indicator itself or can I arrange it from the strategy too?
I was thinking of resetting the first bar of session to become the first bar but I don't blieve that's possible.
Most of the indicators use a fixed lookback period. If you have a look at the VWMA, this is essentially the same as the VWAP, but there is a difference
-> the VWMA always calculates a value from the last N bars (N is fixed)
-> the VWAP calculates a value from all bars since the session start (the number of bars is variable and increases by one with every bar until the end of the session)
This needs to be coded. Best use a recursive formula to avoid to go back until the beginning of the session with each incoming tick.