Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
Find Out More Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Q Indicator for Amibroker (AFL)
almost 8 years ago
Amibroker (AFL)

3 / 5 (Votes 4)
oscillator, amibroker


In “Trend-Quality Indicator” in this issue, David Sepiashvili presents an innovative trend-detection tool — the trend-quality indicator — that attempts to estimate the trend in relation to noise.

Calculations presented in the article can be easily reproduced using AmiBroker Formula Language. The only tricky part is a piecewise exponential moving average that restarts the calculations on every moving average crossover, but we managed to implement it in two lines of code, thanks to AmiBroker’s powerful Ama2 function, which allows easy implementation of all kinds of single-order infinite impulse response filters.

Listing 1 shows ready-to-use indicator code to plot the Q-indicfator. In AmiBroker, select Indicator Builder from the Analysis menu, click the “Add” button, enter the formula, and then press “Apply.” Figure 3 shows a sample chart. reproduces the chart presented in Sepiashvili’s article.

Similar Indicators / Formulas

Debu Market Efficiency Ratio
Submitted by agent301 over 5 years ago
MACD (new timing)
Submitted by tigernifty over 5 years ago
3 Days Track
Submitted by janet0211 almost 8 years ago
Submitted by prasadmuni over 5 years ago
%R ++
Submitted by reb almost 8 years ago
DMI Spread
Submitted by pipstar almost 8 years ago

Indicator / Formula

Copy & Paste Friendly


Leave Comment

Please login here to leave a comment.