Triangle Price Pattern Detection In Python | Algorithmic Trading Indicator

preview_player
Показать описание
This video details the algorithm for triangle price pattern detection in python, this technical indicator can be programmed in python to detect all shapes of triangle patterns, converging triangle, descending triangle ascending triangle and others.

🍓 Follow structured courses with more details and practice exercises check my "About" page for Discount Coupons on my Udemy courses covering:
- Python basics Kickstarter,
- Object Oriented Programming
- Data Analysis with NumPy and Pandas including financial analysis exercises,
... more courses are on the way drop me a message if you have a particular interesting topic!
Good luck!

The python code is detailed and explained and the Jupyter notebook file is available from this link:

data file (you might need to modify the name in jupyter):

#tradingbots #pythoncoding #forexanalysis
Рекомендации по теме
Комментарии
Автор

Not only the efforts, but also the brightness. It is obviously better than those technical indicators. Genius!We all get benifit from you.

jameswang
Автор

Amount of efforts, u put in making this strategy is crazy 💯

sidharthgarg
Автор

Great video. Once it breaks the resistance or the support level, you can check if the new percentage of the volume increased or now compared to the previous volume, so if it is a big breakout then the volume will tell you

xuloIsaias
Автор

AMAZING!!
truly one of the most fitting and educential videos on this subject
great job

shaharbrandman
Автор

Amazing. Thank you so very much for your time and effort in putting together these awesome tutorials!

sefatergbashi
Автор

This was a great video! Thank you for sharing the code. We hope you don't mind, we modified the code to find wedge and flag patterns. We will post the videos of the results soon.

zetratrading
Автор

yes we need backtest for this stratgey that will be number 1 in youtube

cnepkqx
Автор

Most awaited topic and it is one of my request...
Thank you bro...

santhosh
Автор

Interesting method. I like how it fits the line based on however many pivot points are in a set lookback. I've only ever experimented using the last N pivot points. I'll have to try yours out. In my experience, I've had better results using just the close (rather than high/low) to identify pivot points. I believe its because the high/low often have spurious spikes.

neurotrader
Автор

great vid, helpful for learning how to apply linear regression. However, for backtesting I believe the 'pivot' function will suffer from a lookahead bias. you call pivot with a current df index, but once in pivot, you look k-indices ahead to check for extrema.

cooperdes
Автор

Thanks, this was a good example for coding a few pattern detection... 😍

azrulfyz
Автор

Sir, any plan on continuing this series? I see these kind of videos are quite popular in your channel with 10k plus views.
Would be awesome if you do the other chart pattern like Triple Top / Triple Bottom, Rising Wedge / Falling Wedge, etc...

Great content!

steeltormentors
Автор

Thanks man for sharing this precious work..

futurestadawul
Автор

Woww you made it!
Super awesome Sir..really appreciate your effort!

pietraderdetective
Автор

I think you can find out trend lines this way. Lots of stats reading necessary to understand .. a nice video though hv little technical complexity. But for stocks or general chart a % can be used instead of absolute values

bikramssharemarkettradingc
Автор

Interesting indicator. However it introduces a look-ahead bias into the data. If we were backtesting data and computing the pivots, they might change slightly throughout the simulation. Therefore, I think it would be better to compute the pivots on the fly as you are looping through the data.

brandonjohnson
Автор

What changes are required to get it working with YFinance historic stock data instead of csv? After getting the data into df, the code exits after running for a while. Sometimes I get warning in linregress FloatingPointError: invalid value encountered in double_scalars" warning. Is there a sample code available which shows how to get this working with YFinance?

dexter_hacks
Автор

Thank you. It is very nice. I think we could use this code for detecting wedge patterns too. But both slopes must be rising or falling at the same time and it must have at least 3 minimum for falling wedges and at least 3 maximum for rising wedges. Could you make a video in this regard?

ZAREIGH
Автор

Great effort, please backtest this pattern in a strategy, that way we can be sure if it can be used in a profitable way.

robin
Автор

Can you do a video on central pivot range CPR and back test it? i have never seen anyone do it on jupyter and has a good winrate

durchnet
join shbcf.ru