
If I use for example
Add(SMA(Fast));
I assume the code is calling a constructor of the SMA indicator class and creates an instance of this indicator within my strategy implementation. What confuses me is that I do not see the name of this instance.
As a result, when querying the indicator I do not refer to this instance but instead I need to do
CrossAbove(SMA(Fast), SMA(Slow), 1))
for example. Does the statement SMA(Fast) in the above line refers to the instance or does it recreate the object every time I need it.
many thanks

Comment