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
AutoView: https://autoview.with.pink/
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 create an ATR-based trailing stop loss script that triggers inbuilt AutoView alerts to tell Oanda to automatically update your stop loss to lock in open profits.
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
00:44 - Overview
02:35 - Getting User Input
07:31 - Preparing Trailing Stop Variables
09:52 - Calculating ATR Trailing Stop
14:00 - Resetting Trailing Stop
17:11 - Preparing AutoView Alert Prefix
20:51 - AutoView Alert Code
27:25 - Adding Bar Time Input
30:57 - Live Trade Example
32:22 - Outro
Music:
https://soundcloud.com/mjslabosz/ancient
#PineScript #TradingView #AutoView