John Snyder
New member
I am creating a "declare lower" indicator. Obviously, the indicator changes in value, and as one zooms in our out, displaying fewer or greater number of bars, ThinkorSwim automatically adjusts the scaling of the indicator to maximize it appropriately in the allotted space. However, I wish to display horizontal lines at both the top and bottom of the indicator space, and I need for these horizontal lines to also scale to the top and bottom of the space that ToS creates for the indicator.
What I want is a command such as this: def top = Highest(indicator, whatever is currently visible on the screen) and
def bottom = Lowest(indicator, whatever is currently visible on the screen).
Does anyone have an idea how to accomplish this?
What I want is a command such as this: def top = Highest(indicator, whatever is currently visible on the screen) and
def bottom = Lowest(indicator, whatever is currently visible on the screen).
Does anyone have an idea how to accomplish this?