Visit us:
https://linktr.ee/kiosefftradingog
Check out our site for a strategy testing Pine Script™ course!
Check out our site for access to premium trading strategy optimization tools!
Need a Pine Script Project Completed?! Contact Our Team in the link above ↑
I made a mistake at 6:16. I said "time is less than or equal to period()", which, the code looks like this: period() "less than or = to" time. This is incorrect and was improper placement of the angled bracket and equal sign. We are creating a USER-DEFINED function with this line of code and NOT using the numerical expression operator "less than or equal to". Unfortunately, I corrected the mistake in the video without sufficiently explaining what the error was; why it had to be changed, and did not describe what a "user-defined function" is. My apologies.
Sign up for a free TradingView account here!
https://www.tradingview.com/?offer_id...
Want to learn PineScript quicker?
And implement working strategies as a foundation to personalize and refine?
Join Kioseff Trading
You'll likely want to have an account for future videos; we're going to build a comprehensive strategy, set alerts, and automate it.
In this video we discuss how to code a stop-loss, profit-taking limit order, and use the time/timestamp built-in function to narrow our backtest window!