I have this code:
Value.Set (Math.Abs (Open [0] -close [0]));
It gives me the size of the body of the candle.
I want that if the value is greater than 10 (the body of the candle that gives me value.Set) other code is executed.
I do this:
if (value.Set (Math.Abs (Open [0] -close [0])))> 10)
BarColor = Color.Blue;
fails. He says he does not support>
If you use a variable also fails.
Thank you.
Comment