Do Moving Averages Still Work?

Algo Trading With Kevin Davey
12 Jun 202208:00

Summary

TLDRIn this video, champion trader Kevin Davey introduces a simple moving average crossover algorithm for trading without stop losses, which he claims performs well in various market conditions. He explains the strategy, emphasizing its robustness tested over two years across different markets and bar sizes. Davey encourages viewers to read his best-selling books on Amazon for more insights and to test the algorithm themselves for verification, promising more strategies in future videos.

Takeaways

  • 🏆 The speaker is a champion trainer named Kevin Davey, who has a successful trading background and has written five best-selling books on trading.
  • 📈 He introduces an algorithm (algo) designed for the current market, adaptable to various instruments and bar sizes.
  • 🤔 The algo is based on a simple moving average crossover system with a unique twist and no stop losses, which might be concerning for some traders.
  • 📚 The strategy is detailed in Kevin's book 'Confessions of a Champion Trader', which he encourages viewers to check out for more information.
  • 📊 The algo involves calculating fast and slow moving averages and making trades based on crossovers and momentum indicators.
  • 💰 The only exit strategy mentioned is a fixed profit target per contract, which is particularly relevant for futures trading.
  • 🔧 The provided Tradestation code outlines the inputs and rules for the algo, including the conditions for buying and short selling.
  • 🔬 The strategy has been tested over a two-year period from May 2020 to May 2022 across 133 different market and bar size combinations.
  • 📉 The results show the algo's performance in various markets, highlighting the importance of having a diversified portfolio with different trading frequencies.
  • 🛠 The process of strategy development includes optimization, robustness checks, and walk-forward testing to ensure the strategy's effectiveness.
  • 👍 Kevin encourages viewers to test the algo themselves and not just rely on his word, emphasizing the importance of personal verification.

Q & A

  • Who is the speaker in the video?

    -The speaker in the video is Kevin Davey, a champion trader.

  • What type of algorithm does Kevin Davey introduce in the video?

    -Kevin Davey introduces a simple moving average crossover type system with a twist that only has a profit target and no stop losses.

  • What are the credentials that Kevin Davey mentions to establish his authority on trading?

    -Kevin Davey mentions his trading success in a verified trading contest and having written five best-selling books on trading.

  • Where can viewers find more information about Kevin Davey's books?

    -Viewers can find more information about Kevin Davey's books on Amazon.

  • What is the unique feature of the algorithm that Kevin Davey discusses?

    -The unique feature of the algorithm is that it does not include stop losses, relying instead on a well-constructed strategy and a set profit target.

  • What is the profit target based on in the algorithm?

    -The profit target in the algorithm is based on a set dollar amount per contract, which is particularly relevant for futures trading.

  • What book does Kevin Davey reference for more information on the algorithm's entry number 13?

    -Kevin Davey references his book 'Confessions of a Champion Trader' for more information on the algorithm's entry number 13.

  • What does Kevin Davey suggest is a key aspect of strategy testing?

    -Kevin Davey suggests that a key aspect of strategy testing is checking the robustness of a strategy by optimizing with a small number of iterations.

  • How long did Kevin Davey test the algorithm before presenting it?

    -Kevin Davey tested the algorithm for a period of two years, from the end of May 2020 to the end of May 2022.

  • What is the significance of the algorithm working across different bar sizes and markets?

    -The significance of the algorithm working across different bar sizes and markets indicates its versatility and potential for use in various trading scenarios.

  • What is the final testing method that Kevin Davey mentions for validating trading strategies?

    -The final testing method that Kevin Davey mentions is walk-forward testing, which is a method of out-of-sample testing.

  • What is the importance of having different types of systems in a diversified trading portfolio?

    -Having different types of systems in a diversified trading portfolio is important to catch various market opportunities and to balance the portfolio with some markets that are not always active, ensuring a steady profit over time.

  • What does Kevin Davey suggest traders do after learning about a new strategy?

    -Kevin Davey suggests that traders should test the strategy for themselves to verify its effectiveness and not rely solely on what he says.

Outlines

00:00

📈 Introduction to a Simple Moving Average Crossover Trading Algorithm

