Thanks alot. I renamed thefile so it ends in js. Now I did what you said but 
when I try and
run it I get Windows Scripts host error. Saying Line 5, Char 27 expected';'
Microsoft Jscript compilation error. Is there something Im doing wrong?

--- On Wed, 4/22/09, Steve Dugas <[email protected]> wrote:

From: Steve Dugas <[email protected]>
Subject: Re: [amibroker] individual optimization
To: [email protected]
Received: Wednesday, April 22, 2009, 3:24 PM











    
            
            


      
      


Hi Jim - First load the AFL file into AA - it is 
just a little sample system but you can replace it with your own once you get 
it 
running.  Then edit the JS file ( you can use Notepad ) so it 
uses your desired watchlist, lookback pd, etc - all the options are commented, 
hopefully well enough to  understand it.  Then run the JS file - to do 
that, I added it to AmiBroker's Tools menu ( right-click menu bar, select 
customize, add it to tools ( see attached pic ).
 
 

  ----- Original Message ----- 
  From: 
  jim 
  fenster 
  To: amibro...@yahoogrou ps.com 
  Sent: Wednesday, April 22, 2009 2:07 
  PM
  Subject: Re: [amibroker] individual 
  optimization
  

  
    
    
      Im a bit of a noob, but how do I use this? Which one do I 
        load into AA?I never used jscript before.  I tried changing the 
        second one to .js and running it and I get syntax errors. Im guessing 
        cuz its not AFL. 

--- On Tue, 4/21/09, Steve Dugas <sjdu...@comcast. net> 
        wrote:

        
From: 
          Steve Dugas <sjdu...@comcast. net>
Subject: 
          Re: [amibroker] individual optimization
To: 
          amibro...@yahoogrou ps.com
Received: Tuesday, April 21, 2009, 8:08 
          PM


          
          
          
          Hi - You can try these, there are some 
          directions at the top of the codes. You need to rename the .jsabc 
file 
          back to .js ( jscript ).  Only problem is you can't sort by 
          ticker, you can see where I tried to add a sortable column via CBT 
for 
          just the ticker but couldn't get it to work at the 
          time...
          ( please let me know if you manage to get 
          that part working..   8 - )
           
          Steve
           
          
            ----- 
            Original Message ----- 
            From: 
            jim fenster 
            
            To: 
            amibro...@yahoogrou 
            ps.com 
            Sent: 
            Tuesday, April 21, 2009 6:39 PM
            Subject: 
            [amibroker] individual optimization
            

            
              
              
                I am trying to run an individual optimization 
                  on all the stocks in my watchlist number 1. 
I have 
                  searched through the archives and tried copying whatever is 
in 
                  there to my AA script page and nothing seems to work. Is 
there 
                  any standard script that I can copy and paste thats available 
                  anywhere? It would just take way too long to do them one by 
                  one. 

Thanks,

Jim


                  
                    

            
            Be smarter than spam. See how smart SpamGuard is at giving junk 
            email the boot with the All-new Yahoo! Mail 
            

   
  
  
  
  Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your 
favourite 
  sites. Download it now!  
  
 
 

      

    
    
        
         
        
        








        


        
        


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

Reply via email to