Exactly what i was looking for past 3-4 days, amazing, thank you, you saved a lot of time and pain to me :)
@CodeTradingCafe Жыл бұрын
Glad it helped! thank you for your comment!
@Ishan4guitar Жыл бұрын
What a great channel, thanks for all content!
@CodeTradingCafe Жыл бұрын
Glad you enjoy it! and thank you for our supportive comment.
@munivoltarc25 күн бұрын
Hi, u people are giving great content on KZbin for many algo traders, could you please make a video on price action live trading without using any price lagging indicators, specifically websocket trading or can you make a code in python show to find or spot choppy market on the chart?
@jaiagrawal6677 Жыл бұрын
Great content, thanks. However as per Dow theory price moves in zigzag formation, so we need to identify alternate Pivot points. With 10 candles the function does return a good set of pivot pos but is it possible to discard points if High is next to high or low is next to low, so that we get pivot points as High --> Low --> High ->-Low
@CodeTradingCafe Жыл бұрын
Thank you, true we might miss some points also with the zone assumption because we are adding all of the close points into one zone.
@cx404v1 Жыл бұрын
you're a great teacher!
@CodeTradingCafe Жыл бұрын
Glad you think so! Thank you for your support!
@kadourkadouri3505 Жыл бұрын
Great video as always ! I lately found that donchain bands can (somewhat) serve the same purpose. In my opinion, two dc bands with two different n periods will do the job just fine.
@CodeTradingCafe Жыл бұрын
Good point! thank you for the heads up I will check the DC I never used them before. And thank you for the support!
@sunnetinternationalbusines99106 ай бұрын
great video, how could we make something similar but in a linear flow. The for loop reduces the big O notation
@CodeTradingCafe5 ай бұрын
I don't think it's needed, because let's say you are trading the 5min timeframe, the algo has basically 5 min to compute any information from the last let's say 50 candles so it's plenty of time. (not sure if this answers your question).
@ChromaOnclacve Жыл бұрын
Such great content. I came across your channel some days ago and I've leant quite alot. There's a strategy that I've been trying to build but I've been hitting roadblocks. I would really need your guidance
@CodeTradingCafe Жыл бұрын
Thank you for your support, anything can be modeled in Python we just have to figure out the nest way to do it :)
@harnoorsingh8520 Жыл бұрын
Thank you for teaching us.
@CodeTradingCafe Жыл бұрын
So nice of you, thank you for your support.
@ponkieponkz Жыл бұрын
Maybe this is a stupid question... But i implmented a pivot system based on yours. So, first of all I thank you and respect what you are doing here. Ok, now my question arrises becauce I was doing a lookahead bias test, and all my functions that were based of the pivots got flagged. I think it's because I was messing with the values of n1 and n2. The middle of 5 candles is my pivot, so in live trading, i could only make a decision on that fractal atleast 2 candles after ithe high point. Isnt that already lookahaead? I think I set mine to 12 for testing purposes... thats how I ran into this.
@CodeTradingCafe Жыл бұрын
Lookahead is a problem as always, but when I am testing the current candle for signal I only consider past candles in the analysis so any pivots that are closer than [currentcandle-pivotwindow] is not considered because it requires future candles which we don't have.
@ponkieponkz Жыл бұрын
@@CodeTradingCafeThat makes sense. I will try to add a window. I have to revise my entry signal. Thanks.
@TheEcherriman Жыл бұрын
Thanks for this. FYI the data file name does not match the file name in the notebook
@CodeTradingCafe Жыл бұрын
Thank you for your support, I must have messed up the files somehow.
@rsansk26 Жыл бұрын
Hi, friend. And tell me how to make numbers on the graph instead of dots (the number of touches of this level). So that we don't see points on the graph, but the sum of touches?
@CodeTradingCafe Жыл бұрын
I never tried to plot numbers as symbols on the chart, you probably need to check plotly's docs, I am not sure it's even possible.
@rsansk26 Жыл бұрын
We can determine the strength of the level by the largest figure. It would be simpler and clearer. But I understood, thank you for the answer, all the best and new ideas.@@CodeTradingCafe
@pss_ki_shorts Жыл бұрын
Always great content, Thanks a lot !!
@CodeTradingCafe Жыл бұрын
Thank you so much for your support, and glad you're liking these videos!
@YoungMoneyInvestments Жыл бұрын
Is there a way to get the levels plotted the same way they are in the thumbnail on the plotly graph?
@CodeTradingCafe Жыл бұрын
Yes sure, once you have the levels values you can add them to your chart, check these vids with their codes: kzbin.info/www/bejne/l3ubgJpjnrGUl9U kzbin.info/www/bejne/rpzcZI2feNh4etU
@nkwebikarome4764 Жыл бұрын
love your videos
@CodeTradingCafe Жыл бұрын
Thank you!
@HosseinA.M-kb7uq10 ай бұрын
Hi sir ...what platform should we have for using code?
@CodeTradingCafe10 ай бұрын
Python, it's free, but you need to know how to code a little.
@krzysztofkubiak3578 Жыл бұрын
Thank you, very interesting approach.
@CodeTradingCafe Жыл бұрын
Dziekuje, Thank you for your comment! Glad you enjoyed the video!
@muhammadilham248 Жыл бұрын
Thanks for creating content like these, I have a winning strategy and I think of creating something that could do the technical analysis based on my strategy
@CodeTradingCafe Жыл бұрын
I strongly encourage you to do it, it might take you some time but that's your product and the process is enjoyable, good luck!
@STATxSomething Жыл бұрын
thank you for sharing knowledge
@CodeTradingCafe Жыл бұрын
thank you for your support!
@adityavedios3 ай бұрын
Awesome content! Can we have C# version of this code?
@CodeTradingCafe3 ай бұрын
Hi, thank you for your support, I don't code in C# unfortunately. But ChatGPT might help translating the python snippets. Good luck!
@preetipics Жыл бұрын
Awesome, just what I was looking for, thanks!
@CodeTradingCafe Жыл бұрын
Glad I could help! thank you!
@keelynsbradley2873 Жыл бұрын
How to use this to take decision then ?
@CodeTradingCafe Жыл бұрын
It's a first step where we get the levels, then we need to incorporate this into a full strategy.
@enotbert Жыл бұрын
There are various strategies based on bouncing off the S/R levels, and there are also strategies based on breaking these levels. All of them are based on the idea that a large number of stop-loss orders accumulate behind these levels. The only thing that differs is the interpretation of what happens when all these stop-losses are fired. The most basic strategy for level breakout is as follows: if the price bounced from the level 2 times, then with a very high probability the next time it will pass the level with good momentum. But this is just a basic strategy and it needs to be fine-tuned.
@RaadYacu6 ай бұрын
awesome channel
@CodeTradingCafe6 ай бұрын
Thank you for your support!
@joseasanchez200 Жыл бұрын
Hello, I would like to share my strategy for you to do the backtesting and the Python code please. The strategy is to buy the months of January,March,April,July,October,November and December and sell the months of February,May,June,August and September.
@CodeTradingCafe Жыл бұрын
Hi, that's interestingly simple, so simple I would be curious to try it :)
@joseasanchez200 Жыл бұрын
@@CodeTradingCafe This strategy is for sp500, I have done a backtesting with the historical data of investing during 20 years, there is years with drawdown of 7 % more or less
@joseasanchez200 Жыл бұрын
Hi, Have you could doing the backtesting?
@تیپیتریدر Жыл бұрын
very good
@CodeTradingCafe Жыл бұрын
Thank you! Cheers!
@bernardoaugustofreitas3729 Жыл бұрын
Hello. I love your content. would be great to have a python strategy that open a position same direction when te previous candle was greater than determined percentage and than apply martingale on losses. It is a very simple strategy but works good for crypto at 1 hour chart and leverage fits well. Can you do this for me? If it's for MEXC exchange even better.
@CodeTradingCafe Жыл бұрын
Hi, thank you, indeed sounds a simple strategy, we can test it. By percentage you mean a percentage from the current price value?
@bernardoaugustofreitas3729 Жыл бұрын
@@CodeTradingCafe exactly. Like if a candle range is bigger than 0.10% bet on the same direction with take profit proporcial to this variation