Rayner Teo Bollinger Bands Strategy Backtest In Python High Return

Rayner Teo Bollinger Bands Strategy Backtest In Python High Return

CodeTrading

2 года назад

43,313 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@teenspirit1
@teenspirit1 - 25.07.2023 17:53

To people who are about to waste their time with the video:
SPY 2011-2017 is basically a straight line.
it is not a useful instrument to test any strategy.
If you still want to watch it fail, try testing on 2022 or 2023 or any instrument that doesn't go up in a straight line.

Ответить
@Luca-wg4cv
@Luca-wg4cv - 22.07.2023 19:44

but to run it on alpaca say what else I have to write?

Ответить
@user-wh3hr3oz6l
@user-wh3hr3oz6l - 30.04.2023 05:27

poo

Ответить
@leocycling
@leocycling - 22.03.2023 06:48

hi bro, is this strategy applicable for 30m timeframe with bitcoin trading ?

Ответить
@happystoat99
@happystoat99 - 09.03.2023 14:40

I just tried this notebook on a bunch of forex pairs as well as one stock (Tesla) for the last 10 years and all lost money, sometimes a significant amount, except for USDEUR, GBPSGD and GBPCHF. Is anyone else getting the same disappointing results? Or is this a strategy specific to stock indexes?

Ответить
@sukriadnansangadji8232
@sukriadnansangadji8232 - 16.02.2023 16:58

please explain the code, how to code to reOrder_long when the price is bullish or trend up. I want first order 5% second order 20%, and so on

Ответить
@hourglass9
@hourglass9 - 15.02.2023 15:50

Great Video! Can you simultaneously do a backtesting on all 4 symbols
like for example EURUSD and SPUSD
so if I buy on SP500 on 2011-01-07 and sell on 2011-01- 10 then in the next buy this program will recheck the opportunity in EURUSD and SPUSD and automatically matches the buying signal and then buy that stock after 2011-01-10
in this way we can have a full return on investment
😀

Ответить
@leandrorodrigues3488
@leandrorodrigues3488 - 30.01.2023 19:15

That has few opportunities over time, with high “win rate”.
However you have 500 tickers in SP500 to find 1 per day.

Ответить
@user-od7ge8ms4v
@user-od7ge8ms4v - 26.01.2023 04:45

Congratulations for this perfect strategy but how I can do it to for live trading?

Ответить
@VonSchelzen
@VonSchelzen - 17.01.2023 23:31

Fantastic

Ответить
@fernandomilans1296
@fernandomilans1296 - 17.01.2023 01:32

Teacher,

Have you tried the "Donchian Channel"? Is it more effective than the "Bollinger Bands"? It would be interesting to do a "versus"

Regards!

Ответить
@akash_ray_trading4413
@akash_ray_trading4413 - 27.11.2022 16:44

Coding file not available please help

Ответить
@lgbpinho
@lgbpinho - 04.11.2022 14:00

You can use the rolling() method of pd.DataFrame to check the EMA condition:
stockData['trend'] = [ 1 if (window.close > window.ema).all() else (-1 if (window.close < window.ema).all() else 0)] for window in stockData.rolling(5)]

Ответить
@borism4849
@borism4849 - 27.10.2022 22:09

You're underperforming a simple buy-and-hold strategy. Where is the alpha?

Ответить
@Asparuh.Emilov
@Asparuh.Emilov - 16.10.2022 22:05

Watch out for the cancelling of order thing in the strategy. In real trading there is no cancellation of the position, only close. So I am not sure in the backtest what it means to cancel an order but this potentially can be something that might confuse you about the real strategy performance.

Ответить
@whyyoutube8197
@whyyoutube8197 - 13.10.2022 15:03

Could you test all of Tradingwarz strategies please

Ответить
@kanaya1991
@kanaya1991 - 03.10.2022 07:45

hi bro! im a question about backtesting, were can i learn how in python? im new in python and im learning hard! cheers from argentina!

Ответить
@gokhalesadan
@gokhalesadan - 04.08.2022 07:17

Helpful video. Please make a video, detail of backtesting package and how to customize use.

Ответить
@marcellthoth
@marcellthoth - 01.08.2022 20:37

Hey Mate! Amazing videos! May I ask where are you from? I'm trying to figure it out from your accent. Poland maybe?

Ответить
@anderwork7571
@anderwork7571 - 25.07.2022 15:36

good shit bro

Ответить
@thirupathisalveru5411
@thirupathisalveru5411 - 09.07.2022 13:09

thank you

Ответить
@rami20102015
@rami20102015 - 07.07.2022 22:00

