Тёмный

How to Use Support Resistance Levels and RSI for Profitable Currency Trading 

CodeTrading
Подписаться 69 тыс.
Просмотров 21 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 70   
@tankburn
@tankburn Год назад
You are a great teacher and you have given me inspiration to get back into my python hobby, for that I thank you.
@CodeTradingCafe
@CodeTradingCafe Год назад
Thanks a lot for your support, I hope you will enjoy coding as much as I do!
@horexas
@horexas Год назад
J'ai regardé bcp de vos vidéos mais celle ci est incroyable ❤
@CodeTradingCafe
@CodeTradingCafe Год назад
Et en plus j'ai fais mes études en France :) Bon courage!
@bencole8301
@bencole8301 Год назад
This is truly fantastic work, thank you for sharing.
@CodeTradingCafe
@CodeTradingCafe Год назад
Thank you for your support!
@preetipics
@preetipics Год назад
Amazing again. Love all the S/R vids as that is heavily part of my strategies. thanks alot
@CodeTradingCafe
@CodeTradingCafe Год назад
Thank you for your support. I agree support resistance levels are crucial for trading.
@ShafaqIftikhar-pw9ld
@ShafaqIftikhar-pw9ld Год назад
Absolutely awesome. This is superb!!!!
@CodeTradingCafe
@CodeTradingCafe Год назад
Thanks a lot!
@mathewz7434
@mathewz7434 Год назад
thank you for the video. The exact strategy using rsi and support and resistance ,i have been coding since last week using MQL5 and results are wonderful too.
@mathewz7434
@mathewz7434 Год назад
i have also tried mix it with macd and results are great too
@maorts5552
@maorts5552 Год назад
You run alredy on live trading?
@CodeTradingCafe
@CodeTradingCafe Год назад
Thanks for sharing, the indicator is really good, but careful you still need a good trade management. good luck!
@mathewz7434
@mathewz7434 Год назад
@@maorts5552 no but on my demo account
@maorts5552
@maorts5552 Год назад
@@mathewz7434 good to hear it working , good luck👌
@JohnQuezadaHuayamave
@JohnQuezadaHuayamave Год назад
Excelente video.
@CodeTradingCafe
@CodeTradingCafe Год назад
Thank you for your support!
@GhiStale
@GhiStale 6 месяцев назад
Hi, first thanks for your wonderfull video, you are truly inspiring me to get into pyton. Second, i have a question: could you please explain better the use of the rsi to define the trend? Im asking because everytime i look at the chart the rsi is always under 45 when approaching a support and over 55 when on the opposite side, i dont understand how to use it
@CodeTradingCafe
@CodeTradingCafe 6 месяцев назад
Hi, there are different ways to use the RSI and so many different variations, the safest for example is using RSI on the daily timeframe to EXIT trades, so when you have an opened Long trade and RSI (length 2 or 3) crosses above 90% you can close the trade, and in the opposite way it also works for RSI below 10%. for trends detection you can confirm a trend if the last x RSI values (x can be last 10 candles for example) is above 55 then the price is most probably in an uptrend, opposite if last 10 RSI values are below 45 then we have down momentum. These are just 2 examples, but in general RSI can't be used alone.
@CodeTradingCafe
@CodeTradingCafe 6 месяцев назад
Thank you for your support, RSI can be used in so many different ways. For example to exit a trade, daily timeframe, long trades closed if 2 days RSI crosses above 90 and short positions closed if the 2 days RSI crosses below 10. For trend detection you can check if the last x candles RSI (x= 10 for example) are above 55 so it's an uptrend, in the opposite direction if the RSI is below 45 for the last 10 candles then we are probably in a downtrend. But in general RSI can't be used alone it's a small component of the strategy.
@vassiliscapsis5828
@vassiliscapsis5828 Месяц назад
one more excellent video, both for traders and programmers. I have a question concerning the definition of the fractal (support/resistance) level. In real life you could not possible know if the 2-3-5 candles after the current candle will be higher or lower. Will you wait for those candles to close before taking a trade?
@CodeTradingCafe
@CodeTradingCafe Месяц назад
Hi Vassili, thank you. Yes in real world trading we need to shift the computation 3 or 4 candles back, so we stop our indicator at (current_candle - 4) so we don't look into future candles.
@SelimOzturkVEVO
@SelimOzturkVEVO Год назад
Very good stuff. Been watching you for a while before i took a break on coding and trying to come back :D Are you doing general backtesting on large scale data on these codes? And another question are these resistance and support levels get stored or do you calculate them for each candle in a loop individually? If you store them, when do you decide when a level is not resistance or support any more? Also support and resistance can appear in different zones between different timeframes. Do you have any idea about how can we handle these stuff? Keep up the good work!!!
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi thank you for your support. I don't store support and resistance I want only to keep the most recent since the market might change with time. For multi-timeframe levels, it's simple you just have to increase the n1 n2 variables (candles before and after) and this will give you the support resistance levels of higher timeframes as well.
@squirrelsports1045
@squirrelsports1045 10 месяцев назад
How did you get the hourly data in a csv you used?
@CodeTradingCafe
@CodeTradingCafe 10 месяцев назад
you can download them from Dukascopy
@yashraj1331
@yashraj1331 Год назад
hi sir, good morning , i had test this code for other shares but then i wouldn't got the signals i.e.0 but i was getting the support and resistance. can you help me for this
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi you have to modify some values to match the scale/price of your asset.
@livrevous6993
@livrevous6993 Год назад
you have excellent control. thank you for sharing your knowledge with us. I have a small request please. how can you make a neural for binary options please? I will be happy to see that.. thank you 🙏🙏❤️ be blessed
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi thank you for your support! Honestly neural networks are not impressive for trading and even less for binary options where it's harder to guess the outcome. Normal trading is easier I find since you can manage a trade after it's opened.
@livrevous6993
@livrevous6993 Год назад
@@CodeTradingCafe thank you for the answer, it's appreciated. you do not robot based strategies for binary options.? Do you have a contact telegram or channel telegram please Thank you so much. Continue to bless us with your awesome knowledge. Be healthy 🙏🙏❤️..
@CodeTradingCafe
@CodeTradingCafe Год назад
Unfortunately no binary options robots, never tried it before just classic trading. I am only here on RU-vid, I will see around :)
@livrevous6993
@livrevous6993 Год назад
@@CodeTradingCafe thank you. Be blessed 🙏🙏🙏
@MisterPDR
@MisterPDR Год назад
Isn‘t this a look ahead? How to detect neighboring candles to the right when being live?
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi, in my opinion no there is no look ahead we are only testing the past candles, this is why I included the "gap" variable. The "proof" is that sometimes the market goes against our signal so if we head a look ahead it wouldn't be this way, all our signals would be correct. ... but it's always good to check twice if you want to verify
@funtastiquefam
@funtastiquefam Год назад
It is look ahead since he's doing current candle + n2 steps in the future to identify the support/resistance so you have to be careful if you use that check only. Still I believe he's saved by the 3rd check in his algorithm which is verifying that at least 6 candles are contained by the support/resistance which means the support/resistance could have been identified in the 6 steps before.
@mrga507
@mrga507 Год назад
Hi. Sir. Can you make a video about how to detect m and w on the chart. I'll be super gratefull
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi, thank you for your comment, I did something a bit similar in the past check if it's helpful for you ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Mxk8PP3vbuA.html
@hacker0noir
@hacker0noir Год назад
Great content, can you please do a video about Lorentzian Classification in python based on the tradingView's Machine Learning: Lorentzian Classification indicator
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi, thank you, I will check it out for me Lorentzian is an operator I use in physics :)
@hacker0noir
@hacker0noir Год назад
@@CodeTradingCafe I greatly appreciate it! This indicator is truly remarkable, especially when utilized alongside other indicators. I've been avidly following your informative video content. Thank you for sharing your expertise!
@s22933
@s22933 Год назад
Where can I get in touch with you?
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi, email, but I can't promise much :)
@gregk9202
@gregk9202 Год назад
How to transfer this to live trading connected to broker?
@CodeTradingCafe
@CodeTradingCafe Год назад
Hey check this video for a typical example ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WcfKaZL4vpA.html
@robnotaro8584
@robnotaro8584 Год назад
How would you automate this with live data?
@CodeTradingCafe
@CodeTradingCafe Год назад
You just need to add an API call to get the candles say every hour, run the detection algo from the video, and maybe send yourself an automatic email reminder if the signal is there. It's a bit of work though. Check this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WcfKaZL4vpA.html.
@metehan9185
@metehan9185 Год назад
Can you use in other Video pivot Points
@CodeTradingCafe
@CodeTradingCafe Год назад
yes the pivots or fractals or minimas maximas can be used in any strategy where needed
@SHADOW-10
@SHADOW-10 Год назад
i have idea for tradebot can i share it with you
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi, you can share it but I might not code it, sometimes I get propositions of ideas I already tried or tried something very similar.
@SHADOW-10
@SHADOW-10 Год назад
@@CodeTradingCafe ok but trust me you did not try my idea, but how can i tell you my idea here ?
@CodeTradingCafe
@CodeTradingCafe Год назад
My email is in the about section
@sajjad0182
@sajjad0182 Год назад
​@@CodeTradingCafe I don't find yor email id or contact details
@CodeTradingCafe
@CodeTradingCafe Год назад
@@sajjad0182 I think it shows up on PC
@walidmat8972
@walidmat8972 Год назад
can you do it in real time ?
@CodeTradingCafe
@CodeTradingCafe Год назад
of course I can ;)
@walidmat8972
@walidmat8972 Год назад
@@CodeTradingCafe how to do it ?
@VilasDA
@VilasDA Год назад
Yes sir, how to do it in real time?
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi please check my previous videos for backtesting a full strategy
@fernando1296
@fernando1296 Год назад
excellent video, congratulations, I would like to make my small contribution, if possible, another of the supports and resistances that can be added and that was not taken into account in the video, was the POC, defining the POC as: " the price at which the most trading volume has occurred. It is considered to be a level at which there is a significant amount of activity and thus it may act as a strong area of support or resistance." I leave a snippet of code that can help: def support_resistance(self, data, order=10, poc_bins=50): poc_price, prices, volumes = self.get_volume_profile(data, poc_bins) maxima = argrelextrema(data['close'].values, np.greater, order=order)[0] minima = argrelextrema(data['close'].values, np.less, order=order)[0] # Adjust support and resistance levels considering the POC maxima = [maxima, np.where(data['close'].values == poc_price)[0]] minima = [minima, np.where(data['close'].values == poc_price)[0]] return {'resistance': maxima, 'support': minima} def get_volume_profile(self, data, num_bins=50): price_bins, volume_profile = self.compute_volume_profile(data, num_bins) poc_price = volume_profile.idxmax().mid return poc_price, price_bins, volume_profile def compute_volume_profile(self, df, num_bins): price_bins = pd.cut(df['close'], bins=num_bins) volume_profile = df.groupby(price_bins)['volume'].sum() return price_bins, volume_profile
@CodeTradingCafe
@CodeTradingCafe Год назад
Hi, thank you for your contribution and the functions! I will keep these for another video on support and resistance, your idea is actually interesting including volume to assess the importance of support and resistance levels. Good luck!
Далее
How to get skins for FREE? #standoff #skins #coins
00:34
Channel Break Out Indicator In Python
26:21
Просмотров 24 тыс.
Automated Price Action Trading Strategy In Python
32:48
Hedging Strategy For Trading In Python
12:50
Просмотров 32 тыс.
Auto-detect Support and Resistance in Python
17:06
Просмотров 22 тыс.
Mastering SUPPORT & RESISTANCES using Python!
11:42
Просмотров 23 тыс.