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

RE: [amibroker] Average price volatility in percent



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Several ways come to mind.  Examples based on ten-day 
volatility:
<FONT face=Arial color=#0000ff 
size=2> 
Method 
A (written for understanding, not saving space in the 
window):     
<FONT face=Arial color=#0000ff 
size=2> 
    <FONT face=Arial 
color=#0000ff size=2>myAverage = MA(Close,10);
<FONT face=Arial color=#0000ff 
size=2>    NonStdDev = 
HHV(abs(close-myAverage),10);
<FONT face=Arial color=#0000ff 
size=2>    PercentVolatility = NonStdDev / Close * 
100;
<FONT face=Arial color=#0000ff 
size=2> 
Method 
B:
<FONT face=Arial color=#0000ff 
size=2> 
    <FONT face=Arial 
color=#0000ff size=2>PercentVolatility = StDev(Close,10) / Close * 
100;
<FONT face=Arial color=#0000ff 
size=2> 
Method 
C:
<FONT face=Arial color=#0000ff 
size=2> 
    <FONT face=Arial 
color=#0000ff size=2>PercentVolatility = ATR(10) / Close * 
100;
<FONT face=Arial color=#0000ff 
size=2> 
That 
should get you started.
<BLOCKQUOTE 
>
  <FONT face="Times New Roman" 
  size=2>-----Original Message-----From: uenal.mutlu@xxxxxxxxxxx 
  [mailto:uenal.mutlu@xxxxxxxxxxx]Sent: Tuesday, April 15, 2003 5:20 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  Average price volatility in percentHi,how would 
  one compute an average price volatilityover past x days on a percent basis 
  for a stock? Any formula?UMSend 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT









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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.