Champion trainer Kevin Davey introduces a trading algorithm designed for the current market conditions, which works across various instruments and bar sizes. He establishes his credibility through his verified trading contest success and best-selling books on trading, encouraging viewers to check out his work on Amazon. The algorithm is a simple moving average crossover system with a unique twist—it lacks a stop loss and only has a profit target. The strategy is based on entry number 13 from his book 'Confessions of a Champion Trader'. The rules are explained in plain English, involving calculating fast and slow moving averages and making trades based on crossovers and momentum indicators. The video also includes Tradestation code for viewers to follow along. Kevin emphasizes the importance of testing the strategy without stop losses, provided the strategy is built correctly. He discusses optimizing the algorithm with three inputs and testing its robustness over a two-year period, showing it worked in 133 different market and bar size combinations.

05:01

📊 Walk Forward Testing and Strategy Robustness

In the second paragraph, Kevin Davey delves into walk forward testing, a method of out-of-sample testing, to further validate the trading algorithm. He presents results for two markets, copper with 240-minute bars and coffee on the ICE exchange with 120-minute bars, to illustrate the algorithm's performance. The copper example shows significant drawdowns, which Kevin points out as a normal and healthy part of any good trading system. The coffee example demonstrates the algorithm's ability to enter the market, achieve profit, and exit, with periods of inactivity indicating a non-constant market presence. This is beneficial for a diversified portfolio, as not all systems need to be active at all times. Kevin stresses the importance of testing the algorithm in various market conditions to ensure its robustness and advises viewers to conduct their own tests to verify the strategy's effectiveness. He concludes by asking for viewer engagement through likes, comments, and subscriptions to encourage the creation of more algorithmic trading strategies.

Mindmap

Keywords

💡Algorithm

An algorithm is a set of rules or steps used to solve a problem or perform a task. In the context of the video, the algorithm is a trading strategy that the speaker, Kevin Davey, is presenting to viewers. The algorithm is designed to work across different markets and bar sizes, indicating its versatility and potential effectiveness in various trading scenarios.

💡Moving Average

A moving average is a widely used indicator in technical analysis that helps smooth out price data by creating a constantly updated average price. In the video, the algorithm utilizes a simple moving average crossover system, which is a common method for generating trading signals based on the relationship between two moving averages of different time periods.

💡Crossover

A crossover in trading refers to the point where one moving average crosses over another. In the video, the algorithm uses a fast moving average crossing above a slow moving average as a signal to buy, and vice versa for selling short, which is a fundamental concept in trend-following strategies.

💡Profit Target

A profit target is a predetermined price level at which a trader plans to sell a security to lock in profits. The algorithm mentioned in the video has a profit target but no stop loss, which is unconventional as many traders use stop losses to limit potential losses. The profit target is set as a fixed dollar amount per contract for futures trading.

💡Stop Loss

A stop loss is an order placed with a broker to sell a security when it reaches a certain price. It is designed to limit an investor's loss on a position. The video script mentions that the algorithm does not include a stop loss, which is a departure from typical trading strategies and is noted as something that might concern some traders.

💡Trading Contest

A trading contest is a competition where traders compete to achieve the best performance over a set period. Kevin Davey mentions his success in a verified trading contest, which serves as a credibility boost for his algorithm and trading expertise.

💡Best-Selling Books

Best-selling books are books that have sold a large number of copies and are often listed on best-seller lists. Kevin Davey refers to having written five best-selling books on trading, which further establishes his authority and experience in the field.

💡Optimization

In trading, optimization refers to the process of adjusting the parameters of a trading strategy to improve its performance. The video script discusses optimizing the algorithm's inputs to check its robustness across different market conditions and time frames.

💡Robustness

Robustness in the context of trading refers to the ability of a strategy to perform well across a variety of market conditions. The video emphasizes the importance of testing a strategy's robustness, as it indicates whether the strategy is reliable and likely to perform consistently over time.

💡Walk Forward Testing

Walk forward testing is a method of evaluating a trading strategy by simulating trades in a way that mimics real-time trading conditions. The video script mentions this method as part of the process to ensure the algorithm's effectiveness and to avoid over-optimization.

💡Diversified Portfolio

A diversified portfolio is an investment strategy that involves spreading investments across various financial instruments, industries, and other categories to manage risk. The video script suggests that having a portfolio with different types of trading systems, like the one presented, can be beneficial as it includes strategies that are not always in the market.

Highlights

Introduction of a trading algorithm by champion trainer Kevin Davey.

Algorithm works in current market conditions across various instruments and bar sizes.

