Hello
I want to use Acceleration Bands in WLPro5. I am the code as used on MetaStock and from thinkorswim but I can not make it work here. I have put the codes below. Can anyone help me. Thanks
MetaStock
CODE:
Please log in to see this code.
thinkorswim
CODE:
Please log in to see this code.
Size:
Color:
CODE:
Please log in to see this code.
Size:
Color:
Thank you Eugene
Can I put this in the indicator list as I will use this indicator often. I would like to place it in a new folder as opposed to the TASC and Standard lists. If so please advise as to how. I'm new to "programing" and new to wealth_lab so I appreciate your help.
Size:
Color:
QUOTE:
Can I put this in the indicator list as I will use this indicator often. I would like to place it in a new folder as opposed to the TASC and Standard lists. If so please advise as to how.
It takes you to code the indicator, implementing the
IndicatorHelper interface, debug & compile in Visual Studio (or SharpDevelop) and finally drop the assembly into the Wealth-Lab main folder. After restarting, indicator appears on the Indicator list. Since
Community.Indicators and
TASC Indicators went open source, any of these libraries will serve you as template.
However I could simplify the task for you and include Acceleration bands in Community.Indicators. Although it's too trivial (single-liner) to qualify for our Community.Indicators project, there's demand for it because it's been requested in the old days too.
Size:
Color:
QUOTE:
it's too trivial
I would tend to disagree. Many programmers tend to screw up even the most trivial implementations.
And there are many instances where a "one-liner" looks simple, but a misplacement of a parenthesis or operator can severely change the outcome.
So, a "trivial" indicators category might actually be a good thing to prevent a casual wealthscript writer from implementing a trivial indicator incorrectly.
Just like STL for C++ covers some of the most 'trivial' of data structures, and rightly so, because when an average developer is left to re-implement most algorithms, the simplest of boundary cases or calculations are usually implemented incorrectly.
Size:
Color:
This is why it can be qualified as 'trivial':
QUOTE:
Community.Indicators is a library of custom technical indicators. We'll accept custom indicators that require logical operations to populate the DataSeries or those that involve a minimum of 4 simple math operations. In other words, let's keep the library clear of simplistic indicators that can be created easily on the fly.
Home - Community.IndicatorsHowever, demand for this indicator existed in the WL3 days and still exists, thereby justifying us to break that rule and include it. This is on my ToDo list, I'll throw it in soon.
Size:
Color:
Well,
Community.Indicators has been updated to include Acceleration Bands. As always, its source code is open.
P.S.
After downloading and installing this library from
our site,
Developer 5.1 users will have the ability to stay in touch with its updates (soon).
Size:
Color: