doughboy

Demand Index

demand index
Note di rilascio: fixed va
Note di rilascio: small details
Note di rilascio: if this is useful to you,
donate: 1MprT7YEEWaM6bUcpD7eeHM3Ht8n3R5jP1
:)
Note di rilascio: changed sma to avg
added option to switch between sma and avg (default is avg)
added zero line
Note di rilascio: Added some minor fixes and additional input variables
Note di rilascio: Chart update
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Commenti

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.
Rispondi
Awesome! Thanks!
Rispondi
Nice,thanks.
Rispondi
@doughboy may I know what is the difference between &
issnt 10period sma same as 10period avg .. am i missing something here ? please guide.
Rispondi
doughboy quantanna
@quantanna, I think this was actually an error, it is now fixed.
Rispondi
Thank you
Rispondi
good
Rispondi
thanks doughboy.
Rispondi
Nicely done.
Rispondi
@doughboy, I am pretty sure the demand index does not use the simple moving average over 10 periods in its calculation (line 25) I, as far as I can tell, believe line 25 should be
va := avg(highest(high,2)-lowest(low,2),10)
a different form of averaging very similar to a fast Tenkan-sen from Ichimoku, anyway, I though you should know. Otherwise I think this is correct in format. Good job making this indicator
Warm regards,
Shiroki
Rispondi