[amibroker] Re: Probably silly coding error;

2008-10-11 Thread Barry Scarborough
The reason that you can't do trend1=ADX()[0]>ADX()[1]; is that it is not legal to index a function call. You have to get the results from the call placed in an array and then look at the elements. As Mike said you DO NOT want to use array subscripts if you can avoid it. There are a couple of r

[amibroker] Re: Index components and ETF watchlists

2008-10-11 Thread Tim
Thank you Howard, very useful. Regards, Tim

Re: [amibroker] OT: Making $$ in today's Economic Crisis

2008-10-11 Thread wavemechanic
Trading, not investing, works fine using leveraged index ETFs and bull/bear spreads with signals generated by EW/Gann confirmed by standard charting TA. Bill - Original Message - From: Ken Close To: amibroker@yahoogroups.com Sent: Saturday, October 11, 2008 1:32 PM Subject: [

[amibroker] Re: Probably silly coding error;

2008-10-11 Thread Mike
Hi, I doubt that you want to use hard coded element references like that. You are effectively stating that you want to know if the ADX of exactly the second bar is greater than that of exactly the first bar, regardless of what bar you happen to be on at the time of evaluation (e.g. even if you

[amibroker] Update on the printing and shipping schedule for Introduction to AmiBroker

2008-10-11 Thread Howard Bandy
Greetings all -- My printer informed me today that "Introduction to AmiBroker" is entering the printing process next week. This book is larger (608 pages) than Quantitative Trading Systems. It will be bound as a "lay-flat" perfect-bound book, which means that you can open the book flat without b

[amibroker] Index components and ETF watchlists

2008-10-11 Thread Howard Bandy
Greetings all -- I updated my lists of index components and high liquidity (1,000,000 shares and over traded per day) ETFs today. You can download a Zip file containing them from either of the following URLs. Scroll down to the "Ticker" section. (The two are identical) http://www.introductiont

Re: [amibroker] Re: Problem with ADK Sample.dll

2008-10-11 Thread Howard B
Hi Pete -- What do you mean when you say that you cannot get a standard moving average to work on ExampleZScore? Can you post a few lines of AFL that illustrate what you are trying to do that does not work? Thanks, Howard On Sat, Oct 11, 2008 at 5:08 PM, Pete <[EMAIL PROTECTED]> wrote: > Ho

[amibroker] Plotshapes above H offset at all time frames.

2008-10-11 Thread bartvandyk
Hi, I downloaded the NRx formula from the library and changed the plotshapes to go with an an offset so all NRx's are above the High. This all works well on a two day 15 min graph, but as soon as I change to a 1 day interval, all plotshapes are squised together. Is there a way to make the offset dy

[amibroker] Re: Problem with ADK Sample.dll

2008-10-11 Thread Pete
Howard, Well, there are two sides to this issue. One is the fact I cannot get a standard built-in moving average to work on ExampleZscore. I have to use ExampleMA to get any moving average of ExampleZscore to work. The other side of the problem is I cannot get ExampleEMA to work at all. I figure th

[amibroker] Re: Yahoo gold, silver, U$ index

2008-10-11 Thread brian_z111
Hello Richard, You can also get after hours futures prices... intraday 1 or 5 days only... 24 hour charts ... note the futures market opens late Sunday evening for a few hours so you get a small section of the chart for Sunday: YahooUSA >> Investing [tab] >> Market Stats [dropdown menu] >> scr

[amibroker] Re: OT: Making $$ in today's Economic Crisis

2008-10-11 Thread brian_z111
Hello Ken, I agree that the community is a pool of trading experience if people do want to share it. the difficulty is confining it to trade talk and not politics. > How has the turmoil in your local > economy/exchange/country influenced how you trade and what your >more recent > performa

[amibroker] Re: Disregard function question

2008-10-11 Thread interfool
Yeah, I am aware of that, Anthony. I have several AddColumn and AddTextColumn statements in my code, but that error keeps coming up when I run the exploration. Also, AddColumn statements don't seem to work when within a function. That does not make sense to me either. Any ideas? Thanks, interfoo

[amibroker] Re: Stocks won't update

2008-10-11 Thread interfool
I found a temporary fix for this. You can bring up information on the symbol and then set "Use only local database" to No. Then the stock will update normally. However, I'd like to make that setting global. Anyone know how to do that? Gracias interfool --- In amibroker@yahoogroups.com, "interfoo

Re: [amibroker] Re: Disregard function question

2008-10-11 Thread Anthony Faragasso
Hello, When using Addcolumn you should not need Numcolumnsthat was required in earlier releases of Amibroker..and is there for backward compatability... Anthony - Original Message - From: interfool To: amibroker@yahoogroups.com Sent: Saturday, October 11, 2008 4:12 PM S

[amibroker] Re: Disregard function question

2008-10-11 Thread interfool
This started AGAIN! See my latest post on 10/11. It's requiring numcolumns. --- In amibroker@yahoogroups.com, "interfool" <[EMAIL PROTECTED]> wrote: > > Please disregard my previous question regarding function usage. It > suddenly started working, although I can't see what changed. Has > somethi

[amibroker] Numcolumns error reoccuring

2008-10-11 Thread interfool
Hi, all. I posted an earlier comment about having a problem with an exploration requiring numcolumns to be present when using AddColumn/AddTextColumn within a function prior to my for loop code. The problem went away, so I posted another message saying to ignore it. Well, somehow it's back and I ca

[amibroker] OT: Making $$ in today's Economic Crisis

2008-10-11 Thread Ken Close
I realize that this is off topic, but this list has two characteristics that make this post potentially interesting as well as relevant. We have members from all over the world, representing participants and citizens in many, many countries. We also have members who trade differently using diff

[amibroker] Re: Yahoo gold, silver, U$ index

2008-10-11 Thread bilbo0211
Indexes tracking mining and metals shares: ^XAU - Gold & Silver Index ^HUI - Gold & Silver Index ^GOX - Gold Index Commodity based ETF's: GLD Gold IAU Gold DBO Oil DBP Precious Metal DBS Silver DGL Gold PHO Water SLV Silver USO US Oil UNG US Nat Gas UOR

[amibroker] Re: Yahoo gold, silver, U$ index

2008-10-11 Thread marketmonk777
Hi, The only way that I know how to find particular symbols at Yahoo is to type in a key word like Gold into the symbol box. As you type in letters Yahoo does it's best to perform a lookup of various symbols that start with those letters. Don't worry about the list Yahoo generates when you are

Re: [amibroker] Re: Probably silly coding error;

2008-10-11 Thread Tony Grimes
Well, maybe this might make it a little clearer. O,H,L,C are part of the price array, so the elements are accessible. ADX() is a function, not an array. You have to create an array filled with the results of the ADX function. On Sat, Oct 11, 2008 at 9:40 AM, noemeenswat <[EMAIL PROTECTED]> wrote:

[amibroker] Re: Probably silly coding error;

2008-10-11 Thread noemeenswat
Ok, I can see some logic in that. Thanks for the explanation. grtnx Wilco --- In amibroker@yahoogroups.com, "Tony Grimes" <[EMAIL PROTECTED]> wrote: > > You can't use it "directly", because it hasn't been initialized (created) > yet. You got to call it at least once, before you try and access

Re: [amibroker] Re: Probably silly coding error;

2008-10-11 Thread Tony Grimes
You can't use it "directly", because it hasn't been initialized (created) yet. You got to call it at least once, before you try and access its elements. On Sat, Oct 11, 2008 at 8:55 AM, noemeenswat <[EMAIL PROTECTED]> wrote: > Thanks, > Works like a charm. Can you, or some-one else, explain me

[amibroker] Re: Probably silly coding error;

2008-10-11 Thread noemeenswat
Thanks, Works like a charm. Can you, or some-one else, explain me why I can't use ADX() directly to determine the trend? grtnx Wilco --- In amibroker@yahoogroups.com, "Tony Grimes" <[EMAIL PROTECTED]> wrote: > > Try This: > > myADX = ADX(); > trend1 = MyADX[0] > myADX[1]; > > > On Sat, Oct

Re: [amibroker] Probably silly coding error;

2008-10-11 Thread Tony Grimes
Try This: myADX = ADX(); trend1 = MyADX[0] > myADX[1]; On Sat, Oct 11, 2008 at 8:27 AM, noemeenswat <[EMAIL PROTECTED]> wrote: > I want to determine or ADX is uptrending or downtrending. Therfore I > coded: > > trend1=ADX()[0]>ADX()[1]; > > This should result in a true or false for trend1 dep

[amibroker] Re: Flexible Timeframes

2008-10-11 Thread noemeenswat
Excellent, that's what I was looking for! Thanks Wilco --- In amibroker@yahoogroups.com, Dennis Brown <[EMAIL PROTECTED]> wrote: > > Interval() function > > Best regards, > Dennis > > On Oct 11, 2008, at 7:40 AM, noemeenswat wrote: > > > Hello, > > > > Can I conclude from the lack of response

[amibroker] Probably silly coding error;

2008-10-11 Thread noemeenswat
I want to determine or ADX is uptrending or downtrending. Therfore I coded: trend1=ADX()[0]>ADX()[1]; This should result in a true or false for trend1 depending on trenddirection of ADX. It gives however a consistent error 30 syntax error. If I replace ADX() by H, C etc it works fine. Can som

Re: [amibroker] Re: Flexible Timeframes

2008-10-11 Thread Dennis Brown
Interval() function Best regards, Dennis On Oct 11, 2008, at 7:40 AM, noemeenswat wrote: > Hello, > > Can I conclude from the lack of response that there's no way to > retrieve the default timeframe? > > Thanks > Wilco > > > --- In amibroker@yahoogroups.com, "noemeenswat" <[EMAIL PROTECTED]> > w

Re: [amibroker] Re: Flexible Timeframes

2008-10-11 Thread Bill S
Have you tried using "Interval()"? On Sat, Oct 11, 2008 at 7:40 AM, noemeenswat <[EMAIL PROTECTED]> wrote: > Hello, > > Can I conclude from the lack of response that there's no way to > retrieve the default timeframe? > > Thanks > Wilco > > --- In amibroker@yahoogroups.com , > "noemeenswat" <[E

[amibroker] Re: Flexible Timeframes

2008-10-11 Thread noemeenswat
Hello, Can I conclude from the lack of response that there's no way to retrieve the default timeframe? Thanks Wilco --- In amibroker@yahoogroups.com, "noemeenswat" <[EMAIL PROTECTED]> wrote: > > Hello, > > I've create an indicator that uses different timeframes based on > code in the manual

[amibroker] Yahoo gold, silver, U$ index

2008-10-11 Thread richpach2
Hello, I searched this forum for Yahoo ticker symbols for Gold, Silver and U$ Index. I found a few discussions on this subject but not any working tickers. Has this ever been resolved? Is it possible to get Yahoo data for these with reasonable amount of history? What anyone using to get data for G