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

[amibroker] The square-wave AFL approximation



PureBytes Links

Trading Reference Links









<font size=2 color=black
face="Courier New">Gordon, try this

<font size=2 color=black
face="Courier New">LLCLose = <font size=2 color=red
face="Courier New">C<font size=2 color=black
face="Courier New">==<span
lang=EN-AU >LLV<font size=2 color=black
face="Courier New">(<span
lang=EN-AU >C<span
lang=EN-AU >,<font
size=2 color=fuchsia face="Courier New">100<font
size=2 color=black face="Courier New">); 

<span
lang=EN-AU >Llbars
= <span lang=EN-AU
>BarsSince<font
size=2 color=black face="Courier New">(Llclose);



Cheers,
Graham
http://e-wire.net.au/~eb_kavan/ 



<span
>-----Original Message-----
From: Gordon Sutherland
[mailto:gosuth@xxxxxxxxxx] 
Sent: Monday, July 12, 2004 9:31
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Help with
Bars Countback

<font size=3
face="Times New Roman"> 

<span
>I have been trying to code in an
exploration report for the number of bars since the lowest close in the last
100 periods. I have got the value of the lowest close in the last 100 periods
 i.e. :

<span
> 

<span
> <font size=1
color=black face="Courier New">LLCLose = <font size=1
color=blue face="Courier New">LLV<font size=1
color=black face="Courier New">(C,<font
size=1 color=fuchsia face="Courier New">100<font size=1
color=black face="Courier New">);

<font size=1 color=black
face="Courier New"> 

<font size=1 color=black
face="Courier New">But I would have thought something like below would give me the #
of bars since this occurrence:

<font size=1 color=black
face="Courier New"> 

<font size=1 color=black
face="Courier New">LLBars = <span
lang=EN-NZ >LowestSinceBars<font
size=1 color=black face="Courier New">(LLClose == True,<span
>C,<font size=1 color=fuchsia
face="Courier New">1<span
lang=EN-NZ >); //
?????

<font size=1 color=black
face="Courier New"> 

<font size=1 color=black
face="Courier New">But I just don&#8217;t seem to be able to get the function and or
coding right. Any help would be appreciated.

<span
> 

<font size=3 color=green
face="Times New Roman">Regards,

<font size=3 color=green
face="Times New Roman">
Gordon Sutherland

<font size=3
face="Times New Roman"> 

<font size=2
face="Times New Roman">

Check
AmiBroker web page at:<span
>
http://www.amibroker.com/

Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html<font
size=2> 









Check AmiBroker web page at:
http://www.amibroker.com/

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.