Price Volume Ratio

Category: Screeners By: Jiankyr82 Created: January 27, 2022, 9:34 AM
January 27, 2022, 9:34 AM
Screeners
0 Comments

Description

Screener that finds the larger market movements using relative volume and price.

Tips

Set the parameters while set-up your timeframe that you want to use.

The default ones are:

  • 80 bars for volume and 10 for price
  • filter tickers with 5% change in price versus the average and 5 times increased in volume versus the average(500%).

It is useful for scalping large volume – price movements

Comments

  • Share your timeframe and paraments that works for you
  • I did not want use average, but median. Unfortunately, median is not a build in function and I am not sure if we can use build-in functions.

my first shared code – so happy to hear improvements and meet-up

//------------------------------------------------------------------------------------------
// Prorealtime Screener: "Price Volume Ratio"
//-----------------------------------------------------------------------------------------
// Author: Ioannis Kyriakos
// 
//------------------------------------------------------------------------------------------
// Description:
//              returns the ticks with the highest price and volume movements
//              with custom imported parameters
//
//------------------------------------------------------------------------------------------
// Parameters:
//
//    @LookBackVolume:
//         number of bars to look back for volume
//    @LookBackPrice:
//         number of bars to look back for price
//    @DifPrice:
//         the minimum percent of price movement to look for
//         i.e. 5 is 5%, returns the ticks with price movement more than 5% or less than 5%
//         than the average
//    @DifVolume:
//         the minimum volume ratio to look for
//         .e. 5, returns the ticks with current volume ratio movement more than 5 times
//         versus the average one
//-----------------------------------------------------------------------------------------
 
// Set screener's parameters---------------------------------------------------------------
LookBackVolume = 80
LookBackPrice = 10
DifPrice = 5
DifVolume = 5

// Average price and volume
AvgPrice = Average[LookBackPrice](close)
AvgVolume = Average[LookBackVolume](volume)

// Conditions for price and volume
Upside = (close > AvgPrice * (100 + DifPrice) / 100)
Downsize = (close < AvgPrice * (100 - DifPrice) / 100)

PriceCondition = (Upside OR Downsize)
VolumeCondition = (volume > AvgVolume * DifVolume)

// Screener Output -------------------------------------------------------------------------
PriceDif = abs(100 * (1 - (close / AvgPrice)))

// Screener --------------------------------------------------------------------------------
SCREENER[PriceCondition and VolumeCondition](PriceDif as "Price %")

Download
Filename: Price-Volume-Ratio.itf
Downloads: 244
Jiankyr82 Junior
I usually let my code do the talking, which explains why my bio is as empty as a newly created file. Bio to be initialized...
Author’s Profile

Comments

Logo Logo
Loading...