OPEN-SOURCE SCRIPT

Volume Info from Lower Time Frames

已更新
Hello Traders,


We are now able to get info from lower time frames, Many Thanks to Pine Team.This script gets volume info from lower time frames and give alert if there is extreme volumes on last X lower time frame candles (if last X volumes are higher than volume moving average). so that if you set alerts on different securities then you will be able get alert if there is extreme volume moves and you can check the chart immediately.


The options:
Timeframe in Seconds: you can set lower time frames in seconds. by default it's 5 seconds. if you set it 60 then it will show 1min volumes, if you set it 1 then it will show 1 seconds volumes
MA Length: The script draws simple moving average using this length info. by default it's 20.
Number of Bars to Check for Alert: by default it's 5. meaning that if last 5 candles is greater than moving average and if you set alert then you get the alert "Extreme Volume"
Other options are for colors and line width.


As you can see in following example, chart time frame is 1 hour and the script shows volume info of 5 seconds candles:
快照


Enjoy!



發行說明
"Volume Multiplier for Alert" option added. by default it's 1.5. meaning that if the last X volumes is 1.5 times greater than volume moving average and if you set alert then you can get alert. you can set it as you wish. (X => "Number of Bars to Check to Alert)

This script must be run on realtime bars, not past bars. so if you want to test it you should test it on realtime bars.
發行說明
tooltip added for some options
Breadth IndicatorslonesomethebluelowertimeframeMoving AveragestimeframevaripvolumeindicatorVolume

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明