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 #

Volume % Change by Jose Silva

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: Khalid Masood <dr_khalidmasood[at]yahoo.com>
To: equismetastock[at]yahoogroups.com <equismetastock[at]yahoogroups.com>
Date: Thursday, January 4, 2007, 12:07:58 PM
Subject: [EquisMetaStock Group] Help Needed

Hi,

Happy New Year,

I need an exploration which can show today's volume increase or decrease in term of percentage from yesterday or any back periods.

Thanks in advance.

Dr.KMK

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: Jose Silva <josesilva22[at]yahoo.com>
To: equismetastock[at]yahoogroups.com <equismetastock[at]yahoogroups.com>
Date: Thursday, January 4, 2007, 8:07:00 PM
Subject: [EquisMetaStock Group] Re: Help Needed

Happy New Year, Dr.KMK. :)


Volume % Change

{ Volume % change v1.0
http://www.metastocktools.com }

{ Indicator inputs }
pds:=Input("Volume lookback periods",1,2520,21);
type:=Input("% type: [1]Standard, [2]Normalized",1,2,1);

{ Volume % change }
Vper:=(V/Ref(V,-pds)-1)*100;

{ Normalized Vol change to +-100% }
norm:=If(V<Ref(V,-pds),Vper,(1-Ref(V,-pds)/V)*100);

{ Choose Std/Norm plot }
Volper:=If(type=1,Vper,norm);

{ Historical average }
avg:=Cum(VolPer)/Cum(IsDefined(VolPer));

{ Plot in own window }
avg;VolPer

 
Volume_p_Change

jose '-)
http://www.metastocktools.com

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: Khalid Masood <dr_khalidmasood[at]yahoo.com>
To: equismetastock[at]yahoogroups.com <equismetastock[at]yahoogroups.com>
Date: Friday, January 5, 2007, 4:09:02 PM
Subject: [EquisMetaStock Group] Re: Help Needed

Thanks Jose,

You really programmed what I needed. That's working fine.
It will kind enough if you can provide me this as an exploration.

With warmest regards.

Khalid.

 

Source / From: TOP
Metastockusers[at]yahoogroups[dot]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 i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!