| 
 PureBytes Links 
Trading Reference Links 
 | 
How 
about simply using ref instead of barssince?
<FONT face=Arial color=#0000ff 
size=2> 
ref( Cross( PDI( 3 
), MDI( 3 ) ),-1) 
 
Regards,Jayson 
  <FONT face=Tahoma 
  size=2>-----Original Message-----From: fsmart21 
  [mailto:jdgeddie@xxxxxxxxx]Sent: Wednesday, April 28, 2004 3:48 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  barssince questionThis is probably an easy question 
  for most of you guys.  How do I set this parameter so that only data 
  from the previous day (end of day data) is considered for generating 
  buy/sell signals.  Here's my buy signal:Buy = BarsSince( 
  Cross( PDI( 3 ), MDI( 3 ) ) ) <= 1 I tried using =1 instead of 
  <=1, but receive a syntax error.  I do not want to look at data of 
  less than one bar (daily setting).  Any 
  ideas?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 
  
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 Sponsor
  ADVERTISEMENT 
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.
 
 |