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

[amibroker] Scripting host info is where?



PureBytes Links

Trading Reference Links

Ok, I am trying to calculate the number of days that would be 
between lets say a stocks most recnent high and its lowest low 
within a given time period.  So if a stocks hi was on 2/6/04 and the 
low was on 1/23/03 then the number of days would be 10 trading days. 
Then I want to create a vertical line that projects out a fib 
retracement of lets say 100 or 200% which in my mine would be 10 
days and 20 days. 

To determing the number of days between the high and the low I was 
using the following:

datenumathigh = ValueWhen( HHVBars( High,60) == 0, DateNum() );
datenumatlow = ValueWhen( LLVBars( Low, 60 ) == 0, DateNum() );

to determinne the recent hi and low however this is not working

Any suggestions

Thanks
MR



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