BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScan
  New Posts New Posts RSS Feed: Bull script getting started
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Bull script getting started

 Post Reply Post Reply
Author
Message
Art Vandelay View Drop Down
Newbie
Newbie


Joined: 13 Jan 2005
Posts: 6
Post Options Post Options   Quote Art Vandelay Quote  Post ReplyReply Direct Link To This Post Topic: Bull script getting started
    Posted: 09 Apr 2006 at 9:02am

I am having some trouble getting this right.  Obviously it is something basic that I am doing wrong as no matter what I enter I get an error mesaage.  I am trying to calculate the price change over the last 180 days, divided by the average true range over that period.

I then want to do the same for 90, 45 & 20 days and then average all 4 results as well.  However as I said I can't get really get started.  Below is my most recemt attempt ( about attempt number 12)

lastvalue(C)-180(c)/atr(180)

Back to Top
Owen View Drop Down
Regular
Regular


Joined: 15 Nov 2004
Posts: 97
Post Options Post Options   Quote Owen Quote  Post ReplyReply Direct Link To This Post Posted: 10 Apr 2006 at 4:57pm
I would write c- hist(c,180) for closing price change over last 180 days, so the whole formula would be (c- hist(c,180))/atr(180).

 
Back to Top
Art Vandelay View Drop Down
Newbie
Newbie


Joined: 13 Jan 2005
Posts: 6
Post Options Post Options   Quote Art Vandelay Quote  Post ReplyReply Direct Link To This Post Posted: 10 Apr 2006 at 8:44pm
Thanks Owen, your help was valuable & appreciated
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz