Australian (ASX) Stock Market Forum

Once you've loaded the chart into the pane, you can then click on the "symbols" tab again.
that's my problem, I can't get a chart into the pane.
............and from your earlier reply .... Click on the small triangle next to "basic charts". That will open up the "basic charts" directory. can't find the small triangle or "basic charts"
 
thanks for your interest

No probs at all, I always like to think that anyone I help out will be back in 5 years time teaching me something :)

That "charts" tab only has a "custom" folder in it by the looks of it, which isn't right. Can you click on "File" -> "Open" and then navigate to your Amibroker directory. I don't use Windows 10 but I assume it would be under C\Program Files\Amibroker. In your Amibroker directory is a folder called "Formulas".

Can you open that folder and then post a screenshot. Thanks
 
Formulas folder only contains Custom folder. When I open custom folder message says "this folder is empty"formulas.png
 
Ok, something has gone wrong with your Amibroker install. Do you have a backup of the Amibroker directory from an earlier time? If that contains the missing folders in the formulas directory you could copy them from the backup.

If not, unless someone has any other ideas I'd suggest reinstalling Amibroker from scratch as there may be other folders or files missing. Sorry.
 
Ok, something has gone wrong with your Amibroker install. Do you have a backup of the Amibroker directory from an earlier time? If that contains the missing folders in the formulas directory you could copy them from the backup.

If not, unless someone has any other ideas I'd suggest reinstalling Amibroker from scratch as there may be other folders or files missing. Sorry.
thanks for your help captain, much appreciated. I've still got the activation code ect from the original install, will contact Ami support to see if they are still valid.
cheers Ian
 
thanks for your help captain, much appreciated. I've still got the activation code ect from the original install, will contact Ami support to see if they are still valid.
cheers Ian

In the Amibroker directory is a file called "brokey.dll". Make a backup of your Amibroker directory and copy that file into the new install and it will have your registration details etc. on it. Best to contact Amibroker support as I'm not sure whether it would still be active for the most recent Amibroker version.

More than happy to help once you get setup again. There's an Amibroker FAQ thread here on ASF that's probably the best place to post any Amibroker questions.

https://www.aussiestockforums.com/threads/amibroker-faq.1679/
 
thanks for your help captain, much appreciated. I've still got the activation code ect from the original install, will contact Ami support to see if they are still valid.
cheers Ian


Stevo, if you haven't already done something else, I have a simple suggestion:

In Windows Explorer go to the Program Folder where Amibroker is installed and rename the folder, e.g. Ami-no-good. Then you download version 6.000.2 dated 8 Oct 2015 and install that from scratch.
Use the built-in DowJones database so you can familiarise yourself with the operation thoroughly until you know what everything should look like and generally know 'how to do things'. If you stuff something up you can uninstall and reinstall.

By that time you should know where to look for your ASX database which is untouched. Go to Preferences|Data|Pick and change it from the DJ database. You will now be in a much better position to fix whatever has gone wrong without somebody having to tell you where to click.

I think your license will be good for this version 6.00.2 but maybe not for the latest one. It's worth a try, though. There have been many improvements.

Make sure you keep the brokey.dll file as Captain Black said.
 
Stevo, if you haven't already done something else, I have a simple suggestion:

In Windows Explorer go to the Program Folder where Amibroker is installed and rename the folder, e.g. Ami-no-good. Then you download version 6.000.2 dated 8 Oct 2015 and install that from scratch.
Use the built-in DowJones database so you can familiarise yourself with the operation thoroughly until you know what everything should look like and generally know 'how to do things'. If you stuff something up you can uninstall and reinstall.

By that time you should know where to look for your ASX database which is untouched. Go to Preferences|Data|Pick and change it from the DJ database. You will now be in a much better position to fix whatever has gone wrong without somebody having to tell you where to click.

I think your license will be good for this version 6.00.2 but maybe not for the latest one. It's worth a try, though. There have been many improvements.

Make sure you keep the brokey.dll file as Captain Black said.


Thanks for the advice Habakkuk,
Good idea.
I've sent a query to Amibroker, depending on their response I'll try the version 6 as you suggest.
cheers ian
 
You possibly have deleted all formulas. Those folders don't disappear on their own.

Your existing license will definitely not be valid for most recent final versions 6.00, final 6.10 and most recent beta 6.19 because 5.6 has been released in Dec 2012. Even if you purchased in 2013 it has too much time gone. So it means in order to fully use most recent final version 6.10 and soon being released final version 6.20 you would have to upgrade. That upgrade will give you another two years of completely free future updates (appx. 20+ future AB versions). Such an upgrade is worth every single penny because vrs. 6.10/6.20 are far superior than outdated 5.60.

If you don't want to upgrade but keep on working with 5.60 then it is important to know whether you still have the setup file of version 5.60. Do you? Because it appears that you would have to redo the installation. If you do not have your 5.60 setup file anymore then simply ask AmiBroker to send it to you (32-bit and 64-bit setup files). IMPORTANT: For 64-bit AB version you have to ask for separate key file.

