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

[amibroker] Re: Sudden AmiQuote problem - "The system cannot find the file specified"


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: RE: [amibroker] Code to specify a specific parameter for a specific ticker for a specific period of time?
  • From: "dingo" <dingo@xxxxxxxxxxxx>
  • Date: Sun, 4 Jan 2004 16:50:38 -0800
  • Title: Message

PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>AHEM!
<FONT face=Arial color=#0000ff 
size=2> 
When 
you add the second thru the 20th tickers things seem to fall 
apart.
<FONT face=Arial color=#0000ff 
size=2> 
But I 
think it'll work this way: 
<FONT 
color=#0000ff> 

<FONT face="Courier New" 
size=2>if(Name()=="ADBE")    {    
Slevel = (((DateNum() >= 1030401 AND DateNum() <= 1030630) * 1 ) + ( 
(DateNum() >= 1030701 AND DateNum() <= 1030930) * 2 ) 
);    }if(Name()=="ALO")    
{    Slevel = (((DateNum() >= 1030401 AND DateNum() <= 
1030630) * 3 ) + ( (DateNum() >= 1030701 AND DateNum() <= 1030930) * 4 ) 
);    }
<FONT face=Arial 
color=#0000ff size=2>Thanks for the help!
<FONT face=Arial 
color=#0000ff size=2>d

  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Graham 
  [mailto:gkavanagh@xxxxxxxxxxxxx] Sent: Sunday, January 04, 2004 
  7:31 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] Code to specify a specific parameter for a specific ticker for a 
  specific period of time?You could just use this , 
  just check the bracket numbers for closureSlevel = (Name()=="ADBE") * 
  ( ( (DateNum() >= 1030401 AND DateNum() <=1030630) * 34 ) + ( 
  (DateNum() >= 1030701 AND DateNum() <= 1030930) * 2 ) 
  );Cheers,Graham<A 
  href="">http://groups.msn.com/asxsharetrading<A 
  href="">http://groups.msn.com/fmsaustralia 
  -----Original Message-----From: dingo [mailto:dingo@xxxxxxxxxxxx] 
  Sent: Monday, 5 January 2004 8:23 AMTo: _amibroker_yahooSubject: 
  [amibroker] Code to specify a specific parameter for a specificticker for 
  a specific period of time?As the subject says "Code to specify a 
  specific parameter for a specificticker for a specific period of 
  time?".I'm in a brain fog and could use some help. Here's what I've 
  coded sofar:Slevel will be used as the cross line for an 
  oscillator.if(Name()=="ADBE")    
  {    if (DateNum() >= 1030401 AND DateNum() <= 
  1030630)        
  {        Slevel = 
  34;        }    if 
  (DateNum() >= 1030701 AND DateNum() <= 
  1030930)        
  {        Slevel = 
  2;        }    
  }Filter = 1;AddColumn(SLevel, "SLevel ", 1.0);But 
  I'm getting a syntax error:Error 3.Condition in IF, WHILE, FOR 
  statementshas to be Numeric or Boolean type.You can not use array 
  here,please use [] (array subscript operator)to access array 
  elementsHow can I make this work?dSend 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 Sponsor 
  ---------------------~--> BuyInk Cartridges or Refill Kits for your HP, 
  Epson, Canon or Lexmark Printerat MyInks.com. Free s/h on orders $50 or 
  more to the US & Canada.<A 
  href="">http://www.c1tracking.com/l.asp?cid=5511<A 
  href="">http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Yahoo! 
  Groups LinksTo 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:amibroker-unsubscribe@xxxxxxxxxxxxxxxYour use of Yahoo! Groups 
  is subject to:  <A 
  href="">http://docs.yahoo.com/info/terms/ 
  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.