NexusFi: Find Your Edge


Home Menu

 





KJ Trading Systems Kevin Davey - Ask Me Anything (AMA)


Discussion in Trading Reviews and Vendors

Updated
      Top Posters
    1. looks_one kevinkdog with 180 posts (416 thanks)
    2. looks_two SMCJB with 23 posts (40 thanks)
    3. looks_3 Mabi with 17 posts (12 thanks)
    4. looks_4 bluefightingcat with 16 posts (9 thanks)
      Best Posters
    1. looks_one grausch with 2.8 thanks per post
    2. looks_two kevinkdog with 2.3 thanks per post
    3. looks_3 SMCJB with 1.7 thanks per post
    4. looks_4 Big Mike with 1.5 thanks per post
    1. trending_up 170,262 views
    2. thumb_up 649 thanks given
    3. group 111 followers
    1. forum 433 posts
    2. attach_file 15 attachments




Closed Thread
 
Search this Thread

KJ Trading Systems Kevin Davey - Ask Me Anything (AMA)

  #361 (permalink)
 tpredictor 
North Carolina
 
Experience: Beginner
Platform: NinjaTrader, Tradestation
Trading: es
Posts: 644 since Nov 2011

@SMJCB Sorry, I haven't referred to what I do. I do not fully follow your line of questions. I was just discussing what I thought should be an obvious or self-evident fact. There are many more complex ways of making speculations. For example, one can use comparative reasoning or logic. As an example, we have a few cases where the price of Bitcoin has rallied when a country's currency has had trouble and/or government. One can use such comparative logic to look for countries who might experience currency crisis and buy Bitcoin/short the currency. Of course, this specific example has been a local phenomena and probably not trade-able. We've also seen that developed markets tend to be mean reverting. We can thus speculate or watch for new emerging markets to become more mean reverting. Comparative logic can also be used to reason about, price action or other types of things.

What I think that some of the best speculators do is they identify the factors (real factors) that trader's use to make decisions and form hypothesis about what is likely to happen and then they also understand price patterns (empirical patterns) and combine those insights to produce superior trading. I agree with Kevin that if you go to far to the right-hand side "too speculative" that it becomes more difficult to be consistent. In other cases, great speculators seem to be good at understanding when the market has mispriced an event. In any rate, I agree also it is extremely difficult to profit even from great predictions..

I'd rather shift this focus back to systems which is what Kevin does. I only interjected to provide my opinion, really fact, on what I thought should be obvious.

Anyway, there is also potential value in making your trading system output a prediction, or qualify score, versus a binary signal. Dr. Howard Bandy gave me some insights into this, and I have taken a liking to the concept. Let's just imagine you build your trading system to produce a signal. As part of your optimization process, you will make "local optimal' decisions as you optimize/craft your systems. At any rate, if you take the statistical/empirical view then each trade will have the same expectancy regardless of whether you take one trade or all the trades given the assumption that your system's trades are independent and don't rely on outlier profits. So, let's imagine you have a small account (like most new/small traders). What's likely to happen? You might build a few profitable systems and then lose interest as you won't have capital to deploy to even the profitable systems you have. Now, if you make your systems output predictions versus signals you can sort/rank the various signals and or do other sorts of interesting things. Of course, you need to find/define the quality factor. But, there are many sorts of things one can do with a score or quality factor (or prediction) that cannot be applied to a binary signal alone.

Anyway, Kevin have you ever used this idea of outputting a prediction or confidence value for a system or set of subsytems? I suspect you prefer to keep things simple and trade each system and track it. But, do you see anything wrong with the concept?


Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
NexusFi Journal Challenge - April 2024
Feedback and Announcements
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
Battlestations: Show us your trading desks!
26 thanks
The Program
18 thanks
  #362 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,041 since Dec 2013
Thanks Given: 4,375
Thanks Received: 10,192


tpredictor View Post
@SMJCB

0 of 2! Oh well.

tpredictor View Post
I'd rather shift this focus back to systems which is what Kevin does. I only interjected to provide my opinion, really fact, on what I thought should be obvious.

I agree. Well on the 1st sentence at least. Lets not hijack Kevin's thread any more.

  #363 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338



SMCJB View Post
So your prediction's fundamental assumption is that history repeats itself.

