For last few days I have seen so many videos but none of them could code multiple conditions in buying n selling. Finally I got what I was looking for. Thank you 🙏🙏
@FinancialProgrammingwithRitvik Жыл бұрын
Glad I could help
@gordonsampson29405 ай бұрын
Thank you Ritvik, as with all your other videos I have watched so far, you simply make it look so easy - thank you for imparting your knowledge and skill to us 👍🙏
@FinancialProgrammingwithRitvik4 ай бұрын
You're welcome
@frankweber8332 жыл бұрын
Really good explanation. Even better combined with your video about trailing stops. More videos on pine script would be great ! Thanks for your excellent work !
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks :)
@PankajRaghunadhabhatlaАй бұрын
Your way of teaching is wonderful
@FinancialProgrammingwithRitvikАй бұрын
Thanks a lot
@Jdominicmancini6 ай бұрын
Great video, Ritvik! Thank you for making this content so easy to digest. Cheers!
@FinancialProgrammingwithRitvik6 ай бұрын
Glad you liked it!
@momodounjie48147 ай бұрын
Thanks so much. Very clear and concise tutorial.
@FinancialProgrammingwithRitvik7 ай бұрын
You're very welcome!
@alanwepener224110 ай бұрын
Excellent information and very helpful - thanks Ritvik
@FinancialProgrammingwithRitvik10 ай бұрын
My pleasure 😊
@moneitree31858 күн бұрын
excellent video thanks a lot sir can you make a video on current price is greater than previous day high and sma 200 in 30 min timeframe. where macd greater than macd signal in 30 min & daily time frame respectively .
@FinancialProgrammingwithRitvik6 күн бұрын
Will try
@mchanna784 ай бұрын
Great tutorial!!! Where can I access this code? I dont see the google drive link anymore
@FinancialProgrammingwithRitvik4 ай бұрын
Please go through this post: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@YouFoundMayank Жыл бұрын
From now onwards you will find me in most of your vedios and i will always comment cryptobyte at the end. Absolutely love your channel, totally unique content no buttery non scientific talks only serious information.
@FinancialProgrammingwithRitvik Жыл бұрын
Welcome aboard!
@erics2208 Жыл бұрын
love the video, you make me want to go back and learn coding, I'm interested in the services you offer
@FinancialProgrammingwithRitvik Жыл бұрын
That's great! My job is to motivate people to improve their skillsets and I am glad I am getting success in it. Regarding my services, if you want my team to involve in your project as a freelance services, please reach out to me at fpritvik@gmail.com
@Berghiker Жыл бұрын
How do I work with more than 2 if statements?
@FinancialProgrammingwithRitvik Жыл бұрын
There's a concept of Nested IF condition... that is having an IF condition inside another IF condition.
@rafaglina20422 жыл бұрын
thank you for this great tutorial. As usual, I learned a lot
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad to hear that!
@supritsum54862 жыл бұрын
Thanks you brother to share your knowledge 🤗
@FinancialProgrammingwithRitvik2 жыл бұрын
It's my pleasure
@fabis19994 ай бұрын
First time i look your channel, just 9 sec of video and you already win one more subscriber, amazing intro 😂😂
@FinancialProgrammingwithRitvik4 ай бұрын
Welcome aboard!
@aashajawaharlal48552 жыл бұрын
Great video!
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks :)
@MygmailAccount-hp1fn2 жыл бұрын
excellent content.. great contribution for fintech community
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@vladextron2 жыл бұрын
Thanks. How can I achieve the add of the previous price variations, in %, starting from my entry price? thanks in advance.
@FinancialProgrammingwithRitvik2 жыл бұрын
Couldn't Understand. COuld you please elaborate?
@Sachin7532 жыл бұрын
Very Good videos by you, Really Thanks for your valuable efforts... I need ur help in how to put input as calander & time in pine script to retrieve data as an high & low of previous month or day at specific timeframe range...? Plz reply For example - need High & Low of any particular day from previous month or high & low from privious days any specific time period high & low .... How to get that plz help
@FinancialProgrammingwithRitvik2 жыл бұрын
Noted
@FnOTradingLearner7 ай бұрын
I think time or trade and time frame for strategy should be also mentioned in the strategy irrespective of chart time frame
@FinancialProgrammingwithRitvik7 ай бұрын
Great suggestion! Thanks,
@circolitica2 жыл бұрын
Thanks for this tutorial.. Very Helpfully
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad to hear that
@kasperdelange8871 Жыл бұрын
these tutorials are super helpful
@FinancialProgrammingwithRitvik Жыл бұрын
Glad you think so!
@abhinavchandra23662 жыл бұрын
would like to see more of this kind videos on indian stock exchange
@FinancialProgrammingwithRitvik2 жыл бұрын
Noted!
@blackranger900 Жыл бұрын
what vid do you recommend for beginners PineScript?
@FinancialProgrammingwithRitvik Жыл бұрын
I made an entire playlist for Pine Script beginners. You may like to watch it from the start.
@doublestuffdoreo Жыл бұрын
This is AMAZING!! But please teach me how to use this strategy with real money 😢
@FinancialProgrammingwithRitvik Жыл бұрын
Very soon! Please stay updated.
@yaniv_dayan2 жыл бұрын
Can you do video about having horizontal lines on the chart on the key price levels of whole, half, and quarter price
@FinancialProgrammingwithRitvik2 жыл бұрын
Noted
@sudhirs.p.raikhar90204 ай бұрын
Hi Ritvik, very nice video, would like to be part of ur channel and wanted to know if you have UPI Method, to make the payment. Will be really helpful
@FinancialProgrammingwithRitvik3 ай бұрын
Hi Sudhir, For freelacing enquiries, please reach out to my team at fpritvik@gmail.com
@sandeepyadavv84972 жыл бұрын
Finally I got a genuine video on pine script
@FinancialProgrammingwithRitvik Жыл бұрын
Great! THANKS :)
@sandeepyadavv8497 Жыл бұрын
@@FinancialProgrammingwithRitvik I believe you promised for some drive link approval having some pine scripts
@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.
@maryamrostami90882 жыл бұрын
thank you, your content is very useful👌🙏🌼
@FinancialProgrammingwithRitvik2 жыл бұрын
So nice of you
@Berghiker Жыл бұрын
How do I plot the distance (number), from high to low above or below the current candle?
@FinancialProgrammingwithRitvik Жыл бұрын
Could you please elaborate your question?
@what_is_the_answer Жыл бұрын
Hello Sir it was very helpful. It would be very helpful if you could make a trading strategy on trading Cryptocurrency futures on Binance
@FinancialProgrammingwithRitvik Жыл бұрын
As soon as possible
@FinancialProgrammingwithRitvik2 жыл бұрын
👀 Join Exclusive Community on 𝐏𝐚𝐭𝐫𝐞𝐨𝐧: www.patreon.com/fpritvik
@emergingtraders Жыл бұрын
Sir very nice learnt too much
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks and welcome
@YuktriXIntelligence Жыл бұрын
You just make my life beautiful Thank you Bro
@FinancialProgrammingwithRitvik Жыл бұрын
My pleasure :)
@SumitKumar-mr4pb2 жыл бұрын
Thank you Sir
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@obwanda9113 Жыл бұрын
Can you please explain how to you use the comment_profit and comment_loss arguments in the strategy.exit()
@FinancialProgrammingwithRitvik Жыл бұрын
I will try to cover it in the upcoming videos
@iidaindiaclasses32804 ай бұрын
Thank you very much
@FinancialProgrammingwithRitvik4 ай бұрын
You're Welcome
@matquykyo8115 ай бұрын
How to set price to buy if i dont wanna buy at the next open bar??
@MrPopam Жыл бұрын
where can we get the pinescript of this strategy...? I am a beginner.
@FinancialProgrammingwithRitvik Жыл бұрын
Please follow the steps of this post: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@Atharav8488 Жыл бұрын
nice video sir thank you very much
@FinancialProgrammingwithRitvik Жыл бұрын
Most welcome
@zilibabwei Жыл бұрын
Really appreciate you sharing your knowledge with us!
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks :)
@Berghiker Жыл бұрын
Can you please show me something simpler like when the price closes under the 20EMA it gives a short signal. How do I do this in pine script? I don't want any moving averages crossing over each other.
@FinancialProgrammingwithRitvik Жыл бұрын
Noted! I will plan another video on it.
@Atharav8488 Жыл бұрын
sir can you make scalping strategy for Bank nifty
@FinancialProgrammingwithRitvik Жыл бұрын
Noted!
@arvindkumar7320 Жыл бұрын
HALFTREND Indicator Buy & Sell Signal pine script please upload video
@FinancialProgrammingwithRitvik Жыл бұрын
I will try.
@Hdosi11 ай бұрын
Great video and explanation. If I want to show 'Exit Long = TP' when hit TP or 'Exit Long SL' when hit SL, could you pls advise for add more code ?
@Hdosi11 ай бұрын
It's Okay for me now, just see there's 'comment loss' and 'comment profit' syntax.
@FinancialProgrammingwithRitvik11 ай бұрын
Try using label.new() for that. I will work.
@mw7185 Жыл бұрын
I programmed this and it gave me 2 warnings ( not errors ) They were pointing at these 2 lines of code. : //Stop Loss and target price trading logics strategy.exit('Long Exit', from_entry = 'Long', limit = targetvalue_long_1, stop = price_stop_long, when= strategy.position_size > 0 ) strategy.exit('Short Exit', from_entry = 'Short', limit = targetvalue_short_1, stop = price_stop_short, when= strategy.position_size < 0 ) Compiler says following: Warning at 103:1 The `when` parameter will be deprecated in future Pine versions. We recommend using `if` or `switch` conditional blocks instead.
@mw7185 Жыл бұрын
Here is the soultion: This will not give compiler errors: if(strategy.position_size > 0) strategy.exit('Long Exit', from_entry = 'Long', limit = targetvalue_long_1, stop = price_stop_long) if(strategy.position_size < 0) strategy.exit('Short Exit', from_entry = 'Short', limit = targetvalue_short_1, stop = price_stop_short ) if(strategy.position_size > 0) strategy.exit('Long Exit', from_entry = 'Long', limit = targetvalue_long_1, stop = price_stop_long ) if(strategy.position_size < 0) strategy.exit('Short Exit', from_entry = 'Short', limit = targetvalue_short_1, stop = price_stop_short )
@FinancialProgrammingwithRitvik Жыл бұрын
Yes, Pine Script will deprecate the "When" functionality soon. Anyways, we can do the same work using if statement as well. Very soon, I will upload a fresh new playlist on Pine Script trading strategies. Please subscribe to stay tuned: kzbin.info/door/yMifqUrSntvvrrGMaVPkrw
@Berghiker Жыл бұрын
var + ctrl + space = variance and varip only.
@NaguWhiteout Жыл бұрын
so, how do you actually open real orders? I have tradingview connected to Binance.
@FinancialProgrammingwithRitvik Жыл бұрын
There are 2 ways: 1) using webhook and then writing a code in Python, connecting with a broker to place trades. 2) Write the entire trading strategy in Python only and make a full fledged trading bot. I recommend the second one. If you are interested me and my team to help you doing it as freelancer, reach out to me here: fpritvik@gmail.com
@gilroy92822 жыл бұрын
Hello, Awesome Content!!
@FinancialProgrammingwithRitvik2 жыл бұрын
Hey, thanks!
@saifuladli648 Жыл бұрын
really useful video!
@FinancialProgrammingwithRitvik Жыл бұрын
Glad it was helpful!
@Berghiker Жыл бұрын
What is the script for getting stopped out on the same candle or bar as it makes a low then closing much higher?
@yocko13 Жыл бұрын
Excellent!
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks :)
@shakthiprasadpai9584 Жыл бұрын
i would like out to make folders of different categories like nse videos
@FinancialProgrammingwithRitvik Жыл бұрын
Great Idea. I will reorganize.
@TheNoiseBomb2 жыл бұрын
pls help understand why are u using BB,WMA VMA etc...RSI can be directly obtained..
@FinancialProgrammingwithRitvik2 жыл бұрын
Nice observation. I put it there as I might use them in my future videos 😉
@PankajRaghunadhabhatlaАй бұрын
How do I use this strategy on Live with real money! If I am doing intraday trading. Looking for a strategy to tell me where to buy and where to sell
@FinancialProgrammingwithRitvikАй бұрын
You may try integrating broker APIs for the same.
@Marin9005 Жыл бұрын
Very goood!
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks :)
@saumitrakarmakar8336 Жыл бұрын
How to do options strategies on pine script
@FinancialProgrammingwithRitvik Жыл бұрын
Futures is available in Tradingview whereas for Options you might require to do it separately.
@ahmedm4810 Жыл бұрын
Great script and easy to understand Thank you
@FinancialProgrammingwithRitvik Жыл бұрын
Glad it was helpful!
@danielng80932 жыл бұрын
awesome tutorial as always
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@alexp.19899 ай бұрын
Hello, very nice demonstration, however when you code Plots: P1 "SL Long", P2 "Target Long" & P3 "SL Short", P4 "Target Short", on the chart it is still plotting as "Long Exit" for P1 & P2 and "Short Exit" for P3 & P4. Did you notice?
@FinancialProgrammingwithRitvik9 ай бұрын
Yes, you are right
@alexp.19899 ай бұрын
@@FinancialProgrammingwithRitvik I've encoutered the same issue, not sure if it is how pine script works or there is some other way how this can be coded.
@artid4867 Жыл бұрын
Hello, do you have a way for me to contact you? I need your help
@FinancialProgrammingwithRitvik Жыл бұрын
For business inquiries, reach out to me at fpritvik@gmail.com
@kendrevaibhav307511 ай бұрын
Trailing stopless video sir please
@FinancialProgrammingwithRitvik11 ай бұрын
I have already published a video on it. Please check out my channel.
@kentmercier64602 жыл бұрын
Thank you
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@mariemeia Жыл бұрын
Why do I get a "Cannot compile script" error when I try to add it to the chart?
@FinancialProgrammingwithRitvik Жыл бұрын
You might be making some error in the code. The error mentions the line where you are making the error. If you want to check your code with my code, I have saved this script and some other codes and study materials in my google drive. Please check this out: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@poonamsugandhi2857 Жыл бұрын
I wrote the entire script. But getting Syntax error at input 'SMA'
@FinancialProgrammingwithRitvik Жыл бұрын
what's the error?
@tradelikeapro.733610 ай бұрын
How to code single entry strategy in pine script?
@FinancialProgrammingwithRitvik10 ай бұрын
What do you mean by single entry? Long Only?
@user-ew9uj8pu2g Жыл бұрын
Sir do we need to pay for getting access to your google drive ?
@FinancialProgrammingwithRitvik Жыл бұрын
It's a very small cost (1/3rd of a Coffee). Please refer this post: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@andykach5032 жыл бұрын
thanks a lot
@FinancialProgrammingwithRitvik2 жыл бұрын
Happy to help
@harshitraghuvanshi83082 жыл бұрын
amazing video 👍
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks for the visit
@dipankarbiswas033 Жыл бұрын
Brother your video is awesome.. thanks for that.. brother can you please tell me...... is there any function or method that Pine script will load candlestick data that is only visible on the current screen ??? so that data calculation will be fast
@FinancialProgrammingwithRitvik Жыл бұрын
I am not aware about anything like this. I will check it out.
@ranjeethstudio2483 Жыл бұрын
Please make one video on doing averaging
@FinancialProgrammingwithRitvik Жыл бұрын
Noted.
@samiraafzoun7635 Жыл бұрын
hello, thank you very much for your nice video,😊 If I want to write the profit rate and loss rate in %, how can I write it? For example, all opened positions will be closed automatically at +20% profit, with 20 leverage, thank you very much 🙏🏻😊❤
@demoitgroup95328 ай бұрын
great content
@FinancialProgrammingwithRitvik8 ай бұрын
Thanks :)
@larsremsen3254 Жыл бұрын
Great video. Loved it 👍
@FinancialProgrammingwithRitvik Жыл бұрын
My pleasure :)
@sudesh6419 Жыл бұрын
great
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks
@sameerkhakhar46292 жыл бұрын
Hi, can you help me write a script i want to test that i am not a scriptor
@DikSmartNodes Жыл бұрын
Great learning channel.
@FinancialProgrammingwithRitvik Жыл бұрын
thanks :)
@ggwp4137 Жыл бұрын
Where can i get the source code??
@FinancialProgrammingwithRitvik Жыл бұрын
Follow this post to know more: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@bunnysniper22 Жыл бұрын
hi, i have a question. How can i plot a shape to print when price closes above or below an EMA ? I work off 2 EMA's. 20 and 50 ema. I want to plot an arrow to buy when price closes above 20 ema but only when the 50 is below the 20 ema. Vice versa for a sell signal, an arrow down when price closes past 20 ema but only when the 50 ema is above the 20 ema. Thanks
@user-ew9uj8pu2g Жыл бұрын
Sir ur Google access link is not working, it's looping back to your YT channel... Not showing any Google form to fill in
@FinancialProgrammingwithRitvik Жыл бұрын
After you become a member, check the one and only post I have done there. You might be required to scroll a bit. Then click on the link given in the post and provide the information. You should get the google drive access within 24 hours (max 48 hours)
@jleoarsenault6107 Жыл бұрын
Is the code avail some where ?
@FinancialProgrammingwithRitvik Жыл бұрын
It is saved in my google drive. Please refer this post: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@weskersteve88872 жыл бұрын
ty!
@FinancialProgrammingwithRitvik2 жыл бұрын
My pleasure!
@RodolfoGimenez2 жыл бұрын
Great video, great content
@FinancialProgrammingwithRitvik Жыл бұрын
Glad you enjoyed it
@nisanthks011 Жыл бұрын
please give access to drive..i have updated google forms long back
@FinancialProgrammingwithRitvik Жыл бұрын
I have provided access to all new members now. I hope you have got it by now.
@rajatmehndiratta82552 жыл бұрын
Best intro 🔥
@FinancialProgrammingwithRitvik2 жыл бұрын
haha, thanks :)
@aiLoveE2 жыл бұрын
nice content, even better if u cld fix the microphone issues 😊 Jai JahNitai
@FinancialProgrammingwithRitvik Жыл бұрын
haha, sure. THANKS :)
@Forex_Education2 жыл бұрын
Great information
@FinancialProgrammingwithRitvik2 жыл бұрын
Glad it was helpful!
@Berghiker Жыл бұрын
What does mfi mean?
@rajeshdhar9065 Жыл бұрын
Nice video
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks.
@srikanthchaudhuri3192 жыл бұрын
Trailing Stop loss ! Trailing Stop loss
@FinancialProgrammingwithRitvik2 жыл бұрын
Ok Done. The next video will be on Trailing Stop Loss :)
@rajatmehndiratta82552 жыл бұрын
What about Multiple Targets? with single SL !
@FinancialProgrammingwithRitvik2 жыл бұрын
It can be done as well. We need to provide multiple exits in that and an if else condition as well.
@md.aimanaosafulhaquenoor83642 жыл бұрын
nice...
@FinancialProgrammingwithRitvik2 жыл бұрын
Thank you! Cheers!
@jonathanpepin1082 жыл бұрын
Very very goog video
@FinancialProgrammingwithRitvik Жыл бұрын
THANKS :)
@facundoarjona15056 ай бұрын
no puedo ver el link a google
@FinancialProgrammingwithRitvik6 ай бұрын
El código se guarda en mi Google Drive con otros materiales de estudio y mis proyectos personales. Para convertirse en miembro de la comunidad de Google Drive, siga esta publicación: kzbin.info/door/yMifqUrSntvvrrGMaVPkrwcommunity?lb=UgwZRm2WrR2BqVk_ho54AaABCQ
@Berghiker Жыл бұрын
What other strategy testers are out there for pine script?
@FinancialProgrammingwithRitvik Жыл бұрын
Couldn't understand your question. Could you please elaborate?
@legend87652 жыл бұрын
3 days u didnt approve me access google drive sir , i m waiting
@FinancialProgrammingwithRitvik Жыл бұрын
I have provided access to all new members. Have you got it now? Pardon, I was away for sometime.
@rexmen123 Жыл бұрын
Don't fall into trap of these videos, they don't include trading fees that's why they are profitable... Because they generates 10000 of trades of low amount and low loss and doesn't include the fees and charges...
@FinancialProgrammingwithRitvik Жыл бұрын
Thanks for your feedback, Rex. I am sorry but I think you took it wrong. This video is not an investment / trading advice and just made for educational purpose on how anyone can create his/her own trading strategy in pine script. My viewers are beginners who learn how to code and not to blindly follow me on the strategy that I am making. Anyways, I hope you learnt the pine script I taught in the video :)
@ajay3162 жыл бұрын
Nice
@FinancialProgrammingwithRitvik2 жыл бұрын
Thanks
@anilthakkar7671 Жыл бұрын
I want to capy
@FinancialProgrammingwithRitvik Жыл бұрын
Sorry, couldn't understand. Can you please elaborate?