Pine Script [OUTDATED V4] Tutorial | Lesson 7 | How To Use ATR Trailing Stop Loss

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2024
  • Pine Script Mastery Course: courses.theartoftrading.com/c...
    FREE Pine Script Basics Course: courses.theartoftrading.com/c...
    My Indicators: zenandtheartoftrading.com/ind...
    Pine Scripters Network (Forum): www.pinescripters.net
    Want to learn how to code in Pine Script but unsure of where to even start? Fear not! I have you covered.
    In this video lesson series I'm going to teach you how to create your own scripts in TradingView's Pine Script programming language.
    Today's lesson covers how to use the ATR indicator in order to create a trailing stop loss tool.
    Get ready to take your trading to the next level. I'm excited to share my knowledge with the trading community to help you guys enhance your edge and become the best traders you can possibly be!
    For more information visit my website where I have a series of text lessons as well as my collection of open-source TradingView indicators: zenandtheartoftrading.com/pin...
    --------------------------------------------------------------------------------------------------------
    Lesson 7 Source Code: zenandtheartoftrading.com/ind...
    Pine Script Wiki: www.tradingview.com/pine-scri...
    My Other Indicators: zenandtheartoftrading.com/ind...
    Visit zenandtheartoftrading.com for more forex and trading psychology tips!
    Join My Mailing List: mailchi.mp/f29afd740719/zenan...
    Public Forex Trading Journal: zenandtheartoftrading.com/for...
    Best Trading Books: zenandtheartoftrading.com/top...
    Best Trading Videos: zenandtheartoftrading.com/vid...
    Best Charting Platform: zenandtheartoftrading.com/tra...
    Best Indicators For Forex: zenandtheartoftrading.com/blo...
    Music: / mjslabosz
    Disclaimer:
    The content covered in this video is NOT investment advice and I am not a financial advisor. The material covered and the resources offered are for educational purposes only. Always do your own research and only execute trades based on your own personal judgment.
    #PineScript #TradingView #Indicator

