Profile Picture

BarUtils

Posted By phg 6 Years Ago
Message
phg
Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)
Posted Sunday November 20 2011
The documentation suggests BarUtils should compile for two arguments, where the second argument is an integer specifying the span of most recent bars. But this does not compile:

BarUtils.HighestHigh(Bars.Items,7)
Error No overload for method 'HighestValue' takes '2' arguments 



-Pete

See also Yahoo group about applying RE.

Posted Tuesday November 22 2011
It should work, but you should probably use Bars instead of Bars.Items:

BarUtils.HighestHigh(Bars,7)

Daniel
phg
Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)Supreme Being (44,805 reputation)
Posted Wednesday November 23 2011
Yep. It worked. Don't know how I missed that combination when I was trying to get it to compile. Doze

-Pete

See also Yahoo group about applying RE.



Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems