Auto Zoom

TheNovice

Junior member
Messages
18
Likes
0
I am trying to write a daily pivot indicator for MetaStock, However, I want the display to auto scale to the price and not the indicator (otherwise the price would be squashed considerably). I mean if the indicator is not in the price range it should not be displayed.
For example a simple line indicator might be:
Test :=0;
Test
Which will plot a 0 line even of the price is at 10000! I have noticed that if you actually draw a trend line at 0 it will not be shown until it comes within the price range.
Can anybody help?
Many thanks
 
Top