Demand Index

  • Status Completed
  • Budget $30 - $60 USD
  • Total Bids 8

Project Description

Demand Index for cAlgo API.

formula can be found online.


The Demand Index (DI) calculates two values, Buying Pressure (BP) and Selling Pressure (SP), and then takes a ratio of the two. DI is BP/SP.

There are some slight variations in the formula.

Here's one version:

If prices rise:

BP = V or Volume

SP = V/P where P is the % change in price

If prices decline:

BP = V/P where P is the % change in price SP = V or Volume

Because P is a decimal (less than 1), P is modified by mul­tiplying it by the constant K.

P = P(K)

K = (3 x C)/VA

Where C is the closing price and VA (Volatility Average) is the 10 day average of a two day price range (highest high — lowest low).

If BP > SP then DI = SP/BP

Get free quotes for a project like this
Completed by:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online