TradingView
doughboy
18 กรกฎา 2017 เวลา 2 นาฬิกา 25 นาที

Demand Index 

Bitcoin / DollarBitfinex

คำอธิบาย

demand index

เอกสารเผยแพร่

fixed va

เอกสารเผยแพร่

small details

เอกสารเผยแพร่

if this is useful to you,
donate: 1MprT7YEEWaM6bUcpD7eeHM3Ht8n3R5jP1
:)

เอกสารเผยแพร่

changed sma to avg
added option to switch between sma and avg (default is avg)
added zero line

เอกสารเผยแพร่

Added some minor fixes and additional input variables

เอกสารเผยแพร่

Chart update
ความคิดเห็น
Triumph_Investments
Hi. When I apply this indicator for an index or stock the line there is straight. Please let me know if I need to make any changes.
nelsoncares
@Triumph_Investments, chek if it is in log scale
alawikwt
Comments
slimer0
if hate "if and else blocks"
this
else
na
:/

///////////////////////
p = (close - open) / open
di = 0.0
va = 0.0
bp = 1.0
sp = 1.0
h = highest(high, priceRange)
l = lowest(low, priceRange)
va := h - l
va := sma(va, period)
va := va == 0 ? 1 : va
k = 3 * close / va
p := p * k
bp := close > open ? volume : volume / p
sp := close > open ? volume / p : volume
di := abs(bp) > abs(sp) ? sp / bp : bp / sp
di := ema(di, smooth)
romanowsky
What is the significance of the price range parameter?
alawikwt
Y
impossibleMeer11896
.
shivlkar1
somehow, its not working.
TommyLaPlace
Awesome! Thanks!
เพิ่มเติม