

 <mf-xml>
	<block ID="95134023707845326" Active="1" Name="Backing in the place market when half of the field in the win market is priced at a certain value" Repeat="0.0" RepeatTimes="0" Protected="0" Enabled="1">
		<Triggers>
			<trigger>
				<BlockID>95134023707845326</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>3</Market>
				<ID>95134039285896340</ID>
				<SelectionType>1</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>7</MarketStatus>
				<Name>remember the number of runners needed for the check</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>32</Action>
					<Persistence>0</Persistence>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price>rprc</Price>
					<Amount>INTEGER(runner_number*runners_perc/100)+1</Amount>
					<AdjustAmounts>0</AdjustAmounts>
					<WinLoseOption>0</WinLoseOption>
					<RemVariable>1</RemVariable>
					<GreenupType>1</GreenupType>
					<RemBets>0</RemBets>
					<UserVariable>1</UserVariable>
					<UseOptions>0</UseOptions>
					<TrailingSL>0</TrailingSL>
					<CancelOptions>
						<OptNoBet>0</OptNoBet>
						<OptPersistence>0</OptPersistence>
						<OptPersistenceValue>0</OptPersistenceValue>
						<OptAmount1>0.01</OptAmount1>
						<OptAmount2>10000000</OptAmount2>
						<OptPrice1>1.01</OptPrice1>
						<OptPrice2>1000</OptPrice2>
					</CancelOptions>
					<TriggerID>0</TriggerID>
				</ActionSet>
				<conditions>
					<tblck AndOr="1" Order="0">
						<blcks/>
						<conds/>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>95134023707845326</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>3</Market>
				<ID>95134023707845328</ID>
				<SelectionType>4</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>1</MarketStatus>
				<Name>back in place market</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>0</Action>
					<Persistence>0</Persistence>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price>back_price</Price>
					<Amount>default_backa</Amount>
					<AdjustAmounts>0</AdjustAmounts>
					<WinLoseOption>0</WinLoseOption>
					<RemVariable>1</RemVariable>
					<GreenupType>1</GreenupType>
					<RemBets>0</RemBets>
					<UserVariable>0</UserVariable>
					<UseOptions>0</UseOptions>
					<TrailingSL>0</TrailingSL>
					<CancelOptions>
						<OptNoBet>0</OptNoBet>
						<OptPersistence>0</OptPersistence>
						<OptPersistenceValue>0</OptPersistenceValue>
						<OptAmount1>0.01</OptAmount1>
						<OptAmount2>10000000</OptAmount2>
						<OptPrice1>1.01</OptPrice1>
						<OptPrice2>1000</OptPrice2>
					</CancelOptions>
					<TriggerID>0</TriggerID>
				</ActionSet>
				<conditions>
					<tblck AndOr="1" Order="0">
						<blcks/>
						<conds>
							<condition AndOr="1" Body="1" Param="0" CondIndex="5" Value2="" Value1="min_place_price" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="1"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="0" Value2="" Value1="sel_id" TriggerID="0" SecondParam="winplace_r_1_sel_id" Overall="0" RereadFile="0" Order="2"/>
							<condition AndOr="1" Body="24" Param="69" CondIndex="20" Value2="" Value1="" TriggerID="0" SecondParam="rprc" Overall="0" RereadFile="0" Order="3"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="3" Value2="" Value1="min_win_price" TriggerID="0" SecondParam="winplace_r_rprc_back_price" Overall="0" RereadFile="0" Order="4"/>
							<condition AndOr="1" Body="8" Param="64" CondIndex="5" Value2="" Value1="0.2" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="5"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
		</Triggers>
	</block>
	<constants>
		<const name="min_place_price" value="1.25" descr="Minimum price of the place market bet" saveValue="0"/>
		<const name="runners_perc" value="50" descr="Percentage of runners meeting the price criteria" saveValue="0"/>
		<const name="min_win_price" value="20" descr="Minimum price of the 50% runners in the win market" saveValue="0"/>
	</constants>
	<annotation/>
</mf-xml>