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

[amibroker] Re: More Periodicity



PureBytes Links

Trading Reference Links









Eureka<font size=2
color=navy face=Arial>! Thanks a lot Gary. I figured I had to modify the LLBars function
to change it from a value result to an event &#8211; just couldn&#8217;t get
there without a little help.

 

Thanks once again.

 



<span
>Regards,

<span
>
Gordon Sutherland



 

<span
>-----Original Message-----
From: Gary A. Serkhoshian
[mailto:serkhoshian777@xxxxxxxxx] 
Sent: Monday, 2 August 2004 5:44
p.m.
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Re: Help
with DateTime() Function

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



<font size=3
face="Times New Roman">Hi Gordon,





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





<span
>LLV65_date =
ValueWhen(LLBars == 0,DateTime(),1)+1;





<font size=3
face="Times New Roman">This will give you the
datetime of the LL.

Gordon Sutherland
<gosuth@xxxxxxxxxx> wrote:





<font size=2 color=navy
face=Arial>Hi Gary,

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

<font size=2 color=navy
face=Arial>Thanks
for response. I noticed that I was mixing HHV&#8217;s with LLV&#8217;s - not a
good start!  Accordingly, I resubmit my code below. I am not sure how to
work-in the line of code you suggested, can you be more specific.

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



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

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

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

<font size=2
face="Courier New">I am working on creating some
statistics for my Interpretation Window. I am<font size=2
face="Courier New">
struggling with the coding to be able to display
the date when the under
mentioned LLV's occur.

This Section works:

// Commentary for Interpretation Window (LLV
Statistics)
   LLV_Bars = LLVBars(C,65);
   LLV_Close = LLV(C,65);
   LLV_Off_C =
((C-LLV_Close)/LLV_Close)*100;
   "Bars Since LLV65
Close       " + WriteVal(LLV_Bars ,1.0);
   "Close on
LLV65               
" + WriteVal(LLV_Close ,1.2);
   "Close% Off
LLV65_C       " + WriteVal(LLV_Off_C,1.1) +
"%";

   This is the Section to display the
date that I can't get to work - it
   returns the current date:

   LLBars =
LowestSinceBars(BarIndex()==BarCount-1-65,C); 
   LLV65_date =
ValueWhen(LLBars,DateTime(),1)+1;
   "Date on LLV        
" + WriteVal(LLV65_date,formatDateTime);

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



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

<span
>-----Original Message-----
From: Gary A. Serkhoshian
[mailto:serkhoshian777@xxxxxxxxx] 
Sent: Monday, 2 August 2004 3:13
p.m.
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: Help
with DateTime() Funcion

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



<font size=3
face="Times New Roman">Howdy Gordon,





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





<font size=3
face="Times New Roman">HHBars == 0 will return
the date of the higest high since your condition.





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





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





Gary

Gordon Sutherland
<gosuth@xxxxxxxxxx> wrote:

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=3 face="Times New Roman">







Do
you Yahoo!?
<a
href="">New
and Improved Yahoo! Mail - 100MB free storage! 

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







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=3 face="Times New Roman">





<font size=3
face="Times New Roman">Do you Yahoo!?
<a
href="">New
and Improved Yahoo! Mail - 100MB free storage! 

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










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.