[amibroker] Re: Trade frquency penalty function.

2009-10-09 Thread jamesfarrow2003
Thanks a lot, that worked like a charm:) --- In amibroker@yahoogroups.com, "Mike" wrote: > > > > indices = BarIndex(); > firstIndex = LastValue(ValueWhen(Status("firstbarinrange"), > indices)); > lastIndex = LastValue(ValueWhen(Status("lastbarinrange"), indices)); > barsInRange

Re: [amibroker] Re: Trade frquency penalty function.

2009-10-09 Thread Graham
If you are putting this into the custom backtest code, and your bar period setting is daily, then you can just use barcount -- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com 2009/10/9 jamesfarrow2003 : > > Thanks a lot, that worked like a charm:) > > --- In amibroker@yahoogrou

Re: [amibroker] Intraday quotes from Diet ODIN

2009-10-09 Thread Vinay Gakkhar.
Master Capital On Thu, 08 Oct 2009 10:40:14 +0530, Rakesh Sahgal wrote: > Which of the large brokers are providing ODIN for use as a platform? If you > are not using ODIN from any broker from where are you feeding the quotes > into ODIN? > > R > > On Wed, Oct 7, 2009 at 2:54 PM, Dilip Kumar Sri

[amibroker] MM formula problem

2009-10-09 Thread tf28373
Hello everyone Since I am a newbie to Amibroker, I still face problems with encoding my idea in AFL. Therefore I would like to ask for your help with the following issue. I want to compose a formula for so calles Fixed Ratio Position Sizing developed by Ryan Jones in "The trading game" 1999, whic

[amibroker] Re: Tips for reducing CPU load

2009-10-09 Thread progster01
Nice example Bruce - compact and powerful! Here's my riff on it to add multiple calculations and color: /* Osc_Pctl_02.afl Finds *for every bar* which was the value of Osc(x) that was exceeded for a limit % number of times over a percentile lookback period. e.g.: On this bar, w

[amibroker] Plottext the pivot's price

2009-10-09 Thread Reinsley
Hi, This little mod plots the pivot's price. The low pivot's price is displayed two carriage return under the *** This solution is nice as the vertical shift does not vary up to the pane's number or pane's size. I can't find the syntax to plottext the prices above the high pivot. The only way I

[amibroker] HOW TO PLOT PRICE, MACD, STOCHASTIC ON ONE CHART?

2009-10-09 Thread bistrader
I am having problems with Plot statements in one afl that I want to plot Price (with EMAs) at the top, Macd histogram in the middle and stochastic at the bottom. Each of the 3 has PlotShapes as well. Here is what I have. 1. I use the following for price with EMAs and with plotshape arrows at to

[amibroker] Ehler, Calculations and Others

2009-10-09 Thread Soham Das
Hello Everybody, Has anyone here, implemented Ehler's numerous tools and indicators which he has discussed thoroughly in his books. Of course I did come across, a few AFLs (implementing Ehler's work )before, but I intended to touch up a slightly different point. Did anyone notice, that his ca

[amibroker] Call AFL plugin fuctions,why got "Variable used without having been initialized"