Kevin Davey's verified trading contest success and authorship of five best-selling trading books.

Description of a simple moving average crossover system with a unique twist.

Algorithm features a profit target but no stop losses, a strategy that has shown better performance over time.

Reference to entry number 13 from the book 'Confessions of a Champion Trader'.

Explanation of the algorithm's rules in plain English for clarity.

Calculation of a fast and slow moving average for trading decisions.

Condition for buying: fast moving average crosses above the slow one and close is less than the previous low.

Condition for selling short: opposite of buying condition.

Profit target set as a fixed dollar amount per contract for futures.

Tradestation code provided for those familiar with the platform.

Optimization of three inputs to check the robustness of the strategy.

Strategy's performance tested over a two-year period from May 2020 to May 2022.

Strategy's effectiveness in 133 different market and bar size combinations.

Use of walk forward testing as a method of out-of-sample testing.

Example of strategy's performance on copper 240-minute bars and coffee on ICE exchange 120 minutes.

Importance of having a diversified portfolio with varying trading frequencies.

Encouragement for viewers to test the strategy themselves to verify its effectiveness.

Invitation for feedback and subscription to Kevin Davey's channel for more algorithmic strategies.

Transcripts

play00:00

hi there i'm champion trainer kevin

play00:02

davey and here's an algo that you can

play00:04

use in your own trading so let's get

play00:07

started

play00:09

[Music]

play00:15

today i'm going to give you an algo that

play00:18

works in the current market

play00:20

on some different instruments some

play00:22

different bar sizes

play00:24

and you might say well hey why should i

play00:26

listen to you

play00:27

you probably already know about my

play00:29

trading success

play00:32

in a verified trading contest but you

play00:35

might not know i've also written five

play00:38

best-selling books on trading they're

play00:41

shown here

play00:42

if you're interested go to amazon

play00:45

and you can read more information about

play00:47

them

play00:49

okay

play00:50

let's jump into it

play00:51

so first i'm just going to give you a

play00:53

simple description of this algo

play00:56

it's a real simple moving average

play00:59

crossover type system but it has a

play01:02

little twist to it

play01:04

and it only has a profit target i know

play01:07

this will scare a lot of people who like

play01:09

stops and like stop losses but

play01:13

i've built quite a few systems that

play01:14

don't have stop losses in them

play01:17

and usually the performance over time is

play01:20

better

play01:21

it's a little scary not having a stop in

play01:24

the market but

play01:26

a lot of times

play01:28

if you build the strategy correctly

play01:31

you don't necessarily need it it's

play01:33

something you have to test but this one

play01:35

only has a profit target

play01:37

it's based on entry number 13 that you

play01:40

can find in my confessions of

play01:44

an expert champion trader

play01:47

i didn't give you the right title it's

play01:48

confessions of a champion trader

play01:51

sometimes i forget my own book titles

play01:54

i encourage you to check that out

play01:57

so the rules i'll just kind of just

play01:59

describe them in plain english so first

play02:02

what you're going to do is you're going

play02:03

to calculate a fast moving average and a

play02:05

slow moving average

play02:06

and then if the moving average crosses

play02:09

above

play02:10

the slow one if the fast one crosses

play02:13

above the slow

play02:14

and the close is less than the previous

play02:17

low

play02:18

that's kind of a momentum

play02:20

type little add-on then you're going to

play02:23

buy

play02:24

and it vice versa for selling short

play02:28

the profit target

play02:29

you're going to have a set dollar amount

play02:32

per contract this would be for futures

play02:36

and that's it those are all the rules so

play02:38

if you look at the tradestation code

play02:41

again if you don't know tradestation you

play02:42

should be able to read along and kind of

play02:44

figure out what's going on

play02:46

you'll see i have my inputs

play02:48

then i have my rules which says if the

play02:51

average close

play02:53

of a certain length crosses above the

play02:56

average close of a different length

play02:58

and the close is less than the previous

play03:00

low by next part market

play03:03

basically the same exact thing for

play03:05

selling short and then down at the

play03:07

bottom bottom i have a

play03:09

profit target

play03:11

that is set to a certain dollar amount

play03:14

so that's it that's the whole strategy

play03:19

as far as optimizing and iterating i

play03:21

have three

play03:23

inputs that i'm going to optimize and

play03:25

you can see the values that i'm using

play03:27

there

play03:28

and see their steps

play03:31

together it's only 36 iterations so it's

