How to use FOR LOOPS in Pine Script • Pine Script [OUTDATED V4] Tutorial
Pine Script Mastery Course: https://courses.theartoftrading.com/courses/pine-script-mastery
FREE Pine Script Basics Course: https://courses.theartoftrading.com/courses/pine-script-basics-course
Source Code: https://courses.theartoftrading.com/pages/pine-script-mastery-source-code#forloops
My Indicators: https://zenandtheartoftrading.com/indicators/
Create Your FREE TradingView Account: https://www.tradingview.com/gopro/?offer_id=10&aff_id=15271
Want to learn Pine Script? Look no further. I have you covered!
This lesson demonstrates how to use For Loops in your scripts. Today we're using a For Loop to count the past X amount of positive bars, then converting that number into a percentage in order to create a Positive Bars Oscillator.
With over 15 years of coding experience and 4+ 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.
If you want more information about who I am and what I do, head over to https://zenandtheartoftrading.com/about.
▼Timestamps▼
00:00 - Intro
01:16 - Setting Up The Script
02:20 - Getting User Input
03:17 - Using For Loops
05:51 - Counting Bullish Bars
07:23 - For Loop Operators
09:20 - Getting Positive Bars %
09:50 - Plotting Data to Chart
13:46 - Adding Alert Functionality
18:40 - Recap
20:10 - Pine Script Courses
#PineScript #TradingView #Indicator
Видео How to use FOR LOOPS in Pine Script • Pine Script [OUTDATED V4] Tutorial канала The Art of Trading
FREE Pine Script Basics Course: https://courses.theartoftrading.com/courses/pine-script-basics-course
Source Code: https://courses.theartoftrading.com/pages/pine-script-mastery-source-code#forloops
My Indicators: https://zenandtheartoftrading.com/indicators/
Create Your FREE TradingView Account: https://www.tradingview.com/gopro/?offer_id=10&aff_id=15271
Want to learn Pine Script? Look no further. I have you covered!
This lesson demonstrates how to use For Loops in your scripts. Today we're using a For Loop to count the past X amount of positive bars, then converting that number into a percentage in order to create a Positive Bars Oscillator.
With over 15 years of coding experience and 4+ 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.
If you want more information about who I am and what I do, head over to https://zenandtheartoftrading.com/about.
▼Timestamps▼
00:00 - Intro
01:16 - Setting Up The Script
02:20 - Getting User Input
03:17 - Using For Loops
05:51 - Counting Bullish Bars
07:23 - For Loop Operators
09:20 - Getting Positive Bars %
09:50 - Plotting Data to Chart
13:46 - Adding Alert Functionality
18:40 - Recap
20:10 - Pine Script Courses
#PineScript #TradingView #Indicator
Видео How to use FOR LOOPS in Pine Script • Pine Script [OUTDATED V4] Tutorial канала The Art of Trading
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How to use ARRAYS in Pine Script V4 to calculate CORRELATION & COVARIANCETradingview Pinescript Version 5 FULL TUTORIAL 2021⚠ WARNING: Never Trust TradingView's Strategy Tester!Creating a Nice Custom Screener in TradingViewCreate Stop Loss and Take profit for your Backtest in Tradingview PinescriptCreating A Custom BACK-TESTER Display • PINE SCRIPT [V4 OUTDATED] LESSONCompare Volumes from Top Bitcoin Exchanges - Crypto Arb in TradingView and Pine ScriptTrading View Pinescript Tutorial: 10 (For Loops)How To Use EMA FILTERS • Pine Script [OUTDATED V4] TutorialCombining Strategies in Pine Script with FOR LoopsHow to use 3COMMAS with Binance & TradingView alerts to AUTO-TRADE CRYPTOHow To Use LABELS • Pine Script [OUTDATED V4] TutorialPine Script Tutorial | Developing Real Trading Strategies On TradingViewPine Script VERSION 5 is finally HERE! 💥🔴Use This VOLUME PROFILE STRATEGY for High Probability TradesHow to Automate TRADINGVIEW SCRIPTS through MetaTrader • PineConnector Guide (Part 1)76% Win Rate Stochastic RSI, Triple EMA, ATR Trading Strategy Private Script Tutorial[PINESCRIPT TUTORIAL] Build a Market Breadth Indicator Using input.symbol, input.string, HistogramLearn Pine Script RIGHT NOW! | 2021 BEGINNER'S GUIDE! 💹 [OLD V4 - UPDATE COMING SOON FOR V5!]