On thing you have to keep in mind if using AmiBroker is that it is formula driven. So in order to plot something you have to apply a plot code. In order to do an exploration your have to apply an exploration code. And so on. A sheet is like a sheet of paper. If it is empty you have to fill it. You are the master, the sheet is your slave. AmiBroker just executes what you give it to it for processing. Garbage in == garbage out.

So in order to plot there is already just one line only required

Code:
Plot( C, "Price", colorDefault, GetPriceStyle() );

In order to do an exploration there is (as basic start) also just one line required
i.e.

Code:
Filter = Close > Open;

Latter one would show a table of date/times where Close > Open.

Of course all can be designed much more comprehensive. Only the sky is the limit. I can promise that.
 
Just an update on my problems,

Amibroker support told me to perform a full install so I’ve ended up with V6.00.2. They were great, I presume their in USA and replied to me on Sunday their time.

Now I just have to learn to drive it !!!!!!!

Thank you all who assisted me ……..that was awesome

Cheers Ian
 
Just an update on my problems,

Amibroker support told me to perform a full install so I’ve ended up with V6.00.2. They were great, I presume their in USA and replied to me on Sunday their time.

Now I just have to learn to drive it !!!!!!!

Thank you all who assisted me ……..that was awesome

Cheers Ian

So I assume that you have purchased an upgrade? If so then rather install 6.10 because that one is current most recent final version but not 6.00.

AmiBroker is not an American but an European company (from Poland).
 
Just an update on my problems,

Amibroker support told me to perform a full install so I’ve ended up with V6.00.2. They were great, I presume their in USA and replied to me on Sunday their time.

Now I just have to learn to drive it !!!!!!!

Thank you all who assisted me ……..that was awesome

Cheers Ian

Glad you're up and running. As trash mentioned, Amibroker is based in Poland.

Feel free to post in the Amibroker FAQ thread if you run into any more problems.

Enjoy :)
 
So I assume that you have purchased an upgrade? If so then rather install 6.10 because that one is current most recent final version but not 6.00.

AmiBroker is not an American but an European company (from Poland).

I haven't got the upgrade trash, I grabbed the 6.00 offer which was free, so of course can upgrade that. I really only want it for basic backtesting, I'm quite happy with my Bullcharts charting at the moment. What area does the upgrade improve?
 
I haven't got the upgrade trash, I grabbed the 6.00 offer which was free, so of course can upgrade that. I really only want it for basic backtesting, I'm quite happy with my Bullcharts charting at the moment. What area does the upgrade improve?

Ah OK, I just looked it up in the devlog http://www.amibroker.com/devlog/index.php?s=6.00 and it seems you have registered after May 2013. So yes, then you were still within free upgrade period as far as 6.0 is concerned. I presumed you purchased 5.6 earlier.

If you want to fully use 6.10 you have to look in your member information in members zone of amibroker.com where it would tell you when you exactly bought it. 6.10 is free for users who purchased after December 2013, see http://www.amibroker.com/devlog/2016/01/

As for improvements you may look highlights of each cycle here https://www.amibroker.com/guide/whatsnew.html

Full details of each development cycle can be looked up in the devlog here http://www.amibroker.com/devlog

For (possibly) better readability there are printable PDF versions to be found here http://amibrokerforum.proboards.com/thread/9/amibroker-release-notes
 
Hi,

I'm having problems coding to exit at open after n maximum bars in a trade if neither the target price nor stop loss are hit.

Tried ApplyStopBars but that just keeps me in for the duration.
HoldMinBars is the opposite of what I want and doesn't work with intraday exits.
Tried BarsSince(Buy) and the trades go on from day 1 to last day to stay open - won't even pretend to understand what is happening there.

My target price (HHV or %) is exit intraday.
Maximum stop (ATR or % from buy) is also intraday exit.

Both of these work but trying to add the bars exit to work with the target and stop has stumped me completely.
I'm using Amibroker.

I'm at a complete loss how to go about this and would appreciate all help.
 
Last edited:
This appears to be a question about AmiBroker. Posting it to the existing AmiBroker thread would make it much easier for potential helpers to find it.

ApplyStop works fine.

Post the code that is not working.

Best, Howard
 
Hi All,

Can anyone please help me with exiting a trade within n days?

I have:
Target exit (HHV or %)
Max stop loss (ATR or %)
both of the above exits work.

What I want is to exit the trade n days after entry if neither the target or stop loss have been hit.
i.e. if target or stop loss is hit, I exit on the day intraday. If neither is hit, I get out at open on n day.

I have tried ApplyStop NBars - keeps me in every trade for n bars.
Tried Barssince(Buy) & C< BuyPrice - have no idea what that is doing except manily keeps me in for the duration of the backtest.

Its got me stumped. I'd appreciate all help.

Thank you,
 
Top