NexusFi: Find Your Edge


Home Menu

 





Coin Toss Experiment (Strategy)


Discussion in Psychology and Money Management

Updated
      Top Posters
    1. looks_one treydog999 with 21 posts (22 thanks)
    2. looks_two Fat Tails with 11 posts (45 thanks)
    3. looks_3 deaddog with 8 posts (0 thanks)
    4. looks_4 bryanzim with 7 posts (10 thanks)
      Best Posters
    1. looks_one Fat Tails with 4.1 thanks per post
    2. looks_two DavidHP with 2.5 thanks per post
    3. looks_3 trendisyourfriend with 2.4 thanks per post
    4. looks_4 treydog999 with 1 thanks per post
    1. trending_up 33,604 views
    2. thumb_up 127 thanks given
    3. group 27 followers
    1. forum 98 posts
    2. attach_file 8 attachments




 
Search this Thread

Coin Toss Experiment (Strategy)

  #31 (permalink)
The Hare
Valletta Malta
 
Posts: 4 since May 2012
Thanks Given: 3
Thanks Received: 2

As a part of the edge exploited by most random entry systems is derived from kurtosis, adding stops and targets in the initial model doesnt really give you anything useful to build on as the theoretical expectancy will always be zero minus transaction costs.

Without exploiting the fat tails there's nowhere to go really

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #32 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603


The Hare View Post
Without exploiting the fat tails there's nowhere to go really

We are really, really good at exploiting @Fat Tails around here! Don't you worry!



Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #33 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



The Hare View Post
As a part of the edge exploited by most random entry systems is derived from kurtosis, adding stops and targets in the initial model doesnt really give you anything useful to build on as the theoretical expectancy will always be zero minus transaction costs.

Without exploiting the fat tails there's nowhere to go really


Fat Tails would be the result of positive auto-correlation of price. You could also exploit negative auto-correlation of logarithmic returns. What cannot be exploited, is no auto-correlation at all, which means random behaviour.



Big Mike View Post
We are really, really good at exploiting @Fat Tails around here! Don't you worry!



Mike


Not feeling exploited. Threads like this one are a fun thing. Can be used for sharpening one's mind...

Reply With Quote
Thanked by:
  #34 (permalink)
hunt4alpha
Montreal Canada
 
Posts: 11 since Jun 2012
Thanks Given: 0
Thanks Received: 0


DavidHP View Post
I found an error in the code where it was not placing stops the total number of orders placed.

Please use this version and discard the first one.

Thanks,

Is there any way that I can please see the code so I can tweak it for what I need it for? I have tried writing this on my own, but I cant get the random function to recalculate would really like to see how you did it. Thanks.

Reply With Quote
  #35 (permalink)
hunt4alpha
Montreal Canada
 
Posts: 11 since Jun 2012
Thanks Given: 0
Thanks Received: 0


hunt4alpha View Post
Is there any way that I can please see the code so I can tweak it for what I need it for? I have tried writing this on my own, but I cant get the random function to recalculate would really like to see how you did it. Thanks.

Never mind, I got it. Figured out that It is open for edit in ninjatrader.....thanks for the post.

Reply With Quote
  #36 (permalink)
 
treydog999's Avatar
 treydog999 
seoul, Korea
 
Experience: Intermediate
Platform: Multicharts
Broker: CQG, DTN IQfeed
Trading: YM 6E
Posts: 897 since Jul 2012
Thanks Given: 291
Thanks Received: 1,039

I created a random entry system using 2 set contracts on the 6E back adjusted contract from 2001 to present day. Again because market orders are used there is possibly a slight bias, but if you compare each system to the others that bias should be relative as opposed to comparing to an absolute benchmark. It does not follow the wait 30 second rule, it goes 1 takes a trade on the next candle which are 5 minutes. But I don't think that makes a difference as my samples have very large numbers. Everything uses 2 contracts, no slippage or commissions are added.


1:1 Target / Stop 15 ticks for each 2 lots
[IMG]http://my.jetscreenshot.com/12147/m_20130417-pmt7-79kb.jpg[/IMG]

1:1 15 ticks scale out and 2:1 30 tick target/ 15 tick stop 2 lots

[IMG]http://my.jetscreenshot.com/12147/m_20130417-6ne7-79kb.jpg[/IMG]

2:1 30 tick target and 15 tick stop. 2 lots
[IMG]http://my.jetscreenshot.com/12147/m_20130417-35zl-82kb.jpg[/IMG]

We can see that the 1:1 and 2:1 win rates converge very closely to the mathematical expectations of 50% and 33%. using the formula 2/sqrt(N) to estimate the error at the 95% level the smallest sample size here 42435 has an error of ~9.7%.

I have no idea why the 2:1 expectancy is so low compared to the rest, i thought it would be closer to 0. But the scale out definitely shows that you are infact cutting your winners short over the long term. Also since you may take a winner at the 1:1 level and the 2nd contract may lose your time in trade is about equal for winners and losers. Basically coin tosses will never have an edge, but you can minimize your negative expectancy based on targeting/stop placement. Which would state that a 1:1 all in all out is the best methodology.

