I don't think you can fool BeginValue()/EndValue() because they appear to be 
integrated with AA which results in global behavior and consequent display in 
all windows which I personally find quite annoying.  Getting around this would 
be a development issue that I suspect is beyond user control.  However, it 
would certainly be desirable to have more control over range markers via a 
dialog box and programmatically so that all characteristics can be controlled, 
including activation, deactivation, and color.   This would not only enhance 
the display of certain custom charting tools but also might provide a way of 
turning them off in windows where they are not needed.

Bill

----- Original Message ----- 
  From: Ken Close 
  To: [email protected] 
  Sent: Thursday, March 13, 2008 12:01 AM
  Subject: [amibroker] Set Range from Parameter Window


  From the help file:  
  Range markers can be used to select zoom-in range (View->Zoom->Range) and to 
perform calculations on selected values via BeginValue and EndValue AFL 
functions.

  Is the any command or code snippit that would allow automatically adjusting 
the chart range from dates set in the param window?  IOW, click or type in the 
start date and the end date, and then when closing the param box, the chart 
automatically jumps to the range set by these dates?

  Any way to do this?

  Thanks,

  Ken





   


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition. 
  Version: 7.5.516 / Virus Database: 269.21.7/1319 - Release Date: 3/8/2008 
10:14 AM

Reply via email to