MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

Previous Day's High/Low - On Intraday Data
Re: Referencing EOD from within intraday

* To: metastock@xxxxxxxxxxxxx
* Subject: Re: Referencing EOD from within intraday
* From: iamken <iamken@xxxxxxxxxxxxxxx>
* Date: Mon, 30 Jul 2001 00:11:54 -0400
* References: <000401c1187a$680f6280$54b472c3@xxx>
* Reply-To: metastock@xxxxxxxxxxxxx
* Sender: owner-metastock@xxxxxxxxxxxxx

> Hello List,
> Is there a simple/elegant way to reference previous _day's_ high (low, etc) testing intraday data?
> I can't think of anything else than using <time> function plus number of
> bars back... But even if it were possible, then what about the days with
> shorter trading hours, or missing data, or differences between exchanges etc.
> Advice please?
> Thanks,
> Yarroll

Here's one way to plot it. Bottom two lines should be easy enough to reference in a test.

Previous Day's High/Low - On Ontraday Data

yestHi:= Ref(HighestSince(1,MktStart,H),-1);
yestLo:= Ref(LowestSince(1,MktStart,L),-1);


Source / From: TOP

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!