If the occilator then cycles back up towards the top, but does not hit the existing maximum line (MAXLINE), but insteads turns back down, I want to dynamically move the MAXLINE to that new more recent high value. I want to continue this logic for both MAXLINE and MINLINE.
I can get this to work in the price payne... I fully understand the logic invovled to determine if the value is the max or the min and draw horizonallines (sort of a support and resistence concept)...
How do I do this in the indicator payne?
Overlay true/false has no bering on DrawHorizontalLine...
It appears DrawHorizontalLine always draws in the price window...
It appears I can not access Add (new Line (Color , value, name)) - no luck looking for examples of this...
It appears the use of Plot would not create the desired horizontal line affect I am looking for as prior lines would be within the Plot array....more of a stair step output instead of a simple Left side to Right side horizontal line...
I can do this using chart tools easy enough... but really want to do this programically
Looking for ideas, suggestions, just point and I'll dig...

Comment