NexusFi: Find Your Edge


Home Menu

 





Totally random trading system graphs


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one dutchbookmaker with 7 posts (4 thanks)
    2. looks_two MXASJ with 3 posts (1 thanks)
    3. looks_3 Linds with 2 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 9,566 views
    2. thumb_up 5 thanks given
    3. group 4 followers
    1. forum 14 posts
    2. attach_file 5 attachments




 
Search this Thread

Totally random trading system graphs

  #1 (permalink)
 dutchbookmaker 
NYC
 
Posts: 187 since Dec 2010

I just started messing with matlab and thought this was interesting just because I can remember backtesting without bothering to mess with transaction cost.
The first chart is 1000 trades, repeated 200 times...YM sized, 1 contract, 50% win rate, 5 point target, 5 point stop...Basically coin flips for 25 bucks, win or lose. The second is the same with 3 dollar commission per "trade"..

The 3rd is 56% win rate and 3 dollars a trade.

I remember seeing something like this online but it is rather useless with just one iteration without getting a feel for the distribution.

You can see how pointless it is to backtest without including transaction cost.

Attached Thumbnails
Click image for larger version

Name:	1000-200traders.jpg
Views:	209
Size:	239.4 KB
ID:	36470   Click image for larger version

Name:	1000-200traders-3rt.jpg
Views:	229
Size:	204.6 KB
ID:	36471   Click image for larger version

Name:	1000-200traders-3rt-56.jpg
Views:	211
Size:	234.1 KB
ID:	36472  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
ZombieSqueeze
Platforms and Indicators
Deepmoney LLM
Elite Quantitative GenAI/LLM
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
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
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 thanks
  #3 (permalink)
 dutchbookmaker 
NYC
 
Posts: 187 since Dec 2010


Here is another simulation using the same YM sized 1 contract type bets, 200 iterations of 500 trades each, 52% win rate but this time a win is 15 YM points and a loss is 5 YM points for the typical 3:1 setups that is standard in the trading literature. 3 dollars of transaction cost per trade. You can see that this is a completely unrealistic and MASSIVE edge, even at only a 52% win rate.

The second is the same but repeated 400 times but this time with only a 35% win rate. Even at such a low win rate, with 3:1 winners size to losers only one system did not make money after 500 trades.

Attached Thumbnails
Click image for larger version

Name:	15-5-52perc3tc.jpg
Views:	219
Size:	217.4 KB
ID:	36500   Click image for larger version

Name:	35per.jpg
Views:	218
Size:	401.0 KB
ID:	36501  
Reply With Quote
  #4 (permalink)
 dutchbookmaker 
NYC
 
Posts: 187 since Dec 2010

Comeon, no one has an opinion on this? I should add I figured out how to do this yesterday and had been waiting YEARS to be able to plot this stuff....So I'm quite excited to see it.
I would gladly go into more detail if someone just post "makes no sense"...

Reply With Quote
  #5 (permalink)
 dutchbookmaker 
NYC
 
Posts: 187 since Dec 2010

Well I'm less here to learn stuff than to sharpen my own thoughts...
If you just started trading though, I don't think this thread is for you...

There is a "random walk" / stochastic nature to markets/betting that you have to be a fool to not "accept".

Consider a thought experiment that you just ran a backtest on YM data 1/1/08 - 1/1/10, on intraday data taking 2 trades a day on a system you invented for YM that had metrics of 5 point profit target, 5 point stop, and wins at 50%....
The first graph is 200 traders doing exactly that but not considering transaction cost.

The second is with transaction cost...

The 3rd is with 1:1 win ratio, but the win rate of each of the 200 traders being 56%..Some win huge, some blow.

What you should conclude from this is that "metrics" on a single equity curve are totally meaningless. No matter how well you keep a journal you can't tell if your method is stochastic not in line with the market, over EV or totally random...

The second set of graphs is IMO showing the absurdity of the 3:1 win:loss > 50%...anyone who actually has such an edge should be able to Kelly/Optimal R that edge to retirement in 3 years without a problem...

This thread is "now what" for us mere mortals....
I shy away from the concept of "random" in exchange for the term
https://en.wikipedia.org/wiki/Stochastic

Random with trading has too many biases.

Reply With Quote
  #6 (permalink)
 
Linds's Avatar
 Linds 
Victoria, Australia
 
Experience: Intermediate
Platform: NT, MT4
Broker: NT
Trading: Bund , ASX 200
Posts: 417 since Jul 2010
Thanks Given: 982
Thanks Received: 533

it makes perfect sense and it is essential that traders understand what you are showing. It all about probabilities and expectancy. The visual representation is fantastic to show this.

Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 dutchbookmaker 
NYC
 
Posts: 187 since Dec 2010


Linds View Post
it makes perfect sense and it is essential that traders understand what you are showing. It all about probabilities and expectancy. The visual representation is fantastic to show this.

Yea but my graphs neither include pyramid/money management ideas or negative dependency in the sense that a string of losers would tip a coin flip negative, as well as a string of winners would make a coin more likely to be a loser because of greed.

Thank you though, I'm just looking to shoot the shit.
I hope to cream the idea of single run "sharpe ratio" in this thread as not making sense at all.

Especially if the Ninjatrader people are watching, and what a complete joke the monte carlo engine they made for 7 is.

Reply With Quote
  #8 (permalink)
 
ThatManFromTexas's Avatar
 ThatManFromTexas 
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
Posts: 2,265 since Feb 2010
Thanks Given: 1,206
Thanks Received: 4,348


dutchbookmaker View Post

You can see how pointless it is to backtest .

There... I fixed that for ya....

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
  #9 (permalink)
 MXASJ 
Asia
 
Experience: Beginner
Platform: NinjaTrader, TOS
Posts: 796 since Jun 2009
Thanks Given: 109
Thanks Received: 800


dutchbookmaker View Post
Comeon, no one has an opinion on this? I should add I figured out how to do this yesterday and had been waiting YEARS to be able to plot this stuff....So I'm quite excited to see it.
I would gladly go into more detail if someone just post "makes no sense"...

I'm interested to learn how you did that in Matlab . I've been spending most of my time with R and a package called quantstrat. I have Matlab so any pointers would be great...

Reply With Quote
  #10 (permalink)
 
Linds's Avatar
 Linds 
Victoria, Australia
 
Experience: Intermediate
Platform: NT, MT4
Broker: NT
Trading: Bund , ASX 200
Posts: 417 since Jul 2010
Thanks Given: 982
Thanks Received: 533



dutchbookmaker View Post
Yea but my graphs neither include pyramid/money management ideas or negative dependency in the sense that a string of losers would tip a coin flip negative, as well as a string of winners would make a coin more likely to be a loser because of greed.

What do you mean exactly by

'a string of losers would tip a coin flip negative'

and

'a string of winners would make a coin more likely to be a loser because of greed'?

thx

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on April 13, 2011


© 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