i hope you explain next time for Histogram MACD indicator in python , that i want to know how many red/green stick in histogram that give me the third or forth stick another color to get signal for bot. I wish you understood me .

Ответить
@AMAerik
@AMAerik - 05.07.2022 23:46

Hey mate, have you ever thought to open a discord group for all you fans? would be amazing for us

Ответить
@Krisler12
@Krisler12 - 02.07.2022 13:35

Ok. I'm writing it again (9th time I think it's this one) and hope this time it doesn't get filtered.
Hi!
Please backtest this strategy on different timeframes like 1 minute, 5minutee, 15, 30, 1 hour etc. for EUR/USD and BTC/USD.
It sounds very appealing!
video specific flag is this LAXrBSufFss OR check for Crypto Wizards channel last video about Gaussian mixture model.
Thank you in advance!

Ответить
@Krisler12
@Krisler12 - 02.07.2022 12:18

Hi!
I have just posted a comment with a very good idea. Why it is not visible? Please read it and say what you think because it is an amazing thing.

Ответить
@rami20102015
@rami20102015 - 01.07.2022 19:04

thanks sir for what you teach us

Ответить
@xuloIsaias
@xuloIsaias - 29.06.2022 07:43

Hi for other videos, you can try using Heikenashi candles, because they show the momentum

Ответить
@78779
@78779 - 20.06.2022 16:05

Back testing is inherently flawed. The data your broker supplies is corrupted and will generally show better than live results. The market makers are con artists. The only way is to trade it live. Backtesting will get you half way there. Don’t be fooled like I was. Literally thousands upon thousands of tests on hundreds of EAs prove you’re being conned. IC Markets is one of the worst offenders. The graph doesn’t reflect the real bid and ask price. Don’t forget the commission and spreads plus slippage. Beware of the market makers. All sharks that will rip you off.

Ответить
@squadgang1678
@squadgang1678 - 19.06.2022 12:30

i didnt understand the part in addmasignal function where you used upt == 1 and dnt==1: then you insert value as 3 and print trend loop what do you mean by trend loop? and in some places of EMASignal value is 0 what does 0 indicates?

Ответить
@a.winath4024
@a.winath4024 - 18.06.2022 13:42

THANK YOU AGAIN FOR YOUR EFFORTS! :-)

Ответить
@randev7391
@randev7391 - 18.06.2022 11:40

This is my second profit from their platform I can’t stop Investing till I own the world, I felt it was a scam before but thanks for the conviction I made it through while investing with their platform Also… it’s really a blessing to have such a great platform to earn crypto

Ответить
@randev7391
@randev7391 - 18.06.2022 11:40

This is my second profit from their platform I can’t stop Investing till I own the world, I felt it was a scam before but thanks for the conviction I made it through while investing with their platform Also… it’s really a blessing to have such a great platform to earn crypto

Ответить
@CarlosJa
@CarlosJa - 18.06.2022 04:24

I prefer in php..

Ответить
@AlgoTrader0
@AlgoTrader0 - 18.06.2022 01:38

Hi, I am building machine learning "tool" that should generate best settings for certain strategy, can you test generated settings to confirm that I am on a right path (30min, BTCUSDT, crossover EMA 50 and 200, tp = 3.9%, sl = 1.1%, price_offset (price difference from price after crossover) = 0.39%, time in order book = 30 min (1 candle), laverage = 5, settings are generated from 2.5 years of data (max that you can get from binance futures), I know I need to (and I will) look at more time, but I believe that even these settings are not far from "true" settings). Thanks.

Ответить
@aaronsarinana1654
@aaronsarinana1654 - 17.06.2022 19:26

Great! As you mentioned, it'd be interesting testing on a lower time frame to see if it is still consistent. Also, trying the strategy on a portfolio with stocks picked from the s&p500. I think it's worth playing a bit more with the strategy! Great video, thanks!

Ответить
@MrSamyWageh
@MrSamyWageh - 17.06.2022 18:11

Another excellent informative video. Many thanks!.

Ответить
@santhoshdasari7
@santhoshdasari7 - 17.06.2022 17:56

Thanks you 🙏

Ответить
@ventiladorbueno1846
@ventiladorbueno1846 - 17.06.2022 15:58

Thank you

Ответить
@top10top54
@top10top54 - 17.06.2022 15:13

Try bactesting priceaction strategies for forex, most of the strategies have high win rates

Ответить
@mathewz7434
@mathewz7434 - 17.06.2022 15:07

would you try backtesting priceaction strategies such as fakeouts and retest of prices?

Ответить
@newbienoob1
@newbienoob1 - 17.06.2022 14:40

First comment 🙂 thank you sir i will backtest this on forex and indices

Ответить