Based on Google research (and reading the entire 24 page SuperTrend thread ), I suspect it may be something to do with the overload syntax, but I am not enough of a programmer to be sure. Trend does exist as a bool series in the SuperTrend indicator code. Here is the the code line that generates the compiler error listed above...
if (!SuperTrend(14, 2.66, true).Trend[0] && SuperTrend(14, 2.66, true).Trend[1])
If any one can help me see the error of my ways, it would be greatly appreciated..
Thanks in advance.
Comment