[amibroker] Re: Alerts for a Single Ticker

2007-10-23 Thread blakerandy
Thanks, Graham That did the trick. I knew there had to be a way, I just couldn't figure it out.

Re: [amibroker] Re: Alerts for a Single Ticker

2007-10-23 Thread Graham
You could try this if(Name()=="TICK.Z") { AlertIf( Tickplus800, "SOUND C:\\Windows\\Media\\TSsounds\\+800ticks.wav", "+800 Ticks",1+8 ); AlertIf( Tickminus800, "SOUND C:\\Windows\\Media\\TSsounds\\-800ticks.wav", "+800 Ticks",1+8); AlertIf( Tickplus1000, "SOUND C:\\Windows\\Media\\TSsounds\\+1000

Re: [amibroker] Re: How do I draw a horizontal line at a given price without using an array?

2007-10-23 Thread Ara Kaloustian
HighValue = Whatever your formula HV_Array = LineArray(BarCount - 50,HighValue,BarCount-1,HighValue); Plot(HV_Array,"",colorblack,styleline); - Original Message - From: "foginthehills" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 23, 2007 9:04 PM Subject: [amibroker] Re: How do I draw

Re: [amibroker] Standard Deviation

2007-10-23 Thread Graham
Use SqDev = StDev(C,20); Filter = 1; AddColumn( SqDev, "Standard Dev"); then you control what is explored (symbols, bars) in the analysis window -- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com On 24/10/2007, Conrad Smith <[EMAIL PROTECTED]> wrote: > > Okay, so I used the

Re: [amibroker] Standard Deviation

2007-10-23 Thread Ara Kaloustian
Conrad, try Filter = DateNum() == LastValue(DateNum()); This should only allow the last bar values to get through. - Original Message - From: Conrad Smith To: amibroker@yahoogroups.com Sent: Tuesday, October 23, 2007 8:45 PM Subject: Re: [amibroker] Standard Deviation Okay

[amibroker] Re: Alerts for a Single Ticker

2007-10-23 Thread blakerandy
I'm sorry but I don't understand how to do this. Reading the help files all this does is return a 1 or a 0. I have all my symbols in a watchlist already. Should the symbol be in it's own list? If so what do I do then? Thanks, Randy

[amibroker] Re: How do I draw a horizontal line at a given price without using an array?

2007-10-23 Thread foginthehills
Bill, thanks this was very helpful. How is it possible to replace the 50 in the last line with a single value (but not an array)? I want to be able to find a high value and then plot that value forward for 50 bars. I can't figure out how to get one value (such as a particular day's high) from a

Re: [amibroker] Standard Deviation

2007-10-23 Thread Conrad Smith
Okay, so I used the Stdev function, but I'm still having difficulties (surprise!). If I set the date range on the exploration to just today, it returns nothing. If I set the date range to the last 20 trading days, I get back multiple rows for each ticker. Most of which are in the past. How d

Re: [amibroker] Standard Deviation

2007-10-23 Thread Conrad Smith
Because, apparently, I'm special. :( - Original Message From: Graham <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Tuesday, October 23, 2007 9:29:25 PM Subject: Re: [amibroker] Standard Deviation Why not just use the Stdev function? -- Cheers

Re: [amibroker] Standard Deviation

2007-10-23 Thread Conrad Smith
Thanks for that tip! - Original Message From: Ara Kaloustian <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Tuesday, October 23, 2007 9:26:58 PM Subject: Re: [amibroker] Standard Deviation Your filter statement needs to be changed. Use Filt

Re: [amibroker] Standard Deviation

2007-10-23 Thread Graham
Why not just use the Stdev function? -- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com On 24/10/2007, Ara Kaloustian <[EMAIL PROTECTED]> wrote: > > Your filter statement needs to be changed. Use > > Filter =1; // This will pass all stocks > > - Original Message - > *

Re: [amibroker] Standard Deviation

2007-10-23 Thread Ara Kaloustian
Your filter statement needs to be changed. Use Filter =1; // This will pass all stocks - Original Message - From: Conrad Smith To: Amibroker Sent: Tuesday, October 23, 2007 7:41 PM Subject: [amibroker] Standard Deviation Hi guys, I'm trying to get the standard deviatio

[amibroker] Standard Deviation

2007-10-23 Thread Conrad Smith
Hi guys, I'm trying to get the standard deviation for each stocks. So far I have the following, but nothing comes back in the exploration. Period = 20; CloseTotal = Close[0]; CloseMean[0] = Close[0]; SumDeviation = 0; SqDev = 0; for( i = 0; i > Period; i++ ) { CloseTotal = CloseTotal + Clo

Re: [amibroker] Dynamic Variables

2007-10-23 Thread Ara Kaloustian
YES. for dynamic variables look in help under VarGet() and VarSet() functoins - Original Message - From: Conrad Smith To: Amibroker Sent: Tuesday, October 23, 2007 3:26 PM Subject: [amibroker] Dynamic Variables Hi, Does AFL support dynamic variable creation? My goal

[amibroker] Re: Problems with Batman.

2007-10-23 Thread Fred
I can't recreate the problem w/AB 5.01.1. However I am using an updated version of BatMan. I posted it in the files section. --- In amibroker@yahoogroups.com, "Don Lindberg" <[EMAIL PROTECTED]> wrote: > > I am running Vista Business version, and AB 5.01. I use Batman to > automatically run sev

[amibroker] Dynamic Variables

2007-10-23 Thread Conrad Smith
Hi, Does AFL support dynamic variable creation? My goal is to determine the standard deviation of one or more stocks. But I don't want to limit the time period to the number of variables that I have to write out in the formula. I'd like to take the number of periods back as a parameter and t

[amibroker] Controller Updates??? Java Version Compatability???

2007-10-23 Thread d_hanegan
Now more than ever, my IB - TWS misses Cover signals sent from Amibroker through the controller. And, the controller often locks up when it receives error messages 135 or 202 from the TWS. Is anyone else having these kinds of problems? I have noticed that several other companies have updated

[amibroker]

2007-10-23 Thread Peter Lazos
Dear people I'm having an unregistered Amibroker.I've trying in vane to import eod prices to see the programme strength but so far no good. I can download csv and metastock from cooltrader here in Australia but again I don't have an idea how to connect amibroker and cooltrader together.Anybody up

[amibroker] Re: MS Excel - accessing data in excel from AB

2007-10-23 Thread phringa
I'm not happy with this code as I'm fairly sure there is a better way to do this than iterate through the collection one at a time but it does work. Function Retrieve(sTicker As String, DateToFind As Date) Dim AB As Object Dim qt As Object Dim NumQuotes As Long Dim i As Long Dim NumQuotesRequired

[amibroker] OHLC HELP

2007-10-23 Thread Gurjeev Singh Anand
Hello, I am new to amibroker and need help to program a afl. What i want to know is how to find out Open, high, Low, Close of a candle for today's data and previous date. Plz Help Thanks Gurjeev

[amibroker] Tick data disappears from database

2007-10-23 Thread Kobus
I have a DDE feed from a futures broker. All worked fine for the past few weeks, till this morning when I opened the database I discovered all Friday data missing. I have enabled local storage in the setup since the beginning and it is still activated. Any suggestions.

[amibroker] Re: AB system into TradeSim Database

2007-10-23 Thread glennokb
Hey Hammer, Why not stick it all here for prosperity? :) http://www.amibroker.com/library/addformula.php Cheers, Glenn --- In amibroker@yahoogroups.com, "oceanchimes" <[EMAIL PROTECTED]> wrote: > > Hello Alistair, > You are correct as it is designed to work as an include file. The > followin