MetaStock™ Zone Tworzenie Sytemów Trader Shop Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

 

Close From One Day To The Next
Subject: EL Question
Author: <omega-list@xxxxxxxxxx> at internet
Date: 20/8/98 16:54

Has anyone written an .ela for connecting close from one day to the next in a close-only chart?

I don't mean just a line-on-close chart, which is already available in TS.
E.g, I'd like to be able to create a bar chart with mutual fund data. The close of one day would be the open for the next day & either the high or low depending upon the close of the current day. It would then graph as a bar chart.

I am NOT EL savvy, so I would need the actual code to enter into TS or an .ela file.

Many TIA,

FPI

Re: EL Question

. To: <omega-list@xxxxxxxxxx>
. Subject: Re: EL Question
. From: "Stuart Lynskey"<stuart_lynskey_at_syd@xxxxxxxxxxxxxxxxxxx>
. Date: Fri, 21 Aug 98 11:13:44 -0500
. Resent-Date: Thu, 20 Aug 1998 18:16:11 -0700
. Resent-From: omega-list@xxxxxxxxxx
. Resent-Message-ID: <"Qh7II3.0.yl.RfCtr"@mx1>
. Resent-Sender: omega-list-request@xxxxxxxxxx

Hi

This should do the job :


Type : Indicator, Name : Close From One Day To The Next

Plot1(close[1], "open") ;
Plot2(IFF(close > close[1] , close ,close[1] ) , "high " );
Plot3(IFF(close > close[1] , close[1] , close ) , " low " );
Plot4(close , "close " );

 

t-i-Close_From_One_Day_To_The_Next.gif
Style:

Plot1 - left tic
Plot2 - bar high
Plot3 - bar Low
Plot4 - right tic

Regards Stuart

[9290]

Source / From: TOP
http://www.purebytes.com

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 niesie ze sob± ryzyko poważnych strat finansowych!