SMA for plotted indicators
Author: tradercn
Creation Date: 11/3/2011 10:50 AM
profile picture

tradercn

#1
Is there any SMA which can be plotted on the indicators on the chart? For example, I try to plot a SMA of trendscore on the current trendscore line. Or, I need to customize it by myself. Thanks.
profile picture

Eugene

#2
Are you looking for something like this?

Tutorial Video | Indicators | Combining Indicators on Charts
profile picture

tradercn

#3
It is great! Tks. :)
profile picture

foolsgold

#4
If I overlay an SMA on a particular indicator, say ROC, how can I incorporate the SMA curve into a strategy, instead of using the underlying indicator? Can anyone help? Thanks Jon
profile picture

Eugene

#5
A DataSeries such as SMA typically accepts DataSeries or Bars as one of its parameters, example:
CODE:
Please log in to see this code.
profile picture

foolsgold

#6
Eugene, thanks for the assistance. From what you have given me I assume that I have to figure out how to incorporate the line you gave me into an appropriate strategy code in place of the actual indicator code it is a surrogate for.
profile picture

Eugene

#7
Yes, there should be nothing complicated about it. Find the DataSeries definition and replace it following the example above.