Unusual Volume Price Movement

Custom MT4 expert advisors published here.

Moderator: admin

Unusual Volume Price Movement

Postby Alexander.Gettinger » Wed Jul 29, 2015 7:36 am

Original LUA indicator: http://www.fxcodebase.com/code/viewtopi ... 17&t=62324.

An indication will be given if we have a break on high volume

Up Arrow
Volume> Average_Volume * Multiplier
Price> Highest Price for Last N candle, plus set, Pip / Percentage Value
Down Arrow
Volume> Average_Volume * Multiplier
Price <Lowest Price for Last N candle, minus set, Pip / Percentage Value

Unusial_Volume_Price_Momentum_MQL.PNG


Download:
Unusial_Volume_Price_Momentum.mq4
(2.41 KiB) Downloaded 1047 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3340
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Unusual Volume Price Movement

Postby nookie » Wed Sep 30, 2015 10:17 am

Can you please explain what are those setting for, price, volume . ?

Average lenght>
Price length>
Volume Multiplier >
nookie
FXCodeBase: Initiate
 
Posts: 199
Joined: Tue May 24, 2011 12:50 pm

Re: Unusual Volume Price Movement

Postby Apprentice » Thu Oct 08, 2015 4:56 am

Up Arrow
Volume> Average_Volume * Multiplier
Price> Highest Price for Last N candle, plus set, Pip / Percentage Value
Down Arrow
Volume> Average_Volume * Multiplier
Price <Lowest Price for Last N candle, minus set, Pip / Percentage Value
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19598
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Unusual Volume Price Movement

Postby nookie » Thu Jan 28, 2016 1:29 am

Thanks, I am not understanding what is the purpose of the multiplier though. Is it possible indicator to be calculating highest/lowest volume instead of highest/lowest price ?
nookie
FXCodeBase: Initiate
 
Posts: 199
Joined: Tue May 24, 2011 12:50 pm

Re: Unusual Volume Price Movement

Postby Apprentice » Fri Jan 29, 2016 5:51 am

if (Volume[pos]<Avg_Vol*Volume_Multiplier)
{
Up[pos]=EMPTY_VALUE;
Dn[pos]=EMPTY_VALUE;
}

If the volume is less than average volume times multiplier,
indicator arrow will not be drawn.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19598
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Unusual Volume Price Movement

Postby nookie » Mon Sep 12, 2016 5:37 am

Hi, is it possible we do the reverse logic ? To show an arrow when volume is the lowest value in the last N count of volume bars (selectable) ?
nookie
FXCodeBase: Initiate
 
Posts: 199
Joined: Tue May 24, 2011 12:50 pm

Re: Unusual Volume Price Movement

Postby Apprentice » Thu Sep 15, 2016 5:17 am

Will price will affect the result?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19598
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Unusual Volume Price Movement

Postby Alexander.Gettinger » Sat Jan 20, 2018 12:39 am

nookie wrote:Hi, is it possible we do the reverse logic ? To show an arrow when volume is the lowest value in the last N count of volume bars (selectable) ?


Please, try this version of the indicator:
Unusial_Volume_Price_Momentum_V.mq4
(3.86 KiB) Downloaded 283 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3340
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Unusual Volume Price Movement

Postby nookie » Fri Jan 26, 2018 3:29 pm

Sorry for the late answer, no price to not affect the result. Thanks Alexander Gettinger
nookie
FXCodeBase: Initiate
 
Posts: 199
Joined: Tue May 24, 2011 12:50 pm

Re: Unusual Volume Price Movement

Postby nookie » Fri Jan 26, 2018 3:44 pm

Unusial_Volume_Price_Momentum_V.mq4 Thanks I have tried it but it is showing both high volume from last N and lowest volume from last N.. is it possible to show only lowest from N bars ?

An error is there and I think its not always showing the lowest volume bars from N
nookie
FXCodeBase: Initiate
 
Posts: 199
Joined: Tue May 24, 2011 12:50 pm


Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Majestic-12 [Bot] and 6 guests