[amibroker] 50% CPU limit

2010-03-11 Thread Adrian Mollenhorst
I am using a system for Amibroker only, and frequently have 10+ charts open at a time. I set my charts to a 0 seconds (every tick), but this refresh will throttle back to ensure the application does not use more than an average 50%. From the Help File: Once you enter zero, AmiBroker will refresh a

[amibroker] ODBCa, Windows 7 64bit and AmiBroker 32bit

2010-03-11 Thread longt3rm
Would anyone have ideas / suggestions on using ODBCa on Windows 7 64bit with AmiBroker 32bit? I'm receiving the following in DebugView: [1424] The specified DSN contains an architecture mismatch between the Driver and Application Microsoft.com indicates this is due to conflicts between 32 and 6

[amibroker] AlertIf

2010-03-11 Thread jollypollyanna
Greetings, For all newbies I have provided an example of a working AlertIf arrangement. I set Amibroker to a 1 min. chart and in Automatic Analysis I set "Periodicity" to 1 min. AND ticked "Run every" : 1 min. (change to suit yourself) In Tools->Preferences->Alerts I have Automatic Analysis t

[amibroker] Re: Stoploss that moves to break-even point and stays there

2010-03-11 Thread rink
Hi mike i saw tomasz example but i couldn't make correct formula, will you help me to write the formula? please --- In amibroker@yahoogroups.com, "Mike" wrote: > > Hi, > > I suspect that my previous post was mistaken, and that you would in fact need to use a loop for the scenario being des

Re: [amibroker] Few Newbie Questions re: yahoo data

2010-03-11 Thread L V Gandhi
Dear Vernon, Your writings are very good. I hope many will agree that It is reflection of many retired and would like to really enjoy their retirement. On Thu, Mar 11, 2010 at 8:20 AM, vernon wrote: > > > Patrick - > Thank you for the info! I DO appreciate it. My problem is I DO want to > reti

[amibroker] lost

2010-03-11 Thread rhw8
I opened my Amibroker and found that all my chart layouts and all my watchlists are gone. What a disaster. Any way to recover?

[amibroker] Re: General questions about amibroker

2010-03-11 Thread Mike
Hi, I suspect that the lack of response is due to the fact that your post seems to span multiple areas of expertise. The scenarios of your questions suggest real time live trading. Yet, the questions themselves are phrased as backtesting. AmiBroker backtesting operates on a predefined range of

[amibroker] Re: Request for Code Review

2010-03-11 Thread longt3rm
Oops, I forgot the big question: Is there a way to read one file and load the contents of the file into the array for each ticker in the file? Bill --- In amibroker@yahoogroups.com, "longt3rm" wrote: > > Hello, > > I'm slowly grasping AFL; really slowly. ;-) > > The code below looks for a te

[amibroker] Request for Code Review

2010-03-11 Thread longt3rm
Hello, I'm slowly grasping AFL; really slowly. ;-) The code below looks for a text file for the date of the current bar, if it finds the ticker, it goes long. Would anyone have comments / suggestions on improvements? Specifically, I am wondering if traversing the bars is necessary or if there

[amibroker] Re: Can a macro or visual basic program be used to change AFL parameters?

2010-03-11 Thread Barry
Thanks, I don't think you have missed anything. I tried every way I could think of years ago but was not able to get Macro Express to work. Unless Tomasz had changed something in the parameters I doubt a keyboard macro will work but I had to ask. I force a refresh every second and I am tradi

Re: Fw: [amibroker] Multiple Time Frames

2010-03-11 Thread Daphne Renault
Thanks for the link, but it does not solve my problem. What is described there, is to use information of a larger time frame on a smaller. But I want the opposite. Information of a smaller time frame on a larger, the EOD-Value of an intraday MA on a daily time frame. Regards, Daphne --- On Thu,

[amibroker] Re: General questions about amibroker

2010-03-11 Thread pipadder
Since it has already been a few days I am going to bump this post, it appears it went unnoticed the first time :).

[amibroker] Re: newbie

2010-03-11 Thread nunopires2001
What is your question? You don't have any stop condition on your code. --- In amibroker@yahoogroups.com, "fcampuzan" wrote: > > Hello to everybody, > > I am a newbie and have a question relating to an amibroker code that gives > absurd results. I hope i post this message in the good section.The

Re: [amibroker] Re: Database settings and the amount of data saved

2010-03-11 Thread Tomasz Janeczko
Hello, It was mentioned many times in the past. Single quotation bar is 40 bytes. 8MB divided by 40 bytes is 20 data bars. Best regards, Tomasz Janeczko amibroker.com On 2010-03-11 12:29, Rob wrote: > TJ, > > what's the back of the envelope calculation we should do to work out if our > DB d

