Australian (ASX) Stock Market Forum

Amibroker FAQ

Does anyone know of an AFL which displays ASX announcements/or news feed for Amibroker?

Understand that I might be asking for something which doesn't exist. :(

Well, you can of course. Also alert before news event is possible. It's up to you what you wanna do. Or as Tomasz J. would say "The only limitation is the user's imagination". Here is video of an older version I've made http://www.youtube.com/watch?v=KjGriX-0r0M . Now I'm using urlget http://www.amibroker.com/bin/URLGet.zip to get the data from news sites.
 
In new version in Interpretation window I have included display of news that are still ahead. News of the current day that are obsolete are getting automatically ignored there. Impact has three options Low, Medium, High
 

Attachments

  • news.gif
    news.gif
    54.7 KB · Views: 16
The news calendars are retrieved from here http://www.dailyfx.com/files/Calendar-03-25-2012.csv
and here http://cdn.forexfactory.com/ffcal_week_this.xml

The DailyFx file's name does change according to each new Sunday's date. So you can automate the recognition in your AFL code. Nothing needs to be done manually.

The FXfactory XML file is getting converted to a csv file via vbs within AFL using EnableScript() and a small command line XMLtoCSV proggy. You can get that one here http://xmltocsv.codeplex.com/releases/view/69501. It's the 'Xml To Csv Command Line 1.5' one.

The function for conversion looks like this

Code:
EnableScript("vbscript"); 
<%
function XML2CSV()' //XML2CSV, related to Forex Factory
 Dim WshShell, WshResult, cmd
 cmd =  "C:\Program files\AmiBroker\XML2CSV\XmlToCsv.Console.exe -xml C:\Program files\AmiBroker\NewsLists\ffcal_week_this.xml -dir C:\Program files\AmiBroker\NewsLists"  
 Set WshShell = CreateObject("WScript.Shell")
 WshResult = WshShell.Run(cmd, 7, False)
end function
%>


All is executed via AFL ... download, conversion, removing duplicate lines, sorting and so on.
 
Hi all,

I'm thinking about getting Amibroker in the near future, I'm also about to purchase a new laptop. I've read the "minimum specs" Amibroker requires but I'd like to know what actual users think these specs should be.

I'm also interested to know what people think of required screen size and resolution.

Any help appreciated.
 
Hi all,

I'm thinking about getting Amibroker in the near future, I'm also about to purchase a new laptop. I've read the "minimum specs" Amibroker requires but I'd like to know what actual users think these specs should be.

I'm also interested to know what people think of required screen size and resolution.

Any help appreciated.

TJ posted a recommended hardware/software guide on the Amibroker Knowledge Base wiki last year. The information there is still accurate today if you're looking to buy a new laptop.

http://www.amibroker.com/kb/2011/10/25/recommended-hardwaresoftware-for-amibroker/

I see this is your first post so welcome to ASF :)
 
Hi all,

I'm thinking about getting Amibroker in the near future, I'm also about to purchase a new laptop. I've read the "minimum specs" Amibroker requires but I'd like to know what actual users think these specs should be.

I'm also interested to know what people think of required screen size and resolution.

Any help appreciated.


It helps to have alot of screen real estate when using these sorts of programs. Amibroker is a very fast backtester so any modern CPU is going to be fine but what you want is two+ large screens prefereably at 1920x1080 so you can display code and a few charts. Using a laptop, even one with a big screen, will be a cramped experience. Still workable though just have to alt tab alot.
 
I just got a new Lenovo Thinkpad X220 with i5 processor.

It was a gift so i didn't spec it up. If i had to do again I'd get the fastest processor going, at least an i7. 64 bit and a ton of RAM would be nice too. Make sure all of your software can run at 64 bit.

Not sure if any laptops other than Apple have Solid State Drives yet, but with a fast processor and an SSD I'm told that system development is much faster, backtests and Optimising is processor intensive and the SSD makes the data retrieval faster.

I'm specing up a new desktop PC as well now and those are the two main things, in addition to the graphics card to support my screens.

Agree with TabJockey, Screenestate is good, the more the better IMO.

Very interested in what the PC gurus add to this.

CanOz
 
Also agree with adding screen real estate.

I use Amibroker to day trade index futures. I have 3 instances of Amibroker (64-bit) running with IB's TWS and Zeroline trader on 5 screens plus the laptop screen. I use 4 USB display adapters and the laptop's HDMI port to connect the screens.

http://www.win-star.com/eshop/goods.php?id=103

I've used Dell laptops for years. Current setup is on an I5 Vostro with 8Gb RAM.
The 2nd Gen I7's are at a good price point now.

edit: nice to see you back Canoz :)
 
Also agree with adding screen real estate.

I use Amibroker to day trade index futures. I have 3 instances of Amibroker (64-bit) running with IB's TWS and Zeroline trader on 5 screens plus the laptop screen. I use 4 USB display adapters and the laptop's HDMI port to connect the screens.

