Plotting to separate windows in PINE SCRIPT!

  Рет қаралды 3,614

The Art of Trading

The Art of Trading

Күн бұрын

🚩 My Socials & More Free Content: theartoftradin...
🚩 FREE Pine Script Basics Course: courses.theart...
🚩 Pine Script Mastery Course: courses.theart...
🚩 My Indicators & Strategies Course (Steal My Code!): courses.theart...
🔷 Create your FREE TradingView Account: www.tradingvie...
LESSON SOURCE CODE: courses.theart...
----------------------------------------------------
Want to learn Pine Script? Look no further. I have you covered!
This lesson demonstrates how to use the new force_overlay parameter added in April, which allows us to force certain plot functions to draw directly over the chart even if they're called from a separate window (like an oscillator for example).
With over 16 years of coding experience and 5+ years of profitable 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: www.theartoftr...
🔷 My Free Indicators: zenandtheartof...
🔷 My Favorite Trading Books: zenandtheartof...
🔷 My Favorite Trading Psychology Books: zenandtheartof...
🔷 My Trading Video Library: zenandtheartof...
🎤 The Art of Trading Podcast: thetradingpodca...
If you want more information about who I am and what I do, head over to zenandtheartof....
Educational Content Disclaimer:
The content provided in our videos, including all code, lessons, and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context. Any results from strategies or tools provided are hypothetical and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and are not suitable for all persons. Before making any trading decisions, please consult with a qualified professional to understand the risks involved. By using our materials, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
▼Timestamps▼
00:00 - Intro
#PineScript #TradingView #Trading

Пікірлер: 21
@TheArtOfTrading
@TheArtOfTrading 4 ай бұрын
🚩 My Pine Script Courses: courses.theartoftrading.com/courses/pine-script-mastery 🚩 TradingView Documentation: www.tradingview.com/pine-script-docs/en/v5/Release_notes.html?aff_id=15271#april-2024 🚩 LESSON SOURCE CODE: courses.theartoftrading.com/pages/split-plots-force-overlay-true
@greekboydinos
@greekboydinos 3 ай бұрын
thanks for sharing this! you're right, this should've been a thing YEARS ago but at least somebody's catching up on their backlog over at tradingview
@johneady1648
@johneady1648 4 ай бұрын
Thanks Matt! At last! This has been a long time coming!
@Lerxsty2112
@Lerxsty2112 4 ай бұрын
IT'S ABOUT TIME!!! OMG, I have a lot of coding to do! Thanks for showing this!
@dumbcat
@dumbcat 3 ай бұрын
do you hare any tutorials that cover scaling in and scaling out of positions? thanks
@hu5116
@hu5116 3 ай бұрын
Great Video, and thanks for sharing! HOWEVER, I think I’ve found a bug in the force overlay function! At least on Mac using Chrome. I did a Bollinger Band overlay (just copied the default TV BB code into my script, and deleted the “indicator” first line. Works great UNTIL you do a right click “Reset Chart View”. Suddenly the price bars disappear! Actually I think they scrunch into a line (like an aberrant zoom out). Nothing I do can bring it back, EXCEPT to refresh my TV window. Then it all comes back as expected. Scrolling and everything seems to work: just can’t Reset your view with the popup menu selection. Hopefully this gets fixed quick (if enough complain: hint, hint)
@hahabiertijd8669
@hahabiertijd8669 3 ай бұрын
@AlxTSLA
@AlxTSLA Ай бұрын
Is it also working for strategies?
@50moving
@50moving 4 ай бұрын
Great job 👏
@shobhitnsaxena
@shobhitnsaxena 4 ай бұрын
Could you please make a video on Maps, Matrix and how these are different than array?
@stockshow7363
@stockshow7363 3 ай бұрын
how to handle scaling issue if I want to plot a rsi with stock value 22000 index with force oveelay
@roxnroll8050
@roxnroll8050 4 ай бұрын
Awesome vid! Though, don't stop saying "Like this video" LOL... I know we're all sick of hearing it and you're sick of saying it, but the truth is, as soon as a video is coming to an end - I'm already looking to close or go to another video and I forget to LIKE, even if the vid was good. I know weird, but true
@jasonn5196
@jasonn5196 4 ай бұрын
Omg, does it work in strategies?
@karatedog
@karatedog 4 ай бұрын
The plot() has the force overlay parameter, not the indicator/strategy. It should work, also you are free to test, it takes about 1 minute to test.
@ASD.andreas
@ASD.andreas 4 ай бұрын
Thanks a lot for that important info. BUT... is is also possible in the opposite direction? I have a big script and I would have to change all possible plots. like.. overlay= false and this plot will shown in the external window. I tried it, but doesn´t work in this way. thanks
@karatedog
@karatedog 4 ай бұрын
doing it backward will not be possible. If you have 5 plots, how do you tell the engine if you want 5 individual plot windows, or just 3, with the 5 plots drawn to specific windows in a 2-3 split or 4-1?
@ASD.andreas
@ASD.andreas 4 ай бұрын
@@karatedog It could be very easy... a Plot have to has a name. So you can print, write, table.... EVERYTHING in a specific name. And it doesn´t matter if you have 1 or 10 different windows. force_overlay.windowname=true If there is no window with the windowname, then it will create a new one. If there exist already a window name, it includes that component in this window. Very easy and simple.
@Nowheredotcom
@Nowheredotcom 4 ай бұрын
Pity it doesn't work for labels
@karatedog
@karatedog 4 ай бұрын
How do you expect it to work with labels, what is your expectation? Labels belong only to a bar, labels have never been drawn to a different window.
@Nowheredotcom
@Nowheredotcom 3 ай бұрын
@@karatedog you can draw labels as an overlay.
Pine Script debug PRINT LOGS are finally here!
9:31
The Art of Trading
Рет қаралды 7 М.
The MATH OF WINNING in trading
32:34
The Art of Trading
Рет қаралды 290 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 52 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,5 МЛН
Expected Ending?
00:45
ISSEI / いっせい
Рет қаралды 8 МЛН
How to make a TRAILING STOP in Pine Script
16:34
The Art of Trading
Рет қаралды 9 М.
Introduction to Arrays (Pine Script)
11:32
Kioseff Trading
Рет қаралды 6 М.
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 822 М.
Everything Starts with a Note-taking System
21:23
Mischa van den Burg
Рет қаралды 251 М.
Trader Struggles: Patience | The Art of Trading Podcast
8:48
The Art of Trading
Рет қаралды 1,8 М.
How to REDUCE DRAWDOWNS in trading: 8+ proven techniques
43:41
The Art of Trading
Рет қаралды 17 М.
A Profitable MEAN REVERSION STRATEGY
37:38
The Art of Trading
Рет қаралды 30 М.
Top 6 Indicators for ICT/SMC Trading (My Favorite)
14:02
Mulham Trading
Рет қаралды 40 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 52 МЛН