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

Re: [amibroker] Re: Training mode.



PureBytes Links

Trading Reference Links

Hello All,

I am working on creating some statistics for my Interpretation Window. I am
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:

  HHBars = HighestSinceBars(BarIndex()==BarCount-1-100,H); 
  HHV65_date = ValueWhen(HHBars,DateTime(),1)+1;
 "Date on HHV         " + WriteVal(HHV65_date,formatDateTime);

Any help would be appreciated.

Regards,

Gordon Sutherland






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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:
    http://docs.yahoo.com/info/terms/