Where do you find the math functions supported by WealthLab 5.6? In particular I'd like to use the Square Root function, but would like to know also where the general reference to math functions is found.
Size:
Color:
Size:
Color:
P.S. By chance, if you're looking to apply square root to a DataSeries, then
Sqrt in Community.Indicators can be used for that.
Size:
Color:
OK. I looked up C# and saw Sqrt is the function for Square Root. I'm using the snippet of code
" double priority2 = limitMultiplier*Sqrt((1.0 - (Vix0-external.Close[bar])/Vix0));" to take volatility into account in a parameter. WL 5.6 gives me the error CS0103: The name "Sqrt" does not exist in the present context.
Size:
Color:
Incorrect syntax. Look up
Math.Sqrt in MSDN if you're planning to use it.
Size:
Color: