Re: [amibroker] Help with Static vars

2007-01-13 Thread Mark Jarvis
Try an 'if statement', which is how I use these things. if(lastvalue(longentry)) {StaticVarSet("aaa",lastvalue(Longentry); } The StaticVarSet will now only be triggered if longentry is true Mark On 13/01/07, Wes Smith <[EMAIL PROTECTED]> wrote: Thanks Graham, But I think StaticVarSet("aaa",

[amibroker] Group, sector & industry names

2007-01-13 Thread Gary
I remember reading something about assigning/changing groupname programmatically through AFL, I think this question was raised by Graham. I was trying to search through the messages to find whether there is a solution to this, but I couldn't find it. I had this problem and still trying to find a

[amibroker] Group, sector & industry names

2007-01-13 Thread Gary
I remember reading something about assigning/changing groupname programmatically through AFL, I think this question was raised by Graham. I was trying to search through the messages to find whether there is a solution to this, but I couldn't find it. I had this problem and still trying to find a

[amibroker] Re: Problem importing a csv file.

2007-01-13 Thread Barry Scarborough
On your import of data you did not mention a ticker column. I assume the ticker is a composite. AB has to know what file to update on import. First, you can not have negative volume or issues data. I have a file that I use for advances and declines and I use Excel to change the high and low

RE: [amibroker] Closing AB / QP database - (WIN XP)

2007-01-13 Thread Ken Close
Ara: I experience this off and on, not consistently. I have not figured out what steps cause it to happen or prevent it from happening. For awhile, before updating QP and after shutting down AB, I would open Task Manager and look for broker.exe. Sometimes I found it, and clicked End Process, ot

[amibroker] Backtesting a scalping system

2007-01-13 Thread dralexchambers
Hi, I need some help with backtesting a trading system I am considering using: I have a data feed for 15min GBPUSD data. I class each day at starting at 14:00 and ending at 13:45 the next day. My buy point for the next day is the midpoint of the previous day: (High from previous 14:00 to 13:4

[amibroker] Re: loop counter

2007-01-13 Thread klaus_korneker
Hello, sorry for my late reply. I was away the last days. I want to say Thank you to all of you ! You are very helpful ! --- In amibroker@yahoogroups.com, "discuslorraine" <[EMAIL PROTECTED]> wrote: > > Hello, > > I see two errors in you code: > - return should be Count and not cpt > - argume

[amibroker] Re: Difference between Exrem and Flip

2007-01-13 Thread booker_1324
Thank you Terry. Now I understand the difference. Booker --- In amibroker@yahoogroups.com, "Terry" <[EMAIL PROTECTED]> wrote: > > Example: > > Buy = b > Sell = s > No signal = n > True = 1 > False = 0 > > Hypothetical signals: > b n b n n n b n n s n b > > After ExRem: > > 1 0 0 0 0 0 0 0 0

[amibroker] Chart question

2007-01-13 Thread danielwardadams
Is there any way to color the area under a curve only when it is above a certain value? I'm trying to do what they do with the RSI function at stockcharts.com. IFF RSI > 70, they color the area between 70 and the curve. TIA, Dan

Re: [amibroker] Closing AB / QP database - (WIN XP)

2007-01-13 Thread Tomasz Janeczko
Hello, Quotes Plus instructions say: close all applications using QP2 prior to doing database update. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: Ken Close To: amibroker@yahoogroups.com Sent: Saturday, January 13, 2007 3:24 PM Subject: RE: [amibrok

[amibroker] Re: Chart question

2007-01-13 Thread trb0428
Dan, try this: Plot( RSI(12), "RSI(12)", colorWhite); r = RSI(12); PlotOHLC( r,r,50,r, "", IIf( r > 50, colorRed, colorBrightGreen ), styleCloud | styleNoLabel | styleClipMinMax, 40, 65 ); regards, Tom --- In amibroker@yahoogroups.com, "danielwardadams" <[EMAIL PROTECTED]> wrote: > > Is ther

Re: [amibroker] Group, sector & industry name

2007-01-13 Thread Graham
You can change the industry names by double clicking on the name in symbols workspace (view-symbols) -- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 13/01/07, Gary <[EMAIL PROTECTED]> wrote: I remember readi

RE: [amibroker] Closing AB / QP database - (WIN XP)

2007-01-13 Thread Ken Close
Tomasz: That was not the point of the message. The observed behavior is that one closes AB by either Exiting or clicking the close window/program box, and AB seems to exit normally. It does not show up in the list of running Applications in Task Manager, but it SOMETIMES remains and shows up wh

RE: [amibroker] Closing AB / QP database - (WIN XP)

2007-01-13 Thread MarkK
Ken, Yes I can say that happens and have been told by others to watch out of it too They are "ghosts" Mark _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ken Close Sent: Saturday, January 13, 2007 3:54 PM To: amibroker@yahoogroups.com Subject: RE: [am

[amibroker] Re: Group, sector & industry names

2007-01-13 Thread areehoi
The easiest way to so this is Go to Symbols> then to Catagories> then to Industry and to the one you want to change, click on Edit and change name. Curious ... why would you want to change name?? If you are using the Yahoo (Hemscott) ot IBD I would see no need to change. On second problem you shou

Re: [amibroker] Closing AB / QP database - (WIN XP)

2007-01-13 Thread Tomasz Janeczko
Hello, This can happen only if any plugin is locking on some external resource and can not be unloaded. It can be also external OLE script not finished yet (for example you have run OLE script that opened OLE automation but did not finish yet). Best regards, Tomasz Janeczko amibroker.com ---

[amibroker] AA Feature

2007-01-13 Thread troll
Thanks Lester for your earlier post re versions 4.88 & higher which allow sync viewing with down arrow keys in AA window. Very nice feature as well as new sort column functions. Any options to hide Folder tabs at top of chart panes in 4.89 Beta ? - very minor point really considering abundance of

[amibroker] AFL - Month() function

2007-01-13 Thread Ara Kaloustian
I am having problems with using: _TRACE(" Month " + Month() + " Last month " + Ref(Month(),-1)); Used above statement in 2 different indicators, after fresh reboot. Both Month() and Ref(Month(),-1) give the same result. Correct result for Month(), but incorrect for Ref(Month(),-1). Would s

Re: [amibroker] Closing AB / QP database - (WIN XP)

2007-01-13 Thread Ara Kaloustian
Tomasz, I am using external OLE during this process. Downloading and processing QP data is the first step, followed by additional processing within AB ... such as building ATC etc when process gets that far. In your comments you referred to: " if any plugin is locking on some external resou

[amibroker] Re: Group, sector & industry names

2007-01-13 Thread Gary
Thanks for the replies Graham and areehoi I was hoping to do this procedure programmatically rather than manually done as I run my script everyday scanning and importing data from Bloomberg terminal. Many of the sectors/industries categorized using commas, so the original formats have comma inc

Re: [amibroker] AA Feature

2007-01-13 Thread Tomasz Janeczko
Hello, > > Any options to hide Folder tabs at top of chart panes in 4.89 Beta ? > - very minor point really considering abundance of features -- Read the "readme" - it is explained how to hide tabs. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "troll" <[EMA

Re: [amibroker] Re: Index Volume Issue - Yahoo Data

2007-01-13 Thread David Fitch
I have been using TJs suggestion to preclude large volume indexes from being cut off or at least looking that way. But the results for some composites as well as thinly traded stocks is less than satisfying. I notice in the help files that format factors can be imbedded in data files but I'm no

[amibroker] Re: AFL - Month() function

2007-01-13 Thread trb0428
Hi Ara, I have tried this with the same results that you reportnot sure why it does not workthe help says that it returns an array...but I think it means to say that it is an array holding the same number in every position. You could do something like this as a possible work-around: m

Re: [amibroker] Re: AFL - Month() function

2007-01-13 Thread Mark Jarvis
Hi, ref(month(),-1) doesn't return the previous month value. It returns the previous bars value of month. So, assume these are your dates Date Month() 31/Dec 12 1/Jan 1 2/Jan 1 3/Jan 1 4/Jan 1 5/Jan 1 So, if your current bar is 4/Jan, then month and ref(month(

[amibroker] Another Hard Bounce

2007-01-13 Thread Keith McCombs
Yahoo again interrupted my email receipt of Amibroker group postings. This has happened to me at least a half dozen times and they always blame a "Hard Bounce". I know that this has happened in the past to other Amibroker group members as well. I posted the following feedback with Yahoo. I

Re: [amibroker] Another Hard Bounce

2007-01-13 Thread mrdavis9
Keith, I used to NOT respond when I was NOT experiencing a problem, and sometimes, Yahoo would shut me out anyway. Now, I have started responding to every Yahoo Notice, even when I don't experience any problems, and it has worked so far in keeping the emails coming. Ron D - Original

RE: [amibroker] Another Hard Bounce

2007-01-13 Thread J. Biran
what notice are you referring to? I have never seen a notice from yahoo, just the messages from yahoo groups stop arriving... Only if I send a test message to yahoo groups and I am locked out I get a message. by then it is too late. Joseph Biran

Re: [amibroker] Another Hard Bounce

2007-01-13 Thread mrdavis9
I can't remember the exact wording , but it looked kind of like a generalized notice that was designed to look for inactive email addresses, so if you don't respond, they assume that your email address is not being actively used, and they then shut your out. It was not a hard bounce notice. Ro