Forex



Go Back   Forex Trading > Non Related Discussions
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-21-2007, 03:22 AM
fxadvisory's Avatar
Member
 
Join Date: Mar 2007
Posts: 44
fxadvisory is on a distinguished road
Looks like a Simple Math Problem..

I am wondering if anyone might help me with this small math model I am trying to crack. It would help my FX money management program if I can solve this. It deals with an inversion of percents.

The typical percent problem..

Three kids do $1000 damage to a vehicle. Each says they acted independently and damaged in varying amounts. The court decides to charge them proportional to the damage.

Kid One 10% damage = $100 fine
Kid Two 30% damage = $300 fine
Kid Three 60% damage = $600 fine

ok.

BUT

Lets assume we now have an inverted situation. Lets assume that there is a new Youth Incentive Program which will offer a full $1000 stipend to the three kids related to the vehicle incident. The rules state that the child who did the least damage will receive the largest portion of the grant money and the child who was most destructive will receive the least , according to the above percentages.

How much does each child get? Formula required.

Thanks a million...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 10-21-2007, 09:02 AM
ralph.ronnquist's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 297
ralph.ronnquist is on a distinguished road
One approach would be to allot a proportion P[k] of grant money to each kid
such that the relative allotments are proportional to the relative damages.
That is, with D[k] being the damage by kid k, you'd get an system of
constraints for kids k and j by equations D[k]*P[k] = D[j]*P[j].

Plus that sum(P[i])=1.

I.e., in your example, kid 1 should receive 0.6/0.1=6 times more than kid
3, etc.

The general expression would be: P[k] = 1 / sum( i=1..N : D[k] /D[i] )

It results in the following allotments for your example:
P[1] = 1 / ( 0.1/0.1 + 0.1/0.3 + 0.1/0.6 ) = 67%
P[2] = 1 / ( 0.3/0.1 + 0.3/0.3 + 0.3/0.6 ) = 22%
P[3] = 1 / ( 0.6/0.1 + 0.6/0.3 + 0.6/0.6 ) = 11%

Unfortunately the approach falls to pieces if ever any one kid fails to
do some damage. (As if that could happen )

Another approach is to bring in a concept of "non-damage", such that when
100% damage is done, the N kids did (N-1) non-damage, in the proportions
(1-D[k]). By that approach, the allotment expression would be
P[k] = (1-D[k]))/(N-1)

For your example, the allotments would then be 45%, 35% and 20%.

The second approach deals well with kids not doing damage, but might
be seen as unfair in not preserving the relative damage proportion between
the kids.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Murrey Math EA ForexStyle Expert Advisors - Metatrader 4 22 05-11-2009 02:39 PM
A better Murray Math? DanielTyrkiel Indicators - Metatrader 4 20 11-11-2007 07:31 AM
I'm looking for math indicator 11_ Setup Questions 4 07-20-2007 02:51 AM
Need help with simple EA problem - newbie mikep Metatrader 4 mql 4 - Development course 7 12-15-2006 10:29 PM
Help!! simple color change indicator problem.. drgoodvibe Questions 3 07-16-2006 06:42 AM


All times are GMT. The time now is 03:29 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.