[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Normalizing Vol?



PureBytes Links

Trading Reference Links

Yes, right.

i have written such a formula a long time ago too.
Maybe you need it. It has also colored bars.


//Volume compared to volume ma
//written by Thomas Zmuck
//Date: 15-07-02
//thomas.zm@xxxxxx

pds = 50;
V10 = V/Ref(MA(V,10),-1); 
V20 = V/Ref(MA(V,20),-1);
V50 = V/Ref(MA(V,50),-1);

UP_V = C>Ref(C,-1)AND (abs(O-C)>0.2*(H-L) OR C>L+0.8*(H-L));
DN_V = C<Ref(C,-1)AND (abs(O-C)>0.2*(H-L) OR C<L+0.2*(H-L));

barcolor = 
IIf(C>O,colorGreen,4);
/* Colourized price bars drawn here */
GraphXSpace = 5;
NV = 100*Volume/Ref(MA(V,pds),-1);
Plot(NV,"NV",barcolor,2|4|styleNoLabel);

Plot(100,"",6,1|styleNoLabel);

Title = "V/ma(V,50) = " +WriteVal(NV,1.0)+" %";
unsure = V10<1 AND V20<1 AND V50<1;
sure   = V10>1 AND V20>1 AND V50>1;
Reversal = V10>3 AND V20>1 AND C>(H-L)/2 + L;
Filter = V10>4 AND C>O AND C>3;

AddColumn(V10,"V/yma(V,10)",1.1);
AddColumn(V20,"V/yma(V,20)",1.1);
AddColumn(V50,"V/yma(V,50)",1.1);
AddColumn(ROC(C,1),"%today");


Regards

-- 
Thomas Zmuck <thomas.zm@xxxxxx>
http://www.tradingbasis.com 




On Wed, 25 Jun 2003 20:54:42 -0000
"sloughbridge" <sloughbridge@xxxxxxxxx> wrote:

> Hi all,
> 
> Am I right that this will normalize Vol:
> 
> frame = 50;
> Plot (V / (MA (V,frame)) * 100,"NormalizedVolume", 1, 2);
> 
> and using "Middle" gridlines, the "100" level is the norm for the 
> specified frame value?
> 
> Thanks!
> 
> 
> 
> 
> Yahoo! Groups Sponsor	
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/