blackcat1402

[blackcat] L0 Understand request.security_lower_tf() function

blackcat1402 アップデート済   
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

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
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?