Exploration formula for detecting higher than average volume.

#1
Hi guys,

Does anyone know if there is a exploration formula for detecting higher than average volume?

Maybe, for example over a period of 5 days a spike in volume can be viewed as a beginning of a trend move.

In fact, is there an alert system to detect higher volume spikes intraday?

Thanks in advance!
 

deb99891

Active Member
#2
Hi guys,

Does anyone know if there is a exploration formula for detecting higher than average volume?

Maybe, for example over a period of 5 days a spike in volume can be viewed as a beginning of a trend move.

In fact, is there an alert system to detect higher volume spikes intraday?

Thanks in advance!
can check G u p p y t r a d e r s . com
some free formulas found there
 
V

vvvv

Guest
#3
hi adheer,
thnks for the stuff..wht do we actually achieve by taking the standard deviation of a variable
for ex : we take the standard dev of the closing price of the last 10 days.
wht are we achieving by this method
 
#4
There are many ideas and techniques to accomplish this. The code is simple, but you have to decide what is implied by "average" and what is implied by "volume".
For example, do you want to use the Marked-For-Delivery Volume or the Total Traded Volume, or a combination of both. Also, what would be a good period for considering Average - 5-days, 10-days, 20-days etc ? It may vary from stock to stock, market to market.

That being said, here is the sample code :

Identify stocks where the Volume has crossed above its 15-bar EMA Volume.
Code:
Filter = Cross(V, EMA(V,15));
Identify stocks where the 5-bar EMA Volume has crossed above its 15-bar EMA Volume.
Code:
Filter = Cross(EMA(V,15), EMA(V,15));
and a little more advanced that eliminates noisy spikes :

Identify stocks where the Volume has crossed above the sum of 15-bar EMA Volume and its 15-bar Standard Deviation
Code:
Filter = Cross(V, EMA(V,15) + EMA(StDev(V,15),15));
>Adheer

Sorry for the confusion.

What I want to do is a scan to detect a sudden peak in volume over the mean volume in the past 10 to 20 minutes of a stock. That way, I may be able to detect a trend or if a stock is reversing etc...

You have been very helpful Adheer and you've help me in another problem I had, sincerely, thank you. If you don't mind and please don't take this the wrong way, do you mind me sending you a donation by paypal?

I could start learning coding into Amibroker and do it myself but I know that some people are better than others in one skill. For me, programming is not my thing ;)
 
V

vvvv

Guest
#5
HI PABMOVE,
since u mentiones " paypal" i want to asku whether u stay in india or not.if yes then pls tell me how u have opened the paypal account.id there any paypal office in india??
 
V

vvvv

Guest
#6
i want to use a simple volume breakout strategy.
1)volume of the stock is equal to or less than avg volume(u can specify any no of period as the avg).as per the eod charts.
2)i start the scan during my intraday trading
3)the scan detects - at tht particular time the traded intraday volume > avg volume (according to eod charts)

can u pls provide the code.
 
V

vvvv

Guest
#7
actually ive got 2 diff databases in ami..1 for eod...1 for intraday..so wht do i need to do to change the code
 
#8
hello, i wud like a help...

i use qstick indicator with EMA.. i wud like to generate Buy/Sell Signal in case of crossovers... i need help in the coding.. In amibroker


_SECTION_BEGIN("qstick");
/* QStick from Tushar Chande. This indicator measures intraday momentum by
using the distance between the open and close of price over "n periods".
It is set at the default ( 8 ) periods that Chande suggest. */

MaxGraph=3;

Graph0=MA( C-O,8);

// The '0' line.
Graph1=0;
Graph1Style=5;
Graph1Style=styleNoLabel;
_SECTION_END();

_SECTION_BEGIN("EMA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 200, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

Plz help.. Thanx.
 

Attachments

Last edited:
#9
thanx a TON adheer.. it worked fine..
Plz help me out with this one. same problem.. i tried same method but didnt work..

_SECTION_BEGIN("TRIX");
periods = Param("Periods", 9, 2, 200, 1 );
Plot( Trix( periods ), _DEFAULT_NAME(), ParamColor("color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("EMA");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 200, 1, 10 );
Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
 
Last edited:

Similar threads