2. It's default value is zero. If so desired, the user enters a value in the indicator's parameters user interface.
3. The indicator code is if the value is greater than zero, the indicator plots the line on the chart.
4. The line price level value is hence pulled and used in a standard horizontal line plot: Draw.HorizontalLine(this, "Line1", true, myLine, Brushes.DarkGreen, DashStyleHelper.Solid, 1);
5. Now as this is a horizontal line plot, visually it goes back indefinitely, which is a non-issue.
6. The draw object that it now is, is also used as a numerical value.
7. An objective is for this same indicator to be using this object value for other analysis purposes, but to look at conditions no earlier than the beginning of the latest session in which it is executing conditional statements.
So: User entered a value for 'Level 1 'in the interface say at 1000 AM.
Indicator will use this value for other purposes but needs instruction to look no further back than this most current session beginning.
Thanx
jM 
Comment