Bull script getting started |
Post Reply |
Author | |
Art Vandelay
Newbie Joined: 13 Jan 2005 Posts: 6 |
Post Options
Quote Reply
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) |
|
Owen
Regular Joined: 15 Nov 2004 Posts: 97 |
Post Options Quote Reply 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).
|
|
Art Vandelay
Newbie Joined: 13 Jan 2005 Posts: 6 |
Post Options Quote Reply Posted: 10 Apr 2006 at 8:44pm |
Thanks Owen, your help was valuable & appreciated
|
|
Post Reply |
Forum Jump | Forum Permissions 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 |