23 Tweets 33 reads Jun 05, 2022
Uses, advantages & challenges of Amibroker. A Thread
Amibroker is the most advanced technical analysis software developed by Tomasz Janeczko in 1995.
1/n
Apart from technical analysis it offers various
functionalities like backtesting, optimization, Monte Carlo simulation, Walk-forward testing, algo trading etc..
2/n
Amibroker comes in two editions: Standard and Professional. AmiBroker Ultimate Pack Pro is a bundle of AmiBroker Professional Edition,
AmiQuote and AFL Code wizard.
amibroker.com
Standard Edition: $299
Professional Edition: $359
Ultimate Pack Pro: $499
3/n
After purchasing software you will be assigned a license in your name, like below image. Purchasing a license gives you an access of members area, where
you can find some very useful Amibroker AFLs.
4/n
Though you can download Amibroker software from its website and can use it free for lifetime, but with some limitations, like data will not be saved , etc..
5/n
Let's understand some of the features and functionalities of Amibroker.
Amibroker offers Bar replay, which is a very useful feature and gives a feel of live market on historical data. You can test your discretionary skills
with this feature.
6/4
Amibroker offers some inbuilt indicators which you can use by simple drag and drop over the chart
7/n
You can make your custom indicator like if you want to plot the average price of 200 EMA and 200 DEMA, this can be done like this..
ema200 = EMA(C,200);
dema200 = DEMA(C,200);
average = (ema200 + dema200)/2;
Plot(average,"Average of EMA and DEMA",colorAqua,styleNoRescale);
8/n
Backtesting is the most powerful tool of Amibroker, even you can do portfolio level backtesting and can perform a task with in a matter of seconds.
9/n
Let's say you want to backtest 50 EMA and 200 EMA crossover, this can be done with just 2 lines of code.
Buy = Cover = Cross(EMA(C,50),EMA(C,200));
Short = Sell = Cross(EMA(C,200),EMA(C,50));
10/n
Backtesting can be performed using analysis window, there you have to define certain things like date range, symbol/portfolio, timeframe under parameters
window etc..
11/n
You can also optmize the parameters of your strategy using optimize function, for which few lines have to be added in code like this..
ema1_range = Optimize("EMA 50 Range",50,10,200,50);
ema2_range = Optimize("EMA 200 Range",200,100,500,50);
12/n
ema50 = EMA(C,ema1_range);
ema200 = EMA(C,ema2_range);
Buy = Cover = Cross(ema50,ema200);
Short = Sell = Cross(ema200,ema50);
Than run the code in analysis window by clicking optmize button.
13/n
Another most powerful tool is monte carlo, where you can test your logic under different environments. Amibroker will randomly skip or repeat the trades
from total trades than will run multiple backtest
14/n
and finally will plot multiple equity curves depending upon the random backtests of same logic. Setting
can be done in parameters window under analysis.
15/n
Another most powerful tool is walk-forward testing, in which logic will be tested on out sample data which was optimized on in sample data, this process will be repeated on further defined data samples.
16/n
This way system can be further evaluated by testing on in sample and out sample data.
Amibroker can be used for algo trading also, where your coded logic can be integrated with your broker account using some third party bridge. Refer below
video for more explanation.
youtube.com
17/n
Apart from above Amibroker can be used for further more analysis, where analysis is to be done using two or more symbols at the same time, like pair trading
, option strategies etc..
18/n
Let's say, straddle chart where two symbols are used can be plotted like this..
symbol_1 = Foreign("NIFTY2260916750CE","C");
symbol_2 = Foreign("NIFTY2260916750PE","C");
straddle = symbol_1 + symbol_2;
Plot(straddle,"Straddle",colorAqua,styleOwnScale);
19/n
Apart from advantages there are some challanges too like..
One of the biggest challenge is the coding skill, Amibroker is not suitable for those who don't know coding.
20/n
But Amibroker supports it's own AFL language which can be learned in few hours of dedicated learning. I have made some videos for basic learning of
Amibroker, link below...
youtube.com
youtube.com
youtube.com
21/n
youtube.com
youtube.com
In short Amibroker is a one stop shop for all analysis/testing/trading needs.
End\

Loading suggestions...