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

[EquisMetaStock Group] Re: Highest prices for the year



PureBytes Links

Trading Reference Links

A more basic alternative to the date user-input version:

==========================
Highs/Lows within period(2)
==========================
---8<---------------------

{Plots Highs/Lows within user-input period}
{ http://users.bigpond.com/prominex/pegasus.htm#metastock }

pds:=Input("lookback periods",1,25200,252);
start:=Cum(1)=LastValue(Cum(1))-pds+1;
Hi:=HighestSince(1,start,H);
Lo:=LowestSince(1,start,L);
Hi;Lo

---8<---------------------

jose '-)


--- In equismetastock@xxxxxxxxxxxxxxx, jmtrader2003 <no_reply@xxxx> 
wrote:
> Can anyone help me write the formula new highs new lows for a stock 
> over a given period EG for the last year. Thanks in advance.


 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/equismetastock/

To unsubscribe from this group, send an email to:
 equismetastock-unsubscribe@xxxxxxxxxxxxxxx

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/