|list = ParamList("indicator", "myROC,myMACD");
*if*(List == "myROC")
{
indicator = 100* (*C*- Ref(*C*,-1))/Ref(*C*,-1);
_TRACE(List);
}
*if*(List == "myMACD")
{
indicator = EMA(*C*, 12) - EMA(*C*,26);
_TRACE(List);
}
Plot(Indicator, List, *colorRed*);
|
h3po wrote:
Ok, Does this apply also if these were custom indicators? (Obviously they would then have to be defined higher up in the AFL code, I suppose) h3po