Re: [amibroker] Re: Database settings and the amount of data saved

2010-03-11 Thread Magesh
Thank you Tomasz. I perfectly understand and agree with your points on physical limitations. May be I didn't frame my question the right way on trying to overcome virtual limits, please excuse my beginner's ignorance. Am just a month old with AmiBroker, and since day 1 I started using AB, my t

[amibroker] Re: Database settings and the amount of data saved

2010-03-11 Thread Rob
TJ, what's the back of the envelope calculation we should do to work out if our DB data set fits into on board CPU cache...?? For example, if I have an 8MB L2 Cache... how many bars can I fit into that comfortably...? Many Thanks --- In amibroker@yahoogroups.com, Tomasz Janeczko wrote: > > He

Re: [amibroker] Re: Database settings and the amount of data saved

2010-03-11 Thread Tomasz Janeczko
Hello, There is no such thing as "no limit". Your HARDWARE IS LIMITED, 3rd party data vendor HAS LIMITS on amounts of data sent. The limits are there for a reason. To allow smooth REAL TIME OPERATION. If you override limits you are shooting yourself in a foot and will face problems with real-t

Re: [amibroker] Help: MetaStock's IsDefined

2010-03-11 Thread Tomasz Janeczko
Hello, New beta version has typeof() operator http://www.amibroker.com/guide/keyword/typeof.html So you could use it that way: if( typeof( variable ) == "undefined" ) { } If you rather looking for Nulls (which are semantically different than undefined), then use IsNull function. Best regar

[amibroker] Re: Database settings and the amount of data saved

2010-03-11 Thread Magesh
Some how my mails aren't getting through into the group. Hoping to get luckier this time. Thanks to supp...@amibroker.com, for I got clarity on this mail that # of Bar limitations is meant only for plugin-driven databases. Though that solved my worries, as I use a local database for caching RT

Re: [amibroker] Few Newbie Questions re: yahoo data

2010-03-11 Thread NW Trader
Hi Bill, I suppose you are right, however if one is updating daily with the current day feed (much faster and available earlier than historical) the data is not adjusted. You either have to do that chore yourself, or periodically (weekly??) re-download your entire symbol list from the historic

Re: Fw: [amibroker] Multiple Time Frames

2010-03-11 Thread Reinsley
Hi, Did you see this page "Multiple Time-frame indicators by TJ" ? http://www.amibroker.com/docs/MTFIndicators.html Hope it helps... :-) Best regards Le 10/03/2010 22:47, Daphne Renault a écrit : Any ideas on what might be the issue here? Thanks, Daphne --- On *Sat, 3/6/10, Daphne Rena

Re: [amibroker] Few Newbie Questions re: yahoo data

2010-03-11 Thread vernon
Thanks - I will look at the archives. However, I think Patrick pretty well answered my question. Thanks, again for responding. -- ENJOY LIFE!! Keep it SIMPLE!! > -Original Message- > From: fim...@stocktiger.com > Sent: Tue, 9 Mar 2010 19:48:41 -0500 > To: amibroker@yahoogroups.com > S

{Resending}] Re: [amibroker] Few Newbie Questions re: yahoo data

2010-03-11 Thread NW Trader
Hi Bill, I suppose you are right, however if one is updating daily with the current day feed (much faster and available earlier than historical) the data is not adjusted. You either have to do that chore yourself, or periodically (weekly??) re-download your entire symbol list from the historic

[amibroker] newbie

2010-03-11 Thread fcampuzan
Hello to everybody, I am a newbie and have a question relating to an amibroker code that gives absurd results. I hope i post this message in the good section.The problem comes when I had the volatily stop piece of code. Here is the "complete" code: Buy = Close > 15 AND Close > Ref( HH

[amibroker] newbie (2)

2010-03-11 Thread fcampuzan
I made a mistake, the complete code that gives absurd results is: Buy = Close > 15 AND Close > Ref( HHV( Close , 250 ) , -1 ) AND Volume > 10; Sell = Close < MA( Close , 100 ); PositionSize = -1.5 * BuyPrice/(2*ATR(20)); ApplyStop( stopTypeLoss, stopModePoint, 2 * ATR(

[amibroker] Help: MetaStock's IsDefined

2010-03-11 Thread Mubashar Virk
Hi, What is the AB equivalent for MetaStock's "*IsDefined*" function? Thanks

[amibroker] help required for include#

2010-03-11 Thread Ash
Hi, Below is the code to find dominant cycle using jhon ehler's formula's. Now I want to create a new afl and use this cycle period to calculate other indicator like rsi or cci or other .. Can anybody help me becaus when i write afl like this : #include Med = (H+L)/2; RSI(CyclePeriod(Med, .07)