How to Reference Lower Timeframes in PINE SCRIPT

Published: 11 November 2022
on channel: The Art of Trading
15,699
306

🚩 My Socials & More Free Content: https://theartoftrading.com
🚩 FREE Pine Script Basics Course: https://courses.theartoftrading.com/c...
🚩 Pine Script Mastery Course: https://courses.theartoftrading.com/c...
🚩 My Indicators & Strategies Course (Steal My Code!): https://courses.theartoftrading.com/c...

🔷 Create your FREE TradingView Account: https://www.tradingview.com/gopro/?of...

LESSON SOURCE CODE: https://courses.theartoftrading.com/p...
HOW TO USE TABLES:    • How to use TABLES in Pine Script V4 (+ Int...  
MAKE A BACKTESTER DISPLAY USING TABLES:    • Creating A Custom BACK-TESTER Display • PI...  
----------------------------------------------------

Want to learn Pine Script? Look no further. I have you covered!

This lesson demonstrates how to access lower timeframe data. Specifically, in today's tutorial we are going to use arrays to reference the past 10 day's worth of ATR values on the Weekly and Monthly charts - but this technique works on all timeframes.

With over 16 years of coding experience and 5+ years of trading experience, I specialize in TradingView's Pine Script programming language and I'm here to pass on everything I've learned about both trading and coding.

MORE RESOURCES:
🔷 My Blog & Socials: https://www.theartoftrading.com
🔷 My Free Indicators: https://zenandtheartoftrading.com/ind...
🔷 My Favorite Trading Books: https://zenandtheartoftrading.com/top...
🔷 My Favorite Trading Psychology Books: https://zenandtheartoftrading.com/tra...
🔷 My Trading Video Library: https://zenandtheartoftrading.com/vid...

🎤 The Art of Trading Podcast: http://thetradingpodcast.com/

If you want more information about who I am and what I do, head over to https://zenandtheartoftrading.com/about.

▼Timestamps▼
00:00 - Student Question
03:11 - Getting User Input
04:04 - Safely Retrieving Array Values
07:17 - Getting Lower Timeframe Data
10:20 - Using Arrays To Store Data
19:00 - Validating Our Code
24:05 - Getting More Lower Timeframe Data
26:10 - Displaying Array Data in a Table
27:18 - Summary & Outro

#PineScript #TradingView #Indicator


On this page of the site you can watch the video online How to Reference Lower Timeframes in PINE SCRIPT with a duration of hours minute second in good quality, which was uploaded by the user The Art of Trading 11 November 2022, share the link with friends and acquaintances, this video has already been watched 15,699 times on youtube and it was liked by 306 viewers. Enjoy your viewing!