Reply With Quote
  #37 (permalink)
 
COTtrader's Avatar
 COTtrader 
JACKSON, MICHIGAN
Legendary Market Wizard
 
Experience: Intermediate
Platform: TS and Trading View
Broker: TS
Trading: ES Awesome!
Posts: 955 since Jul 2009
Thanks Given: 406
Thanks Received: 648

Random theory is interesting wherein financial markets are not random. If they were truly random, then our coin toss trading method should have positive expectancy.

Interestingly, options trading can create a higher probability win ratio where one can make money on options' trading in a market that can move 4 ways out of 5.

Futures trading, on the other hand, can make you money in a market that can ONLY move 1 way out of 2.

I recall years ago an FX trader so exasperated with his losing trades, that he purposely chose to trade opposite his daily trading plan. He began to make money! It continued on for some weeks. My guess was that he was "dis-lex'ic" and looked at his monitor 'upside down.'

Ken "COTtrader"

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #38 (permalink)
 
bryanzim's Avatar
 bryanzim 
Catlett, VA USA
 
Experience: Intermediate
Platform: Interactive Brokers, AmiBroker, Multicharts.NET
Trading: Futures
Posts: 11 since Dec 2011
Thanks Given: 2
Thanks Received: 10

After watching the FT71 webinar's I have taken a great interest in this. I've been a futures trader for >10 years but have always suffered from letting winners turn into losers and holder losers too long so that my losses outstrip my gains.

I have decided to test this myself. I've been programming C/C++ for >20 years but since Multicharts.NET is based on C# I've decided to learn that. I will post results once I have them. But I want to make some observations.

These observations do not take slippage or commissions into account.

For the all-in/all-out case with an equal risk reward the expectancy is zero since a move of the same amount in opposite directions is equal probable, i.e. 0.5*(-x)+0.5*x=0. Thus it seems without a positive edge in entry the all-in/all-out is not a winning strategy.

For the scale out case things get more interesting. Let's look at level 1 Risk/Reward of 1:1 and level 2 Risk/Reward of 2:1 and 2 contracts. There is a 50% probability of stop out for 0.5*(-2x) loss. There is a 50% chance of hitting the 1st target. The next assumption normally presumed is that the 2nd level is 66% vs 33% for total retracement once the 1st level has been reached, i.e. 2 times more probable to move x ticks to 2nd level vs retracing 2x ticks to stop. So expectancy is 0.5*(-2x)+0.5*(2/3)*3x+0.5*(1/3)*(-1+1)=0. I'm not sure I believe that this is true, i.e once the market has moved in a certain direction it may have a more favorable tendency to do so. Any "momentum advantage" will lend positive expectancy to the scale out which the all-in/all-out can never achieve.

I'm highly curious of the results.

Reply With Quote
Thanked by:
  #39 (permalink)
 
bryanzim's Avatar
 bryanzim 
Catlett, VA USA
 
Experience: Intermediate
Platform: Interactive Brokers, AmiBroker, Multicharts.NET
Trading: Futures
Posts: 11 since Dec 2011
Thanks Given: 2
Thanks Received: 10

After implementing a random entry with a scale exit system in Multicharts.NET using the E-Mini(ES) open outcry system and exiting any open orders at the end of the day, the results confirm what has been expressed in this thread before. Basically with a risk/reward ratio of 1:1 for target 1 and 1:2 for target 2 and exiting 50% at target 1 and 50% at target 2 and no movement of the stop if target 1 reached, the result is that the expectancy is approximately 0 using 3 months of tick data.

Some runs have a small positive result and some runs have a small negative result depending on the initial seeding of the the random number generator but the average is very close to 0.

I haven't tried different Risk/reward ratio's yet but without an edge straight scale out at the above targets is a losing system when commissions and slippage are taken into account.

Reply With Quote
Thanked by:
  #40 (permalink)
 
marcopolo1's Avatar
 marcopolo1 
columbus OH/USA
 
Experience: Advanced
Platform: TOS
Broker: TOS
Trading: ES TF NQ, CL NG
Posts: 187 since Mar 2013
Thanks Given: 256
Thanks Received: 248


I think the point of the coin toss exercise (let's say 1 contract - N ticks gain target, N ticks stop loss - random long/short) is that (neglecting slippage and fee) the expectancy is 0. An expectancy of 0 means that one can't use this method to generate income but also that one can't lose either (assuming an account large enough to avoid let's say 5 consecutive losses that will empty the account.)

So, this show to beginner traders that it doesn't matter which strategy is used if looser are not cut...

Imagine, a trader trading for few months and loosing let's say $500 every week. Switching to the coin loss exercise will show that he will do much better (P/L essentially fluctuating around $0 - fee/slippage) just by using stop loss and profit target of the coin exercise -)

Reply With Quote




Last Updated on April 17, 2015


© 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