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 #

John Kosar by Adam Hefner
----- Original Message -----
From: John Kosar <jk@xxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxxxxxxx>
Sent: Saturday, January 08, 2000 12:15 PM
Subject: Need Custom Indicator Help


I posed this question to the list the other day but I'm not sure if the email made it, so I'm trying again.

Can anyone help me with the proper "language" to construct a custom indicator that will plot the difference between the answers of 2 subtraction problems? I have MS 6.52.

Here's an example of what I want to do:

The difference between (O-H) and (L-C)

where the answer to the problem within each parenthesis could be a positive or negative number.

Suppose (O-H) and (L-C)
was (5-9) and (6-4)
which would be (-4) and (2)

the difference between them would be 6. This is what I'm trying to plot.

The plotted figure could never be less than zero, which would only be ifboth values within the parenthesis were the same. Can anyone help me withthis?

Thanks.

John
jk@xxxxxxxxxxxxx


Re: Need Custom Indicator Help

· To: <metastock@xxxxxxxxxxxxx>
· Subject: Re: Need Custom Indicator Help
· From: "Adam Hefner" <vonhef@xxxxxxxxxxxx>
· Date: Sat, 8 Jan 2000 10:46:52 -0600
· References: <200001081531.IAA16872@xxxxxxxxxxxxxxxxxx>
· Reply-To: metastock@xxxxxxxxxxxxx
· Sender: owner-metastock@xxxxxxxxxxxxx

John,
Hope this will help you:

Adam Hefner
[16808]


John Kosar

Oh:=OPEN-HIGH;
Lc:=LOW-CLOSE;
Abs(Oh-Lc);

 

e-w-John_Kosar.gif
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!