An Easy Way to Use Excel to Backtest a Trading Strategy - Part 1

  Рет қаралды 92,978

Mark Ursell

Mark Ursell

Күн бұрын

Пікірлер
@geoffdunstan8567
@geoffdunstan8567 Жыл бұрын
Just found your early excel tutorial thanks Mark. I'm mucking around with using MACD variations and back testing manually in excel is a bit of a chore! Will continue through your tute's, enjoying the learning process and hopefully will save me a lot of time! Thanks again, regards Geoff D from Merimbula Australia
@MarkUrsell
@MarkUrsell Жыл бұрын
Great to hear, good luck Geoff!
@phoebe8821
@phoebe8821 9 ай бұрын
This is really interesting. I tested this out on XOM weekly closing prices, and you basically ended up with the same amount as you had started with, vs the holding strategy which made one rich! Wonder what the underlying differences are in the nature of the price movements between XOM and S&P500 that lead to these different results. Lots to explore here.
@MarkUrsell
@MarkUrsell 3 жыл бұрын
The latest versions of my 21 Technical Indicators & Candlesticks Spreadsheets (new formulas & descriptions) are available for instant download in my Spring Store: teespring.com/stores/tradinformed
@WTA122
@WTA122 3 жыл бұрын
Hi Mark appreciate your contribution can we backtest Wyckoff Strategies in Excel, if yes kindly giude
@hamidpourmohammadnobari1821
@hamidpourmohammadnobari1821 2 жыл бұрын
Thanks Bro Good Luck
@ALEXSHUNCAI
@ALEXSHUNCAI 4 жыл бұрын
Hi Mark, very good presentation, I wanted to know, why you buy the stock when the closing price is higher than the EMA price, I assume your intention is when the stock is on the upper trend? right?, Please explain. Thanks Alex
@geoQuant
@geoQuant 11 жыл бұрын
this is great. Mark, could you tell me how to measure the performance of allocation effects? for example, an indicator that increase and decreases the percentage of investment made?
@billmietelski
@billmietelski 2 жыл бұрын
Bill was here. :)
@billmietelski
@billmietelski 2 жыл бұрын
Yeah, I thought I'd go back to the beginning, both to pick up any nuggets I've missed, and to enjoyy the evolution of the channel.
@MarkUrsell
@MarkUrsell 11 жыл бұрын
Thanks for the comment. There is a factor in the model for adjusting the percentage of our capital invested per trade. I think what you are looking for is for an optimisation function to compare these different percentages. If so we could optimise manually by changing the factor. This could be automated and I would be able to do another video showing how this could be added to the spreadsheet.
@kingich
@kingich 6 жыл бұрын
Mark Ursell I would like to buy your advanced backtesting model from the website, just was wandering, does it have the functionality of trailing stop loss? Thanks
@JoseAntonio-gu2fx
@JoseAntonio-gu2fx 8 жыл бұрын
Hello Mark. I think its a great idea to work with excel. This make one undestand what is really doing. I am verey very new in this matter. What are you doing in the Buy Index colum? Buy in a week and selling the next week? Its the same that buy in the first period and sell in the last ? Thanks in advance
@heyyou5170
@heyyou5170 9 жыл бұрын
can someone tell me please Why for example u should period of 20 ? what if my data are monthly (from 2007 till 2015) ?
@Richbeatz70
@Richbeatz70 4 жыл бұрын
Great video to learn how to backtest cheaply, but the strategy doesn't beat a buy and hold index . Before or after (transaction cost and taxes).
@Matt-Olive-Digital
@Matt-Olive-Digital 4 жыл бұрын
Two very important problems. 1. Look ahead bias. You can't use the current week's closing price if it hasn't occured yet. If you bought on the next weekend's close or open it would solve this. 2. Your equity curve assumes a full rebalancing of every position in the portfolio, but that's not how people actually trade. People will hold the stock for multiple weeks. An equity curve that maps how people actually trade is a little more advanced than that.
@pauliusgedrimas978
@pauliusgedrimas978 9 жыл бұрын
One question Mark, shouldn't this EMA crossover strategy have more than one if statement? Because the only thing your If statement did is buy the security but never sell it.
@darthforexvader7201
@darthforexvader7201 6 жыл бұрын
hi do you have any recommendations to where I can get accurate historical price data from please?
@MarkUrsell
@MarkUrsell 6 жыл бұрын
Hi Darth, this is a question that is asked a lot. I think the best source of data is from the broker that you trade with. Many brokers and platforms do offer this. Otherwise, there are lots of online sources. I have written an article about sources of free data. You can read this here: wp.me/p32qmZ-1By
@darthforexvader7201
@darthforexvader7201 6 жыл бұрын
thanks very much for your response Mark, may the force be with you
@ulrikebielecke4075
@ulrikebielecke4075 6 жыл бұрын
when the price break through signal level, we consider the formation as confirmed and we open the position accordingly. then we follow the market until we reach a target equal to the size of the formation. if you want to learn more tips how these works, i recommend you follow the steps of Dmitry Vladislav using his Blended model strategy that cover one of the best trading system in history
@jiangziyang2129
@jiangziyang2129 8 жыл бұрын
Hi, So I have one question. Why did you use the first 19 numbers to create the base for EMA instead of using 20 numbers ?
@MarkUrsell
@MarkUrsell 8 жыл бұрын
+jiang ziyang Agreed. It would have been more accurate to use 20 numbers.
@nitya7760
@nitya7760 9 жыл бұрын
Hi Mark, Can we backtest a strategy using Force Index ( by Dr. Alexander ) signals in Excel? Please advise.
@MarkUrsell
@MarkUrsell 9 жыл бұрын
+suresh kumar Hi Suresh. I have recorded a new video about using the Force Index on the S&P 500.
@nitya7760
@nitya7760 9 жыл бұрын
+Mark Ursell , Thanks a lot Mark, you have always been of help.
@_danahmed
@_danahmed 7 жыл бұрын
When you round up the EMA from 0.095238 to 0.10, You're adding close to 5% error into the calculation. Wouldn't you be better off rounding to 0.095?
@MarkUrsell
@MarkUrsell 7 жыл бұрын
Thank you for commenting. The spreadsheet is not actually rounding the EMA factor. It is only changing the display so that it fits better and is more readable. The full value is still used in the calculation.
@ViolaAndJan
@ViolaAndJan 8 жыл бұрын
Good that Speed 1.5 exists :)
@samueltsoi630
@samueltsoi630 8 жыл бұрын
Still slow on 2.0 speed.....
@cabbarto
@cabbarto 9 жыл бұрын
Does this means that when not over the EMA all stocks should be sold?
@MarkUrsell
@MarkUrsell 9 жыл бұрын
cabbarto It means that the portfolio should be neutral. Either by selling the stocks or hedging.
@kevinkavi222
@kevinkavi222 8 жыл бұрын
hi Mark i have watch this video many times and i still dont understand what information to get from it to help me know either to buy/short a trade. i am new to trading and my biggest problem is to extract the information i really need. please advise me.
@biswajitkumarchaturv
@biswajitkumarchaturv 5 жыл бұрын
This is a backtest, meaning you have already decided when to buy. Now, it is just to check if your decision to buy when a certain criteria meets is fetching you expected positive returns.
@biswajitkumarchaturv
@biswajitkumarchaturv 5 жыл бұрын
@mateo qirjaqi I suppose you take your money out and hold no position when the criteria is not met and then reenter when the conditions are as per your strategy.
@ggp1065
@ggp1065 8 жыл бұрын
hello i cannot understand one thing how is it possible since you start with 100$ and then the index is going downwards your value to be the same? (although you are not buying, shouldnt your account value getting less?) and each time you buy do you add another 100$ ?
@morattolucas
@morattolucas 8 жыл бұрын
i have the same doubt about the first question. Im trying to figure it out how to solve this. but untill now i cant.
@biswajitkumarchaturv
@biswajitkumarchaturv 5 жыл бұрын
I suppose you take your money out and hold no position when the criteria is not met and then reenter when the conditions are as per your strategy.
@biswajitkumarchaturv
@biswajitkumarchaturv 5 жыл бұрын
@@morattolucas I suppose you take your money out and hold no position when the criteria is not met and then reenter when the conditions are as per your strategy.
@Thomas.D.B
@Thomas.D.B 7 жыл бұрын
Hi mark This makes no sense to me. You invest the same amount in both scenarios indicating in the first “buy index” scenario that you keep the initial $1000 in the market and it accumulates over time. In the “buy above ema” scenario you just seem to ignore any week where previous weeks close is below ema indicating that you just skip that week loss and reinvest the same amount the next time the”if” requirement is meet. I am probably missing something here but shouldn’t this back test take into consideration when to exit the position (ie when the “if” criteria is not meet) ? I would be super thankful for a reply on this one as I can’t get this to fit in my head ;)
@biswajitkumarchaturv
@biswajitkumarchaturv 5 жыл бұрын
I suppose you take your money out and hold no position when the criteria is not met and then reenter when the conditions are as per your strategy.
@AncalagonGames
@AncalagonGames 10 жыл бұрын
i don't work the prices and all the date goes in one colum
An Easy Way to use Excel to Backtest a Trading Strategy - Part 2
9:11
Excel Features That Will Set You Apart in 2025
11:30
MyOnlineTrainingHub
Рет қаралды 37 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
How to Use Class Interfaces in Excel VBA
20:16
Excel Macro Mastery
Рет қаралды 83 М.
How to Develop Winning Trading Strategies (with real-world edge)
24:00
What is Backtesting? [Explained]
8:17
VRDNation
Рет қаралды 11 М.
Self-Driving Cars Were a Mistake
8:30
Daily Dose Of Internet
Рет қаралды 2 МЛН
How to Backtest a Trading Strategy on Tradingview
7:57
TradingLab
Рет қаралды 474 М.
Master Data Analysis on Excel in Just 10 Minutes
11:32
Kenji Explains
Рет қаралды 2,3 МЛН
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 2 МЛН
How to Use SUMIFS, COUNTIFS and AVERAGEIFS in Excel (Multiple Criteria)
14:04
Как сделать КУХНЮ дешевле в 10 РАЗ? Советы от кухонщиков
32:21
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН