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

Re: [amibroker] Volume Code Question



PureBytes Links

Trading Reference Links

Buy = MA (Volume,-20) > 10000000l is incorrect unless you are trying
to calculate moving average into the future, not even certain it does
calculate anything printable

try using
Buy = MA (Volume,20) > 10000000


Volume > 10000000 means on that particular single bar the volume value
MA(Volume,20) is the average of the volumes over past 20 bars

On 8/10/05, eric paradis <thechemistrybetweenus@xxxxxxxxx> wrote:
> I am using the following code as part of my buy
> statement. What is the difference between the
> statement with the moving average and volume by
> itself? It can't be volume for a single bar, because
> during testing, the system bought shares on stocks
> with about 200,000 volume a day. Is there a default
> period that volume uses? I cannot find the information
> in my User Guide. Thanks for the help.
> 
> Buy = MA (Volume,-20) > 10000000
> 
> 
> Buy = Volume > 10000000
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> 
> 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} amibroker.com
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hqbau0u/M=362343.6886682.7839641.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123676907/A=2894352/R=0/SIG=11fdoufgv/*http://www.globalgiving.com/cb/cidi/tsun.html";>Help tsunami villages rebuild at GlobalGiving. The real work starts now</a>.</font>
--------------------------------------------------------------------~-> 

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} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/