logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
PeterR  
#1 Posted : Sunday, December 28, 2008 11:45:20 AM(UTC)
PeterR

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/28/2008(UTC)
Posts: 2

Would you help to create the following metastock exploration please?

1, Calculation of average daily range, 15 day average

2, Todays range showen as a percentage of Average daily range.

3, Today's closing price divided by today's range.

4, How do you remove the decimal places in the exploration reports?
Can anyone help please?

Peter.

oztrader  
#2 Posted : Monday, December 29, 2008 6:32:25 AM(UTC)
oztrader

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 7/12/2007(UTC)
Posts: 134
Location: Perth Western Australia

Hi Peter,

Firstly have a look at the attached quote to quantify which definition of "range" you will use.

"From Wikipedia, the free encyclopedia
Jump to: navigation, search
Average True Range (ATR) is a technical analysis indicator developed by J. Welles Wilder, based on trading ranges smoothed by an N-day exponential moving average.

The range of a day's trading is simply high − low. The true range extends it to yesterday's closing price if it was outside of today's range:

true range = max(high,closeprev) − min(low,closeprev)
The average true range is then an N-day exponential moving average of the true range values. Wilder recommended a 14-period smoothing. Note this is by his reckoning of EMA periods (see the EMA article on that), meaning an α=1/14.

The idea of ranges is that they show the commitment or enthusiasm of traders. Large or increasing ranges suggest traders prepared to continue to bid up or sell down a stock through the course of the day. Decreasing range suggests waning interest."

Using range as High - Low:-

1) {Column A} Mov(HIGH-LOW,15,S) {S=simple moving average}
2) {Column B} ((HIGH-LOW)/Mov(HIGH-LOW,15,S))*100
3) {Column C} CLOSE/(HIGH-LOW)

Using Wilder's ATR (a standard indicator as supplied by MetaStock):-

1) {Column A} ATR(15)
2) {Column B} (ATR(1)/ATR(15))*100
3) {Column C} CLOSE/ATR(1)

As for the answer to question 4.......I'll leave you to work on that but suggest you look/download the MetaStock Formula Primer under the files section above or research Online Help above.

Hope this helps.

Cheers,

oz

Users browsing this topic
Guest (Hidden)
Similar Topics
Formula help for Exploration (Formula Assistance)
by SAINI9466637986 12/24/2023 5:53:23 AM(UTC)
Indicator and System Formula Help! (Formula Assistance)
by emmarsef$ 8/14/2019 7:10:35 AM(UTC)
Simple Formula help (Formula Assistance)
by mymetaforum 2/4/2016 2:44:07 PM(UTC)
Custom MACD Indicator Formula Help (Formula Assistance)
by mosman 1/30/2016 6:42:53 PM(UTC)
MACD formula help (Formula Assistance)
by jit005 9/7/2015 11:30:53 PM(UTC)
explorer formula help (Formula Assistance)
by dimpledbrain 3/30/2015 2:58:06 PM(UTC)
Metastock Commentary Writeif Formula Help (Formula Assistance)
by essemkay 11/23/2014 3:34:34 PM(UTC)
renko formula help (Formula Assistance)
by indexarb 7/29/2012 9:33:15 AM(UTC)
Formula Help (Formula Assistance)
by Golf4 4/23/2012 9:43:33 AM(UTC)
Formula Help please for specific ROC to Highest high (Formula Assistance)
by rjr27 3/21/2012 7:30:45 AM(UTC)
FDI (Fractal Demension Index) or Hurst Exponent formula help (Formula Assistance)
by TomHam 11/12/2010 12:15:43 PM(UTC)
Formula help! Previous day close (Formula Assistance)
by ericlawok 5/6/2010 12:10:49 PM(UTC)
Formula Help:EMA10 with MACD (Formula Assistance)
by asiatrader98 2/19/2009 4:22:21 AM(UTC)
Formula help: Ref() function (Formula Assistance)
by hatem 2/17/2009 4:19:35 AM(UTC)
Formula help (Formula Assistance)
by Icko 2/13/2009 3:48:31 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.