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

Re: [amibroker] each day's average trade



PureBytes Links

Trading Reference Links

One way that I plot an approximation of the average trade value is to use what I call midbodys.
 
The midbody of a trading day is the price that is midway between the open and the close of that day. It does not matter is it is an upday or downday, the midbody is always positioned halfway between the open and close. Below is the code for midbodys.  Hope this helps.  Ron D
 

mb=IIf(C>O,(C-O)/2+O,(O-C)/2+C);

 
 
 
 
 
 
 
----- Original Message -----
From: dkourganov
Sent: Sunday, February 06, 2005 3:52 AM
Subject: [amibroker] each day's average trade



Hello,

Maybe someone could help me to build the curve which reflects each
day's average trade value (in multiple day's backtest)?

thank you





------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/
 





--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005



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

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/2005