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 #

Exit on Close
Re: Exit on Close

. To: metastock@xxxxxxxxxxxxx
. Subject: Re: Exit on Close
. From: POMPATIS@xxxxxxx
. Date: Wed, 19 Apr 2000 02:14:59 EDT
. Reply-To: metastock@xxxxxxxxxxxxx
. Sender: owner-metastock@xxxxxxxxxxxxx

why not try (in the "close postion" area):

 


Exit on Close

Open Long

{to moje - jako uzupe³nienie formu³y}

x:=hour();
y:=minute();
x=9 and
y=10

Close Long

x:=hour();
y:=minute();
x=16 and
y=10

 

this should define 16:10 closing time for the indexes. (pick your times) i think this will work. it has been awhile since i used this but ihave made this work in the past. i may have set it up wrong but thebasic approach is right. i think. of course this was onintraday charts. may not be right for eod.

best of luck.

krm

[21751]

Source / From: TOP
http://purebytes.com/archives/metastock/

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!