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

[amibroker] Re: Bill re: Coding Question



PureBytes Links

Trading Reference Links


Would you please share that AFL file? Thanks.

--- In amibroker@xxxxxxxxxxxxxxx, "W Schmidt" <william.schmidt@xxxx> 
wrote:
> Dean,
> 
> 1)I sent to your email address a revised program which doesn't 
require you  
> to enter tradedates.
> 1)The "Now(3)" restricts the output to the current day only.  You 
don't  
> have to change it.
> 
> 
> On Thu, 18 Nov 2004 17:45:32 -0000, Dean Hodgins 
<deanhodgins@xxxx>  
> wrote:
> 
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "W Schmidt" 
<william.schmidt@xxxx>
> > wrote:
> >
> >> Dean,
> >>
> >> To answer your question, a price move accompanied by volume 
higher
> > than average seems to be more significant than a price move on 
lower
> > than average volume. Watching intraday volume without the 
reference
> > of an  average doesn't mean much since volune is typically 
greater at
> > the beginning and end of the day than in the middle.
> >
> >> I added the plot function to the code below. Just paste it into
> > Indicator
> >> Builder.
> >
> >> --Bill
> >
> >> Many thanks again Bill - you're right of course - price movements
> > accompanied by volume increases are likely to be more significant
> > than price increases with little volume increase. I must admit I'm
> > one of many who don't pay as much attention to volume as I should.
> >
> > The code you were kind enough to share is very useful in terms of
> > further refining my scans which (until now) have not really
> > considered volume as a determining factor. Indicator code also 
very
> > useful.
> >
> > Two questions if I may ....
> >
> > I assume that I need to change the dates each day accordingly on 
the
> > following lines of code as appropriate:
> >
> > TradeDate1 = 1041117; // trade date 1 day ago
> > TradeDate2 = 1041116; // trade date 2 days ago
> > TradeDate3 = 1041115; // trade date 3 days ago
> > TradeDate4 = 1041112; // trade date 4 days ago
> > TradeDate5 = 1041111; // trade date 5 days ago
> > TradeDate6 = 1041110; // trade date 6 days ago
> > TradeDate7 = 1041109; // trade date 7 days ago
> > TradeDate8 = 1041108; // trade date 8 days ago
> >
> > Question 2 - Do I need any modifications to following line on an
> > ongoing basis? Guess I'm not sure how/if the "(3)" in this line of
> > code affects the scan or whether I need to concern myself. 
(Getting
> > up to speed on AFL language but still much to learn.)
> >
> > Filter = DateNum()==Now(3)
> >
> >
> > Thanks again & best regards,
> >
> >
> >
> > Dean
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >> >
> >> > Check AmiBroker web page at:
> >> > http://www.amibroker.com/
> >> >
> >> > Check group FAQ at:
> >> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >> > Yahoo! Groups Links
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >
> >
> >
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:  
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/