One thing I always tell people is that regardless of your method, style, testing approach (or lack thereof), the market is the ultimate judge.

In the end, whatever process one uses to trade should be validated through real money results. That feedback loop is critical. Listen to the market, and if what one is doing is not working (is not profitable), then that is the cue that you should change something.

Follow me on Twitter
Thanked by:
  #364 (permalink)
 webradio 
Hamburg, Germany
 
Experience: None
Platform: MetaTrader, Multicharts
Trading: FX
Posts: 44 since Sep 2016
Thanks Given: 21
Thanks Received: 34

Kevin, when you give a trade idea a quick first test - as I understood your webinars, you backtest a simpistic "system" with this entry and check the equity curve. What exit(s) do you use for that? Just a timed one or something else?

Maybe you answered it elsewhere - I haven't found it yet.

Thanked by:
  #365 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338


webradio View Post
Kevin, when you give a trade idea a quick first test - as I understood your webinars, you backtest a simpistic "system" with this entry and check the equity curve. What exit(s) do you use for that? Just a timed one or something else?

Maybe you answered it elsewhere - I haven't found it yet.

Thanks for the question. I usually use a time based exit (exit after X bars) and maybe a stop loss.

Many times, if this looks good, I actually just keep the simple exits, and not try to improve things with more complicated exits.


I should point out that testing an entry with simple exits makes the assumption that the entry is what really is important, and that is not necessarily the case. Many times the exit is more important, or even the interaction of the entry and exit is what really matters.

These days, I probably do more of entry and exit testing at the same time, because of the interaction effects...

Follow me on Twitter
Thanked by:
  #366 (permalink)
 webradio 
Hamburg, Germany
 
Experience: None
Platform: MetaTrader, Multicharts
Trading: FX
Posts: 44 since Sep 2016
Thanks Given: 21
Thanks Received: 34


kevinkdog View Post
Many times the exit is more important, or even the interaction of the entry and exit is what really matters.

Thanks for your quick reply, Kevin.

As I thought that I learned a lot, I wrote down what I learned and was suprised how short the boil-down about the exits actually was. I'd divide them roughly into
  • hard (initial stops and predefined targets)
  • timed (after x bars; at noon)
  • anxious/greedy (first probitable open; when x% of profit are eaten back)
  • trailing (from parabolic to trend reversal)
Am I missing something big in this area? Would you add any class or a representative exemplar to my list?

Thanked by:
  #367 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338


webradio View Post
Thanks for your quick reply, Kevin.

As I thought that I learned a lot, I wrote down what I learned and was suprised how short the boil-down about the exits actually was. I'd divide them roughly into
  • hard (initial stops and predefined targets)
  • timed (after x bars; at noon)
  • anxious/greedy (first probitable open; when x% of profit are eaten back)
  • trailing (from parabolic to trend reversal)
Am I missing something big in this area? Would you add any class or a representative exemplar to my list?

reverse entry signals (exit short and then go long with same signal)

using different "entry signal" as exit (take something you think would be a nice entry, but just use it for an exit)

Follow me on Twitter
Thanked by:
  #368 (permalink)
 
phantomtrader's Avatar
 phantomtrader 
Reno, Nevada
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Trading: ZN, ZB, CL
Frequency: Daily
Duration: Minutes
Posts: 588 since May 2011
Thanks Given: 217
Thanks Received: 984

Hi Kevin: I have a general question about backtesting on different bar types. Let's say I run a system in real time on a renko bar type for a week (I understand that a week isn't statistically significant - it's just to get a general idea). At the end of the week I compare the results to Strategy Analyzer simulator results. I then calculate the slippage between the simulated and live results. In order to use the slippage factor, I add/deduct the slippage average to the profit target/stop loss. Do you see any problem with that going forward? For instance, on the UB if I have a slippage average of 2 ticks and my profit target is 6 ticks, I would reduce my profit target to 4 ticks for live trading. Stop loss is always 4 ticks. I felt this was a more accurate way to calculate slippage rather than using the slippage from the Historical Fill Processing option. I've traded live using this method and it seems to be okay as long as I get filled at the entry price (this is a problem sometimes in bonds).
I appreciate your input on this. Thanks.

Also, I execute manually. This is not intended for automation. The goal is to estimate the most likely successful target for this system.

