NexusFi: Find Your Edge


Home Menu

 





A quick Amibroker Review


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one badabingbadaboom with 22 posts (5 thanks)
    2. looks_two greenroomhoo with 13 posts (13 thanks)
    3. looks_3 xiaosi with 6 posts (3 thanks)
    4. looks_4 FB2012 with 4 posts (2 thanks)
      Best Posters
    1. looks_one Big Mike with 1.5 thanks per post
    2. looks_two greenroomhoo with 1 thanks per post
    3. looks_3 xiaosi with 0.5 thanks per post
    4. looks_4 badabingbadaboom with 0.2 thanks per post
    1. trending_up 38,237 views
    2. thumb_up 29 thanks given
    3. group 11 followers
    1. forum 55 posts
    2. attach_file 0 attachments




 
Search this Thread

A quick Amibroker Review

  #51 (permalink)
 solotrader 
Cyprus
 
Posts: 68 since Jul 2013

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.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Request for MACD with option to use different MAs for fa …
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
48 thanks
Battlestations: Show us your trading desks!
43 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #52 (permalink)
 badabingbadaboom 
London/UK
 
Posts: 56 since Apr 2013


solotrader View Post
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.

What do you mean by "on the same chart"?

Do you mean plotting multiple equity graphs in one pane or multiple equities plotted one below the other one and each one in a different pane?

Also are you referring to portfolio equities or single security equities?

If you could show a picture of that other tool maybe then it is more clear what it should look like.
Or two system example codes that you wanna plot.

Anyway, plotting multiple different equity curves (of different systems, or the same one) is possible.


solotrader View Post
and this program generates a system for each in Amibroker AFL.

In addition I don't understand this part. That software creates AFL codes or what is meant?

Reply With Quote
  #53 (permalink)
 badabingbadaboom 
London/UK
 
Posts: 56 since Apr 2013



solotrader View Post
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.

Like this? (click on the pic if it is too small)

It's one possibility.




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
 
Code
SetCustomBacktestProc( "" );
if ( Status( "action" ) == actionPortfolio )
{
    bo = GetBacktesterObject();
    bo.Backtest();
  
    Equityname = "~~~CCI_System";
    Catnumber = 0; // category list number
    Category = categoryWatchlist; // category

    AddToComposite( bo.EquityArray, Equityname, "X", atcFlagDeleteValues | atcFlagEnableInPortfolio );
    CategoryAddSymbol( Equityname, Category, Catnumber );
    CategorySetName( "Equity Curves", Category, Catnumber ); 
}

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" );
.
.
.
}

Reply With Quote
  #54 (permalink)
 solotrader 
Cyprus
 
Posts: 68 since Jul 2013


badabingbadaboom View Post
Like this? (click on the pic if it is too small)

It's one possibility.




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
 
Code
SetCustomBacktestProc( "" );
if ( Status( "action" ) == actionPortfolio )
{
    bo = GetBacktesterObject();
    bo.Backtest();
  
    Equityname = "~~~CCI_System";
    Catnumber = 0; // category list number
    Category = categoryWatchlist; // category

    AddToComposite( bo.EquityArray, Equityname, "X", atcFlagDeleteValues | atcFlagEnableInPortfolio );
    CategoryAddSymbol( Equityname, Category, Catnumber );
    CategorySetName( "Equity Curves", Category, Catnumber ); 
}

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" );
.
.
.
}

Thanks but that is too complicated for my programming level.

Reply With Quote
  #55 (permalink)
 
greenroomhoo's Avatar
 greenroomhoo 
annapolis USA
 
Experience: Intermediate
Platform: Ninja, MC, Sierra, Amibroker
Broker: PFG (too bad), IB, Fidelity, AMP
Trading: ES, NQ, Equities, Forex, Etc.
Posts: 276 since Jun 2011
Thanks Given: 107
Thanks Received: 235

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.
Visit my NexusFi Trade Journal Started this thread Reply With Quote
The following 2 users say Thank You to greenroomhoo for this post:
  #56 (permalink)
 
teyano's Avatar
 teyano 
Amsterdam, Europe
 
Experience: Intermediate
Platform: Various
Trading: ES
Posts: 22 since Feb 2013
Thanks Given: 67
Thanks Received: 14

@greenroomhoo


greenroomhoo View Post
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.

Tomasz ( not the AmiBroker "Tomasz" )

Reply With Quote
The following user says Thank You to teyano for this post:





Last Updated on October 22, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts