Using data feed name and line name in Indicator
momentum last edited by
I wonder whether I can use the data feed name and the line name passed as parameters within the Indicator class to retrieve the corresponding line.
In a Strategy class I can do for example
I understand that I could pass either the actual data/line or data and line indices but I wonder whether there is something similar to the above for the indicator class.
Indicators can take anything as a data feed, including other indicators and temporary line buffers created out of (for example) arithmetic operations, which of course immediately forbids something like