OPEN-SOURCE SCRIPT

chart visible bar time

Telah dikemas kini
With the latest added features chart.left_visible_bar_time and chart.right_visible_bar_time it is now possible to
place label.new() positions at the equivalent of 'location.top' and 'location.bottom'

The following are examples of functions which enables to find the visible chart highest/lowest bars:


In this example labels are plotted when a sma crosses another sma

Also combined with 3 boxes, scrolling gives insights how the features work

To all who make Tradingview the way it is, lots and lots of thanks!

Cheers!
Nota Keluaran
Added label which gives the current time and time from left & right bar of the visible chart (adjustable by UTC)

In this case the label is not deleted through code on each new bar, because the script is reloaded every bar
(due to chart.right_visible_bar_time, chart.left_visible_bar_time), hence 'starting with a clean slate'
Nota Keluaran
+ extra information regarding time format
Nota Keluaran
update
Nota Keluaran
Added label which keeps track of latest price, even if you scrolling back
Nota Keluaran
This script is part of a collection of educational scripts
If you want to return to the open source INDEX page, click here
-> Education: INDEX
bar_timebottomchart_left_visible_bar_timechart_right_visible_bar_timeeducationallocationTOP

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


LuxAlgo Dev: luxalgo.com
PineCoder: pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
Juga pada:

Penafian