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

[amibroker] ADLine function doesn't work for me



PureBytes Links

Trading Reference Links




<SPAN 
class=943311405-21012004>Jim,
I am 
not sure I understand. Are you running an exploration and want to see only 
stocks meeting your buy criteria over X number of days? If so 
then...
<SPAN 
class=943311405-21012004> 
<SPAN 
class=943311405-21012004>Filter=Buy;
<SPAN 
class=943311405-21012004> 
will 
show only those stocks. Set the n= days to the number of days you wish to look 
back (n=1 for current day, n=5 for signals in the last 5 days 
etc).
<SPAN 
class=943311405-21012004> 
If you 
only want to verify that today's signal was not preceded by another signal in 
the last X days then you might have a look at Barsince(), where 
barssince(ref(buy,-1) > X number of days.....
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: jmbruegge 
[mailto:jmbruegge@xxxxxxxxx]Sent: Tuesday, January 20, 2004 4:48 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
Formula question for Ichimoku ChartGreetings - 
I am using an Ichimoku chart for buy/sell signals and have written a 
program that finds the signals and displays a green or red arrow 
depending on the signal. I am NOT using a crossover as a signal but 
rather a series of events occuring togther to give the signal. My 
question is when I do a scan for potential stocks and signals, the scan 
only shows stocks that have the red or green arrow, and the problem is the 
arrows may already have been preexisting starting a day ago, or a few months 
ago; i.e. I am having difficulty finding "new" signals from the last few 
days or so.Heres my ? - How can I write a line in the formula that asks 
"find all stocks with this signal, but make sure there is NO signal that 
has been given for the prior 5 days?"    All help is 
appreciated.Cheers JMBSend 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.