Backtesting the 3-candle-setup with Python

preview_player
Показать описание

In this video, we will backtest 3 candles in-a-row setup for algorithmic trading.

Chapters
00:00 Intro
00:55 Requesting Data & Visualization
03:33 Finding the 3-in-a-row setup
07:40 Evaluating results
10:45 Another example
12:25 Outro

Download Python Code:

Open a Trading Account:

Risk Disclaimer:
The content on this website does not serve as investment advice but serves for research purposes only. Your capital is at risk when trading in the financial markets. Past performance is not an indicator of future results. The use of ATJ Traders' content or 3rd party investment services is solely at your own discretion and responsibility.

Affiliate Disclaimer:
Links in the description contain affiliate links. ATJ Traders may receive rewards from clicks or purchases generated from those links.
Рекомендации по теме
Комментарии
Автор

Unfortunately, I had audio issues with the first recording so i reuploaded a new video on this topic. Thank you everyone for your feedback.

ATJTraders
Автор

I just came across this channel today and I think its worth its weight in Gold!

theAfricanQuant
Автор

This is the video I was looking for. Great presentation.

Zenoandturtle
Автор

Great videos - just found your work. Thank you very much!

tmalenga
Автор

Your voice give me chills, something is off dude

baby_python
Автор

From what I gather, using Vectorize method (very time efficient) for charting Bullish/Bearish candles and using shift method scanning method you can pretty much scan any pattern of your choice, rows or columns. This particular code looks very compact and efficient.

Zenoandturtle
Автор

EXELLENT VIDEO TUTORIAL THANK YOU SO MUCH FOR MT5 PLATFORM SUPPORT

sachintrambadiya
Автор

In Line 6 (timestamp 2:22) why are the "open" & "close" not the same value from one line to the next? The close from one candle should be exactly the same to the next candle open I believe

MarcMallolas
Автор

can i use visual studio or google colab?

anira
Автор

I love this channel.. thanks a lot.. this is what im looking for..

eto
Автор

Each trading pair should have its own deviation, this will increase the chances of winning ))

HyiPizdaSkovoroda
Автор

Hello,
How to backtest in Metatrader5 with Python?

mojtabahajilari
Автор

at the line:
df['candle_type'] = np.vectorize(specify_candle_type(df['open'], df['close']))
&
if close_price > open_price:

I got this ValueError:
The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()"

can you help me on this?

vikrant
visit shbcf.ru