Future DateConverting a chart point in the future into a date or time is indeed difficult because of all the variations of when markets are open or closed, holidays, and weekends. We can visually show you the distance and you can drag the chart leftward so more margin shows on the right side, but what I feel you are wanting it a date.This script gives an estimated date on a daily bar chart for some point in the future. procedure FutureDate; x1:=XtoIndex(Pt1X); {----- MAIN PROGRAM -----} Cut the script and paste it into the script editor. You may want to save it as a tool under a name like "FutureDate". After saving, click on the RUN button to compile the script and be sure its syntax is correct. To use, display a daily chart and click on the draw tools panel. Click on the #1 button which has a hint of Who=11. Go to the chart, and click down at the start point and drag rightward to a future point in the right margin. The line that is drawn will be labeled with the number of bars between the two points and an estimated date of the 2nd point. |