OPEN-SOURCE SCRIPT

Real Time Volume checker

This indicator was designed to work in real time, and needs the "calculate on every tick" turned on. It verifies if the volume from the current candle is increasing more or less than the average.
Example using 5 min. candles:
1 minute is 20% of the time for the candle. So, if the volume is at 20% or below of the vol.average, the market is stable(price not moving much). If at 1 minute(20% of time) volume is say, at 37%, a big move is happening.

The color of the candle shows the movement direction. A gray means the volume was not important, below average.
The historical candles show how much volume infuenced the price for the corresponding candle.
The current candle is working REAL TIME.
The blue line shows how much time has passed for the candle to complete. All candles are 100% complete(yeah, duh), except for the last one, the line touches zero at start of candle, and slowly fills up to1(1=100%)until the candle ends.

INPUTS:
vol MA size: sets the lenght of the volume average. set to your heard desires
candle Period: set to the number of seconds in the period you chose. 5min = 300, 1h = 3600 and so on. Must be correct, or the results turn into crap
Limit: the value below which the candle is a "non-important" candle. 1 = 100% of average

NOTE: in the very first seconds, the indicator goes crazy. it's expected, due to computed values very close to zero used in the math. after some seconds it stabilizes :)
Technical IndicatorsrealtimeVolume Indicator

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明