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 #

Pivot and Associated Sup/Res Levels
pivot code

·    To: metastock@xxxxxxxxxxxxx
·    Subject: pivot code
·    From: POMPATIS@xxxxxxx
·    Date: Sat, 6 Nov 1999 19:30:17 EST
·    Reply-To: metastock@xxxxxxxxxxxxx
·    Sender: owner-metastock@xxxxxxxxxxxxx

Greetings:

Might one of you code experts know of a way to take values derived from a daily chart (as below) and use them to create an indicator which can be placed on an intra-day chart?  Then, to have the indicator update at noon,using todays open, high and low?  I am stumped.  OR IF YOU HAVEA BETTER IDEA FOR THE UPDATE TIME AND VALUES TO USE, PLEASE ADVISE.

Thank you very much. 
Kevin Miles.


Pivot and Associated Sup/Res Levels

P = Pivot
NH = Next High
HH = Highest High
NL = Next Low
LL = Lowest Low
O = Open
H = High
L = Low
C = Close

P = (H + L + C) /3    {daily values}
NH = (2*P) - L
NL = (2*P) - H
LL = P - (NH - NL)
HH = (P - NL) + NH


[15948]


Pivot and Associated Sup/Res Levels

Px:=(H + L + C) /3; {daily values}
NH:= (2*Px) - L;
NL:= (2*Px) - H;
LL:= Px - (NH - NL);
HH:= (Px - NL) + NH;
LL;
HH

 

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!