I have been programming my first indicators and EAs the past couple of weeks and I have a question I hope someone can answer. If I create a regression channel like this:
ObjectCreate("LRC",OBJ_REGRESSION,0,Time[endbar],0,Time[0],0);
Is there any way to get the values of the upper or lower channel lines at any particular time or bar? I haven't been able to figure this out and because when I put the arrow over one of the lines on the chart no value shows I am guessing that the OBJ_REGRESSION probably doesn't return values for these lines.
ObjectCreate("LRC",OBJ_REGRESSION,0,Time[endbar],0,Time[0],0);
Is there any way to get the values of the upper or lower channel lines at any particular time or bar? I haven't been able to figure this out and because when I put the arrow over one of the lines on the chart no value shows I am guessing that the OBJ_REGRESSION probably doesn't return values for these lines.