Query: Project a Value into the Future

Back to Special Queries

 

Notes:

  1. The idea is to project some values out into the future, like a graphical prediction.
  2. Repeating from 10 days ago to 10 days later will align the date scale correctly.

   SHOW 
     {
       1: BAR of US 
       2: IF Date is 2 days after  date:curDate THEN 1 ENDIF  
       3: IF Date is 3 days after  date:curDate THEN 1 ENDIF  
       4: IF Date is 4 days after  date:curDate THEN 1 ENDIF  
       5: IF Date is 5 days after  date:curDate THEN 1 ENDIF  
       6: IF Date is 6 days after  date:curDate THEN 1 ENDIF  
       7: IF Date is 7 days after  date:curDate THEN 1 ENDIF  
     } 
       repeated from 10 days ago  to 10 days later  
   WHEN 
       Date is within 1 day 
     AND 
       curDate = current date