ExtremeHigh and Highest methods  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
curiousMan
Posts: 5
Joined: 12 Jan 2015
Has thanked: 1 time

ExtremeHigh and Highest methods

Postby curiousMan » 20 Jan 2015

PublicFunctions has these methods:

PublicFunctions.ExtremeHigh( this ISeries<double> seria, this int length, this int offset, this ref int extremeBar) - The function calculates extremum high value.

and

PublicFunctions.Highest( this ISeries<double> seria, this int length, this int barsback) - The function calculates the highest series value.

What is a difference between the methods? And what do the parameters "offset" and "barsback" mean?

Thanks.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: ExtremeHigh and Highest methods  [SOLVED]

Postby Henry MultiСharts » 22 Jan 2015

Hello curiousMan,

"Highest" searches for the maximum value on [ BarsBack; BarsBack + length ) interval.
The result is "BarOffset" bars back from the "BarsBack" value.

"ExtremeHigh" searches for the maximum value on [ currentBar; currentBar + length ) interval.
"ExtremeBar" value is calculated as offset + num, where "offset" - value passed to function, "num" - identified offset of extremum relative to the current bar.

curiousMan
Posts: 5
Joined: 12 Jan 2015
Has thanked: 1 time

Re: ExtremeHigh and Highest methods

Postby curiousMan » 22 Jan 2015

Thank you Henry! It would be great if such explanations appear in the Help instead of "calculates extremum high value"!


Return to “MultiCharts .NET”