thanks Tomasz, I will try that  (indeed I was refering to the small tabs below 
the chart)

regards, Ed




  ----- Original Message ----- 
  From: Tomasz Janeczko (groups) 
  To: [email protected] 
  Sent: Thursday, June 14, 2007 11:23 AM
  Subject: Re: [amibroker] RequestTimedRefresh( 1, False);



  Ed,

  There are two things:
  tabs (for chart WINDOWS) - big ones ABOVE chart and chart sheets - small tabs 
BELOW chart.

  Chart sheets that you want to have auto-executing MUST be visible.
  THis is so because charts in hidden sheets do not really exist (this 
conserves computer resources).

  Those big tabs above are another story - they switch windows and all windows 
exists.

  So solution for you is:
  a) File->New->Blank Chart
  b) insert any of your auto-executing code here with RequestTimedRefresh()
  c) switch back to your original window (leave the one created in point a) 
open - it can be hidden behind other charts) 

  Best regards,
  Tomasz Janeczko
  amibroker.com
    ----- Original Message ----- 
    From: Edward Pottasch 
    To: [email protected] 
    Sent: Thursday, June 14, 2007 11:00 AM
    Subject: [amibroker] RequestTimedRefresh( 1, False);


    hi,

    I have different realtime AFL codes running under different tabs. Most of 
them are just to check certain statistical graphs but under one tab I have AFL 
running that sends the orders to the exchange.

    When working under a different tab the AFL code that sends the orders 
doesn't execute. I tried:

    RequestTimedRefresh( 1, False); 

    But that doesn't help. How do I ensure AFL code under a certain tab to stay 
executing even though some other tab is active at that moment?

    thanks, Ed



   

Reply via email to