2009-10-09 Thread b853104
Dear all¡G I test a AFL plugin example from ADK. The fuction plugin implement the fuction VExampleMACD()¡A AmiVar VExampleMACD( int NumArgs, AmiVar *ArgsTable ) { // First you need to fill-in // arguments table. // // we will call back MACD that gets two float

[amibroker] amiquote--yahoo index symbols--basic questions

2009-10-09 Thread jimjohnson001
I'm brand new to AmiBroker and plan to use AmiQuote as much as possible. I'm having trouble locating various US indices however. Many/most/all (?) begin with ^. But I've been unable to find NYSE Advances, Declines, Up Vol, Dn Vol, New HIghs, New Lows, and various S&P sector indices. Is there

Re: [amibroker] amiquote--yahoo index symbols--basic questions

2009-10-09 Thread Henrik Rasmussen
http://finance.yahoo.com/indices?u Rik Rasmussen On Thu, Oct 8, 2009 at 6:26 PM, jimjohnson001 wrote: > I'm brand new to AmiBroker and plan to use AmiQuote as much as possible. > I'm having trouble locating various US indices however. > Many/most/all (?) begin with ^.  But I've been unable

Re: [amibroker] Ehler, Calculations and Others

2009-10-09 Thread Ara Kaloustian
I did code from both books a while back ... not satisfied that they work well enough to be useful. Not sure I even have his code any longer. Notice that he does not use any of those principals in his codes. The codes described assume cyclicity and while they work when cycles are well defined,

[amibroker] Re: Ehler, Calculations and Others

2009-10-09 Thread sohamdas
Hmm, thanks Ara. I liked his older code better, but as far as usefulness is considered I am not sure. He surely seems to have his R-MESA or something of that sort of trading system ranked consistently highly by one of the magazines. > Notice that he does not use any of those principals in his c

[amibroker] Re: Ehler, Calculations and Others

2009-10-09 Thread Rob
Ages ago I coded them all into AFL... interesting concepts etc. However, I don't use them these days. I do know that Barry Taylor has adapted the sine wave indicator and uses it (at least he says he does)... http://emini-watch.com/ --- In amibroker@yahoogroups.com, "Ara Kaloustian" wrote: > >

RE: [amibroker] Vertical Intraday marker vanished

2009-10-09 Thread Joris M.schuller
In case you hven't checked this already: 1. Go to Tools/Preferences//Charting and verify that "show vertical Line is checked. 2. Check that your background color is not the same as that of the vertical line From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of Rob S

[amibroker] Re: Vertical Intraday marker vanished

2009-10-09 Thread Rob
Thanks Joris... already done that. All correct and in order. --- In amibroker@yahoogroups.com, "Joris M.schuller" wrote: > > In case you hven't checked this already: > > 1. Go to Tools/Preferences//Charting and verify that "show vertical Line is > checked. > > 2. Check that your background col

Re: [amibroker] Re: Ehler, Calculations and Others

2009-10-09 Thread Ara Kaloustian
He does not describe his R-MESA code except in a very general way. Not enough info to code it. R-MESA is essentially an adaptive filter, which is very different than any of dominant cycle approach he describes in detail. Your best bet might be to test his R-MESA code for a month with Trade Sta

[amibroker] Re: amiquote--yahoo index symbols--basic questions

2009-10-09 Thread bistrader
Could ... 1. Go to icc-az.com to get US-Stocks database for Yahoo as used in AmiBroker at http://www.icc-az.com/amibroker_files/Stocks.zip 2. Then use AmiBroker Symbol Find to find what you want or go to yahoo finance to get list of US indexes. --- In amibroker@yahoogroups.com, Henrik Rasmussen

[amibroker] Amibroker 3rd party library

2009-10-09 Thread interfool
Anyone know why the 3rd party library is down?

[amibroker] Re: HELP!!! ON MOVING AVERAGES

2009-10-09 Thread mishphar
--- In amibroker@yahoogroups.com, "Rasheed M" wrote: > > HI Guys > Please I need a MA formula where I can scan stocks that are within different moving averages. E.G 15 day,65 days 100- 200 days MA or where i can set my own parameters > Hi Rasheed M try this u can add as much as MA like this an

Re: [amibroker] Re: HELP!!! ON MOVING AVERAGES

2009-10-09 Thread Ara Kaloustian
MA1 = MA(Close,15); MA2 = MA(Close,65); Buy = Close < MA1 and Close > MA2 - Original Message - From: "mishphar" To: Sent: Friday, October 09, 2009 12:12 PM Subject: [amibroker] Re: HELP!!! ON MOVING AVERAGES --- In amibroker@yahoogroups.com, "Rasheed M" wrote: > > HI Guys > Please

Re: [amibroker] Amibroker 3rd party library

2009-10-09 Thread Mark Hike
TJ mentioned that he is converting it to a member only area to avoid increasing spams. On Fri, Oct 9, 2009 at 1:52 PM, interfool <0...@somenewfrog.com> wrote: > > > Anyone know why the 3rd party library is down? > > >

Re: [amibroker] Re: Is the Walk forward study useful?

2009-10-09 Thread Howard B
Hi Mike, and all -- There is a lot to like in Tharp's book, Definitive Guide to Position Sizing. But it appears to me that he developed the concept of system quality number without using it as an objective function used in testing and validating trading systems. He describes several idealized tr

Re: [amibroker] Re: HELP!!! ON MOVING AVERAGES

2009-10-09 Thread Rasheed Momoh
BEAUTIFUL THANK U GUYS --- On Fri, 10/9/09, Ara Kaloustian wrote: From: Ara Kaloustian Subject: Re: [amibroker] Re: HELP!!! ON MOVING AVERAGES To: amibroker@yahoogroups.com Date: Friday, October 9, 2009, 12:17 PM   MA1 = MA(Close,15) ; MA2 = MA(Close,65) ; B

RE: [amibroker] Re: Why raw signals different than actual trades?

2009-10-09 Thread Peter
Mike The detailed log identified the reason which was due to low volume. Thanks for your help as I didn't appreciate the information available in the detailed log. Peter From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf Of Mike Sent: Friday, 9 October 2009 7:33 p.

Re: [amibroker] Plottext the pivot's price

2009-10-09 Thread Panos Boufardeas
Hi try this way if ( mu == num ) { PlotText( ""+H[b]+"\n" , b, H[b], colorRed ); //p = StrRight( NumToStr( H[b], 4.1 ), rightfig ); //PlotText( p , b - 2, H[b] + vertshift , colorRed ); } Panos At 15:58 09-10-2009 09-10-2009, you wrote: > > >Hi, > >This little mod plots the pivot's price. >

[amibroker] AB vers. 5.29

2009-10-09 Thread Ara Kaloustian
I am having a lot of trouble installing AB version 5.29 the database contains very little data in "Groups" I am running one QuotesPlus database and two installations of EOD Amibrokers, Version 5.26 (old database) and 5.29 (new database) both getting their data from the single QP database.

[amibroker] programming

2009-10-09 Thread Rol
hi Can any one recommend someone who does composite indicator programming for Amibroker? kind regards Rol

[amibroker] Re: Is the Walk forward study useful?

2009-10-09 Thread Mike
Howard, Thanks for the thorough reply. When I first read the book, I was left with the distinct impression that Tharp was using SQN as a differentiator between the quality of systems, most notably from Table 3-11 on page 31 titled: "Using the System Quality Number to Rate Your System Based On