a trading problem for mathematicians

Quote from trend2009:

In my original post, I did not mention stop and amount of profit for each trade. I am only interested in entries. in case the original post is unclear, now let us reformulate about this, suppose we only consider long trades:

1) system A generates its own signals to enter the market at the open of the bar, and exit at the close of the bar. if close>open, it is a winning trade; otherwise it is a losing trade (we ignore the case of open=close). statistically, if trading based on system A signals, the winning rate is 60%.
2) system B generates its own signals too, and enters at the open and exits at the close of the bar. it also has a winning rate of 60%.
3) system A and B do not correlate to each other. for example, system A is based on RSI, and system B is based on pinBar. (if you argue that RSI and pinBar are not 100% uncorrelated, then you are off the point).
4) now if I design a new system C, where the signals of C is from system A that is also agreed by system B. what would be the winning rate?

60%

Joe.

PS. If the combined signal win rate was different than 60%, then the two systems must in some way be correlated.

Joe.
 
I had some wine, so may not know wtf this is all about but have any of you boys considered the possibility that there may never be any signals whatsoever? If system A and system B are uncorrelated, and you only take a trade when BOTH give a signal, hell, you may never take a trade.
 
Quote from trend2009:

I am only talking about the winning rate, not profit. this is a hypothetical case for sure.

Thats my whole point, system 1 makes 1k, system 2 loses 10 bucks, its an overall winner. System 1 makes 10 bucks system 2 loses 1k then overall its a loser. If system 1 makes 10 bucks and system 2 loses 10 bucks its a scratch. So if looking at a combined win % rate, you need to know the p/l ratio of the system. Looking at them individually you dont need the p/l ratio to calculate win %.
 
Quote from trend2009:

In my original post, I did not mention stop and amount of profit for each trade. I am only interested in entries. in case the original post is unclear, now let us reformulate about this, suppose we only consider long trades:

1) system A generates its own signals to enter the market at the open of the bar, and exit at the close of the bar. if close>open, it is a winning trade; otherwise it is a losing trade (we ignore the case of open=close). statistically, if trading based on system A signals, the winning rate is 60%.
2) system B generates its own signals too, and enters at the open and exits at the close of the bar. it also has a winning rate of 60%.
3) system A and B do not correlate to each other. for example, system A is based on RSI, and system B is based on pinBar. (if you argue that RSI and pinBar are not 100% uncorrelated, then you are off the point).
4) now if I design a new system C, where the signals of C is from system A that is also agreed by system B. what would be the winning rate?

Thanks for clarifying. My answer is still 0.6923.

Here's the reasoning again (but this time corrected the for typos and omissions in the earlier post!).

New win rate = (new number of winning trades) / (new number of all trades)

New number of winning trades
= (A gives signal and wins) INTERSECTION (B gives signal and wins)
= N x P(A gives signal) x P(A wins) x P(B gives signal) x P(B wins)
= N x P(A gives signal) x P(B gives signal) x 0.6 x 0.6
= 0.36 x N x P(A gives signal) x P(B gives signal)

New number of all trades
= (A gives signal and wins) INTERSECTION (B gives signal and wins)
+(A gives signal and loses) INTERSECTION (B gives signal and loses)

= N x P(A gives signal) x P(A wins) x P(B gives signal) x P(B wins)
+ N x P(A gives signal) x P(A loses) x P(B gives signal) x P(B loses)

= N x P(A gives signal) x P(B gives signal) X ((0.6 x 0.6) + (0.4 x 0.4))
= 0.52 x N x P(A gives signal) x P(B gives signal)


SO, New win rate
= (new number of winning trades) / (new number of all trades)
= 0.36 / 0.52

= 0.6923


Over and out.
 
Quote from alexandermerwe:
I'm afraid this is a special case of the problem, a trivial one.

... except it's the case the OP was referring to (see OP's clarification)!

Quote from alexandermerwe:
... What about the other two cases when A wins and B loses and A loses and B wins?...

As the new system won't trade in these cases, they don't contribute to either the count of winning trades, or the count of losing trades. So, correct to omit them ...

Over and out (ooops! I wrote that above, as well ... well this time it's [probably] for real!)
 
Lets say there is a 500 loose quarters on the floor. It is known that quarters made in the year 1998 flip heads 60% of the time. It is also known that quarters made in the Philadelphia mint flip heads 60% of the time.

You find a coin made in Philadelphia in 1998. What is the probability that that coin flips heads? It would almost certainly be 60% in this case. If the number was greater than 60%, than there would be a correlation between the two.
 
" New number of all trades
= (A gives signal and wins) INTERSECTION (B gives signal and wins)
+(A gives signal and loses) INTERSECTION (B gives signal and loses)

= N x P(A gives signal) x P(A wins) x P(B gives signal) x P(B wins)
+ N x P(A gives signal) x P(A loses) x P(B gives signal) x P(B loses)

= N x P(A gives signal) x P(B gives signal) X ((0.6 x 0.6) + (0.4 x 0.4))
= 0.52 x N x P(A gives signal) x P(B gives signal) "


This seems over-complicated and I do not see the logic in multiplying the P(win)'s.

The new number of trades = N x P(A gives signal) x P(B gives signal)

I don't see how this is disputable.
 
For two trading methods with no correlation to each other, the probability of winning when both signals are agreed upon is 60% that's because the probability of multiple non-correlated systems is the highest probability of those systems. For 60% + 60%, you get 60%. For 100% + 50%, you get 100%. You can't increase the probability of a system by using multiple signals. If it was this easy, everyone would be rich. :)
 
Quote from jhiro:

No, you bozo's each have half of the story.. back a horse in at 60%, if it wins what is the chance of your very next bet being a winner if you back another 60% chance?

This means you would only get the two signals lining up together 36% of the time

So why would you trade a 60% system in for one that still only has a 60% strike rate but generates the signals almost half as often?


One should really be sure they understand something before they call somone else a bozo.

With all due respect, you are not understanding the problem presented in this thread.

Joe.
 
Back
Top