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

RE: [amibroker] any ideas to reduce runtime for the price RS ranking code?



PureBytes Links

Trading Reference Links


Hi Gordon,
 
LLV65_date = ValueWhen(LLBars == 0,DateTime(),1)+1;
This will give you the datetime of the LL.Gordon Sutherland <gosuth@xxxxxxxxxx> wrote:





Hi Gary,
 
Thanks for response. I noticed that I was mixing HHV’s with LLV’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.
 

Thanks,
Gordon Sutherland
 
I am working on creating some statistics for my Interpretation Window. I amstruggling with the coding to be able to display the date when the undermentioned 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);
 
 
-----Original Message-----From: Gary A. Serkhoshian [mailto:serkhoshian777@xxxxxxxxx] Sent: Monday, 2 August 2004 3:13 p.m.To: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] Re: Help with DateTime() Funcion
 

Howdy Gordon,

 

HHBars == 0 will return the date of the higest high since your condition.

 

Regards,

GaryGordon Sutherland <gosuth@xxxxxxxxxx> wrote:Check AmiBroker web page at:http://www.amibroker.com/Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 



Do you Yahoo!?New and Improved Yahoo! Mail - 100MB free storage! Check AmiBroker web page at:http://www.amibroker.com/Check group FAQ at: 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 
		Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!


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.