play03:34

not a lot of optimization but it's a

play03:37

little bit

play03:38

why do you do this

play03:39

well

play03:40

what i've found

play03:42

is if you do

play03:44

a small amount of optimization you can

play03:47

actually check the robustness of a

play03:49

strategy that's really a key

play03:52

so

play03:53

this strategy might work with a look

play03:56

back length of 10

play03:58

but

play03:58

if it doesn't work with 5 or 15 or 20 if

play04:02

it only works with 10 it's not a very

play04:04

robust strategy and it's probably not

play04:07

something you're going to want to trade

play04:09

so i'm looking for robustness here and i

play04:12

do it doing during a two-year

play04:15

test

play04:16

here are some results and here are some

play04:18

of the markets and bar sizes where this

play04:21

particular strategy worked

play04:23

you can see i ran from

play04:26

the end of may 2020 to the end of may

play04:28

2022

play04:30

so it's a two-year test and you can see

play04:32

there's a variety of different bar sizes

play04:35

and markets where it worked all together

play04:39

i'm only showing you a handful of them

play04:41

there were actually

play04:42

133 different combinations of the two

play04:45

that work so it worked in quite a few

play04:48

different areas of course that's only a

play04:50

two year test

play04:52

that's not

play04:53

the final test that's just a preliminary

play04:55

test

play04:56

and that's part of the process i use to

play04:58

build systems

play05:01

the final test is running through

play05:03

walk forward testing which is a method

play05:05

of auto sample testing here's just a

play05:08

couple of the

play05:09

results

play05:10

here's copper 240 minute bars you can

play05:13

see

play05:14

it looks pretty good there was a couple

play05:17

significant drawdowns

play05:20

every good system will have drawdowns if

play05:22

they don't have any drawdowns

play05:25

you got to watch out because they might

play05:27

just be over optimized systems but this

play05:30

is all out of sample so that looks

play05:32

pretty good and then here's one with

play05:34

kansas

play05:36

not kansas city wheat it's coffee

play05:39

kc

play05:40

i saw kc in that dog kansas city kw

play05:43

would be kansas city wheat

play05:45

that's hard red winter wheat but this is

play05:48

coffee

play05:49

and it's on the ice exchange 120 minutes

play05:53

you can see it doesn't necessarily trade

play05:55

all that often but what it's doing is

play05:58

it's getting in getting its profit and

play06:00

getting out so there's a lot of flat

play06:01

periods

play06:03

and that kind of indicates that it's not

play06:05

in the market all the time which

play06:08

if you're going to have a diversified

play06:09

portfolio that's not bad to have some

play06:12

markets that just sit and wait

play06:15

and when the opportunity arises they get

play06:17

in

play06:18

they get their profit and they get out

play06:20

other systems you'll want to have in a

play06:23

lot of the time to catch bigger trends

play06:26

but it's not something you need on all

play06:28

your systems

play06:30

so that's coffee works pretty well

play06:33

of course

play06:35

even with those walk forward curves

play06:37

those aren't

play06:38

fully tested strategies yet there's some

play06:40

other steps that i do as part of my

play06:42

process to make sure those are good

play06:45

strategies

play06:46

now if it works in the current market

play06:50

in multiple situations like this did

play06:53

there's some robustness so that kind of

play06:55

shows that the idea is pretty good and

play06:58

that you might get some good strategies

play07:00

out of this simple idea but of course

play07:03

you always want to test it for yourself

play07:05

to verify

play07:06

don't rely on just what i say

play07:09

test it for yourself and see what you

play07:12

get

play07:13

okay if you like this video please give

play07:16

it a thumbs up i'll make more

play07:19

and i'll give you more algo strategies

play07:21

that you can use

play07:23

leave a comment

play07:24

let me know what you think

play07:26

good or bad i reply to all comments and

play07:30

hit the subscribe button

play07:32

that'll keep me making more videos too

play07:35

i'm champion kevin davey have a great

play07:37

day

play07:45

[Music]

play07:55

[Music]

play07:59

you

Rate This

5.0 / 5 (0 votes)

الوسوم ذات الصلة
Trading AlgorithmMarket AnalysisProfit TargetTechnical AnalysisFinancial StrategyInvestment TipsTrading ContestBest-Selling BooksRisk ManagementMarket Trends
هل تحتاج إلى تلخيص باللغة الإنجليزية؟