http://www.win-star.com/eshop/goods.php?id=103

I've used Dell laptops for years. Current setup is on an I5 Vostro with 8Gb RAM.
The 2nd Gen I7's are at a good price point now.

edit: nice to see you back Canoz :)

G'day Captain, good to see ya as well!

What time-frame are you index systems, if you don't mind me asking?

Cheers,


CanOz
 
I just got a new Lenovo Thinkpad X220 with i5 processor.

It was a gift so i didn't spec it up. If i had to do again I'd get the fastest processor going, at least an i7. 64 bit and a ton of RAM would be nice too. Make sure all of your software can run at 64 bit.

Not sure if any laptops other than Apple have Solid State Drives yet, but with a fast processor and an SSD I'm told that system development is much faster, backtests and Optimising is processor intensive and the SSD makes the data retrieval faster.

I'm specing up a new desktop PC as well now and those are the two main things, in addition to the graphics card to support my screens.

Agree with TabJockey, Screenestate is good, the more the better IMO.

Very interested in what the PC gurus add to this.

CanOz

An SSD is very unneccessary for Amibroker. Sure SSD's are nice to have but Amibroker is a very well written program that doesnt need much grunt to work perfectly. I have an i5 laptop with a regular hdd and an i7 desktop with SSD's in raid and optimization takes almost the same amount of time.

Do not spend ****loads of money on pc hardware for Amibroker! if you need it for other things thats fine but you are better off adding that money to your trading capital as opposed to getting ssd's, i7's and 16gb of ram.

Honestly my productivity would be exactly the same if I was trading and developing systems on a 4 year old pc with 4gb of ram and no ssd with 3 screens compared to my overclocked beast right here.
 
Sure, make sense. Amibroker was always the fastest with its arrays.

The NinjaTrader guys mentioned the SSD to me, but then again its pretty resource intensive.

Cheers,


CanOz
 
G'day Captain, good to see ya as well!

What time-frame are you index systems, if you don't mind me asking?

Cheers,


CanOz

Trading the KOSPI (K200) and DAX using 1 and 2 minute charts. I've gone the other way to most in that I started trading mechanical systems (and still do) but am tending more towards discretionary trading of index futures now, although there's still a lot of number crunching behind my discretionary trading.

I've tried the conventional wisdom of using longer time-frames, 3-5-15-30 minute and hourly charts but the 1 and 2 minute timeframes work for me. I swing trade and pick up around 10-15 trades a day on the Kospi.
 
Trading the KOSPI (K200) and DAX using 1 and 2 minute charts. I've gone the other way to most in that I started trading mechanical systems (and still do) but am tending more towards discretionary trading of index futures now, although there's still a lot of number crunching behind my discretionary trading.

I've tried the conventional wisdom of using longer time-frames, 3-5-15-30 minute and hourly charts but the 1 and 2 minute timeframes work for me. I swing trade and pick up around 10-15 trades a day on the Kospi.

Yeah love the Kospi, on my list to look at closer too. Can't get eSignal data for it yet, only IB. Are you using Amibroker to execute trades or just punch out signals to you? Can't recall if Amibroker has a chart trader even:confused:

CanOz
 
Yeah love the Kospi, on my list to look at closer too. Can't get eSignal data for it yet, only IB. Are you using Amibroker to execute trades or just punch out signals to you? Can't recall if Amibroker has a chart trader even:confused:

CanOz

Yeah, love the Kospi too. Pays all my bills and then some :)
Took me about 18 months of testing and following it every day to finally "get it" though. Every day is different, but every day is the same...

I use the Zeroline trader DOM for all my orders.

http://www.zerolinetrader.com/

I use Amibroker for charting. Very basic charts with price, volume and a heavily modified version of Karthik's VPA code. Any signals generated on the charts are purely a "heads up" so it would be difficult for me to automate what I do.
 
Yeah, love the Kospi too. Pays all my bills and then some :)
Took me about 18 months of testing and following it every day to finally "get it" though. Every day is different, but every day is the same...

I use the Zeroline trader DOM for all my orders.

http://www.zerolinetrader.com/

I use Amibroker for charting. Very basic charts with price, volume and a heavily modified version of Karthik's VPA code. Any signals generated on the charts are purely a "heads up" so it would be difficult for me to automate what I do.

Thanks Captain, good luck!

CanOz
 
Hiya,

Anyone have some code for: "last low pivot > low pivot prior"?

I've tried adapting some pivot codes using ValueWhen, but it just ain't workin'.

Ideas?
 
Hiya,

Anyone have some code for: "last low pivot > low pivot prior"?

I've tried adapting some pivot codes using ValueWhen, but it just ain't workin'.

Ideas?

How are you defining your pivots?

There's quite a few examples of "divergence" coding for Amibroker in the library and on the web. They may provide a starting point?
 
Top