This is unbelievably complex. I haven't even begun to try and learn the AFL language. Spent hours just trying to work out how to download data and seperate them in to Sectors. Not only that, but I managed to download the full NYSE stock list last night, but when I go in to the 'New Analysis' window, it does not show up anywhere. Are there people you can pay to come to your house and set it all up for you?
Thanks heaps guys for the feedback, but I’m really not getting anywhere. I think I need to take this one step at a time. So, if someone could explain, or point me in the direction of some instructions that a normal human being could understand that would be great. For now, all I want to know is how to download the history of ASX stocks back to 1980 from Yahoo for free and (this is the important bit) import it into Amibroker so that I can actually use it for scanning and back testing.
Any help on this would be very much appreciated.
Regards,
Kylie
If you can't manage the basics, you will struggle big time with programming and backtesting. Write Amibroker off as a small loss and just sign up to Incredible charts for free and do your scans there. The data is at least reliable on IC, whereas Yahoo's data is useless. It's ok for big US stocks, but not Aus stocks.
Btw, you don't need stock data back to 1980. Markets were very different back then and they change constantly. If you're desperate to use AB, then email Marcin or TJ for help. Try to get Marcin if you can because he is very patient, whereas TJ is very dismissive and rude with beginners.
Thanks CanOz. I was hoping I could get away from having to pay for stock data, but it sounds like Yahoo is not that great. So, I may just have to bite the bullet and subscribe to Premium Data.
Thanks CanOz. I was hoping I could get away from having to pay for stock data, but it sounds like Yahoo is not that great. So, I may just have to bite the bullet and subscribe to Premium Data.
strange behaviour in AB?
I try to change the color iof a chart plot based on the difference between 2 close values(current and previous day):
color = IIf ( Close <= (1 * Ref( Close, -1 )), colorRed, colorBlack);
Plot( C, "Close",color, styleLine | styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
please note the 1 value
all good if I use 1-> when the value is lower than the previous day, draw in red, in black otherwise.
all happy but now i want to check if the value is lower by more than 2 percent.
I replace my 1 by 1.02->2%
well now every value is red
If anyone can help: what am I missing?
Hi GB,
You'll need the bar-numbers for the x0 & x1 pivots.
PHighPriceBarNumber = ValueWhen( PHigh, BarIndex() );
PLowPriceBarNumber = ValueWhen( PLow, BarIndex() );
The LineArray function needs : x0, y0, x1, y1 (zero is the older)
x0 = ValueWhen( PHigh, BarIndex(), 2 ); // note the higher instance number
x1 = ValueWhen( PHigh, BarIndex(), 1 ); // must be a higher value --- can't draw a vertical line
See method 2 (Relative Performance) in this video:
http://www.amibroker.com/video/TwoSymbolsOneChart.html
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?