• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 11:39am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:39am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Math Help (Probability) & My Research Results 24 replies

Math Help: Probability 30 replies

Math problem! How do you calculate hedge (hedging) in Excel? 0 replies

Margin level % math problem 3 replies

Little math problem for indicator 9 replies

  • Trading Discussion
  • /
  • Reply to Thread
  • Subscribe

Setup frequency and probability - Math problem

  • Post #1
  • Quote
  • First Post: Nov 15, 2010 8:39am Nov 15, 2010 8:39am
  •  kk007
  • Joined Feb 2009 | Status: Commercial Member <- Don't trust me | 2,976 Posts
Dear all,

I have the following probability problem, wonder anyone who are good at maths can answer.

The problem:
Someone sold me a trading system and claimed that this system on average signals 1 setup for each 100 bar on a chart. I used the system to trade and 1000 bar on a chart have passed, but I only got 5 setups. Given only this result, what is the probability that I have been cheated?

Thanks in advance.

kk007
  • Post #2
  • Quote
  • Nov 15, 2010 9:20am Nov 15, 2010 9:20am
  •  Carsten
  • | Joined Nov 2010 | Status: Member | 17 Posts
If the seller is correct and the probability for a trade setup to occur is p = 1/100, then the expected number of trade setups in a 1000-bar-sample would of course be E = 1000 * p = 10.
The number of trade setups follows the Poisson distribution. For a rough error estimation, you can calculate the standard deviation s = sqrt(E) ~= 3.16 (where sqrt() is the square root). The number of trade setups will be between (E-s) and (E+s) in 68.2% of the times, between (E-2*s) and (E+2*s) in 95.4% of the times and so on.

Now, to give you some probabilities, the probability of having exactly 5 trades in 1000 bars is 0.038. The probability of having 5 or less trades in 1000 bars is 0.067.
This means that, on average, you'll get 5 or less trades in 1000 bars every 15 times that you look at 1000 bars.

Thus, it is too early to say if you've been cheated on.
 
 
  • Post #3
  • Quote
  • Nov 15, 2010 10:58am Nov 15, 2010 10:58am
  •  kk007
  • Joined Feb 2009 | Status: Commercial Member <- Don't trust me | 2,976 Posts
Quoting Carsten
Disliked
If the seller is correct and the probability for a trade setup to occur is p = 1/100, then the expected number of trade setups in a 1000-bar-sample would of course be E = 1000 * p = 10.
The number of trade setups follows the Poisson distribution. For a rough error estimation, you can calculate the standard deviation s = sqrt(E) ~= 3.16 (where sqrt() is the square root). The number of trade setups will be between (E-s) and (E+s) in 68.2% of the times, between...
Ignored
Thanks Carsten,

Let me spend some time to study your answer. I hope it is a perfect solution to my problem.

cheers,

kk007

P.S. Look like it is your first post on FF. Welcome to this paradise!
 
 
  • Post #4
  • Quote
  • Nov 15, 2010 12:00pm Nov 15, 2010 12:00pm
  •  hayseed
  • Joined Nov 2006 | Status: Member | 3,540 Posts
Quoting Carsten
Disliked
Thus, it is too early to say
Ignored
hey carsten...... well it's not too early to say that is beyond any doubt the best first post by any new member on their first day i've seen...... and i've seen a lot of new members.....

..... please keep it up.......h
to trade and code, keep both simple... no call to impress....h
 
 
  • Post #5
  • Quote
  • Nov 15, 2010 8:49pm Nov 15, 2010 8:49pm
  •  kk007
  • Joined Feb 2009 | Status: Commercial Member <- Don't trust me | 2,976 Posts
Bingo!

Thank you very much, Carsten. I found the excel built-in formula and got the same value as you "=POISSON(5,10,TRUE)" = 0.067

cheer,

kk007

Quoting Carsten
Disliked
If the seller is correct and the probability for a trade setup to occur is p = 1/100, then the expected number of trade setups in a 1000-bar-sample would of course be E = 1000 * p = 10.
The number of trade setups follows the Poisson distribution. For a rough error estimation, you can calculate the standard deviation s = sqrt(E) ~= 3.16 (where sqrt() is the square root). The number of trade setups will be between (E-s) and (E+s) in 68.2% of the times, between (E-2*s)...
Ignored
 
 
  • Post #6
  • Quote
  • Nov 15, 2010 9:41pm Nov 15, 2010 9:41pm
  •  Hedginghog
  • Joined Nov 2009 | Status: Member | 202 Posts
Quoting kk007
Disliked
Dear all,

I have the following probability problem, wonder anyone who are good at maths can answer.

The problem:
Someone sold me a trading system and claimed that this system on average signals 1 setup for each 100 bar on a chart. I used the system to trade and 1000 bar on a chart have passed, but I only got 5 setups. Given only this result, what is the probability that I have been cheated?

Thanks in advance.

kk007
Ignored
I don't think the problem here is in the math! One of the great myths in this business is that it is possible to "buy a system" and make money - that, my friend, is the real problem being presented in your statement. But the perpetuation of that myth is of course important for some, for reasons I need not outline here..
 
 
  • Post #7
  • Quote
  • Nov 15, 2010 10:06pm Nov 15, 2010 10:06pm
  •  kk007
  • Joined Feb 2009 | Status: Commercial Member <- Don't trust me | 2,976 Posts
Quoting Hedginghog
Disliked
I don't think the problem here is in the math! One of the great myths in this business is that it is possible to "buy a system" and make money - that, my friend, is the real problem being presented in your statement. But the perpetuation of that myth is of course important for some, for reasons I need not outline here..
Ignored
This is not a real story. I made up the story to ask for the maths solution for easier presentation. The real story is that I worked out the expected frequency of my system, but it turned out that the frequency is a lot lower than expected, and so I need the maths to help me to verify.
 
 
  • Post #8
  • Quote
  • Nov 16, 2010 12:06am Nov 16, 2010 12:06am
  •  6pack
  • | Joined Jan 2008 | Status: I am a money magnet! | 173 Posts
[quote=Carsten;4173331
The number of trade setups follows the Poisson distribution.[/quote]

I'd just like to note that this is an assumption, which may or may not hold. A strategy may kick in only during trending periods, or more often during high volatility, etc.
The Poisson model is very useful, but please keep in mind its limitations and assumptions, namely, that on average, you'd get the same number of trades during equal intervals.

Good luck!
 
 
  • Post #9
  • Quote
  • Last Post: Nov 16, 2010 7:14am Nov 16, 2010 7:14am
  •  kk007
  • Joined Feb 2009 | Status: Commercial Member <- Don't trust me | 2,976 Posts
Quoting 6pack
Disliked
I'd just like to note that this is an assumption, which may or may not hold. A strategy may kick in only during trending periods, or more often during high volatility, etc.
The Poisson model is very useful, but please keep in mind its limitations and assumptions, namely, that on average, you'd get the same number of trades during equal intervals.

Good luck!
Ignored
You are right.. it seems that it is based on the assumption that each time period is independent and probabilistic similiar.

cheers
 
 
  • Trading Discussion
  • /
  • Setup frequency and probability - Math problem
  • Reply to Thread
0 traders viewing now
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022