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

RE: [Metastockusers] Highest (lowest) value ???



PureBytes Links

Trading Reference Links

Try this:
 
HIGHESTSINCE(1,CUM(1)=1,RSI(30,C));
LOWESTSINCE(1,CUM(1)=1,RSI(30,C));
 
The way this works is that CUM(1) shows you the bar number for each bar of the chart.  So CUM(1)=1 is the highest since the first bar.
 
Substitute RSI(30) for the indicator you want.
 
Best regards,
Richard Dale.
Norgate Investor Services
- Premium quality Stock, Futures and Foreign Exchange Data for
  markets in Australia, Asia, Canada, Europe, UK & USA -
 


From: Karile [mailto:karile@xxxxxxxxxx]
Sent: Tuesday, 26 October 2004 1:47 AM
To: Metastockusers@xxxxxxxxxxxxxxx
Subject: [Metastockusers] Highest (lowest) value ???


Hi,

I would like to create a code which detects the highest (or the lowest)
value of an indicator for the whole period loaded in the chart ( my load
options is always set to the max : 65500 periods)

Many thanks for your help,

Karile

Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links