Posted Sunday March 09 2014
|
Hi
I dont seem to be able to use the "Lowest" / "Highest" Indicator with OpenInterest. It seems to work only with OPen,CLose,High, Low bars.
The code I used is as follows, with the param being set to 20.
_LowestOI20 = new Lowest((int)param["Lowest"], OpenInterest);
|
Posted Monday March 10 2014
|
Try this:
ISeries lowestSeries = GetBarElementSeries(BarElement.OpenInterest); _LowestOI20 = new Lowest((int)param["Lowest"], lowestSeries);
Thanks, Daniel
|
Posted Tuesday March 11 2014
|
Posted Tuesday March 11 2014
|
Hi Daniel
I get a an error "The name GetBarElementSeries does not exist in the current context"
The following are loaded in the Using Statements:
#region Using statements using System; using System.Drawing; using System.Collections.Generic; using System.Linq; using RightEdge.Common; using RightEdge.Common.ChartObjects; using RightEdge.Indicators; #endregion
|
Posted Thursday March 13 2014
|
This is worth a try: ISeries lowestSeries = SystemData.GetBarElementSeries(BarElement.OpenInterest);
|
Posted Thursday March 13 2014
|
Oops. Use this:
ISeries lowestSeries = SystemData.GetBarElementSeries(Symbol, BarElement.OpenInterest, true);
Thanks, Daniel
|
Posted Sunday March 16 2014
|
Hi Daniel
Thanks! That did the trick.
How can I move the OpenInterest Indicator to a separate panel as it messes up the the rest of the indicators in the main panel since the values in the OpenINterest indicators are much higher than the underlying price which causes the rest of the indicators (eg EMA, high lows) to be bunched up and not viewable?
Thanks!
|
Posted Sunday March 16 2014
|
Hi Daniel
Its ok I figured it out with:
LowestOI20.ChartSettings.ChartPaneName = "OpenInterest"; LowestOI20.ChartSettings.Color = Color.Red; LowestOI20.ChartSettings.DisplayName = "LowestOI20";
|