Great job, very clear explanations, thanks you for sharing your knowledge
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad it was helpful!
@NathanEarlTallTales Жыл бұрын
i just wanted to take time and say thank you! After watching other videos and getting a grasp of how to set trailing stops, your teaching tied the loose ends for me. Much appreciated!
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks :)
@GODOFWAR30100 Жыл бұрын
I diffidently learned something new and will be coming back for more. great work! 🙌
@FinancialProgrammingwithRitvik Жыл бұрын
Glad to hear it!
@tyronew35322 жыл бұрын
thank you as always sir. learning how to use bloomberg with python for my internship and your video was best one i found on the topic
@FinancialProgrammingwithRitvik2 жыл бұрын
Great to hear!
@KanadaAlevi2 жыл бұрын
Great tutorial. I had no clue on how I could code StopLoss and TakeProfit options using PineScript. Thank you and keep up the good job
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@joonoonoo96432 жыл бұрын
Would you make a video one how CFA knowledge helps you when doing financial programming stuffs?
@joonoonoo96432 жыл бұрын
I'm considering studying CFA
@FinancialProgrammingwithRitvik2 жыл бұрын
Noted!
@bratanoff10 ай бұрын
Thnks for the video. It will be quite interesting to see the video on how to merge the parameters from different indicators, - for example RSI crossover signal and MA indicator crossover together in one script to enter the position with stop loss.
@FinancialProgrammingwithRitvik10 ай бұрын
Noted
@hug4love2 жыл бұрын
Great work and thanks for showing live coding in pine script
@FinancialProgrammingwithRitvik2 жыл бұрын
My Pleasure!
@FinancialProgrammingwithRitvik2 жыл бұрын
𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐦𝐞 𝐛𝐲: 👀 Becoming a 𝐏𝐚𝐭𝐫𝐞𝐨𝐧 Member: www.patreon.com/fpritvik
@yanneklyudov2518 Жыл бұрын
Very positive video and energy, hope you make more of this content in the future
@FinancialProgrammingwithRitvik Жыл бұрын
Thank you, I will
@jhicinternational Жыл бұрын
Fantastic brother 👍
@FinancialProgrammingwithRitvik Жыл бұрын
Thank you! Cheers!
@ryand66042 жыл бұрын
I am so excited to have found this video series! i will have subscribed and cannot wait to see the code in the google drive. thank you!!!
@FinancialProgrammingwithRitvik2 жыл бұрын
Welcome aboard!
@bhxrxni_2 жыл бұрын
you are good at explaining man!!
@FinancialProgrammingwithRitvik2 жыл бұрын
I appreciate that!
@3RiversSQ Жыл бұрын
Thanks for this knowledge, do you know how to place SL in indicator not in strategy??
@FinancialProgrammingwithRitvik Жыл бұрын
It's the same way.
@threelittlebirdsblue33342 жыл бұрын
Thanks bro. been looking for this much appreciated :)
@FinancialProgrammingwithRitvik2 жыл бұрын
My Pleasure!
@diegotrujillo96022 жыл бұрын
Something good! Great tutorials, simple and let ready to start doing your own stff
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks :)
@mkemon4856 Жыл бұрын
Very nice video, very helpful
@FinancialProgrammingwithRitvik Жыл бұрын
Glad it was helpful!
@jjfg39602 жыл бұрын
Super helpful vids. Keep em coming!
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks, will do!
@TayTaySongs2 жыл бұрын
Thank you for all you do and this Stop Loss video was great. Any way you can model selling part at one level and then let the runner run? Example, you buy 10 contracts, sell 7 at level X and then let 3 run with a stop loss of X points? It would also be great if you could show how to tie into trading companies, i.e. create your own bot for auto trading (webhooks specifically)
@FinancialProgrammingwithRitvik2 жыл бұрын
Great idea!
@aashajawaharlal48552 жыл бұрын
Great work
@FinancialProgrammingwithRitvik2 жыл бұрын
Thank you! Cheers!
@circolitica2 жыл бұрын
Thanks a lot!! Nice info.
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad it was helpful!
@Burak-ix4bi2 жыл бұрын
Great work, thanks sir!
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad you liked it!
@Tun77xx77 Жыл бұрын
Great video, thank you so much Sir.
@FinancialProgrammingwithRitvik Жыл бұрын
So nice of you
@mohdhamizi14319 ай бұрын
Thank you. A good sharing for the community. 👍👍👍
@FinancialProgrammingwithRitvik9 ай бұрын
Very welcome
@AntonyNishanth-yj3ou Жыл бұрын
Need a guidance. Consider an option was purchased at the close of a green/red candle and want to have a trailing stop loss after 2 or 5 candles till there is candle which is about to break the close of previous (2nd or 5th) candle. Eg -> Tradingview 1minute chart -> Bought - BankNifty 43000 CE -> 4 green candles after 4 minutes -> 5th candle is red and a very long one, more than previous 3 candles. How to exit before it goes lower than the opening of 4th candle and then at the same time buy a 43000 PE or 42900 PE? When ever i exit a CE trade trough stop loss i.e. strategy.exit(stop=loss) after it has hit a loss of 17 to 20 points how to i buy immediately a PE trade before the Candle closes. I know the code is executed after each close or every tick. But every tick is the worst option and after close the bank nifty candle are almost at super loss.
@ramesh964 Жыл бұрын
Sir , it will be of great help if you can tell me how to create AlertCondition in pine script or the alternative way , as alertcondtion is not allowed in strategies(v5) , as i have to create message in third party (options).......
@FinancialProgrammingwithRitvik Жыл бұрын
Please stay tuned. An entire playlist is coming on my Channel on Alerts and Webhooks.
@thomasmuller77332 жыл бұрын
Good Tutorial! Thanks. 😊
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@pawebogatu9449 Жыл бұрын
you deserve more than one like
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks :)
@pawebogatu9449 Жыл бұрын
@@FinancialProgrammingwithRitvik do you have maybe a discord or some telegram chat ? Would love to talk to people with similar knowledge
@vladdanga2279 Жыл бұрын
Nice!
@FinancialProgrammingwithRitvik Жыл бұрын
Thank you! Cheers!
@satyamnaidugokeda645 Жыл бұрын
I wanted to thank you for your help.
@FinancialProgrammingwithRitvik Жыл бұрын
My pleasure!
@chickscratcher32 жыл бұрын
thanks for making this easy!
@FinancialProgrammingwithRitvik2 жыл бұрын
You're so welcome!
@gilroy92822 жыл бұрын
Thank you for this!!
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@soniabasdan14582 жыл бұрын
exceptionally Helpful sir, god bless you. please keep going
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks :)
@sachadavidson65272 жыл бұрын
Thanks for this tutorial
@FinancialProgrammingwithRitvik2 жыл бұрын
You're welcome 😊
@sisterfood77512 жыл бұрын
Super helpful. Thanks.
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad it was helpful!
@shreyass4792 Жыл бұрын
Is there a way to automate the signals to the broker terminal and execute the trades?
@FinancialProgrammingwithRitvik Жыл бұрын
Depends on the broker, however, in most of the cases it won't be possible. You will have to write a Python code for the trading bot.
@IneffablePanther Жыл бұрын
love the intro
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks :)
@akramtoumani44312 жыл бұрын
thank you sir, i learned a lot
@FinancialProgrammingwithRitvik2 жыл бұрын
You are welcome
@theignorantentrepreneur2 жыл бұрын
Great video. The only thing I don't understand is the "1000000000.0" value for "price_stop_short." What's the significance there?
@FinancialProgrammingwithRitvik2 жыл бұрын
It is just a big number to make the calculations easier. You may ignore it.
@theignorantentrepreneur2 жыл бұрын
@@FinancialProgrammingwithRitvik so it's a placeholder value that's intended never to be hit, essentially triggering a "false?"
@louiedyer2550 Жыл бұрын
Hello mate great video, so does this automatically stop you out a position with your broker?
@FinancialProgrammingwithRitvik Жыл бұрын
We just need to connect with some broker's API to do this.
@saftcoral2311 ай бұрын
You're so funny! I love your jokes
@FinancialProgrammingwithRitvik11 ай бұрын
My pleasure!
@testconnect52722 жыл бұрын
Great explanation
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad it was helpful!
@sandeeppatil082 Жыл бұрын
Very Good Informative
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks :)
@jrsy8854 Жыл бұрын
hi is this applicable to Binance broker ? sorry im kinda newbie
@FinancialProgrammingwithRitvik Жыл бұрын
It's on Tradingview and applicable on all brokers which provide pricing data.
@gr131 Жыл бұрын
Thanks, great video. Is it possible to Trail Take Profit?
@FinancialProgrammingwithRitvik Жыл бұрын
Yup... Same logic but on the target profit side.
@curiouskittycat59776 ай бұрын
Hi. A while back I paid for the google drive access, but I can't remember how to access it. Any chance you can provide a link so I at least attempt to access it? Thank you
@FinancialProgrammingwithRitvik6 ай бұрын
Hi, please reach out to my team at fpritvik@gmail.com if you are facing any issues with opening the drive.
@twezo Жыл бұрын
When you’re backtesting, tradingview doesn’t account for the volitility of the current candle. So it will say it trailed the stop loss but price in that candle came and stopped you out. Please can you explain how to make the back testing more realistic??
@FinancialProgrammingwithRitvik Жыл бұрын
I understand your point. Tradingview has some limitations. In order to perform proper thorough backtesting, I recommed you do the analysis in Python.
@tdaweladvices87942 жыл бұрын
Great Video. Thanks.
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad you liked it!
@santoshshetti1379 Жыл бұрын
Thanks for the video. please provide access for code
@FinancialProgrammingwithRitvik Жыл бұрын
I have provide access to all new members. I hope you have got it by now. Thanks :)
@yocko13 Жыл бұрын
I applied to your Google drive. Please allow me access. Thanks. I am learning a lot from your videos... Great work!
@FinancialProgrammingwithRitvik Жыл бұрын
I have given access to all new members. Have you got it by now?
@yocko13 Жыл бұрын
@@FinancialProgrammingwithRitvikNot yet. I changed my email, please check. Thanks for your kindness
@dmitriys4279 Жыл бұрын
where I can get the code from this video? Nice bit box ;)
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks :) The code is saved in my google drive. kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@praveenkarthikeyan5136 Жыл бұрын
Where can i get the above given sample code?
@FinancialProgrammingwithRitvik Жыл бұрын
I do share my google drive with members. For more information, click here: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@klangfarbeblau90872 жыл бұрын
Thanx a lot for this. Greetings from Germany!!!
@FinancialProgrammingwithRitvik Жыл бұрын
You're very welcome!
@kamyargilak2 жыл бұрын
Thanks for the helpful trailing Stop loss video
@FinancialProgrammingwithRitvik Жыл бұрын
My pleasure!
@ivanlebedev009 Жыл бұрын
Долго искал что-то подобное. Класс!
@FinancialProgrammingwithRitvik Жыл бұрын
Большое спасибо. Пожалуйста, следите за обновлениями, чтобы увидеть больше видео.
@RohitKumar-mc8nz2 жыл бұрын
Bro, make a video on how can we make 5 minute candlestick from 5 (1 minutes ) candlestick's open,high,low and close data available in yahoo finance api.
@user-ew9uj8pu2g Жыл бұрын
It's simple once value is gathered in CSV format or in pandas dataframe... Just apply logic using Excel first then try to implement it in python using pandas
@nirekbrahmbhatt66722 жыл бұрын
Great Information
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad it was helpful!
@edgarayala3492 жыл бұрын
thanks for the video
@FinancialProgrammingwithRitvik2 жыл бұрын
You're welcome
@pa253 Жыл бұрын
Why aren't you using strategy.exit() with trail_price and trail_offset?
@siraajshaikh32642 жыл бұрын
Very clear
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad it helped
@Griffindor21 Жыл бұрын
Can you put a trailing stop loss in a tradingview order?
@FinancialProgrammingwithRitvik Жыл бұрын
Couldn't understand. Please elaborate.
@Griffindor21 Жыл бұрын
@@FinancialProgrammingwithRitvik what I meant was when you put an order in Tradingview, whether long or short, can you add a trailing stop loss automatically? Thanks
@sevencampbell Жыл бұрын
Thanks for this - I copied the code from your Google Drive as a new strategy but the plots dont show on my charts .. the stoploss lines
@FinancialProgrammingwithRitvik Жыл бұрын
Are you getting any error?
@navnathnavale17902 жыл бұрын
Great Initiative👌
@FinancialProgrammingwithRitvik2 жыл бұрын
Keep watching
@FinancialProgrammingwithRitvik2 жыл бұрын
Keep watching
@graphixguruji4512 жыл бұрын
great
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks :)
@deicide2324 Жыл бұрын
hi, my alert not working as well as my backtested data showed, I think it was trailing stop function causing. How do I avoid this?
@FinancialProgrammingwithRitvik Жыл бұрын
Buy and Sell signals are not getting generating? Sorry couldn't understand your question.
@andykach5032 жыл бұрын
thanks a lot
@FinancialProgrammingwithRitvik2 жыл бұрын
You are most welcome
@wahid.12 жыл бұрын
very helpful
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad it helped
@kostyapopov62842 жыл бұрын
Wow!
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks
@GaryBourneChristian Жыл бұрын
hello, can you automate pinescript to pineconnector to MT4?
@kimweeng535811 ай бұрын
Nice tutorial, love the intro man. Maybe can start a music career >
@FinancialProgrammingwithRitvik11 ай бұрын
Haha, Thanks
@amarnathaluri82482 жыл бұрын
Thank you sir
@FinancialProgrammingwithRitvik2 жыл бұрын
So nice of you
@amarnathaluri82482 жыл бұрын
@@FinancialProgrammingwithRitvik pls provide access to google drive sir
@nisanthks011 Жыл бұрын
hello sir.. thanks for the video. how can see the script as the Google forms link i can't find in the description.
@FinancialProgrammingwithRitvik Жыл бұрын
Please refer the link for more info: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@michaeljulianusechebautist18842 жыл бұрын
you do amazing, thanks
@FinancialProgrammingwithRitvik Жыл бұрын
I appreciate that!
@srikanthchaudhuri3192 жыл бұрын
❤️ TYSM!
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@joonoonoo96432 жыл бұрын
I love the intro
@FinancialProgrammingwithRitvik2 жыл бұрын
haha, thanks ;)
@martianacademy2 жыл бұрын
Nike testing achi he sir aapki
@FinancialProgrammingwithRitvik2 жыл бұрын
Haha, Thanks :)
@Exzal123 Жыл бұрын
Damn why pinescript can't just make a function for it... It's so complicated
@FinancialProgrammingwithRitvik Жыл бұрын
I understand the pain. That's why I tried to make it as simple as possible.
@thecoinjob2 жыл бұрын
nice
@FinancialProgrammingwithRitvik Жыл бұрын
THANKS :)
@donbastardo7673 Жыл бұрын
Like + Sub just for the mic test alone :-)
@FinancialProgrammingwithRitvik Жыл бұрын
haha, thanks.
@tarekayoub Жыл бұрын
I am looking for somone to create a pine script for a trailing stop strategy..it's a little complex :) Anyone interested?
@FinancialProgrammingwithRitvik Жыл бұрын
I hope you find someone ;)
@sergg76712 жыл бұрын
👍👍👍
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks :)
@maxfotografc9771 Жыл бұрын
Keep up the good work. very good explanation. I am waiting for the access to google drive but when I type the code I get error on the following line. stopvalue_long := close - stop_loss_amount undeclared identifier: 'stop_loss_amount' I have joined your telegram channel as well. :-)
@maxfotografc9771 Жыл бұрын
figured out the error. I was missing a line. Its working now.
@FinancialProgrammingwithRitvik Жыл бұрын
Great :)
@tophacker46262 жыл бұрын
Bhaiya ,I have made an indicator , I want to show it to you how can I contact you.
@jorgmuller8511 ай бұрын
Hello everyone, I have a question: I need a code for: when TP2 is reached, an SL should be set on the entry price but only after reaching TP2. can someone help me? thanks in advance
@kailashphani28052 жыл бұрын
Great work and thanks for showing live coding in pine script