Boost Trading Returns by 30% with Python Automation of Price Channel Breakouts

  Рет қаралды 14,764

CodeTrading

CodeTrading

Күн бұрын

Discover how to increase your trading returns by 30% using Python to automate price channel breakouts. We'll walk through the process of identifying pivot points, fitting linear slopes, defining valid price channels, and detecting breakouts. We'll also show how to improve your trade management strategy to boost your backtesting returns. Download our Python source code from the link below and experiment with smart methods. Don't forget to like, share, and subscribe for more trading insights! #trading #python #automation #breakouttrading
💲 Discount Coupon for My Udemy course on Algorithmic Trading:
bit.ly/CouponAlgorithmicTrading
🔥Download the Python notebook used in this video from the link below:
drive.google.com/file/d/14q1q...
...and the data file if needed:
drive.google.com/file/d/17fPD...
00:00 Breakout Strategy Introduction
01:02 Pivot Points And Price Channel Detection
02:58 Breakout Detection
05:30 Jupyter Notebook Python Code
16:45 Plotting Breakout Detection Results
19:07 Trading Strategy Backtesting In Python

Пікірлер: 50
@AntonAnisimovMSK
@AntonAnisimovMSK 6 ай бұрын
For all who has a warning: "A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead" Try to set pd.options.mode.copy_on_write = True right after pandas import
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi, thank you, I will pin this comment just in case.
@STATxSomething
@STATxSomething 6 ай бұрын
Thanks for sharing knowledge ❤
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Nice of you, thank you for your support!
@shahramrezakhani1878
@shahramrezakhani1878 6 ай бұрын
excellent !!! thanks a lot.
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
You are welcome! thank you for your support.
@adamurat5790
@adamurat5790 6 ай бұрын
Thank you.
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
You're welcome! Thank you for your support!
@zbr2979
@zbr2979 6 ай бұрын
Can you please do something that looks at FVG? I would greatly appreciate it, I’ve seen your other videos and they are great. Keep up the good work.
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
I will add it to the list, oh my long list now, I have to work harder, thank you for your support!
@ldandco
@ldandco 6 ай бұрын
great videos, thank you Do you have any forum/discord etc ? any way to ask questions, and get/give feedback ?
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Thank you for your message, I am just here on KZbin... and barely managing :)
@k-popboy8416
@k-popboy8416 6 ай бұрын
You are the best
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Thanks a lot :)
@k-popboy8416
@k-popboy8416 6 ай бұрын
@@CodeTradingCafe it is the truth , all of the best for you my bro
@valentinfontanger4962
@valentinfontanger4962 6 ай бұрын
Hi, good video. For measuring how parallel the two lines are, why not checking | low_slope - high_slope | < threshold ? Thanks a lot
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi the slope value will change with the asset depending on how volatile it is so a threshold would have to be changed if you are changing assets, a percentage on the other hand can remain the same as a first attempt and wouldn't cause problems.
@valentinfontanger4962
@valentinfontanger4962 6 ай бұрын
That sounds good to me. Thanks a lot@@CodeTradingCafe
@James_bagucinha
@James_bagucinha 6 ай бұрын
Hello brother, i love your videos… is there possible to u to create a oscillator or a trend detector?
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi thank you, very much possible yes, check previous videos also you might find interesting topics on trend detection using ML, it's on a different playlist on my channel.
@James_bagucinha
@James_bagucinha 6 ай бұрын
@@CodeTradingCafe i checked, ty... but actually i am using talib and bolling bands... its faster, but i need to improve it
@rakishman1313
@rakishman1313 5 ай бұрын
wasnt really able to make it work too well , i think the essence of the code is pretty nice . I think a pinescript conversion would be more beneficial for better visuals and continuity of the algorithm. I have seen one very similar but ended up losing it in tradingview.
@CodeTradingCafe
@CodeTradingCafe 5 ай бұрын
It's good combined with other indicators, but on its own I agree it's not enough.
@InAeyMinute
@InAeyMinute 6 ай бұрын
is there a chance u can make an indicator based on liquidity sweep and its connected to bookmap to take the liquidity levles and if sweeped take a trade
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi, I can consider it but do you have a detailed description, a reference or any document ?
@InAeyMinute
@InAeyMinute 6 ай бұрын
if u familiar with Liquidity trading which is related to ict kzbin.info/www/bejne/i2nbeWWaesx7a6M&pp=ygUqYnV5IHNpZGUgbGlxdWlkaXR5IGFuZCBzZWxsIHNpZGUgbGlxdWlkaXR5 so ict once said that you can spot the best liquidity zones from the bookmap chart kzbin.info/www/bejne/ep67lnaEhdxlnZY&pp=ygUXYm9va21hcCBzaWRlIGxpcXVpZGl0eSA%3D so i wander if there is a way we can make an indicator the pull the data from bookmap using api and trade the buyside and sell side liquidity concepts but based on the strong level generated from bookmap @@CodeTradingCafe
@chandrashekharsharma9085
@chandrashekharsharma9085 6 ай бұрын
Sir i requested to you plz upload one video of cup and handle pattern detector.
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi, please check these 2 videos: kzbin.info/www/bejne/jYexc5Jsf7eVopI kzbin.info/www/bejne/g6nOaYOGaNuVq6M you can adapt these codes to cup and handle it's very similar approach. Good luck!
@liliu7418
@liliu7418 6 ай бұрын
Can you also share these two files as well? from backtesting import Strategy from backtesting import Backtest I was trying to run the codes, but I found that these two files were missing. Thank you.
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi these need to be installed using pip.."!pip install backtesting" (in a jupyter notebook cell just run this it should work)
@amolsahare8682
@amolsahare8682 6 ай бұрын
How can i use this code for automation trading... I want to use this strategy with small modifications on my demo account for forwarding testing?
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi you will need to adapt the signal functions and deploy using this example kzbin.info/www/bejne/jZTJfJSQgZmppqM
@johnnykiddo7658
@johnnykiddo7658 6 ай бұрын
Hey brother so far I really love your videos and I’ve been looking for a accurate realistic channel that teaches how to code and backtest them I have a little experience in coding. I have a a strategy I am dying to automate and I’m confident it’s gonna have a wine rate of 90% to possibly 95% wine rate it doesn’t require indicator just price action Manually trading my strategy I was able pass funded challenges in a or so only thing is I’m not a consistent profitable trader cause I don’t have a good psychology as yet, I would like to share with you my explaining and a video so maybe you can give me an assist and recommendation I would even pay.
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi, thank you for your comment, if you want to have my opinion send me a description by email (the email is in the about page of this channel codingntrading at gmail dot com), I will let you know maybe I already coded something similar.
@nimbupaani6335
@nimbupaani6335 6 ай бұрын
Hey there let me know I am a data scientist professional and I have built many trading algorithms for detecting breakouts. I would love to connect with you to understand your idea.
@viven2756
@viven2756 6 ай бұрын
How you send order to market if you use python
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi, check this video for an example: kzbin.info/www/bejne/jZTJfJSQgZmppqM I will also prepare another one soon with more detailed strategy.
@ims3312
@ims3312 6 ай бұрын
There are basically two ways: obtaining the api interface from the trader or using software similar to appnuim to simulate the operation library.
@indonesiancoinarchers4441
@indonesiancoinarchers4441 6 ай бұрын
Can you make it for binary option, like olymtrade or binomo,??
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
Hi, the code can be adapted for any asset.
@indonesiancoinarchers4441
@indonesiancoinarchers4441 6 ай бұрын
Do you have video about it,?
@indonesiancoinarchers4441
@indonesiancoinarchers4441 6 ай бұрын
For binary options bot
@CodeTradingCafe
@CodeTradingCafe 6 ай бұрын
I don't have a ready video about this at the moment but try to fiddle with the codes I am publishing you might reach a good result.
@indonesiancoinarchers4441
@indonesiancoinarchers4441 6 ай бұрын
@@CodeTradingCafe I will try it
Rayner Teo Bollinger Bands Strategy Backtest In Python High Return
23:29
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,6 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 3,1 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
Price Trend Channels Automated In Python
27:56
CodeTrading
Рет қаралды 32 М.
Automated Price Break Out Detection: Algorithmic Trading In Python
16:34
Trading with Python: Simple Scalping Strategy
13:47
CodeTrading
Рет қаралды 83 М.
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 558 М.
This Is What Investors Need to Drive Gold Higher - Will Rhind
17:38