Australian (ASX) Stock Market Forum

Amibroker FAQ

Canoz,

You know that the zigzag function is dynamic don't you?

Hi Wayne, this is just an exercise on "drawdown" that is in the book.

I realise that the function is in hindsight and generates perfect buy and sell indicators, is that what you mean by dynamic? Changing with the trend?

Cheers,
 
Hi Wayne, this is just an exercise on "drawdown" that is in the book.

I realise that the function is in hindsight and generates perfect buy and sell indicators, is that what you mean by dynamic? Changing with the trend?

Cheers,

BTW folks, got my arrows to work...on my work lappy they wouldn't show the buy and sell arrows...turns out i had to do this.......took me all day to find it!
 

Attachments

  • show trade arrows.jpg
    show trade arrows.jpg
    160.1 KB · Views: 215
On another issue, i still cannot get my ASX200 watchlist to work as a filter.

Watchlists will work as a filter on my older version at work though, maybe its another beta issue?

Also, how do i take a text file of 600 stocks and make a watchlist out of that?

Cheers,
 
You had written the plotshapes incorrectly. You must include all the inputs to tell it where to plot them

PlotShapes(shapeUpArrow*Buy,colorBrightGreen,0,L,-10);
PlotShapes(shapeDownArrow*Sell,colorRed,0,H,-10);
 
You had written the plotshapes incorrectly. You must include all the inputs to tell it where to plot them

PlotShapes(shapeUpArrow*Buy,colorBrightGreen,0,L,-10);
PlotShapes(shapeDownArrow*Sell,colorRed,0,H,-10);

No, thats the thing, the same code worked fine at home, but not at work, turns out it was just the price properties:)

Thanks for the reply though Kaveman....Say, whats your opinion of PatternExplorer?

Cheers,
 
profit based sell rule
I understand how to write buy/sell rules based on technical indicators. However, could someone explain how to write a sell condition that is based solely on percent profit and not on a technical indicator? I tried running a backtest with a technical 'buy=' condition, but without a 'sell=' condition, and just specifying a profit target in the settings, but the backtester won't run. error "missing short/cover variable assignment"
Question prob a bit old, did you get this running?
I think all you need is a Sell=0;
It will declare it and your formula will never raise a sell condition, but if you set the backtester's profit stop %, that will be used instead.
 
CanOz said:
i still cannot get my ASX200 watchlist to work as a filter
You mean for doing an exploration or backtest? Works fine for me, with 4.95 Beta, just the same as it used to. Don't think I had to set anything for that.

how do i take a text file of 600 stocks and make a watchlist out of that?
Try Symbol -> Watchlist -> Import. Export an existing watchlist first to see what format the file should be in.

GP
 
You mean for doing an exploration or backtest? Works fine for me, with 4.95 Beta, just the same as it used to. Don't think I had to set anything for that.


Try Symbol -> Watchlist -> Import. Export an existing watchlist first to see what format the file should be in.

GP

Thanks GP!
 
CanOz, I got the ASX200 and the list of IGmarkets traded stocks in .tls format. lemme know if you want it.
 
Still no luck - I think I am going crazy.

Using the import wizard, Amibroker correctly adds all of the symbols, but doesn't add any of the price or volume data.

This is .csv format from the float website. What am I missing here :banghead:?
 
CanOz, I got the ASX200 and the list of IGmarkets traded stocks in .tls format. lemme know if you want it.

Thanks Ron1n, got it to work last nite...all my watchlists are working now.

I'm looking good for next week!

Slick Rick, hang in there, gotta be someone using Float.com and AB here. I know its frustrating!

Wish i could help, but i use Premium Data and once i figured it out it works a charm.

Cheers,
 
See message #103 earlier in this thread for the import format file I use for float.com.au. Try using this instead of the import wizard.

GP
 
Tried posting this on another thread but it sunk like a stone.


Can anyone recommend analysis software for the Apple? Checked Amibroker and it wont run on Apple OSX unfortuntely.

Can't believe I'm the only one in the room working on a Mac...am I...hello...
 
Hello, hello, is there anyone out there?

:D

Anyone mention Parallels??? Then you can run whichever software you want.

Cheers

Shane
 
Have had issues with emulation software Shane.

Was looking for anyone who was using an analysis product that is written for the OSX platform.
 
Re: Higher Time Frame Pivot Points

I'v been trying to produce an indicator that plots pivot point levels for one period based on the previous three periods - then applied on the daily time frame. ie. The support and resistance levels for each day within the week are the same and are based on the High, Low and Close of the previous three weeks.

These are the basic calculations, but I'm having difficulty defining the time function such that the levels are static throughout the week/period;

P = (Ref(H,-1)+Ref(L,-1)+Ref(C,-1))/3;
R1 = (2*P)-Ref(L,-1);
S1 = (2*P)-Ref(H,-1);
R2 = P +(R1 - S1);
S2 = P -(R2 - S1);

I tried using TimeFrameSet(3*InWeekly) but it still seems to calculate the levels for each day based on the previous 15 days. HHV & LLV didn't seem to work either.

Thanks in advance.
 
Worked it out - hardly elegent, but the plot seems correct.

H1 = TimeFrameGetPrice("H",inWeekly,-1);
H2 = TimeFrameGetPrice("H",inWeekly,-2);
H3 = TimeFrameGetPrice("H",inWeekly,-3);

H12 = Max(H1,H2);
H23 = Max(H2,H3);
H3W= Max (H12,H23);

L1 = TimeFrameGetPrice("L",inWeekly,-1);
L2 = TimeFrameGetPrice("L",inWeekly,-2);
L3 = TimeFrameGetPrice("L",inWeekly,-3);

L12 = Max(L1,L2);
L23 = Max(L2,L3);
L3W = Max (L12,L23);

C3W = TimeFrameGetPrice("C",inWeekly,-1);

P = (H3W + L3W + C3W) / 3;
S1 = 2*P - H3W;
R1 = 2*P - L3W;
S2 = P - (R1 - S1);
R2 = (P - S1) + R1;
 

Attachments

  • 3WPP.JPG
    3WPP.JPG
    27.9 KB · Views: 349
Snake - there are subtle differences between amibroker and other scripting languages. amibroker code is a cross between c (style wise) and asp (vb without the declarations). as for the library of available functions that is a case of having to lookup the help files. there are similarities to metastock with functions like Ref()...

H > Ref(H, -1)

would (?) be the same in both. if you want to learn the amibroker language, have a look at the traders tips

http://www.traders.com/Documentatio...052005/TradersTips/TradersTips.html#amibroker

you will see the date (052005) in the above url, just change to whatever month/year you are interested in.

Tim
 
Top