

 <?mf-xml version="1.0"?>
	<block ID="12375534160" Active="1" Name="Laying to a fixed liability" Repeat="0.00" RepeatTimes="0" Protected="0">
		<Triggers>
			<trigger>
				<BlockID>12375534160</BlockID>
				<Action>32</Action>
				<Active>5</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<Selection>0</Selection>
				<HandicapID>0</HandicapID>
				<Persistence>-1</Persistence>
				<Price>percentage</Price>
				<Amount>10</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>setting the percentage</Name>
				<RepeatTimes>0</RepeatTimes>
				<TriggerName/>
				<AdjustAmounts>0</AdjustAmounts>
				<WinLose>1</WinLose>
				<UseOptions>0</UseOptions>
				<OptNoBet>0</OptNoBet>
				<OptPersistence>0</OptPersistence>
				<OptPersistenceValue>0</OptPersistenceValue>
				<OptAmount1>0.01</OptAmount1>
				<OptAmount2>10000000</OptAmount2>
				<OptPrice1>1.01</OptPrice1>
				<OptPrice2>1000</OptPrice2>
				<Repeat>0.00</Repeat>
				<conditions>
					<tblck AndOr="0">
						<blcks/>
						<conds/>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>12375534160</BlockID>
				<Action>32</Action>
				<Active>5</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<Selection>0</Selection>
				<HandicapID>0</HandicapID>
				<Persistence>-1</Persistence>
				<Price>max_liab</Price>
				<Amount>100</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>setting maximum liability</Name>
				<RepeatTimes>0</RepeatTimes>
				<TriggerName/>
				<AdjustAmounts>0</AdjustAmounts>
				<WinLose>1</WinLose>
				<UseOptions>0</UseOptions>
				<OptNoBet>0</OptNoBet>
				<OptPersistence>0</OptPersistence>
				<OptPersistenceValue>0</OptPersistenceValue>
				<OptAmount1>0.01</OptAmount1>
				<OptAmount2>10000000</OptAmount2>
				<OptPrice1>1.01</OptPrice1>
				<OptPrice2>1000</OptPrice2>
				<Repeat>0.00</Repeat>
				<conditions>
					<tblck AndOr="0">
						<blcks/>
						<conds/>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>12375534160</BlockID>
				<Action>1</Action>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<Selection>1</Selection>
				<HandicapID>0</HandicapID>
				<Persistence>0</Persistence>
				<Price>lay_price</Price>
				<Amount>IF(OR(losses=0, -last_pl &gt; max_liab), default_laya, -last_pl*(1 + percentage/100))/(lay_price-1)</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>laying on the favourite</Name>
				<RepeatTimes>0</RepeatTimes>
				<TriggerName/>
				<AdjustAmounts>0</AdjustAmounts>
				<WinLose>0</WinLose>
				<UseOptions>0</UseOptions>
				<OptNoBet>0</OptNoBet>
				<OptPersistence>0</OptPersistence>
				<OptPersistenceValue>0</OptPersistenceValue>
				<OptAmount1>0.01</OptAmount1>
				<OptAmount2>10000000</OptAmount2>
				<OptPrice1>1.01</OptPrice1>
				<OptPrice2>1000</OptPrice2>
				<Repeat>0.00</Repeat>
				<conditions>
					<tblck AndOr="0">
						<blcks/>
						<conds/>
					</tblck>
				</conditions>
			</trigger>
		</Triggers>
	</block>
 