[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Advance Declone Line



PureBytes Links

Trading Reference Links

Would this Datenum()==1010521 work in my exploration below to make it
explore the date 10/15/03 in the same way it will explore tonight for setups
that occur on 1/14/04 from the fresh download of todays market data?

If so, I would appreciate someone placing it in my exploration so that It
will explore for signals that occurr on that specific date.  I learn by
seeing examples of what I want to do.  Ron D
Filter=(MA(V,50)>100000 AND RSIseq20to50 AND RSIseq2to71 AND buycross AND
diffwasmore ;

Buy=Filter;

AddColumn(C,"close ",1.2);

AddColumn(StochK(14),"K ",1.0);

AddColumn(StochD(14),"D ",1.0);

AddColumn(V,"Vol ",1.0);

AddColumn(MA(V,50),"MAvol ",1.0);




----- Original Message ----- 
From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, January 14, 2004 8:54 PM
Subject: Re: [amibroker] Re: Setting Beginning Date of Test Period


> Try:
>
>
>
>
> ----- Original Message -----
> From: "recce101" <ned@xxxxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, January 14, 2004 9:52 PM
> Subject: [amibroker] Re: Setting Beginning Date of Test Period
>
>
> > I looked at the Equity function a couple of weeks ago and couldn't
> > figure out a way to make it do what I wanted (maybe I'd have better
> > luck with my somewhat improved knowledge this week). For this
> > particular project I'm not looking for an automatic backtest system
> > with buy-sell rules, but a manual tool that I can plod along with,
> > testing my reactions to various custom indicators and the results
> > which ensue. The triple-click method which I described accomplishes
> > what I need at the moment, but out of curiosity and for future
> > projects I wondered why I was unable to code in a specific start or
> > end date if I wanted to go that route. Putting a value like 1010521
> > in the parentheses after DateNum yields only a syntax error. It may
> > be that my understanding of AFL is not sufficient to even pose a
> > valid question at this point.  --Ned
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
> > wrote:
> > > Hello,
> > >
> > > Instead of working on manual backtester, wouldn't be easier to just
> > use built-in Equity function
> > > http://www.amibroker.com/f?equity
> > >
> > > You can use range markers with equity too:
> > >
> > > buy= ...
> > > sell = your system here
> > >
> > > graph0 = Equity( 0, 3, BeginValue( DateNum() ), EndValue( DateNum
> > () ) );
> > >
> > > And you will be able to see your equity chart changing immediatelly
> > as
> > > you change range markers.
> > >
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
> > > ----- Original Message -----
> > > From: "Leon Nedbalek" <ned@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Wednesday, January 14, 2004 8:40 PM
> > > Subject: [amibroker] Setting Beginning Date of Test Period
> > >
> > >
> > > > I'm working on a manual backtester which allows me to progress
> > bar by bar
> > > > through the past performance of a stock, view the custom
> > indicator outputs
> > > > that would have been current at that time, make decisions on
> > entry and exit
> > > > points, test entry and exit signals, etc., all with the "current"
> > date at
> > > > the right margin with no "future" data yet visible. When the
> > desired entry
> > > > date is at the right margin, I set the test period by triple-
> > clicking on
> > > > that bar -- this sets the BeginValue(BarIndex()) to that date and
> > resets
> > > > the SelectedValue(BarIndex()) to whatever date is at the right
> > margin, with
> > > > the "days in trade" increasing by one each time I click the
> > scroll bar
> > > > arrow or the bracket key (keyboard set up to behave like TC2000).
> > Here is
> > > > an excerpt of the code which works in that manner:
> > > >
> > > > Start=BeginValue(BarIndex());
> > > > Current=SelectedValue(BarIndex());
> > > > DaysInTradeInclusive=Current-Start+1;
> > > > EntryPrice=BeginValue(Close);
> > > > etc etc
> > > >
> > > > This works fine for that purpose, but I would like to set up some
> > backtest
> > > > indicator files preset with a specific start date or changeable
> > with a
> > > > right-click "parameters" function rather than starting at the
> > earliest data
> > > > date. So far I have not been able to enter the desired date in a
> > location
> > > > or format which the program will accept.
> > > >
> > > > Help, please!
> > > >
> > > > Ned
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > > --------------------------------------------
> > > > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > > To visit your group on the web, go to:
> > > >  http://groups.yahoo.com/group/amibroker/
> > > >
> > > > To unsubscribe from this group, send an email to:
> > > >  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > > >
> > > > Your use of Yahoo! Groups is subject to:
> > > >  http://docs.yahoo.com/info/terms/
> > > >
> > > >
> > > >
> >
> >
> > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Yahoo! Groups Links
> >
> > To visit your group on the web, go to:
> >  http://groups.yahoo.com/group/amibroker/
> >
> > To unsubscribe from this group, send an email to:
> >  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >
> > Your use of Yahoo! Groups is subject to:
> >  http://docs.yahoo.com/info/terms/
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/amibroker/
>
> To unsubscribe from this group, send an email to:
>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/amibroker/

To unsubscribe from this group, send an email to:
 amibroker-unsubscribe@xxxxxxxxxxxxxxx

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/