- Joined
- 26 December 2013
- Posts
- 25
- Reactions
- 0
Just got the Amibroker trial, been having a look around and I like it a lot. Just wondering how I add Australian stocks? Because it comes with US stocks. Can't seem to find an option for this.
Just got the Amibroker trial, been having a look around and I like it a lot. Just wondering how I add Australian stocks? Because it comes with US stocks. Can't seem to find an option for this.
Amibroker Trial version: Will not save any data. You will have to import data every time you start AmiBroker.
http://www.globaldatafeeds.in/what_are_the_limitations_of_trial_account_.html
Try looking here..
Unfortunately they don't seem to cover this issue off in these tutorials. Still lots of helpful info though to get me started
Just got the Amibroker trial, been having a look around and I like it a lot. Just wondering how I add Australian stocks? Because it comes with US stocks. Can't seem to find an option for this.
Alright, thanks for the links guys. I'll get it sorted tomorrow morning
Also, it's not event driven, so for example there are no 'on session open do this', 'on new 5 min bar do this', on new 5 tick bar do this' and there is no concept of different order types, just buy and sell.
You may also read Howard Bandy's posts here https://www.aussiestockforums.com/forums/showthread.php?t=23778
Nonsense. Where did you get that from? Backed up by Amibroker? Probably not.
OK, fair enough.
Perhaps you could point me too some event driven examples in the documentation.
Maybe there in the IB interface manual - I don't use this.
I only trade futures using NT7 these days, which does have a raft of event driven features - and that's where my comparison comes from.
barleft = Status( "lastbartimeleft" ); //alternatively use Status( "lastbartimeleftrt" ) to use datetime of last update sent by data source instead of current local time.
/*
Note that "lastbartimeleft" counts from current computer time,
it means that if you have delayed data (15-Minute) it will show 900 seconds (15 Minute) offset that your data are delayed.
*/
if ( Interval() - barleft == 0 ) // at bar start
{
//do something
Say( "nonsense" );
}
Title = StrFormat( "Time left: %g", barleft );
/*
from the help file:
"lastbartimeleft" - returns number of seconds to the completion of current last bar.
Works for time-based bars only. Note that for proper operation this requires database
timeshift to be set properly (so dates displayed on chart match your local computer time zone). (v5.60)
"lastbartimeleftrt" - it works like "lastbartimeleft" but uses the most recent RT stream update time instead of Now().
Also added Status("lastrtupdate") - time of last RT stream update Depends on RT plugin to deliver correct DateUpdate / TimeUpdate data.
If plugin or date source sends incorrect datetimestamps or does not send DateUpdate/TimeUpdate correctly this function will not operate properly.
Note that most data sources send weird (not current) datetime stamps on weekends.
Also IQFeed plugin sends DateUpdate/TimeUpdate only inside regular trading hours. (v5.60)
*/
Current = Now ( 4 );
Hours = int ( Current / 10000 );
Minutes = int ( ( Current - Hours * 10000 ) / 100 );
Seconds = Current - Hours * 10000 - Minutes * 100;
totalSeconds = Hours * 60 ^ 2 + Minutes * 60 + Seconds;
Left = Interval() - totalseconds % Interval() ;//or use Status( "lastbartimeleft" ); or Status( "lastbartimeleftrt" ); if you have newer AB version 5.60+
execute = StaticVarGet( "execute" );
if ( Interval() - Left == 0 )
{
if ( execute )
{
ShellExecute( "notepad.exe", "", "" );
SetChartBkColor ( colorYellow );
StaticVarSet ( "execute", 0 );
}
}
else
StaticVarSet ( "execute", 1 );
Title = StrFormat( "Time left: %g", left );
Hi, bear in mind AB is a programmers toolkit.
Its relatively low cost, very powerful, but only of real value if you can drive it.
There are many gotcha's on the way and the devil is in the detail.
It's also very easy to become a programmer first and a trader second - that might not be what you want.
And it not just programming, your an end user/systems architect/designer/developer/tester/release mgr/ops manager - this is the life cycle that you need to follow in order to produce a meaningful end result - that you can trust.
Also, it's not event driven, so for example there are no 'on session open do this', 'on new 5 min bar do this', on new 5 tick bar do this' and there is no concept of different order types, just buy and sell.
It's a great EOD tool, if that's what your looking for - but that's the key:
- do you know what your looking for
- do you understand your limitations / capability
- does the tool match these needs
That said, for the cost it's great, even amazing, value and I would recommend you suck it and see and then ask yourself these questions.
So since there is no confirmation by AmiBroker I guess it just was not well informed claims again.
As for order types or anything else take a look at AB's IB controller read me file. Or get in touch with support.
As for 'events'
'event on new time bar' example
Code:barleft = Status( "lastbartimeleft" ); //alternatively use Status( "lastbartimeleftrt" ) to use datetime of last update sent by data source instead of current local time. /* Note that "lastbartimeleft" counts from current computer time, it means that if you have delayed data (15-Minute) it will show 900 seconds (15 Minute) offset that your data are delayed. */ if ( Interval() - barleft == 0 ) // at bar start { //do something Say( "nonsense" ); } Title = StrFormat( "Time left: %g", barleft ); /* from the help file: "lastbartimeleft" - returns number of seconds to the completion of current last bar. Works for time-based bars only. Note that for proper operation this requires database timeshift to be set properly (so dates displayed on chart match your local computer time zone). (v5.60) "lastbartimeleftrt" - it works like "lastbartimeleft" but uses the most recent RT stream update time instead of Now(). Also added Status("lastrtupdate") - time of last RT stream update Depends on RT plugin to deliver correct DateUpdate / TimeUpdate data. If plugin or date source sends incorrect datetimestamps or does not send DateUpdate/TimeUpdate correctly this function will not operate properly. Note that most data sources send weird (not current) datetime stamps on weekends. Also IQFeed plugin sends DateUpdate/TimeUpdate only inside regular trading hours. (v5.60) */
Code:Current = Now ( 4 ); Hours = int ( Current / 10000 ); Minutes = int ( ( Current - Hours * 10000 ) / 100 ); Seconds = Current - Hours * 10000 - Minutes * 100; totalSeconds = Hours * 60 ^ 2 + Minutes * 60 + Seconds; Left = Interval() - totalseconds % Interval() ;//or use Status( "lastbartimeleft" ); or Status( "lastbartimeleftrt" ); if you have newer AB version 5.60+ execute = StaticVarGet( "execute" ); if ( Interval() - Left == 0 ) { if ( execute ) { ShellExecute( "notepad.exe", "", "" ); SetChartBkColor ( colorYellow ); StaticVarSet ( "execute", 0 ); } } else StaticVarSet ( "execute", 1 ); Title = StrFormat( "Time left: %g", left );
etc.
I read the IB controller manual.
Timeleftinbar is NOT an event per se - you can measure this off your pc clock.
You could program them yourself - but were traders here are we not ?
You don't have to be a programmer to have Amibroker be cost effective. You can use other peoples' code, there is a lot on their website in the member's area. If you purchase the AFL Wizard you can do your own basic codes with the drag and drop GUI. Since you can set up as many scans as you want, back test it as long as you want and run it any time of the day then it's a cheaper alternative to stock scanner websites.
It's also a decent charting package to use the inbuilt tools like trend lines, Fib/Gann if you think it's not a load of BS, and other technical analysis tools. The standard indicators that are built in work reasonably well too. For other simple indicators, you can easily download them. It also beats using your brokers' charts!
I think therefore it's reasonable and cost effective for scans/charting/simple tools even if you can't program yourself.
How do you wanna auto trade YOUR system if you cant program??
So you are discreationary trader.
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.