- Status Completed
- Budget $30 - $60 USD
- Total Bids 8
Demand Index for cAlgo API.
formula can be found online.
FORMULA FOR DEMAND INDEX
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 multiplying 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/BPGet free quotes for a project like this
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
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online