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, I need some help in figuring out what I'm doing wrong here. It is just a mental programming block that is causing me some problems in my code. Here is what I'm trying to do:
For:
WMA(BarsArray[1],Typical, 30)[0]
I'm trying get the value for the Typical Weighted moving avg for 30 periods but I keep getting an overload error. I understand that this is because there can only be 2 properties within the WMA method.
But if I just use:
WMA(BarsArray[1], 30)[0]
That's not really giving me the value I want since it is not using the Typical calculation for the WMA, jsut the default which is the Close[0].
How can I go about having this extra property be included in the calculations when using BarsArray[1] in a method that only accepts 2 properties? Is there a way around this ?
Thanks in advance.
-Brian
Can you help answer these questions from other members on NexusFi?