Sorry, an error occurred while loading the content.
Browse Groups

• I m trying to create a study and I want to make use of \$UVOL and \$DVOL but I get a message saying invalid parameter . Does anyone know of a way to make this
Message 1 of 4 , Oct 4, 2008
View Source
I'm trying to create a study and I want to make use of \$UVOL and \$DVOL
but I get a message saying "invalid parameter". Does anyone know of a
way to make this work?
• Here is a study using \$UVOL and \$DVOL. It works. ... declare lower; # Define Variables def uv = close( \$UVOL ); def dv = close( \$DVOL ); # Plot Studies plot
Message 1 of 4 , Oct 4, 2008
View Source
Here is a study using \$UVOL and \$DVOL.  It works.
----------------------
declare lower;

# Define Variables
def uv = close("\$UVOL");
def dv = close("\$DVOL");

# Plot Studies
plot breadth = if(uv/dv >= dv/uv, uv/dv, dv/uv);
--------------------------

Ed Gieszelmann

Jeff Boring wrote:

I'm trying to create a study and I want to make use of \$UVOL and \$DVOL
but I get a message saying "invalid parameter". Does anyone know of a
way to make this work?

• Here is one I made which is not as elegant as Ed s but may find it here:
Message 1 of 4 , Oct 4, 2008
View Source
Here is one I made which is not as elegant as Ed's but may find it here:

On Sat, Oct 4, 2008 at 10:35 AM, Edward Gieszelmann wrote:

Here is a study using \$UVOL and \$DVOL.  It works.
----------------------
declare lower;

# Define Variables
def uv = close("\$UVOL");
def dv = close("\$DVOL");

# Plot Studies
plot breadth = if(uv/dv >= dv/uv, uv/dv, dv/uv);
--------------------------

Ed Gieszelmann

Jeff Boring wrote:

I'm trying to create a study and I want to make use of \$UVOL and \$DVOL
but I get a message saying "invalid parameter". Does anyone know of a
way to make this work?

• Excellent. Thank you so much. I m new to thinkscript and still learning. I ll give this a try. Jeff On Sat, Oct 4, 2008 at 10:35 AM, Edward Gieszelmann
Message 1 of 4 , Oct 4, 2008
View Source
Excellent.  Thank you so much. I'm new to thinkscript and still learning. I'll give this a try.

Jeff

On Sat, Oct 4, 2008 at 10:35 AM, Edward Gieszelmann wrote:

Here is a study using \$UVOL and \$DVOL.  It works.
----------------------
declare lower;

# Define Variables
def uv = close("\$UVOL");
def dv = close("\$DVOL");

# Plot Studies
plot breadth = if(uv/dv >= dv/uv, uv/dv, dv/uv);
--------------------------

Ed Gieszelmann

Jeff Boring wrote:

I'm trying to create a study and I want to make use of \$UVOL and \$DVOL
but I get a message saying "invalid parameter". Does anyone know of a
way to make this work?

Your message has been successfully submitted and would be delivered to recipients shortly.
• Changes have not been saved
Press OK to abandon changes or Cancel to continue editing
• Your browser is not supported
Kindly note that Groups does not support 7.0 or earlier versions of Internet Explorer. We recommend upgrading to the latest Internet Explorer, Google Chrome, or Firefox. If you are using IE 9 or later, make sure you turn off Compatibility View.