  | 
		Kiran 
      2016-08-01 19:54:09
	  	   	
	   
	  
	  
	  	   
	  	  
	  	
	  	
  	  	 	  
	   
	  
	   
	  0
	  
				
	  
	   
	     	  
	   	  	  
 | 	  
	  
 | 
    
 
	 
  I created a database (with fields symbol, Date (pre-seeded), earningsurprise%, salessurprise%) and did an ASCII import (i set default value of 0 for last 2 fields).  There's a potential issue, because the symbol column is blank - so, when i go to DatabaseEditor->Custom database Earning Surprises ->Choose Symbol 'ALJ', it shows 1 item for each symbol -e.g. for ALJ, I see 
 - Date 29/07/2016 00:00:00,   easeningsurprise% -23.53, salessurprise 28.62%, symbol <blank> 
 
When i use the following formula to plot the earningsurprise on the ALJ chart, i get NaN.  I should get -23.53 on that date (and 0 on other dates)  
//formula .. 
eSurprise = getdata('surprises - earnings and sales', 'earningssurprise%'); 
Plot(eSurprise, "Earning surprise", colorBlue,ChartLine); 
 
Please advise how to correct this so i can access the Earning Surprise field in Screens, Charts and in Strategies for the given date and symbol. 
 
thanks 
Kiran
       
       
 
 
 | 
 |