QUOTE:
Should it?
Good question and I'm surprised that nobody has asked it before. It is expected by C# programmers that methods and classes do not appear out of nowhere and their source libraries are to be 'hooked up' with a
using statement. While it's not a problem for Standard Indicators that contains the most essential indicators as its
using clause is added by Wealth-Lab automatically, TASCIndicators is considered a 3rd party library. A reminder on each Wiki page documenting a TASC indicator might help but by now it would be quite an effort to add one to the 100 pages.
While looking up the Wiki or the built-in Indicators window to determine which library the indicator belongs to would be an evident suggestion, here's hopefully a more elegant workaround. To make sure that every new strategy is TASCIndicators ready, you could simply edit the blank strategy's template code to contain the
using clause and save it by clicking Edit >
Set as Default Template Code:
CODE:
Please log in to see this code.
QUOTE:
I tried finding documentation on how >> works but couldn't.
You can find it in the
DataSeries object entry in the QuickRef, or DataSeries > Series Operators in the WealthScript Programming Guide.