

 <mf-xml>
	<block ID="12548311460" Active="1" Name="Laying on drifters in handicap races" Repeat="0.00" RepeatTimes="0" Protected="0" Enabled="1" Expanded="1">
		<Triggers>
			<trigger>
				<BlockID>12548311460</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<ID>96757309744614098</ID>
				<SelectionType>4</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>7</MarketStatus>
				<Name>delete unneeded markets</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>45</Action>
					<Persistence>0</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price/>
					<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>
					<GreenupLastPrice>0</GreenupLastPrice>
					<CancelFirst>0</CancelFirst>
					<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="8" Param="47" CondIndex="25" Value2="" Value1="&quot;market_pattern1&quot;" TriggerID="0" BetTriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="1"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>12548311460</BlockID>
				<Active>2</Active>
				<CondMet>0</CondMet>
				<Market>1</Market>
				<ID>96757309744614089</ID>
				<SelectionType>4</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>1</MarketStatus>
				<Name>laying on drifters</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.00</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>1</Action>
					<Persistence>0</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price>lay_price</Price>
					<Amount>bet_size</Amount>
					<AdjustAmounts>0</AdjustAmounts>
					<WinLoseOption>0</WinLoseOption>
					<RemVariable>1</RemVariable>
					<GreenupType>0</GreenupType>
					<RemBets>0</RemBets>
					<UserVariable>0</UserVariable>
					<UseOptions>0</UseOptions>
					<TrailingSL>0</TrailingSL>
					<GreenupLastPrice>1</GreenupLastPrice>
					<CancelFirst>0</CancelFirst>
					<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="0" Order="0">
						<blcks/>
						<conds>
							<condition AndOr="1" Body="1" Param="23" CondIndex="3" Value2="" Value1="0" TriggerID="0" BetTriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="1"/>
							<condition AndOr="1" Body="8" Param="64" CondIndex="3" Value2="" Value1="mins_since_off" TriggerID="0" BetTriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="2"/>
							<condition AndOr="1" Body="8" Param="47" CondIndex="24" Value2="" Value1="&quot;market_pattern1&quot;" TriggerID="0" BetTriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="3"/>
							<condition AndOr="1" Body="1" Param="1" CondIndex="6" Value2="max_price" Value1="actual_sp*(1 + increase/100)" TriggerID="0" BetTriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="4"/>
							<condition AndOr="1" Body="1" Param="28" CondIndex="6" Value2="max_rank" Value1="min_rank" TriggerID="0" BetTriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="5"/>
							<condition AndOr="1" Body="1" Param="0" CondIndex="5" Value2="" Value1="r_ticks(lay_price, -max_gap)" TriggerID="0" BetTriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="6"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
		</Triggers>
	</block>
	<constants>
		<const name="bet_size" value="10" descr="Amount to lay" saveValue="0"/>
		<const name="mins_since_off" value="0.5" descr="When to place the bets, minutes since the off" saveValue="0"/>
		<const name="market_pattern1" value="Hcap" descr="Market name pattern 1 (you can add more)" saveValue="0"/>
		<const name="increase" value="100" descr="How much should the price increase compared to actual SP, %" saveValue="0"/>
		<const name="max_price" value="100" descr="Maximum price to lay at" saveValue="0"/>
		<const name="max_gap" value="10" descr="Maximum gap between the back and lay price, ticks" saveValue="0"/>
		<const name="min_rank" value="2" descr="Minimum rank of selection to lay on" saveValue="0"/>
		<const name="max_rank" value="10" descr="Maximum rank of selection to lay on" saveValue="0"/>
	</constants>
	<annotation/>
</mf-xml>