Dollar Volume and Percent Change in TradingView


Category:
0
0

Hi Pete,

I am currently using this code in TOS which you have provided me but can you help me encode this in TradingView as chart script since I am not familiar in the codes in TradingView. I shared you the link of my previous inquiry.

Total dollar volume divided by percent change

Thanks in advance.

 

(sorry about the Title and short message, since it doesn’t want to post my new question because of my previous question. This is the message I am getting. — The same question has been already posted. Please use the “Search” option.)

RESOLVED
Marked as spam
Posted by (Questions: 7, Answers: 16)
Asked on December 28, 2021 11:43 am
119 views
0
Private answer

Sorry for the late response. There was a technical issue with the website which was preventing notifications when new posts were added to the forum.

Here is the code from the link you referenced which has been converted to display on the lower subgraph of a chart on the TradingView platform:

//@version=4
study("Q&A Forum", overlay = false)
prevDailyClose = close[1]
volumeDollarsTotal = round(volume * close, 0)
percentChange = 100 * (close / prevDailyClose - 1)
signal = close > open and ((volumeDollarsTotal / percentChange) > 8000000)
plot(signal ? 1 : 0, "Signal")

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on December 28, 2021 6:46 pm
0
Thank you again always Pete for your big help! I will be dropping a voluntary contribution. Happy New Year!
( at January 3, 2022 8:29 am)
0
Glad I could help. Thanks for the voluntary contribution to support my work. Much appreciated. Happy New Year to you as well!
( at January 3, 2022 2:12 pm)