I am a long time user of metastock. Because metastock is kind of obsolete and keep give me an head ache. I am thinking of migrating my syntax to amibroker. I am just wondering if you could
give me an example code for smoothing ATR with alma or ehler zero lag while I know ATR and wilders is an inbuilt function but anychance we can have a sneak peak? I tried to google it up but then it is taking me to membership area. I am just trying to get my feet wet during this trial period and once it is done I am looking to convert everything in afl
Another example of smoothing rsi with moving average in metastock is Mov((RSI,14),5,S). in plain language: a 5 days average of 14 days of closing price of RSI
in metastock there is a binary line which can be used to see the signal from that indicator that we wrote. Anything like this in amibroker or a platform where I can use to put a finished indicator that I code so it has pointing figure like in metastock?
Plot(RSI(14), "RSI", colorRed, styleThick);
smoothedRSI = MA(RSI(14), 20); // 20 periods SIMPLE moving average applied to RSI 14 periods
Plot(smoothedRSI, "MA(RSI)", colorOrange, styleDashed);
esmoothedRSI = EMA(RSI(14), 20); // 20 periods EXPONENTIAL moving average applied to RSI 14 periods
Plot(esmoothedRSI, "EMA(RSI)", colorYellow, styleDashed);
This very useful page lists all the AmiBroker native functions categorically. The ones I cited above are in the Moving averages, summation section.
In any case, I suggest you to also search this forum to find more examples that implement some advanced features like the AMA(): adaptive moving average or how to apply the IIR(): infinite impulse response filter.