Exponents
Author: gbullr
Creation Date: 11/22/2010 10:40 PM
profile picture

gbullr

#1
Help w/ two issues pls.

How does one write the expression


(x+y)^ T in WL. (x+y) exp (T) does not work for me.

Thanks.



profile picture

Eugene

#2
Just like in any .NET application, you would use Math.Pow.
CODE:
Please log in to see this code.

For your future reference, check out some general C# resources out there like MSDN or (Dotnetperls).
profile picture

gbullr

#3
Thanks...

Now the second question.

How do I plot the value of a double (sor) on a pricepane that appears after a setup.
In the code below I am annotating it, but I want to plot it and after be able to use it a as a value w/ which to set a limit order.

So the basic question is how do I plot something on a pricepane that appears after a setup, the value on the graph. In the code below I have used annotateBar but that is not what I am trying to do; I am trying to plot a line of the sor value.



CODE:
Please log in to see this code.


profile picture

Eugene

#4
First thing that comes to mind is saving the sor value in a DataSeries for plotting.
profile picture

gbullr

#5
It is a discontinuous series and that is why I ask the question... I realize that the sor shown above in the code is not, but the one that I want to use is.

profile picture

Eugene

#6
profile picture

gbullr

#7
Tks.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).