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

Re: [amibroker] If Statement Problem



PureBytes Links

Trading Reference Links




Thanks Tomasz (I did read it, I just forgot 8) 
).
 
----- Original Message ----- 
<BLOCKQUOTE 
>
  <DIV 
  >From: 
  Tomasz Janeczko 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Sunday, May 25, 2003 10:44 PM
  Subject: Re: [amibroker] If Statement 
  Problem
  
  Hello,
   
  Because if order flow control requires 
  SINGLE value to decide whenever
  take this path or not.
  You supply the array instead.
  Please read Tutorial: Understanding how AFL works section of 
  the User's Guide.
   
  Write
   
  ltest = IIF( H > Ref(H, -1 ), 3, 0 );
   
  or write:
   
  for( i = 1;  i < BarCount; i++ )
  {
   if( H[i] > H[ i - 1 ] ) ltest[ i ] 
  = 3; 
  }
   
  Best regards,Tomasz Janeczkoamibroker.com
  <BLOCKQUOTE 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    <A title=stewart@xxxxxxxxxxxxxxxx 
    href="">Stewart 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Sunday, May 25, 2003 11:32 
    PM
    Subject: [amibroker] If Statement 
    Problem
    
    Can anyone tell me why this doesn't 
    work?
     
    if (H>Ref(H,-1))
    
    {
    ltest = 3;
    }
    thanks,
    StewartSend BUG 
    REPORTS to <A 
    href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS 
    to <A 
    href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: <A 
    href="">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 
    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 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.