Australian (ASX) Stock Market Forum

Amibroker FAQ

Hi all

Trying to Setup the ASX data in Amibroker, Im just not sure how to add the date, can anyone help me with providing me instruction please ?

thank you
With my novice experience I don't understand what you mean by adding the date to set up Yahoo downloads. The downloader (Amiquote) has the date ranges on it.
 
How do I get the MA of the volume on the same scale as the Volume.

I simply clicked on the volume indicator and then dragged the MA onto the same chart but it comes out like this:

Volume Question.jpg
 
right click over the volume window, click parameters and make sure that in the style boxes, that ownscale isn't checked.

Thanks for that.


Another question. This is part of my current filter: Filter = ((Cross(C,Ref(HHV(C,40),-1)) AND C>O AND H>MA(C,40)) OR (Cross(Ref(LLV(C,40),-1),C) AND C<O AND L<MA(C,40)))

It is possible to plot the HHV(C,40),-1) and LLV(C,40,-1) on my chart? So that I can visually see when it crosses also?

Thanks
 
Thanks for that.


Another question. This is part of my current filter: Filter = ((Cross(C,Ref(HHV(C,40),-1)) AND C>O AND H>MA(C,40)) OR (Cross(Ref(LLV(C,40),-1),C) AND C<O AND L<MA(C,40)))

It is possible to plot the HHV(C,40),-1) and LLV(C,40,-1) on my chart? So that I can visually see when it crosses also?

Thanks

this should do it:


Code:
x = Ref(LLV(L,40),-1);
y = Ref(HHV(H,40),-1);

Plot(x, "lowest value",colorRed,styleLine);
Plot(y, "highest value",colorGreen,styleLine);
 
Hi, I was wondering if anyone here knows how to edit quotes that are being read with the metastock data plug in? Can it even be done?
 
Hi, I was wondering if anyone here knows how to edit quotes that are being read with the metastock data plug in? Can it even be done?

Not as far as I'm aware. The quote editor in AB only works on a local database. To edit quotes in a MS binary database you'd need to edit them at the external database level.

There is the option of exporting quotes from a MS external database into ASCII format using an exploration then reimporting them into a local AB ASCII database if you are looking to modify quotes often?
 
Not as far as I'm aware. The quote editor in AB only works on a local database. To edit quotes in a MS binary database you'd need to edit them at the external database level.

There is the option of exporting quotes from a MS external database into ASCII format using an exploration then reimporting them into a local AB ASCII database if you are looking to modify quotes often?

Thanks for the clarification captain. The data I'm getting also comes in csv format, but I had really been hoping not to have to resort to importing it all manually, as there are a few different types of file I'm receiving and just running the metastock updater and then opening ami was half the reason I paid for the data in the first place!

Think I'll just email the provider and tell them to pull their finger out and give me what I paid for:banghead:
 
Hi folks,

I've got a small though annoying problem - while I'm trying to plot a text on the graph using Plottext function, the number of decimal points that comes up is one to many. However, I'm unable to limit the decimal point number. Here is the code:

Strongbuy = Signalbuy;
Strongsell = Signalsell;
MyATR = ATR(20);

for (i=1; i<BarCount; i++){
if (Strongbuy) Plottext("SL " + (C-3*MyATR), i, C-3*MyATR, ColorBlue);
if (Strongsell) Plottext("SL " + (C+3*MyATR), i, C+3*MyATR, ColorBlue);
}

The stop losses that come up have 5 decimal points, while I need just 2. Could someone suggest altercations to the above code to address this issue.

Cheers,
 
How do I zoom in and out forJUST the volume window (separate window to the price information)?

I remember seeing it somewhere but can't recall

For example, the green and red volume at the bottom of this chart.

KRM - 29-3-2011 - entry.png
 
Open your price chart in one window, your volume chart in another window then arrange them horizontally (as they are now but in separate windows) and each window/chart can be zoomed independently.
 
How do I create a horizontal line that doens't extend across the entire screen? One that can just extend over a few days and I can alter in length?

Thanks,
Matt
 
How do I create a horizontal line that doens't extend across the entire screen? One that can just extend over a few days and I can alter in length?

Thanks,
Matt

Here's one example fom the Amibroker mailing list:

http://www.mail-archive.com/amibroker@yahoogroups.com/msg18184.html

Code:
Daysback    = Param("Days Back",126,10,252,1); 
FirstBar    = BarCount - DaysBack; 
YY          = IIf(BarIndex() >= Firstbar,EndValue(Close),Null); 

Plot(YY,"LastClose",colorRed,styleThick); 
Plot(Close,"Close",colorBlack,styleCandle);
It draws a horizontal line back from today's closing value. Adjust to suit your needs.
 
How do I create a horizontal line that doens't extend across the entire screen? One that can just extend over a few days and I can alter in length?

Thanks,
Matt

I do this in a number of ways. Here is one where you select the bar to start the line which will plot to the right for your "X" situation.

extendLine = Param( "Line Extension", 5, 0, 10, 1 );
startPlotBar = SelectedValue( BarIndex() ) - extendLine;
Plot( IIf( BarIndex() >= startPlotBar, SelectedValue( X ), Null ), "X", colorX, styleThick | styleNoLabel, Null, Null, extendLine );
 
Thanks for that.

I am also trying to work out how to create any multiple of the MA on my volume chart e.g. 0.5x MA of volume, 2 x MA of volume etc.

Thanks
 
How do I zoom in and out forJUST the volume window (separate window to the price information)?

I find this part of Amibroker a little irritating. Navigating the chart shouldn't be cumbersome.

If Captain Black's idea of using an independent window wasn't what you were looking for, try this - If you move the mouse cursor over to the scale on the right of the chart the cursor will turn into a double headed arrow. Hold down the shift key and drag the mouse. it will change the scale of the volume pane. Effectively zooming in.

Unfortunately when you change the scale it uses the middle of the chart as the reference point. So you then have to release the shift key and drag the volume scale up to get the zero level back on the screen. You can also double click on the scale to reset it to normal.

The reason I don't like using an independent window for the volume chart is that zooming in on either window means the volume bars no longer line up with the price bars.

If anyone knows how to change the volume scale while keeping the zero point fixed at the bottom of the screen please let me know.
 
Top