Thanked by:
  #369 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338


phantomtrader View Post
Hi Kevin: I have a general question about backtesting on different bar types. Let's say I run a system in real time on a renko bar type for a week (I understand that a week isn't statistically significant - it's just to get a general idea). At the end of the week I compare the results to Strategy Analyzer simulator results. I then calculate the slippage between the simulated and live results. In order to use the slippage factor, I add/deduct the slippage average to the profit target/stop loss. Do you see any problem with that going forward? For instance, on the UB if I have a slippage average of 2 ticks and my profit target is 6 ticks, I would reduce my profit target to 4 ticks for live trading. Stop loss is always 4 ticks. I felt this was a more accurate way to calculate slippage rather than using the slippage from the Historical Fill Processing option. I've traded live using this method and it seems to be okay as long as I get filled at the entry price (this is a problem sometimes in bonds).
I appreciate your input on this. Thanks.

Also, I execute manually. This is not intended for automation. The goal is to estimate the most likely successful target for this system.

Thanks for the question.

Hopefully by "live" you mean real money trading, I will assume that is the case.

I am a bit confused by what you are doing, maybe you can explain with an example. Here is an example of how I'd calculate it:

1 trade

Backtest Report says I bought at 163 19/32 and sold at 163 25/32

Actual real money account says I bought at 163 19/32 and sold at 163 24/32

I would have 0 ticks slippage on entry, 1 tick slippage on exit.

Follow me on Twitter
  #370 (permalink)
 
phantomtrader's Avatar
 phantomtrader 
Reno, Nevada
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Trading: ZN, ZB, CL
Frequency: Daily
Duration: Minutes
Posts: 588 since May 2011
Thanks Given: 217
Thanks Received: 984



kevinkdog View Post
Thanks for the question.

Hopefully by "live" you mean real money trading, I will assume that is the case.

I am a bit confused by what you are doing, maybe you can explain with an example. Here is an example of how I'd calculate it:

1 trade

Backtest Report says I bought at 163 19/32 and sold at 163 25/32

Actual real money account says I bought at 163 19/32 and sold at 163 24/32

I would have 0 ticks slippage on entry, 1 tick slippage on exit.

Thanks for the prompt reply. I trade Jigsaw DOM and order flow but I'm experimenting with strategy development in Ninja.

When I said "Live", what I meant was letting the strategy run in real time to see what the difference was between live data and backtest data. I also test it in replay. The replay data matches the real time data very well. I understand that this doesn't take into account fills, etc. The strategy executes at market and exits on a limit order.

My goal for doing this exercise was to normalize the backtest data so that I know where I have to make adjustments for real time trading. The backtest engine in Ninja has a lot of inherent problems making the results unreliable. IMO it's really useless. But my thought was that if I could normalize the data the same way you do in simple normalization statistics, I could factor in the adjusted values when I run a test in replay. Then do manual walk forward testing every week to see how the real time data holds up to the replay data where the strategy would include the factor as slippage.

I've attached a couple of jpgs as examples. The first one has two charts: The one on top is backtest from a chart - not Strategy Analyzer - for today's ZB session. The chart below is the replay data for the same. The second jpg is replay data for the strategy with a 2 tick slippage included which turns out to match the replay data, at least for today.

After testing different sets of profit targets/stop losses, the results suggested that 4/4 were the best inputs to use - i.e. most probable successful profit target with a matching stop loss.

I just don't trust the backtest engine. That's why I came up with this scheme to see if I could come up with a valid, reliable factor to use with an inaccurate backtesting engine. I still have to calculate the number of outliers over the range of available data.

I'm really just trying to work with a defective backtest engine to get reasonably reliable results.

I know you use TradeStation. I can program in EL. I switched to Ninja because I liked the graphics. I'm not that great at programming in Ninja though. Trading order flow I really didn't need TradeStation any more.

Anyway, just wanted your opinion on this. I don't want to waste a lot of time with Ninja programming if I can't acquire reliable results.

Attached Thumbnails
Click image for larger version

Name:	BACKTEST.JPG
Views:	252
Size:	186.6 KB
ID:	245512   Click image for larger version

Name:	SLIP.JPG
Views:	230
Size:	104.7 KB
ID:	245513  
Thanked by:

Closed Thread



Last Updated on July 5, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts