Can ATR function be used within loops?
if (PriceAtBuy>0)
{
THigh=Max(High[i], THigh);
ATRStop=THigh-ATR_Multiplier* ATR(ATR_Period));
}
tks/Paul
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} ami
area of AB among other things so please vote!!
PKJR
On 7/24/06, John Nelson <[EMAIL PROTECTED]> wrote:
Well yes, but like the previous poster, I would like to remove all of those extraneous columns and still add my own at the same time. I wouldn't want a solution that isn't fl
his has become one of the banes of my life too I really need a
> customized results grid which contains my own metrics or combination of
> things such as # winners and # losers and my own sortable values.
>
>
> -- John
>
>
>
>
>
>
> On Jul 24, 2006, at 5:26 PM,
ve you a start.
>
> -CS
>
> ----- Original Message -
> From: "PKJR" <[EMAIL PROTECTED]>
> To:
> Sent: Sunday, July 23, 2006 3:19 PM
> Subject: [amibroker] Ehlers- Adaptive Momentum?
>
>
> > Hi All - before i dive into coding it - does anyone know i
is there an easy way to remove columns from the result grid generated
after backtester /optimizer run.. I have a lot of columns and half of
them I do not need to see.. can I remove/add columns?
Tks
Please note that this group is for discussion between users only.
To get support from AmiBroker p
Hi All - before i dive into coding it - does anyone know if there is
AmiBroker source code to Ehlers - Smoothed Adaptive Momentum available
anywhere on the net?
tks
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
d
>
>
>
> > -Original Message-
> > From: amibroker@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On Behalf Of PKJR
> > Sent: Thursday, July 20, 2006 7:29 AM
> > To: amibroker@yahoogroups.com
> > Subject: Re: [amibroker] formatting columns?
>
>
>
>
> > -Original Message-
> > From: amibroker@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On Behalf Of PKJR
> > Sent: Wednesday, July 19, 2006 9:08 PM
> > To: amibroker@yahoogroups.com
> > Subject: [amibroker] formatting columns?
> >
H9i All:
I have a problem with formatting columns in backtester. As you can see
my contract names are in the format NG227.. and the TRACE shows
the name correctly, however, when they are being added to the custom
metrics in the backtester the values are being formatted for some
reason. NG2,200
d - where would I find some info on Fred's work?
Tks
On 7/6/06, dingo <[EMAIL PROTECTED]> wrote:
> Howard,
>
> Have you looked into working with IO (Intellegent Optimizer) by Fred
> Tonetti?
>
> d
>
> > -Original Message-
> > From: amibroker@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] O
here is the situation:
in the backtester I need to compare DateNum (stored in memory) with
trade.dateTime values to assign proper contracts.. what is the easy
way to do it? what is the catch from going from trade.DateTimne to
DateNum?
Thank you
Paul
Yahoo! Groups Sponso
thin
couple of weeks with help of Marcin, help files and this group I was
able to develop my own unique testing approach for futures contract
based on AB.
Did I mention Marcin and tech support?
PKJR
Yahoo! Groups Sponsor ~-->
Great things are h
tion?
Tks/PKJR
Yahoo! Groups Sponsor ~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/GHeqlB/TM
~->
problem solved
On 6/23/06, Paul Raczynski <[EMAIL PROTECTED]> wrote:
> problem solved
>
> On 6/22/06, PKJR <[EMAIL PROTECTED]> wrote:
> > I am trying to convert string like '5/20/1990" to AB Date format so I
> > can use with DateNum().. is there an easy
I am trying to convert string like '5/20/1990" to AB Date format so I
can use with DateNum().. is there an easy way? StrToDateTime seems
like it is not what I am looking for. .. am I missing something here?
.I would think that there would be an internal function for that..
Tks for help
Paul
---
I was reading a help files about SetForeign/RestorePrices and I see
the difference, but I cannot envision a practical implementation of
both (tradeprices) being setup to True.
Could anyone give an example where you really have to have both setup to True?
tks
Paul
Yahoo!
t; can only ever give you one contract per trade.
-- Cheers GrahamAB-Write >< Professional AFL Writing ServiceYes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 21/06/06, PKJR <[EMAIL PROTECTED]> wrote:
Graham - I know I am one unlucky guy..
Could you elaborate more on the your statement about WL and AB?
quote:" AB's backtester treats signals differently than WL which I think is the right way. TJ has agreed to add a switch to make them behave the same in future release."
tks
Paul
On 6/20/06, Mark H <[EMAIL PROTECTED]> wrote:
g is checked the position is entered with size shinked to available cash if it is unchecked the position is not entered.
--
Terry
-Original Message-From: amibroker@yahoogroups.com
[mailto: amibroker@yahoogroups.com] On Behalf Of PKJR
Sent: Tuesday, June 20, 2006 14:39
To: amibroker@yahoog
Tks for your help but the Point value is not up to me.. this Natural
Gas contract - specs here:
http://www.nymex.com/NG_spec.aspx
I used PositionSize=1 (shown on my pic) - before but that did not work
either.. the funny thing is that it works on just on underlying
contract..but not on composite cr
future contract the
above line is not limiting me to one contract.. does anyone know
solution to this problem?
Paul
On 6/20/06, PKJR <[EMAIL PROTECTED]> wrote:
> Hi All:
>
> I am still in the learning mode here but I'm trying to get through
> the learning curve asap I tri
Hi All:
I am still in the learning mode here but I'm trying to get through
the learning curve asap I tried almost everything to get the
testing results based on 1 contract basis (futures mode).
I tried the following in my code (one or all):
//PositionSize = MarginDeposit = 1;
SetOption("MaxO
ps.yahoo.com/group/amibroker-dll/files/
>
> Or you can really get gnarly and use dynamic variables..
>
> d
>
> > -Original Message-
> > From: amibroker@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On Behalf Of PKJR
> > Sent: Friday, June 16, 2006 8:
---
> > > From: amibroker@yahoogroups.com
> > > [mailto:[EMAIL PROTECTED] On Behalf Of PKJR
> > > Sent: Sunday, June 18, 2006 11:11 AM
> > > To: amibroker@yahoogroups.com
> > > Subject: Re: [amibroker] Adding Column to Backtester
> > >
> >
first
> for( trade = bo.GetFirstTrade(); trade; trade = bo.GetNextTrade() )
> {
> // ADDED LINE
> EquityAtEntry = FindEquityAtDateTime( eq, dt, trade.EntryDateTime );
> }
> }
>
>
>
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writi
Is the 1/2005 the last newsletter ever produced?
Paul
Yahoo! Groups Sponsor ~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/ulNZQC/lOaOAA/cosFAA/GHeqlB/TM
--
Hi All - small dilemma here.. I would like to add a column to the
backtester results..I know I can us a custom metric that is derived
from backtester results and add a column this way but how about adding
a column that contains data not derived from backtester object but
rather from an array in you
n 17/06/06, dingo <[EMAIL PROTECTED]> wrote:
> > Not using AFL. But you can do it via the Osaka Plug In.
> > http://finance.groups.yahoo.com/group/amibroker-dll/files/
> >
> > Or you can really get gnarly and use dynamic variables..
> >
> > d
> >
> >
Hi All:
Can I use multi-dimension arrays? like A[m, n] in AmiBroker?
example: I want to read a data from a text file for a series of ticker
names and each ticker will have some additional settings:
XYZ, v11, v12, v13
ABC, v21, v222, v23
I want to store this info in an array and re-use this in AF
Hi All;
I am not sure what could be wrong here but I use the following code to
set to different contract.. I use the high/low/close from the foreign
contract to run through a formula and calculate buy/sell signals and
restore values..
however, the values between SetForeign/restore are not generat
Thnaks Terry for your answer..
I would prefer to do it hard way ( second approach) but what I am not
able to understand is this: since I roll/change contracts every month
I use less than 30 day data windows for any given contract and I am
going to have 120 contracts for a ten year window and my in
Hi All
Being new to AmiBroker I am looking for options to test futures my own
way e.g.,I would like to use custom rollover dates in testing and use
individual contract data vs. continuous charts .. what are my options
besides Merge function.?
Tks
Yahoo! Groups Sponsor -
32 matches
Mail list logo