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:
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:
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.
How can I go about having this extra property be included in the calculations when using BarsArray in a method that only accepts 2 properties? Is there a way around this ?
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
The following 2 users say Thank You to Big Mike for this post: