Hi All,
I was developing a trend following system in Amibroker and have come across several mind-numbing errors.
Consider for example, this snippet
TimeFrameSet(inWeekly);
LongTrend=IIf(EMA(C,11)>EMA(C,22),1,0);
ShortTrend=IIf(EMA(C,11)<EMA(C,22),1,0);
TimeFrameRestore();
...