ความคิดเห็น • 117

  • @faenorsjewel5618
    @faenorsjewel5618 4 ปีที่แล้ว +15

    Another really amazing lesson.
    Very well explained, so as a noob I'm having no issue following what you are saying.
    Seriously Matt, thank you very much for your efforts!

    • @TheArtOfTrading
      @TheArtOfTrading  4 ปีที่แล้ว +2

      You're welcome my friend! I'm glad you're enjoying the lessons :) plenty more on the way!

    • @faenorsjewel5618
      @faenorsjewel5618 4 ปีที่แล้ว

      @@TheArtOfTrading :) I'm looking forward to them almost as much as I am looking forward to having a keyboard with 2 working shift keys....gods I can't wait to have 2 working shift keys again :P

    • @TheArtOfTrading
      @TheArtOfTrading  4 ปีที่แล้ว +1

      ​@@faenorsjewel5618 hahaha yeah I feel you! I spilled a drink all over my keyboard last night while I was doing some editing and now mine is playing up too 🙁

  • @jamesoneill6778
    @jamesoneill6778 3 ปีที่แล้ว +2

    Really good. Just like my C++ instructor you remind me of him so much. Love that you give uses for the code when you explain it. Really help me have a basis for creating my own scripts.

  • @RKCHUX
    @RKCHUX 3 ปีที่แล้ว

    Hi Matthew! First of all want to really thank u for your vids. They are amazing and u r an awesome tutor! For someone with zero coding experience (and frankly dislike/fear), u have made the videos and lessons surprisingly well-taught and enjoyable. have loved each one of your lessons so far and am sure gonna enjoy the others as well equally.

  • @andycarr231
    @andycarr231 4 ปีที่แล้ว +3

    This stuff is great. Thanks so much for these great videos. I'm already getting a clear idea of how I'm going to master backtesting.

  • @johnmoran5667
    @johnmoran5667 4 ปีที่แล้ว +5

    i very rarely comment on anything but this is is a truly OUTSTANDING introduction, understands you have to walk before running
    Only suggestion is when starting a script put a few blank lines at end and type above these...in the middle of the text pane... so that when people pause the TH-cam progress/volume bar is not in the way

    • @johnmoran5667
      @johnmoran5667 3 ปีที่แล้ว

      Which reminds me I should log on and complete the course

  • @pranjalchaubey
    @pranjalchaubey 4 ปีที่แล้ว +2

    Your videos are nothing less than phenomenal......you deserve more subscribers and more views!

  • @joshibc73
    @joshibc73 3 ปีที่แล้ว

    Awesome. So much easy to understand. I'm at 7 th lesson. Looking for strategy based learning. Hope it will come ahead.
    Thanks for your efforts and hardwork.

  • @christopherbakowski4826
    @christopherbakowski4826 3 ปีที่แล้ว

    You're lessons are the clearest i've seen. Thank you

  • @dalmarjosesantos
    @dalmarjosesantos 3 ปีที่แล้ว +2

    Very well explained, stop loss and take profit are a very important indicator, thank you very much.

  • @vincenoel897
    @vincenoel897 4 ปีที่แล้ว +3

    This stuff is amazing man! Keep it up! Already registered for your course :)

  • @obwanda9113
    @obwanda9113 ปีที่แล้ว +1

    Hey Matt, I searched all over for a tutorial on writing a Trailing Stoploss based on price reached. All I could find including in your channel is ATR or Percentage based Trailing Stoploss. My script takes Inputs of Pips for Stoploss and RR for Profit. I would like to move my Stoploss to Breakeven when a trade reaches 1.5R Profit and then move it to 1R when a trade reaches 2R Profit. Simple and Fixed values.

  • @greymodel2739
    @greymodel2739 4 ปีที่แล้ว +1

    Thanks for teaching and guiding Us, Great Works!!

  • @muhammadsyrian9186
    @muhammadsyrian9186 3 ปีที่แล้ว

    The best way for teaching is to build more complex ideas on a simpler one, step by step, thank you.

  • @daviecrockett2272
    @daviecrockett2272 4 ปีที่แล้ว +1

    cheers, this is great.. I might be able to create my own alerts soon.. excellent..

  • @majidiranmahbob7448
    @majidiranmahbob7448 3 ปีที่แล้ว

    thank you so much this is exactly what i was looking for , keep up the good work

  • @BilalAhmed-um1um
    @BilalAhmed-um1um 3 ปีที่แล้ว

    even for a experienced coder, this is awesome save me a lot of time and some trading tips as well go along

  • @jamie0056
    @jamie0056 3 ปีที่แล้ว +1

    this is excellent, thank you for creating the videos

  • @NathanEarlTallTales
    @NathanEarlTallTales ปีที่แล้ว

    Great Video! You are a wonderful mentor! Keep up the great work!

  • @maasaa7353
    @maasaa7353 3 ปีที่แล้ว

    Thank you so much. Truly appreciate your effort. Thanks again.

  • @RudolfEremyan
    @RudolfEremyan 3 ปีที่แล้ว

    Absolutely interesting! Thanks a lot

  • @freddamelia4550
    @freddamelia4550 3 ปีที่แล้ว

    Thank you for these fantastic lessons

  • @ganeshsuralkar3947
    @ganeshsuralkar3947 ปีที่แล้ว

    thank yoiu very much for freely learning us.

  • @potatoshop3541
    @potatoshop3541 2 ปีที่แล้ว

    You are my hero~~~!!!!
    Thank you so much for this amazing video really.

  • @eddu4361
    @eddu4361 3 ปีที่แล้ว

    Absolutely fabulous! Thx mate. Subscribed immediately! Would even be sper fabulous if you could connect it to automatically adjust your stop-limit order. That would me smashing!

  • @tyrelex7867
    @tyrelex7867 2 ปีที่แล้ว

    Amazing lessons , great tutorial.

  • @JustMe-ro1be
    @JustMe-ro1be ปีที่แล้ว

    Superb! Had to watch several times to make sure I got the maths behind it, but finally got it.
    Really well explained, love that you explain in simple terms bit by bit what each line of code is doing and why. Its key to learning. Also seeing it explained on the chart as we go, that's great too.
    I think the transparency code is outdated now in v5 (I got an orange message about it at the bottom), so for anyone that may be looking for what seems like the new way? I used this - plot(atr, title="ATR", color=color.new(color.blue, 100))

  • @raminbiglari8920
    @raminbiglari8920 3 ปีที่แล้ว

    thanks alot man, I appreciate your videos

  • @runbama1013
    @runbama1013 ปีที่แล้ว

    awesome series thank you

  • @kclaiborn6257
    @kclaiborn6257 3 ปีที่แล้ว

    Thank You for these tutorials! :) :) :)

  • @GlynisDance
    @GlynisDance 2 ปีที่แล้ว

    Your lessons are ACE!

  • @xc9112002
    @xc9112002 3 ปีที่แล้ว

    Thank you so much
    Its very practical. like some of comments below i rarely left comments but your demonstration is amazing that's easy to understand for everyone. BTW I also love your voice and accent as well as your ending words " trade green and good luck with your coding" Haha

    • @TheArtOfTrading
      @TheArtOfTrading  3 ปีที่แล้ว

      Thanks so much for the feedback, Eric! I'm glad you've found these tutorials helpful :)

  • @alanhill5337
    @alanhill5337 2 ปีที่แล้ว

    Another great tutorial. Thank you

  • @Oraclegupta
    @Oraclegupta 4 ปีที่แล้ว +1

    Thanks for wonderful tutorial please continue good work n spread knowledge

  • @evolv_85
    @evolv_85 3 ปีที่แล้ว

    This is fantastic.

  • @maximilianoroth1891
    @maximilianoroth1891 3 ปีที่แล้ว

    Really amazing thanks!!!

  • @tsippiweininger8331
    @tsippiweininger8331 3 ปีที่แล้ว

    Great lessons , great explained so i say thank u all the way from ISRAEL

  • @gdshan
    @gdshan 3 ปีที่แล้ว

    Nice video. Is it possible to do a presentation on plotting alternate trailing stops for short and long rather than plotting both the lines simultaneously?

  • @mrrrokas
    @mrrrokas 3 ปีที่แล้ว

    Nice one. Much love to you bro

  • @sorwitkates
    @sorwitkates 3 ปีที่แล้ว

    you are the man!

  • @tuzway
    @tuzway 3 ปีที่แล้ว

    Awesome video.... I'm checking out your site also. I need to do a pine script for a sma/ema crossover exit strategy.

  • @Irshu
    @Irshu 3 ปีที่แล้ว

    Thanks a lot for the video guy.
    I have a question, Is there any way we can plot the atr in a new pane while overlay is set to true but still want the trailing stop to be plotted on the price chart?

  • @silencecaptive
    @silencecaptive 2 ปีที่แล้ว

    Het Mathew, great stuff as always. one question: on minute 18.00 how do you plot these dashes for stop loss and take profit? I have tried using stepline, yet it still connects the trailing line: plot(longstop, title= "long trail stop", style=plot.style_stepline, color=color.new(color.silver,60))

  • @unbreakable3396
    @unbreakable3396 4 ปีที่แล้ว +1

    another question , can we put our stop loss under the entry candle by 2% for example and the target will be the same R/R 1?

  • @martinmedved9569
    @martinmedved9569 2 ปีที่แล้ว

    really great lesson .. Hope you will so more of that. GREAT.

  • @the_bitcoin_guy
    @the_bitcoin_guy 3 ปีที่แล้ว +2

    Thanks for this, great video ! Got a question, when I make a strategy, and set STOP LOSS or TAKE PROFIT, based on ATR, for obvious reasons it never gets hit, because it is dynamic. How can I set a stop Loss or a Take Profit based on ATR or BB, but keep it fixed as a historic value ? Quick example: the Price now is 10.000, and the upper BB value is 10200 and the lower is 9800. I want set a Short trade with STOP LOSS on 10200 and a Take profit at = current price - (stop loss - current price) * 2 . What gives us 9600.

  • @kefaliask
    @kefaliask 4 ปีที่แล้ว +1

    great lessons :up

    • @TheArtOfTrading
      @TheArtOfTrading  4 ปีที่แล้ว

      Thanks brother! I appreciate that :)

  • @athar7934
    @athar7934 3 ปีที่แล้ว

    Hi,
    Really amazing lesson, Very well explained. Can I get codes that you are showing as lesson 1-2-3?
    That will be really helpful ! TIA

  • @Juroska1
    @Juroska1 4 ปีที่แล้ว +1

    Excellent course

    • @TheArtOfTrading
      @TheArtOfTrading  4 ปีที่แล้ว

      Thanks Bomboora! More is on the way :)

  • @lisborn2000
    @lisborn2000 2 ปีที่แล้ว

    Hey buddy, that's an awesome tutorial. I have been searching for something like this for long time. Just found your channel today and i want to make a personnel request. can you please make a video on how to create an alert on tradingview using short or long trailing stop combined with another indicator into one single code ? For example, an alert when short trailing stop is crossing the 200 EMA in one single code.

  • @2blackman1
    @2blackman1 3 ปีที่แล้ว

    Good lesson man, though for the plot(atr) line 18. Why would we bother changing the transparency to 100? Wouldn't it be simpler to just remove that line entirely?

  • @hb7of9
    @hb7of9 3 ปีที่แล้ว

    Amazing ty :)

  • @mohammedrizk3106
    @mohammedrizk3106 ปีที่แล้ว

    Thanks math great work
    Does this work in version 5?
    Or what we should to change in version 5 ?
    And thanks

  • @ernestkayinamura6668
    @ernestkayinamura6668 3 ปีที่แล้ว

    thanks awesome

  • @MrJonathanRB
    @MrJonathanRB 3 ปีที่แล้ว

    Matt do you have a video to do something like DMI + Stoch are in the same OB/OS?

  • @Hooli31
    @Hooli31 3 ปีที่แล้ว

    thank you for the video! Im having struggle to keep the ATR value at the entry price, I would like to take profit at 1.5 * atr of my entry price and not "trailing" how can i do that?

  • @dstr769
    @dstr769 3 ปีที่แล้ว

    the script I am modifying was made in 2017, it seems there is an incompatibility of some sort - when I put in // @version=4
    then it does not get compiled at the end

  • @NM-ki9ih
    @NM-ki9ih 3 ปีที่แล้ว

    If I am in a long is there a way to get the trailing stop to find the highest high of that trend regardless if it was 3 bars back, 7 bars back or 50 bars back? Like as long as I'm in a long position, use the highest high you find to calculate the trailing stop with the ATR? I'd like to be able to not get out of obvious trends because of a small pull back.

  • @CsStorms84
    @CsStorms84 2 ปีที่แล้ว

    Hello, I love your videos! Is it possible to implement this type of trailing stop into pineconnector?

  • @garyjon3474
    @garyjon3474 3 ปีที่แล้ว

    Is it possible to have write a script that has indicators on the top, such as Moving average and Bollinger Band along with indicators on the bottom such as ADX and TSI? Going off the videos I've seen the overlay function only allows one or the other with the True/False setting.

  • @richardforonda2701
    @richardforonda2701 3 ปีที่แล้ว

    hey bro question is it possible to used stop Loss moved automatically adjust/moved using PaperTrading ,same as u've done on OANDA Autoview thnx 4 ur time Keep Safe i've enjoy ur Free Lesson Keep it Up i've Learn alot

  • @ajinkyajoshi6995
    @ajinkyajoshi6995 4 ปีที่แล้ว +1

    Can we get buy and sell signal like supertrend indicator for any indicator???
    If yes how?

  • @cemaldogan2235
    @cemaldogan2235 2 ปีที่แล้ว

    thanks

  • @marcinmiekisz532
    @marcinmiekisz532 4 ปีที่แล้ว +2

    Great course! Thank you for these videos.
    I'm a really no-tech guy, so maybe you could help me. How to use this ATR TP and SL in backtesting the strategy?
    I can't come up with any working code that would set up my exit at either ATR TP or ATR SL when the ATR should be based on a candle that I enter the trade.
    Hope it's understandable :D Do you have any ideas?

    • @johanekman6273
      @johanekman6273 ปีที่แล้ว

      Hello Marcin. I know it's quite some time ago but did you manage to get the code working for the above mentioned backtesting system? I'm in search for the exact code.

  • @DevilsAdvocateZT
    @DevilsAdvocateZT 3 ปีที่แล้ว

    one thing though, the price will never fall below the stop unless you are looking at the stoploss indicator yesterday. So, how do we move the graph, so we can see it break through?

  • @nirmalkumar-rj1ey
    @nirmalkumar-rj1ey 2 ปีที่แล้ว

    whats the purpose of bullion. can we plot directly plot(lowest(low,lookback), color=color.green) ...) without using use structure

  • @Berghiker
    @Berghiker ปีที่แล้ว

    How can I change the strategy tester to only show trades for one trading day ?

  • @shaddyghazal8255
    @shaddyghazal8255 ปีที่แล้ว

    great, but how to add the ATR to the strategy.exit functions so we can see what the back test results are?

  • @johnstark9
    @johnstark9 3 ปีที่แล้ว

    when toggling between time frames, my chart shrinks in order to fit atr value at very bottom. Only way for smooth toggling between time frames is to disable atr which defeats the point. Any advice you can dish on how to fix this problem? thanks!

  • @nivas2807
    @nivas2807 3 ปีที่แล้ว

    Can you please help me how to get higher time ATR value on lower time frames charts. Example: I want Daily ATR value same on 5 minutes and 30 minutes charts

  • @sumitb2015
    @sumitb2015 2 ปีที่แล้ว

    Good video. But here the trailing Stop should be calculated till previous day close. Otherwise we will never have price crossovers as the trailing Stop will always be lower than the current close price..

  • @pietroaminpuddu7388
    @pietroaminpuddu7388 3 ปีที่แล้ว +4

    You have not written a code for trailing stop loss (ATR) but you have created a code to calculate a lower and upper band (with a multiplier) starting from the ATR. Good explanation, but the code to contextualize the content with the title is missing.

    • @TheArtOfTrading
      @TheArtOfTrading  3 ปีที่แล้ว +2

      The idea behind this indicator is to trail your stop loss based on where you entered your position (eg., if you entered long, then you trail your stop loss higher as the trailing ATR moves higher, and you ignore times when it dips, until you're stopped out. That's how I use it anyway).
      In order to code an actual trailing stop indicator, you need to tell Pine when and where you entered your position, which is much more complex.
      I think you might find this lesson more useful if that's what you're trying to do: th-cam.com/video/WM8qOjKimUk/w-d-xo.html

    • @pietroaminpuddu7388
      @pietroaminpuddu7388 3 ปีที่แล้ว

      @@TheArtOfTrading I'm happy with the quick response to my comment, I'm glad. Anyway, I don't write the code in Pine but on python so I was just interested in understanding the logic of the code and then rewriting it myself. The point is that the cumulative maximum (or cumulative minimum if short) condition is missing. Of course, as you say then the entry point influences the volatility and therefore the distance of the stop loss from the price series, but all I wanted to say was that this very trivial condition was missing to make it a real trailing stop loss code. Thanks anyway for the explanation in the video which remains exhaustive;)

  • @martinmbome3308
    @martinmbome3308 3 ปีที่แล้ว

    what is the lesson that teach how to plot target et stop loss please?

  • @studology67
    @studology67 2 ปีที่แล้ว

    why did we use usestructure boolean, can we make this indicator without use structure

  • @promethvzine
    @promethvzine 3 ปีที่แล้ว

    damn this helped me out so much! thanks for this! i'm having a lil problem with the auto scale function when i plot this indicator to the screen.
    It wants to show 0 on the BTC chart which makes all my candles squeezed together. any way i can fix this?

    • @promethvzine
      @promethvzine 3 ปีที่แล้ว

      i found out the reason is this line:
      plot(atr, color=color.blue, title="ATR", transp=100)

  • @user-ml2yt9gl4i
    @user-ml2yt9gl4i 4 ปีที่แล้ว +1

    have been watching all your tutorials. Could you make a video for algo trading with Tradingview pine script? There are autoview with pink and Algostudio out there that can make pine script automated but do not know how to proceed

    • @TheArtOfTrading
      @TheArtOfTrading  4 ปีที่แล้ว +1

      Hey Ching! That's on the list, when I finish my Pine Script Mastery Course I'll do a short guide on 3rd party API functionality :)

    • @user-ml2yt9gl4i
      @user-ml2yt9gl4i 4 ปีที่แล้ว

      @@TheArtOfTrading something in python?

  • @rk_charts
    @rk_charts 3 ปีที่แล้ว

    Really amazing Lesson,
    My self Ravi from INDIA
    Can you please make a lesson on increased Volume's High or Low gone by price, then it give signals
    One more thing can you please make a lesson video on RSI BreakOut Signals, it would be really appreciate, Thank u so much.

  • @Yourboye2
    @Yourboye2 4 ปีที่แล้ว +1

    These lessons are amazing. I did run into a problem. (I copied the code verbatim) but when I add to the chart, it squishes the candles into a solid line. I'm not sure what I did wrong. Thx for any replies :)

    • @Yourboye2
      @Yourboye2 4 ปีที่แล้ว

      13:50 found the solution.... :) Thx

  • @Berghiker
    @Berghiker ปีที่แล้ว

    How do I work with more than 2 if statements?

  • @charlhattingh4205
    @charlhattingh4205 ปีที่แล้ว

    any update on this for version 5? thank you in advance.

  • @richannforonda3847
    @richannforonda3847 3 ปีที่แล้ว

    hoping u can do a script that can filter on a valid setup using art trailing-stop many tnx looking forward 4 that video

  • @varunanilpatel310
    @varunanilpatel310 2 ปีที่แล้ว

    How to use ATR Trailing stop loss in other live strategy ?

  • @shariztraderstudio1397
    @shariztraderstudio1397 2 ปีที่แล้ว

    hai i have plotsahpe for cci crossover ema, can you show me how to plot below -100 line to zero line. -100

  • @sharanrj5008
    @sharanrj5008 4 ปีที่แล้ว +1

    lets take stock price is 100 and it has support and resistance at 98 and 102 for the 23-march -2020..
    now this support and Resistance i.e 98 and 102 =x
    how to check this x is equal to previous any same support and Resistance
    suppose previous 98 cames as support two times and now on 23 march this 3 rd time
    when 2nd time or 3rd time occurs on chart as support i want to display it as buy ...how to do it plz ..hlep

    • @TheArtOfTrading
      @TheArtOfTrading  4 ปีที่แล้ว +1

      Hey Sharan! That's a really complicated thing to achieve in Pine Script. If I get time once I've finished covering the basics I'll try to create a lesson on it

    • @sharanrj5008
      @sharanrj5008 4 ปีที่แล้ว +1

      @@TheArtOfTrading k sir ..try to create evrything about pine script it will be very helpful ..and thanks

    • @TheArtOfTrading
      @TheArtOfTrading  4 ปีที่แล้ว +1

      @@sharanrj5008 Hey Sharan! I'm currently in the process of creating a Pine Script Mastery Course that teaches everything I know about Pine :) hopefully it will be finished really soon. If you want to be notified when it's ready, you can sign up to the mailing list here : zenandtheartoftrading.com/advanced-pine-script-course
      Otherwise when I'm finished creating that course, I will go back to making free tutorial lessons here on TH-cam, so stay tuned :)

  • @varun7154
    @varun7154 ปีที่แล้ว

    how to merge two or more indicator

  • @unbreakable3396
    @unbreakable3396 4 ปีที่แล้ว +1

    when we can get your crash course about scripting by pine script ?

    • @TheArtOfTrading
      @TheArtOfTrading  4 ปีที่แล้ว +1

      Hey UnBreakable! Absolutely, I'm working on that right now which is why I've been absent from TH-cam. So far I have 3 hours of lessons recorded and I'm only half way through the list of course material to create :) I'll let you know on this channel when it's completed so stay tuned!

  • @masterthebasics4846
    @masterthebasics4846 3 ปีที่แล้ว

    looks like trading veiw is removing the 'transp' function , now they recommend using color.new() or color.rgb()

  • @24hrdiner
    @24hrdiner ปีที่แล้ว

    But price never triggers the stop, so whats the point?

  • @worldwideoffline6423
    @worldwideoffline6423 ปีที่แล้ว

    I dont understand how this would ever get triggered...? it never crosses the price when done like this..? what am i missing?

  • @dougamaral85
    @dougamaral85 2 ปีที่แล้ว

    Hi, sorry for my bad english... I'm from Brazil and my name is Doug.
    Me and my brother are trying to write a trailing stop loss on Tradingview (pine script) and we're being successful.
    Our idea is to reach a specific profit target and change the stop loss, for example:
    1- When my profit reaches 5% my stop loss will be 0%
    2- When my profit reaches 10% my stop loss will be 5%
    3- When my profit reaches 20% my stop loss will be 10%
    4- Etc... Etc... Etc...
    I don't know if you could understand my idea, but that's what we're trying to do but we're not getting it.
    Could you kindly help us?
    Best regards my friend.

  • @pradeeptv5241
    @pradeeptv5241 3 ปีที่แล้ว

    Sir please share a simple script for plot atr and ema in a single indicator window

  • @varun7154
    @varun7154 ปีที่แล้ว

    hii... i want full course

  • @GK-ll7zo
    @GK-ll7zo 3 ปีที่แล้ว +1

    Hi,
    It look good, BUT ! It does not work (I think). Stop losses need to trigger, this one is just adjusting it to go lower. It is not possible to get stopped out, so IMO, useless, unless I am really doing something wrong, please correct me then.

    • @TheArtOfTrading
      @TheArtOfTrading  3 ปีที่แล้ว

      Hi Gert! Yes this indicator is intended to be used on each bar. So you identify the bar you want to trail your stop above/below and then use that value. You don't adjust it on every single bar, only swing lows or highs

  • @MrChristopherfelt
    @MrChristopherfelt 2 ปีที่แล้ว

    how do you join this mans discord

  • @aimanaimann
    @aimanaimann 2 ปีที่แล้ว

    the atr value isnt the same as ATR built in.

  • @TheLKStar
    @TheLKStar 2 ปีที่แล้ว +2

    This is not a trailing stop. It's a fixed stop that you turn on relative to ATR value.