TradingView
blackcat1402
2022년 8월 7일 오후 12시 57분

[blackcat] L0 Understand request.security_lower_tf() function 

Bitcoin / TetherUSBinance

설명

Level 0

Background

I am learning to use new function request.security_lower_tf() to realize some new features.

Function
Requests data from a lower timeframe than the chart's. The key difference is that the return is no longer series type but array. If you want to combine lower tf with higher tf to form a mtf, you may need to be good at array operations.

This is a very simple demonstration for request.security_lower_tf(), you will see how array grows under 15min tf with 1min intrabar data changes. It may help you understand how request.security_lower_tf() easier.

Remarks

Feedbacks are appreciated.

릴리즈 노트

Add intrabar status indicator: 0~1 line and bgcolor change from green to red
코멘트
kurtsmock
Try this snippet out. You can grab the ltf values as they happen individually
pastebin.com/R07gNWkr
A_Traders_Edge
@kurtsmock, Hey pawtna...was this pastebin submitted by you? It is no longer accessible, any idea why?
kurtsmock
@chasinalts, likely, I had an expiration date set. Unfortunately I can't remember exactly what I posted there.
더보기