blackcat1402

[blackcat] L0 Understand request.security_lower_tf() function

blackcat1402 Mis à jour   
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.
Notes de version:
Add intrabar status indicator: 0~1 line and bgcolor change from green to red

Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?