Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I understand this, thanks. But I really want many systems on the same chart. I use price action lab to discover patterns and this program generates a system for each in Amibroker AFL. I want to all these different systems to the same chart. I have not been able to figure a way for doing this with Amibroker. probably I am missing something. Otherwise it is an excellent tool, I like it.
Can you help answer these questions from other members on NexusFi?
The graphs I made in the example are plotting each equity as rel. performances graph that start at 1.00 (100%)
and in the lower pane I made an additional plot example that just displays the maximum relative drawdowns.
To make multiple portfolio equities you just use Addtocomposite (ATC) that copies the ~~~Equity symbol to a new symbol with own name like ~~~CCI_System. Instead of ATC you can alternatively use StaticVars.
Code being added to your system code
In addition you can add CategoryAddSymbol function that moves each Equity to the same watchlist.
As for plotting you loop through the category number (here in the example it's a watchlist) and do your rel. perf. calculation or just plot fc.
RequestTimedRefresh( 1 );
_N( TickerList = CategoryGetSymbols( categoryWatchlist, 0 ) );
for ( i = 0; ( symbol = StrExtract( TickerList, i ) ) != ""; i++ )
{
fc = Foreign( symbol, "C" );
.
.
.
}
I started this thread a long time ago and just wanted to update with some more thoughts. I have to say i cannot believe how impressed I am with Amibroker. If you are starting out and/or into equities, I am not sure their is a better platform (I have Ninja, MC, and have worked a lot with Sierra) - perhaps tradestation is as good for equities - not sure.
First the speed is really incredible. You can backtest a strat on 6600 daily equities going back 20 years in about a minute. The same test on MCs portfolio backtester on 1000 symbols takes 15 minutes (depending on the code).
I think more importantly (again - if scanning for equities opportunities), you can scan for a setup and flip the results in amazing speed. The loading time of three charts is almost instantaneous - i really cannot believe how fast it is. What i have found is that there is no perfect filter when hunting for trades and i just need to get one that is close and can produce ~ 100 or so possibilities each day. Being able to quickly flip those opportunities is the difference between 10 minutes to review vs. 30 minutes (ninja and/or MC).
The other thing Amibroker does is it keeps all your drawings (Ninja does not - they are erased after 20 days/MC keeps the drawings). So i can go through and markup charts and dont have to do it again.
One other really cool thing Amibroker does is it allows you to link web page panes to your charts...and these panes can be from any financial site. So, if i click on an equity, two different web pages on my monitor pull up the google finance data and the Yahoo Finance web pages for that security. That is a really really really really cool feature.
You can also work with fundamental data in Amibroker - so i have a scan that picks off dividend rates higher than a threshold for example, etc.
Its not all roses of course. Amibroker learning curve is very very steep (much harder to learn than MC or Ninja were). The language takes time to understand and there are not treasures of already coded indis like there are for Ninja or MC. That said - i have already been around the block so my charts have nothing on them anyway.The floating windows need to be improved, the drawing tools cannot touch Ninja's in terms of customization, other stuff. As i said the learning curve was very very very very steep. I think i spent 3-4 solid full days just getting it going and i am not even close to being able to quickly code in the language (but i am improving).
But for a couple of hundred bucks and free EOD quotes (that you can auto import every night), i am not sure of a better, less expensive way to get into trading equities.
My trading is like my avatar: Big, Hairy, and Full of S$&T.
The language takes time to understand and there are not treasures of already coded indis like there are for Ninja or MC. That said - i have already been around the block so my charts have nothing on them anyway.
Well, it depends on:
--- > What indi's you are looking for ?
--- > Where are you looking for them ?
In general, futures.io (formerly BMT) and other forums are not 'treasure chests' of AFL code nor there is an abundance of people on these who have some knowledge about the ins and outs of that platform and are willing to help ( BTW the last one over here got banned ). The official yahoo is the place for that. A supportive community and a direct access to the developer.