OPEN-SOURCE SCRIPT
open close time trend

So this indicator show the relation between open and close acording to time length
why it intresting? since the distance is realtion of min compare to the regular way we calculate the distance. in this way we can see how open and close state are related. in this indicator when close above open it buy signal seen as lime and vice versa seen as orange. since the distance is in min we can set the min to be above the chart that we use or to see the distance in min bellow the chart time frame that we use . as in this example it set to 120 min on 4 hour chart. you can go even lower to 60 min on 4 hour chart . this reduce the lag that normaly we have with our indicator. on the other hand we can set it above the time frame that we use in order to see longer trend.
i put signal as options for the crossing of the close and open
there is no repaint here
why it intresting? since the distance is realtion of min compare to the regular way we calculate the distance. in this way we can see how open and close state are related. in this indicator when close above open it buy signal seen as lime and vice versa seen as orange. since the distance is in min we can set the min to be above the chart that we use or to see the distance in min bellow the chart time frame that we use . as in this example it set to 120 min on 4 hour chart. you can go even lower to 60 min on 4 hour chart . this reduce the lag that normaly we have with our indicator. on the other hand we can set it above the time frame that we use in order to see longer trend.
i put signal as options for the crossing of the close and open
there is no repaint here
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.