[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] JScripts - some debugging help needed



PureBytes Links

Trading Reference Links




Yes 
I've tried it and when I exit AB and then re-run it the ticker is 
gone.
<SPAN 
class=534063400-31122003> 
I've 
added an "AB.Refreshall" but that didn't help refresh the 
display.
<SPAN 
class=534063400-31122003> 
<SPAN 
class=534063400-31122003>d

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Herman 
  vandenBergen [mailto:psytek@xxxxxxxx] Sent: Tuesday, December 30, 
  2003 7:30 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] JScripts - some debugging help needed
  <FONT face=Arial color=#0000ff 
  size=2>It doesn't delete ~Test2
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>even after WorkSpace refresh it is still there, have you tried it 
  yourself?
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>h
  
    <FONT face=Tahoma 
    size=2>-----Original Message-----From: dingo 
    [mailto:dingo@xxxxxxxxxxxx]Sent: December 31, 2003 8:03 
    AMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
    [amibroker] JScripts - some debugging help needed
    <FONT face=Arial color=#0000ff 
    size=2>when you say "doesn't want to work" what do you mean by that?  
    8-)
    <FONT face=Arial color=#0000ff 
    size=2> 
    <FONT face=Arial color=#0000ff 
    size=2>d
    
      
      <FONT 
      face=Tahoma size=2>-----Original Message-----From: Herman 
      vandenBergen [mailto:psytek@xxxxxxxx] Sent: Tuesday, December 
      30, 2003 6:22 PMTo: AmiBrokerSubject: [amibroker] 
      JScripts - some debugging help needed
      <SPAN 
      class=780530123-30122003>Dale,
      <SPAN 
      class=780530123-30122003> 
      i decided I'd 
      rather look stupid then waste more time. The RemoveAllQuotes() works fine 
      but my DeleteComposite() doesn't want to work, can somebody help correct 
      the code?
      <SPAN 
      class=780530123-30122003> 
      Many 
      thanks!
      <SPAN 
      class=780530123-30122003>herman
      <SPAN 
      class=780530123-30122003> 
      <FONT 
      color=#000000><FONT 
      color=#ff0000>Buy=<FONT 
      color=#ff0000>Sell<FONT 
      color=#000000>=<FONT 
      color=#ff0000>Short<FONT 
      color=#000000>=<FONT 
      color=#ff0000>Cover<FONT 
      color=#000000>=0<FONT 
      size=2>; <FONT 
      color=#ff0000>Filter<FONT 
      color=#000000>=1<FONT 
      size=2>; <FONT 
      color=#0000ff>AddToComposite(<FONT 
      color=#ff00ff>1,<FONT 
      color=#ff00ff>"~Test1",<FONT 
      color=#ff00ff>"x"<FONT 
      color=#000000>); AddToComposite<FONT 
      color=#000000>(1<FONT 
      color=#000000>,"~Test2"<FONT 
      color=#000000>,"X"<FONT 
      size=2>); <FONT 
      color=#0000ff>EnableScript(<FONT 
      color=#ff00ff>"jscript"<FONT 
      face=Arial>); <% <FONT 
      color=#ff0000>function 
      RemoveAllQuotes( Name<FONT 
      size=2> )    { 
         AB = new ActiveXObject(<FONT 
      color=#ff00ff>"Broker.Application"<FONT 
      face=Arial>);    iQty = AB.Stocks( 
      Name<FONT 
      face=Arial> ).Quotations.Count; 
         <FONT 
      color=#ff0000>for( i = iQty - 
      1; i >= 
      0<FONT 
      face=Arial>; i-- ) 
            { 
      <FONT 
      color=#000000><FONT 
      color=#000000>      AB.Stocks( <FONT 
      color=#0000ff>Name<FONT 
      color=#000000> ).Quotations.Remove( i ); 
            }    } 
      <FONT 
      color=#ff0000>function<FONT 
      size=2> DeleteComposite( CompName ) 
         {    AB = new 
      ActiveXObject(<FONT 
      color=#ff00ff>"Broker.Application"<FONT 
      face=Arial>);    AB.Stocks( 
      CompName ).Remove();    } %> script = 
      GetScriptObject<FONT 
      size=2>(); 
      script.RemoveAllQuotes(<FONT 
      color=#ff00ff>"~Test1"<FONT 
      face=Arial>); script.DeleteComposite(<FONT 
      color=#ff00ff>"~Test2"); 
      
      <SPAN 
      class=780530123-30122003> Send BUG 
      REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
      suggest@xxxxxxxxxxxxx-----------------------------------------Post 
      AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
      <A 
      href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
      group FAQ at: <A 
      href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
      
      
      Yahoo! Groups Links
      
        To visit your group on the web, go to:<A 
        href="">http://groups.yahoo.com/group/amibroker/  

        To unsubscribe from this group, send an email to:<A 
        href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

        Your use of Yahoo! Groups is subject to the <A 
        href="">Yahoo! Terms of Service. 
        Send BUG REPORTS to 
    bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    
    
    Yahoo! Groups Links
    
      To visit your group on the web, go to:<A 
      href="">http://groups.yahoo.com/group/amibroker/  

      To unsubscribe from this group, send an email to:<A 
      href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

      Your use of Yahoo! Groups is subject to the <A 
      href="">Yahoo! Terms of Service. 
    Send BUG REPORTS to 
  bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  
  
  Yahoo! Groups Links
  
    To visit your group on the web, go to:<A 
    href="">http://groups.yahoo.com/group/amibroker/  

    To unsubscribe from this group, send an email to:<A 
    href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
  


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.