Re: [amibroker] CODE beautification for AFL

2007-10-04 Thread Ronald Davis
My huge stacks of AFL coding are very neat but not beautiful. I have to make sure that it stacks up nicely so that I can easily see areas where there may be a mistake. I never thought of my AFL coding as beautiful, neat maybe, but not beautiful. Ron D - Original Message -

Re: [amibroker] AmiBroker 5.01.1 BETA update (fixed)

2007-10-04 Thread Prashanth
Hello TJ, I see a small issue out here. When I want to change the Database, I used to use the Number Keypad to press the Database Number (in recently opened). This isnt working for this Beta. The Number works if used with the number above the word keypad. Please do look into the same. Thanks P

[amibroker] Re: Optimization speed increase in 5.01

2007-10-04 Thread tipequity
Tomasz, at the risk of sounding stupid, I am gonna run this idea by you. Since AB during backtest and optimizations work on a list of stocks why not have one cpu (dual core CPUs) work on symbols from top of the list and another cpu to work on symbols from the bottom of the list. Like buring can

[amibroker] AMIBROKER

2007-10-04 Thread Vinay Gakkhar.

Re: [amibroker] AmiBroker 5.01.1 BETA update (fixed)

2007-10-04 Thread Padhu
Tomasz, Do you ever rest and get some sleep? . Thanks so much for responding so quick in putting together the profiler and also fixing the ui issue. Cheers,Padhu - Original Message - From: "Tomasz Janeczko" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 8:24 PM Subject: [a

[amibroker] Optimization speed increase in 5.01

2007-10-04 Thread Tomasz Janeczko
Hello, If you are running optimizations using new version I would love to hear about the timings you get compared with old one. Note that optimization with new version may run even 2 times faster (or more), but actual speed increase depends how complex the formula is and how often system trades

[amibroker] AmiBroker 5.01.1 BETA update (fixed)

2007-10-04 Thread Tomasz Janeczko
Hello, New 5.01.1 BETA update is available. http://www.amibroker.com/devlog/2007/10/04/amibroker-5010-beta-released/ This update fixes customization loading problem that surfaced in 5.01.0. New version will load your old settings, but once you load new version it will store any further toolbar

Re: [amibroker] Re: Multiple Instances of AB Open at Once

2007-10-04 Thread Tomasz Janeczko
Are you sure you mean static variables? Static variables are stored in process memory. There are no clashes between different instances because the process memory is SEPARATE and isolated (one process can not access memory of another process (ok. not counting hooks, but that's different story))

[amibroker] Background Shading During Trades

2007-10-04 Thread progster01
Hi again. Is it possible to shade the chart background differently between the open and close of trades (as opposed to periods when your position is flat)?

[amibroker] Re: Multiple Instances of AB Open at Once

2007-10-04 Thread murthysuresh
Will running them from separate directories resolve the static variable clashes? seede --- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: > > Hello, > > This works, but only if you don't add new indicators / modify layouts. > > If you do, the instance that you exit

[amibroker] Re: CODE beautification for AFL

2007-10-04 Thread murthysuresh
found a free one. taking Tomasz Cue on C++, I found this free gui tool based on a open source libaray. http://www.geocities.com/jpattee/astylewin/Downloads.html TJ: If you can integrate a tool like this into the AFL Editor, it will be a deadly editor. i dont know what it takes to integrate the

[amibroker] Re: Multiple Instances of AB Open at Once

2007-10-04 Thread progster01
Tomasz and Ara, Thanks for the good info!

[amibroker] Re: buy/sell arrows

2007-10-04 Thread progster01
--- In amibroker@yahoogroups.com, "murthysuresh" <[EMAIL PROTECTED]> wrote: > goto the price panel, right click, properties, axes/Grid, Misc, Show > Trading arrows = Yes Bingo! Thank you.

[amibroker] Re: buy/sell arrows

2007-10-04 Thread murthysuresh
goto the price panel, right click, properties, axes/Grid, Misc, Show Trading arrows = Yes --- In amibroker@yahoogroups.com, "progster01" <[EMAIL PROTECTED]> wrote: > > I'm not seeing Buy/Sell arrows after a backtest either, despite > right-clicking and selecting 'Show Arrows for Actual Trades' in

RE: [amibroker] Re: CODE beautification for AFL

2007-10-04 Thread dingo
IMNSHO a tool like this should be used for all code in the UKB. d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko > Sent: Thursday, October 04, 2007 7:07 PM > To: amibroker@yahoogroups.com > Subject: Re: [amibroker] Re: COD

Re: [amibroker] Multiple Instances of AB Open at Once

2007-10-04 Thread Ara Kaloustian
Multiple instances are OK, but you need to be careful when using static variables. They will interfere with other instances ... - Original Message - From: "progster01" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 3:24 PM Subject: [amibroker] Multiple Instances of AB Open at

[amibroker] Re: buy/sell arrows

2007-10-04 Thread progster01
I'm not seeing Buy/Sell arrows after a backtest either, despite right-clicking and selecting 'Show Arrows for Actual Trades' in the AA window. Why could this be?

Re: [amibroker] Re: CODE beautification for AFL

2007-10-04 Thread Tomasz Janeczko
Hello, It is formatting the code so it looks nicely. For example converting from: function myfunc(x) { for(i=0;i To: Sent: Friday, October 05, 2007 1:01 AM Subject: Re: [amibroker] Re: CODE beautification for AFL > Can you explain what is meant by "code beautification" > > -- > Cheers > Gra

Re: [amibroker] Re: CODE beautification for AFL

2007-10-04 Thread Graham
Can you explain what is meant by "code beautification" -- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com On 05/10/2007, Tomasz Janeczko <[EMAIL PROTECTED]> wrote: > Thanks to the fact that AFL syntax is pretty similar to C/C++ and Java > you can actually use any C/C++ tool for

Re: [amibroker] Re: CODE beautification for AFL

2007-10-04 Thread Tomasz Janeczko
Thanks to the fact that AFL syntax is pretty similar to C/C++ and Java you can actually use any C/C++ tool for this job. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "murthysuresh" <[EMAIL PROTECTED]> To: Sent: Friday, October 05, 2007 12:50 AM Subject: [amibrok

Re: [amibroker] Toolbar customization restore, was: AmiBroker 5.01.0 BETA - "SPEED BOOST"

2007-10-04 Thread Tomasz Janeczko
Hello, > I'll bet that there's an old Polish saying along the lines of: "If you want > it right, do it yourself"? Yes you are right, but I just thought that if I buy "market leader" then it would work OK, and I would be able to concentrate on more important things than UI. OK, that's my problem

[amibroker] Re: CODE beautification for AFL

2007-10-04 Thread murthysuresh
google pointed to http://www.sqcbw.com/source-code-beautifier- formatter-indenter-tool-utility-en/ i used renamed afl as a java file and bingo- it formatted it beautifully. let me try the 30 days and see how it works seede --- In amibroker@yahoogroups.com, "dingo" <[EMAIL PROTECTED]> wrote: > >

Re: [amibroker] Multiple Instances of AB Open at Once

2007-10-04 Thread Tomasz Janeczko
Hello, This works, but only if you don't add new indicators / modify layouts. If you do, the instance that you exit as last, will overwrite all changes made to layouts. This may under some circumstances lead to "formula file not found" for layouts that were saved prior to exiting the last instanc

RE: [amibroker] AmiBroker 5.01.0 BETA - "SPEED BOOST"

2007-10-04 Thread dingo
I'll bet that there's an old Polish saying along the lines of: "If you want it right, do it yourself"? d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko > Sent: Thursday, October 04, 2007 6:27 PM > To: amibroker@yahoogroups

Re: [amibroker] AmiBroker 5.01.0 BETA - "SPEED BOOST"

2007-10-04 Thread Tomasz Janeczko
It seems that not "all" customizations but only toolbar customizations. Customization of docking panes is loaded OK. I found the reason for this: I compiled 5.01 with new version of UI library I am using and this new version uses new format for storing toolbar customizations and apparently don't

[amibroker] Multiple Instances of AB Open at Once

2007-10-04 Thread progster01
I'm noticing that I can open the program more than once, point at different databases, and all seems well. Can more experienced users confirm that this is OK to do, that the multiple instances of AB will not interfere with each other? If so, I presume that not pointing them at the same database i

RE: [amibroker] CODE beautification for AFL

2007-10-04 Thread dingo
In this particular case YOU are the tool.. d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of murthysuresh > Sent: Thursday, October 04, 2007 5:52 PM > To: amibroker@yahoogroups.com > Subject: [amibroker] CODE beautification for AFL > > Ar

[amibroker] CODE beautification for AFL

2007-10-04 Thread murthysuresh
Are there any tools that would do code beautification for AFL? Seede

Re: [amibroker] AmiBroker 5.01.0 BETA - "SPEED BOOST"

2007-10-04 Thread Tomasz Janeczko
I can confirm - this is being investigated. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "Dennis Brown" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 10:36 PM Subject: Re: [amibroker] AmiBroker 5.01.0 BETA - "SPEED BOOST" > Just a heads up. I just

Re: [amibroker] AmiBroker 5.01.0 BETA - "SPEED BOOST"

2007-10-04 Thread Tomasz Janeczko
Hello, You can copy list of functions and timings. Press Ctrl+C. Then Paste anywhere (including Excel, Notepad ) Best regards, Tomasz Janeczko amibroker.com - Original Message - From: MarkK To: amibroker@yahoogroups.com Sent: Thursday, October 04, 2007 10:49 PM Subject: RE:

RE: [amibroker] AmiBroker 5.01.0 BETA - "SPEED BOOST"

2007-10-04 Thread MarkK
AFL Editor, Tools->Code Check & Profile, Nice feature I see it also looks to see if future quotes " It seems that the formula does not reference future quotes. This is good." Is there or will there be a way to be able to export this information or save it? Right now one would have to copy w

[amibroker] symbol in IB for Crude futures contract

2007-10-04 Thread murthysuresh
Hello I am trying CLX7 NOV 07-NYMEX-FUT or CL NOV 07-NYMEX-FUT Both dont work. My IB description shows CLX7 NOV 07-NYMEX-FUT Can someone point out the correct symbol to use in AB seede

Re: [amibroker] AmiBroker 5.01.0 BETA - "SPEED BOOST"

2007-10-04 Thread Dennis Brown
Just a heads up. I just installed this and now all my custom UI elements are gone --reset back to defaults. Dennis On Oct 4, 2007, at 3:31 PM, Tomasz Janeczko wrote: > Hello, > > A new beta version (5.01.0) of AmiBroker (code name "SPEED BOOST") > has just been released. > > http://www.amib

[amibroker] AmiBroker 5.01.0 BETA - "SPEED BOOST"

2007-10-04 Thread Tomasz Janeczko
Hello, A new beta version (5.01.0) of AmiBroker (code name "SPEED BOOST") has just been released. http://www.amibroker.com/devlog/2007/10/04/amibroker-5010-beta-released/ The code name for this release is "SPEED BOOST" as it brings 2x speed increase for backtest and optimizations. This is the

Re: [amibroker] Re: Is there a way to link charts by symbol and have different timeframes?

2007-10-04 Thread Tomasz Janeczko
File->New->Linked Chart menu. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "progster01" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 8:53 PM Subject: [amibroker] Re: Is there a way to link charts by symbol and have different timeframes? > >>Is th

[amibroker] Re: Is there a way to link charts by symbol and have different timeframes?

2007-10-04 Thread progster01
>Is there a way to link charts by symbol and have different timeframes? Can this now be done? (AB 5.0)

[amibroker] please help with this code

2007-10-04 Thread ahmed
hi, this the afl code that i wish to use and the last line runs a scan can some one please modify the scan so that i get results with volume breakout (say volume more than 20% of average 15 days voulme) thanks in advance need help with just the last line. the code begins here _SECTION_BEGIN(" S

[amibroker] Re:DDE Plugin/Excel Professional 2007

2007-10-04 Thread treliff
"With USDCHF the price should be Ask 1.784 Bid 1.789 but Amibroker is rounding it up to Ask 1.18 Bid 1.18" ??? You seem very confused, this is not rounding! In case indeed your "wrong" prices are just a rounding issue have you tried increasing decimals in Tools -> Prefernces -> miscellaneous ?

Re: [amibroker] Does it matter, if I give negative x or y to GfxMoveTo and GfxLineTo?

2007-10-04 Thread Ara Kaloustian
The co-ordinates are from 0 (zero) to the highest number that your display can support . Negative numbers do not work. - Original Message - From: "pierre8rou" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 10:47 AM Subject: [amibroker] Does it matter, if I give negative x or

[amibroker] Does it matter, if I give negative x or y to GfxMoveTo and GfxLineTo?

2007-10-04 Thread pierre8rou
Hi, Does it matter, if I give negative x or y to GfxMoveTo and GfxLineTo? Will I break my PC ? ;-D Like this : GfxMoveTo(-100 , 500 ); GfxLineTo(600, 10); I ask because it's easier to compute than just positives coordinates. Thanks, Pierre

RE: [amibroker] can trade station data be imported into AB?

2007-10-04 Thread J. Biran
Thanks. Joseph Biran From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sidney Kaiser Sent: Thursday, October 04, 2007 7:30 AM To: amibroker@yahoogroups.com Subject: Re: [amibroker] can trade station data be imported into AB

RE: [amibroker] can trade station data be imported into AB?

2007-10-04 Thread J. Biran
Thanks, will look for this Joseph Biran -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko Sent: Thursday, October 04, 2007 3:53 AM To: amibroker@yahoogroups.com Subject: Re: [amibroker]

Re: [amibroker] Try to understand Exemple 4 from "Using low-level graphics functions".

2007-10-04 Thread Tomasz Janeczko
This is just scaling (converting price and date x,y to pixels) Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "pierre8rou" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 7:06 PM Subject: [amibroker] Try to understand Exemple 4 from "Using low-level graph

[amibroker] How to use indicators of lower time frame on the chart of higher time frame

2007-10-04 Thread umrperumal
Hi friends, I know how to plot the indicators of higher time frame, on the chart of lower time frame by using "TimeframeSet" and "TimeframeExpand" functions. Is it possible to do the reverse? i.e. How to plot the indicator of lower time frame on the chart of higher time frame? If possible,

[amibroker] Re:Trade Logging Software

2007-10-04 Thread jdgtrading
check out tradelog from armen comp http://www.armencomp.com/tradelog i've been using there software for the last 2-3 years and have found it very helpful. also great when it comes time to filing taxes. john

[amibroker] Try to understand Exemple 4 from "Using low-level graphics functions".

2007-10-04 Thread pierre8rou
Hi, Try to understand Exemple 4 from "Using low-level graphics functions". And more specially this code : for( i = 0; i < TotalBars AND i < ( BarCount - fvb ); i++ ) { x = 5 + i * (pxwidth - axisarea - 10) / ( TotalBars + 1 ); y = 5 + ( C[ i + fvb ] - Miny ) * ( pxheight - 10 )/ ( Maxy -

[amibroker] GetBacktestMode ?

2007-10-04 Thread david.weilmuenster
Hi, Sorry if this is in the documentation, but I could not find it. Is there a function that returns the value set by SetBacktestMode? Thanks, david

Re: [amibroker] can trade station data be imported into AB?

2007-10-04 Thread Sidney Kaiser
For Tradestation, select your data chart, bring up the data in the Tradestation data window, save by clicking on the icon. This is ASCII data. In AB, setup the import wizard for the data fields and types you want, save the field definitions so you only have to do this once. Import the dat

Re: [amibroker] DOWNLOADING DAILY EOD DATA

2007-10-04 Thread mohany1
Current data from yahoo gives OHLC values for that day upto that point of time (with 20(??) minute delay). So if I download current data at 2PM, I will get open value at 9:30am, High & low values between 9:30am & 2 pm and close value at 2PM. If you download current data at 6PM , theoretically yo

[amibroker] DOWNLOADING DAILY EOD DATA

2007-10-04 Thread Vinay Gakkhar.
Dear Prashanth, Thanks for the useful advise. vinay On Thu, 04 Oct 2007 18:54:52 +0530, Prashanth <[EMAIL PROTECTED]> wrote: > Hello, > > Seems you were right. Well, for me Historical Import of even a month of > data doesnt take too much time. > > I would rather suggest that instead of us

Re: [amibroker] DOWNLOADING DAILY EOD DATA

2007-10-04 Thread Prashanth
Hello, Seems you were right. Well, for me Historical Import of even a month of data doesnt take too much time. I would rather suggest that instead of using Yahoo Data, you can use data provided by bse-nse2005 yahoo group since it encompasses all data - NSE, BSE, Futures and Options. Cheers

[amibroker] DOWNLOADING DAILY EOD DATA

2007-10-04 Thread Vinay Gakkhar.
Dear Prashanth, Today at 6 pm when I downloaded from Yahoo Current for today's EOD data, I got end-of-bar data, so the figures I got for open, high, low & close were the same. I did not get end-of-day data. Kindly try to suggest some other working method. Thanks, vinay --- Forwarded me

[amibroker] DOWNLOADING DAILY EOD DATA

2007-10-04 Thread Vinay Gakkhar.

Re: [amibroker] Re: File Not Found Again

2007-10-04 Thread Tomasz Janeczko
You can run several instances but you should be doing that from SEPARATE directories, otherwise if you modify layouts (insert/delete indicators) in each instance running from same directory the edits you made in one instance are later overwritten by another and you end up in messing things up.

Re: [amibroker] Re: File Not Found Again

2007-10-04 Thread [EMAIL PROTECTED]
Yes, I normally have several instances of amibroker running at the same time. What happened when I am running several instances? --- Tomasz Janeczko <[EMAIL PROTECTED]> wrote: > Hello, > > File not found means that file that is referenced by > the template/layout does not exist > (i.e. it has not

Re: [amibroker] can trade station data be imported into AB?

2007-10-04 Thread Tomasz Janeczko
Hello, You would need TradeStation (omz) to ASCII converter and then use AmiBroker ASCII import wizard. Use Google to find "tradestation to ascii converter" - it returns a couple of links to converters. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "J. Biran" <

RE: [amibroker] can trade station data be imported into AB?

2007-10-04 Thread J. Biran
Has anybody tried to import Trade station intraday data into Ami Broker? Joseph Biran

Re: [amibroker] Re: File Not Found Again

2007-10-04 Thread Tomasz Janeczko
Hello, File not found means that file that is referenced by the template/layout does not exist (i.e. it has not been saved under given name or was saved in different directory). You can use Windows File Find to locate it. But it should never happen unless you are doing something weird. Are you

[amibroker] Re:DDE Plugin/Excel Professional 2007

2007-10-04 Thread jtjpforex
Hello Firstly when connecting to MT4 there are no problems and there never has been, I have never wanted to use the DDE in MT4 because the prices are different than my brokers trading platform. I have started the DDE server on my Finatek Powered trading platform and have opened Excel Professional