Re: [amibroker] Re: ASCii Import - How To Import Last Line of Data Only

2009-11-13 Thread Robert Chevallier
Another way could be to use the tail utility in a command line batch (see for instance http://sourceforge.net/projects/unxutils/) and use to 1st create files with just the last line (tail -n 1 * file-alllines* *file-lastline* ) and use these files for import 2009/11/13 lesv99

Re: [amibroker] Walk Forward Test - How would you...

2009-11-13 Thread Howard B
Hi Dubi -- What is SPSO? Thanks, Howard On Wed, Nov 11, 2009 at 9:07 AM, dubi1974 gonzale...@chello.at wrote: Hi! Is it possible to optimize a system (for e.g. best net performance %) with SPSO but then use the highest Ulcer Performance Index or CAR/MDD and use then this parameters for

[amibroker] Re: Walk Forward Test - How would you...

2009-11-13 Thread Bisto
I suppose: Standard Particle Swarm Optimization Bisto --- In amibroker@yahoogroups.com, Howard B howardba...@... wrote: Hi Dubi -- What is SPSO? Thanks, Howard On Wed, Nov 11, 2009 at 9:07 AM, dubi1974 gonzale...@... wrote: Hi! Is it possible to optimize a system (for

Re: [amibroker] Re: Walk Forward Test - How would you...

2009-11-13 Thread Howard B
Hi Bisto -- Thanks. From the original posting, I was thinking that SPSO was a metric. Dubi -- The choice of optimization method (exhaustive, cmae, ...) and metric (Ulcer Index, CAR/MDD, k-ratio, ...) are independent. The optimization portion of the walk forward will be carried out using the

[amibroker] Re: Database

2009-11-13 Thread dubi1974
Hi Levi, you do not have to change database. If you go to Categories and Groups you can identify different groups with their own intraday settings: Look here: http://amibroker.net/guide/w_dbsettings.html So you can use one for Eurex, one for CME, one for Forex etc. This works quite fine for

[amibroker] Re: database intra day settings

2009-11-13 Thread dubi1974
Hi Levi, you do not have to change database. If you go to Categories and Groups you can identify different groups with their own intraday settings: Look here: http://amibroker.net/guide/w_dbsettings.html So you can use one for Eurex, one for CME, one for Forex etc. This works quite fine for

[amibroker] License Error please help

2009-11-13 Thread khaleel
When i try to launch Amibroker v5.29 i am getting this error message License Error (please contact supp...@amibroker.com). can some body help me Thanx much inadvance khaleel

Re: [amibroker] License Error please help

2009-11-13 Thread Prashanth K
Write to SUPPORT {at} amibroker.com cheers Prashanth On Fri, Nov 13, 2009 at 8:34 PM, khaleel indbe...@gmail.com wrote: When i try to launch Amibroker v5.29 i am getting this error message License Error (please contact supp...@amibroker.com). can some body help me Thanx much inadvance

Re: [amibroker] License Error please help

2009-11-13 Thread Tomasz Janeczko
As written in the error message CONTACT SUPPORT directly, *not* the mailing list. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: khaleel indbe...@gmail.com To: amibroker@yahoogroups.com Sent: Friday, November 13, 2009 4:04 PM Subject: [amibroker] License Error

Re: [amibroker] Walk Forward Test - How would you...

2009-11-13 Thread Steve Dugas
built-in Standard Particle Swarm Optimizer? - Original Message - From: Howard B To: amibroker@yahoogroups.com Sent: Friday, November 13, 2009 5:32 AM Subject: Re: [amibroker] Walk Forward Test - How would you... Hi Dubi -- What is SPSO? Thanks, Howard On

[amibroker] Export to Microsoft Excel via right click

2009-11-13 Thread jacklweinberg
Question: After doing a walk forward analysis, under Windows XP, I am able to right click on the walk forward results (displayed on the screen in a html file) and get the option export to Microsoft Excel. Unfortunately after upgrading my machine to Windows 7, that feature appears to be lost.

[amibroker] Re: Amibroker 5.29 has bug ( no 1 second )

2009-11-13 Thread zlzzzz_1
What's the point of you putting out those screenshots? === please see the same URL Do you understand what TJ pointed out? === YES, I Know

[amibroker] Sharing AFL while protecting intellectual property

2009-11-13 Thread hydrob...@rocketmail.com
I need a way to share my work with others in a way that allows AFL execution on their computer without revealing my source code. I also need a way to prevent the AFL from being distributed freely and executed by unauthorized individuals. Any thoughts on how to do this?

Re: [amibroker] Sharing AFL while protecting intellectual property

2009-11-13 Thread Potato Soup
I wish. As far as I know you need to call out to C++. -Original Message- From: hydrob...@rocketmail.com hydrob...@rocketmail.com Date: Fri, 13 Nov 2009 17:38:40 To: amibroker@yahoogroups.com Subject: [amibroker] Sharing AFL while protecting intellectual property I need a way to share

Re: [amibroker] Re: Amibroker 5.29 has bug ( no 1 second )

2009-11-13 Thread Mark Hike
I think you are requesting an enhancement to the DDE plugin. You should send the request to Amibroker support or log an entry in the suggestion center. It will not help you go anywhere by posting to this group, especially with misleading title like this one. On Fri, Nov 13, 2009 at 12:34 PM,

Re: [amibroker] Setting a conditional N-Bar stop

2009-11-13 Thread Mark Hike
Yes, you can do all these using the advanced low level custom portfolio backtester. On Fri, Nov 13, 2009 at 12:53 AM, an0n73 an0...@yahoo.com wrote: Hi, I would like to do the following but not sure if it's possible or how to do it. Any ideas? After a Buy is triggered, I want to wait N

Re: [amibroker] Sharing AFL while protecting intellectual property

2009-11-13 Thread Ronald Davis
Hi Hydro, I want to do the same thing. Marcin told me that I need a DLL library. TJ said that ADK plug ins require that AFL code with operators must be recoded in order to work from DLL plugins created with the Amibroker Development Kit. Unfortunately, I am not a C++ programmer. Maybe

[amibroker] Re: Sharing AFL while protecting intellectual property

2009-11-13 Thread Mike
That's my understanding too. You need to write your functionality as a DLL (in any language supporting DLL) that can then be added to the user's Plugins directory. There has been an open request (#51) since 2006, currently flagged as planned. Add your comment if you want to support the

[amibroker] Re: Setting a conditional N-Bar stop

2009-11-13 Thread Mike
You could probably do it without custom backtesting at all. Try something along the lines of the following (untested): Buy = ...; BuyPrice = ...; Bought = ExRemSpan(Buy, 5); BoughtPrice = ValueWhen(Bought, BuyPrice); X = ...; // Desired percent profit expressed as fraction e.g. 0.05 NormalSell

Re: [amibroker] Sharing AFL while protecting intellectual property

2009-11-13 Thread Potato Soup
I'm a c++ developer, I might be able to help you as I've got experience building AmiBroker DLLs. -Original Message- From: Ronald Davis xok...@yahoo.com Date: Fri, 13 Nov 2009 11:43:58 To: amibroker@yahoogroups.com Subject: Re: [amibroker] Sharing AFL while protecting intellectual

RE: [amibroker] digital Stochastic

2009-11-13 Thread Rajiv Arya
Can rewrite this summ = 0; for( i = 5; i BarCount; i++ ) { if ((22*KAdjusted[i]+8*DAdjusted[i])/30 50) summ[i]=1; if ((22*KAdjusted[i]+8*DAdjusted[i])/30 50) summ[i]=-1; } xAverage = EMA(Summ,5); to summ=iif(((22*Kadjust+8*Dadjust)/30)=50,1,-1); xaverage = ema(summ,5); To:

Re: [amibroker] Re: REQ Please help code fibonacci bands in these lines as given-thanks

2009-11-13 Thread reinsley
The Fibonnaci ratio is : Donchian786 = 0.786 * DonchianRange + DonchianLower; the one in Donchian formula is not correct... Donchian764 = 0.764 * DonchianRange + DonchianLower; BR ram vel a écrit : Hi David Many thanks.. for your fast response and solution. warm regards rvlv

[amibroker] Re: Sharing AFL while protecting intellectual property

2009-11-13 Thread hydrob...@rocketmail.com
I'm also a C++ developer, and I have converted afl to C++ in the past. But this particular afl is unusually large and will be error prone to convert. I'll add my 2 cents to the feedback center. --- In amibroker@yahoogroups.com, Potato Soup potatoso...@... wrote: I'm a c++ developer, I

[amibroker] Re: ASCii Import - How To Import Last Line of Data Only

2009-11-13 Thread lesv99
Thanks. Tail.exe sounds like a good idea but I have problems with outputting data to multiple files. As long as I output data to the command console everything works fine. Below is an example of outputting the last three lines of data from all the files in a folder to the console, with

Re: [amibroker] Re: Sharing AFL while protecting intellectual property

2009-11-13 Thread Ronald Davis
hydrobluethis particular afl is unusually large and will be error prone to convert. Hydro, What PARTICULAR AFL code are you referring to? I have not seen any AFL codes posted in this thread. Ron D From: hydrob...@rocketmail.com hydrob...@rocketmail.com

[amibroker] Re: Setting a conditional N-Bar stop

2009-11-13 Thread an0n73
That worked nicely. Relatively new to Amibroker so still trying to work out these little techniques. Thanks Mike! --- In amibroker@yahoogroups.com, Mike sfclimb...@... wrote: You could probably do it without custom backtesting at all. Try something along the lines of the following

Re: [amibroker] Sharing AFL while protecting intellectual property

2009-11-13 Thread Keith McCombs
Converting to a .dll should prevent others from seeing your source code. But it does not prevent others from using it. To do that, you will have develop or purchase some sort of a scheme that prevents installation of unregistered software. Ronald Davis wrote: Hi Hydro, I want to do the

[amibroker] Re: Any way to change the Email Alert Subject?

2009-11-13 Thread Mark Hike
If anyone interested, I have figured this out by using undocumented feature :-) Procedure emailAlert(subject, msg) { text = subject + + msg; AlertIf(true, EXEC C:\\Program Files\\AmiBroker\\EMailerSSL.exe, text, 5, 0); } emailAlert(MyOwnSubjectNow, MyMessage\nline2\nline3); On Wed,

Re: [amibroker] Re: REQ Please help code fibonacci bands in these lines as given-thanks

2009-11-13 Thread ram vel
Hi reinsley   thanks. I have noted it already. can you put together  and add buy sell arrows on this code ,please cheers rvlv --- On Fri, 11/13/09, reinsley reins...@yahoo.fr wrote: From: reinsley reins...@yahoo.fr Subject: Re: [amibroker] Re: REQ Please help code fibonacci bands in these

[amibroker] Trying to plot historical volatility with AFL

2009-11-13 Thread Potato Soup
I'm trying to plot the 30 day historical volatility of the SP 500, using the following AFL on a daily chart with around 2 years of end of day prices for the SP 500: Plot(StDev(Close, 30),Historical Volatility, colorOrange,styleLine); However when I look at the values, they appear to be a bit

[amibroker] Re: Any way to change the Email Alert Subject?

2009-11-13 Thread sdkingman
Use this new version if your subject or message has space or double quote characters. Procedure emailAlert(subject, msg) { local text; subject = StrReplace(subject, \, \\\); msg = StrReplace(msg, \, \\\); text = \ + subject + \ \ + msg + \; AlertIf(true,

Re: [amibroker] Sharing AFL while protecting intellectual property

2009-11-13 Thread Ronald Davis
Hi Keith, my plan is to let other Amibroker users use it for free. Then if a lot of Amibroker users like it, I would eventually have a website that would auto deduct a small monthly fee for using it. If a user decides to stop using it , then they would simply go to the website, and cancel

Re: [amibroker] Sharing AFL while protecting intellectual property

2009-11-13 Thread Potato Soup
Yes this is possible but most people would not want to trade with a system that relies on a computer and network out of their control. If your machine goes down then they won't have functionality. I'm working on a similar thing (different concept I'm sure), I've been trying to give it some

Re: [amibroker] Sharing AFL while protecting intellectual property

2009-11-13 Thread Ronald Davis
Potato, You are right, I neglected to think about website/server down time. Ron D From: Potato Soup potatoso...@yahoo.com To: AmiBroker (Discussion List) amibroker@yahoogroups.com Sent: Fri, November 13, 2009 9:39:59 PM Subject: Re: [amibroker] Sharing AFL

[amibroker] Re: Sharing AFL while protecting intellectual property

2009-11-13 Thread Mike
I wouldn't be too quick to jump to that conclusion. There are many vendors that have been marketing trading subscription services for years, not to mention print media doing the same (albeit at a greater delay). And, if web site hosting services can be believed, any website can be made fault

Re: [amibroker] Re: REQ Please help code fibonacci bands in these lines as given-thanks

2009-11-13 Thread Rick Osborn
You will never learn to code in AFL unless you try doing something yourself, and you are going to wear out your welcome by continually asking others to do it for you. Try coding it yourself and if you are not happy with your own results, post the code. Others will undoubtedly point out your