Hi jcl. I've worked up the numbers below and have a couple of questions:

1) Are the basic idea and calculations correct?
2) When Capital is removed and Margin/Risk reset, does the Withdrawn amount stay the same, or it is pro-rated to the new Capital? In the example below, when $1,500 of the Capital is removed, should the To Date w/d's remain $2,250, or should To Date w/d's become pro-rated to the new Capital as (3500/5000)*2250=$1,575?

Thanks.

Code:
Xact	CR	Net	Account	To Date	StrategyMust			
Date	In/(Out)CR	Balance	w/d's	Balance	Remain	Avail	WithdrawNotes
									
	$5,000	$5,000	M/R 50/10					Initial funding w/ appropriate M/R settings
		$5,000	$7,000	$0	$7,000	$5,916	$1,084	$1,000	Up enough to withdraw <Square Root
		$5,000	$5,000	$1,000	$6,000	$5,477	$0		Down – can't withdraw
		$5,000	$7,000	$1,000	$8,000	$6,325	$675	$250	Up enough to withdraw <Square Root
		$5,000	$8,000	$1,250	$9,250	$6,801	$1,199	$1,000	Up enough to withdraw <Square Root
	-$1,500	$3,500	M/R 30/10					Remove some Capital – reset M/R
		$3,500	$5,000	$2,250	$7,250	$5,037	$0		Down – can't withdraw
		$3,500	$6,000	$2,250	$8,250	$5,374	$626		Up enough to withdraw <Square Root