30knotwind 9 posts msg #105550 - Ignore 30knotwind |
3/20/2012 10:16:09 AM
What is wrong with thiscalc:
set{dymd, (high+low)/2}
Where can I find answers to this so I don't have to clog up the forum.
Thanks
|
Kevin_in_GA 4,599 posts msg #105552 - Ignore Kevin_in_GA |
3/20/2012 10:56:30 AM
SIMPLE - ONLY ONE MATHEMATICAL OPERATION IS ALLOWED PER SET{} STATEMENT. YOU HAVE TWO IN THIS ONE.
Sorry - caps lock was on, not shouting.
Kevin
|
dwiggains 444 posts msg #105553 - Ignore dwiggains |
3/20/2012 11:43:24 AM
Hi
This is the only way I can do what you want.
set {a, high + low}
set{dymd, a / 2} add column dymd
see ya
David
|
Kevin_in_GA 4,599 posts msg #105554 - Ignore Kevin_in_GA |
3/20/2012 12:14:50 PM
You might also try using the standard pivot point (PP = (H + L + C)/3).
Just use "PP" instead of the user-defined variable.
|