Massindex
Created at 17 Dec 2015, 15:04
AH
Massindex
17 Dec 2015, 15:04
High guys..
does anyone know how can i insert MassIndex in a cbot?
I struggles a lot trying but to no avail..
all i need to do is compare the Massindex value for the last two bars..
Typically in an if statement..
if
{
massindex[index - 1] < massindex[index - 2]
}
else {}
On another note.. do you know how i could convert any value to be always a positive value even if the actual is a negative?
Spotware
17 Dec 2015, 22:54
Dear Trader,
Please have a look at the "Nested Indicators" section of our API Programmers Guides.
Regarding the absolute values we recommend you to check the Math.Abs method.
@Spotware