

 <mf-xml>
	<block ID="96209826251749764" Active="1" Name="Backing on Over 0.5 goals, insurance in Over 1.5 goals" Repeat="0.0" RepeatTimes="0" Protected="0" Enabled="1">
		<Triggers>
			<trigger>
				<BlockID>96209826251749764</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<ID>96213275408112436</ID>
				<SelectionType>6</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>1</MarketStatus>
				<Name>back Under 1.5</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>0</Action>
					<Persistence>1</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price>back_price</Price>
					<Amount>bet_15_size*IF(test_mode=1, test_funds, total_funds)/100</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>
					<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="81" CondIndex="48" Value2="" Value1="1.5" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="1"/>
							<condition AndOr="1" Body="1" Param="37" CondIndex="0" Value2="" Value1="1" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="2"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="0" Value2="" Value1="0" TriggerID="0" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="3"/>
							<condition AndOr="1" Body="1" Param="0" CondIndex="5" Value2="" Value1="min_15_price" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="4"/>
							<condition AndOr="1" Body="6" Param="84" CondIndex="3" Value2="" Value1="0" TriggerID="96209826251749765" SecondParam="" Overall="0" RereadFile="0" Order="5"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>96209826251749764</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<ID>96213275408112437</ID>
				<SelectionType>6</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>1</MarketStatus>
				<Name>green up Under 1.5</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>11</Action>
					<Persistence>1</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price/>
					<Amount>-1</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>
					<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>
				<ActionSet>
					<Action>13</Action>
					<Persistence>1</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price/>
					<Amount>-1</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>
					<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>
							<tblck AndOr="1" Order="2">
								<blcks>
									<tblck AndOr="0" Order="1">
										<blcks/>
										<conds>
											<condition AndOr="1" Body="1" Param="61" CondIndex="0" Value2="" Value1="1" TriggerID="0" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="1"/>
											<condition AndOr="1" Body="8" Param="83" CondIndex="3" Value2="" Value1="4" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="2"/>
										</conds>
									</tblck>
									<tblck AndOr="0" Order="2">
										<blcks/>
										<conds>
											<condition AndOr="1" Body="1" Param="61" CondIndex="5" Value2="" Value1="greenup_15_minute" TriggerID="0" SecondParam="match_minute" Overall="0" RereadFile="0" Order="1"/>
											<condition AndOr="1" Body="1" Param="61" CondIndex="0" Value2="" Value1="0" TriggerID="0" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="2"/>
											<condition AndOr="1" Body="1" Param="1" CondIndex="6" Value2="r_ticks(bm_backp, -1)" Value1="1.01" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="3"/>
										</conds>
									</tblck>
								</blcks>
								<conds/>
							</tblck>
						</blcks>
						<conds>
							<condition AndOr="1" Body="6" Param="71" CondIndex="3" Value2="" Value1="0" TriggerID="96213275408112436" SecondParam="" Overall="0" RereadFile="0" Order="1"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>96209826251749764</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<ID>96211090645755872</ID>
				<SelectionType>4</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>0</MarketStatus>
				<Name>deleting markets without score</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>0</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>
					<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>
							<tblck AndOr="0" Order="1">
								<blcks/>
								<conds>
									<condition AndOr="1" Body="1" Param="61" CondIndex="2" Value2="" Value1="0" TriggerID="0" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="1"/>
									<condition AndOr="1" Body="8" Param="63" CondIndex="4" Value2="" Value1="-30" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="2"/>
									<condition AndOr="1" Body="8" Param="53" CondIndex="36" Value2="" Value1="" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="3"/>
								</conds>
							</tblck>
							<tblck AndOr="0" Order="2">
								<blcks/>
								<conds>
									<condition AndOr="1" Body="1" Param="61" CondIndex="5" Value2="" Value1="15" TriggerID="0" SecondParam="match_minute" Overall="0" RereadFile="0" Order="1"/>
									<condition AndOr="1" Body="19" Param="6" CondIndex="0" Value2="" Value1="0" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="2"/>
									<condition AndOr="1" Body="8" Param="53" CondIndex="35" Value2="" Value1="" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="3"/>
								</conds>
							</tblck>
						</blcks>
						<conds/>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>96209826251749764</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<ID>96209826251749765</ID>
				<SelectionType>6</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>1</MarketStatus>
				<Name>back 1</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>0</Action>
					<Persistence>1</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price>back_price</Price>
					<Amount>bet_size*IF(test_mode=1, test_funds, total_funds)/100</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>
					<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="61" CondIndex="0" Value2="" Value1="0" TriggerID="0" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="1"/>
							<condition AndOr="1" Body="8" Param="81" CondIndex="48" Value2="" Value1="0.5" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="2"/>
							<condition AndOr="1" Body="1" Param="37" CondIndex="0" Value2="" Value1="2" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="3"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="5" Value2="" Value1="bet1_minute" TriggerID="0" SecondParam="match_minute" Overall="0" RereadFile="0" Order="4"/>
							<condition AndOr="1" Body="1" Param="0" CondIndex="6" Value2="max_05_price" Value1="1.01" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="5"/>
							<condition AndOr="1" Body="8" Param="49" CondIndex="5" Value2="" Value1="min_vlm" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="6"/>
							<condition AndOr="1" Body="1" Param="6" CondIndex="0" Value2="" Value1="0" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="7"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>96209826251749764</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<ID>96211090645755877</ID>
				<SelectionType>6</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>1</MarketStatus>
				<Name>back 2</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>0</Action>
					<Persistence>1</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price>back_price</Price>
					<Amount>back_matched*bet2_size/100</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>
					<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="6" Param="71" CondIndex="3" Value2="" Value1="0" TriggerID="96209826251749765" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="1"/>
							<condition AndOr="1" Body="1" Param="6" CondIndex="3" Value2="" Value1="0" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="2"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="6" Value2="bet2_minute+1" Value1="bet2_minute" TriggerID="0" SecondParam="match_minute" Overall="0" RereadFile="0" Order="3"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="0" Value2="" Value1="0" TriggerID="0" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="4"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>96209826251749764</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<ID>96212261835673567</ID>
				<SelectionType>6</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>1</MarketStatus>
				<Name>back 3</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>0</Action>
					<Persistence>1</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price>back_price</Price>
					<Amount>back_matched*bet3_size/100</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>
					<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="6" Param="71" CondIndex="3" Value2="" Value1="0" TriggerID="96211090645755877" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="1"/>
							<condition AndOr="1" Body="1" Param="6" CondIndex="3" Value2="" Value1="0" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="2"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="6" Value2="bet3_minute+1" Value1="bet3_minute" TriggerID="0" SecondParam="match_minute" Overall="0" RereadFile="0" Order="3"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="0" Value2="" Value1="0" TriggerID="0" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="4"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>96209826251749764</BlockID>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<ID>96209826251749767</ID>
				<SelectionType>4</SelectionType>
				<HandicapID>0</HandicapID>
				<MarketStatus>1</MarketStatus>
				<Name>close the bet</Name>
				<RepeatTimes>0</RepeatTimes>
				<Repeat>0.0</Repeat>
				<Enabled>1</Enabled>
				<Logged>1</Logged>
				<ActionSet>
					<Action>13</Action>
					<Persistence>1</Persistence>
					<Expires/>
					<AmountChange>0</AmountChange>
					<SettleType>2</SettleType>
					<Price/>
					<Amount>1</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>
					<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="6" Param="71" CondIndex="3" Value2="" Value1="0" TriggerID="96212261835673567" SecondParam="" Overall="0" RereadFile="0" Order="1"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="0" Value2="" Value1="0" TriggerID="0" SecondParam="market_score1 + market_score2" Overall="0" RereadFile="0" Order="2"/>
							<condition AndOr="1" Body="8" Param="83" CondIndex="3" Value2="" Value1="0.5" TriggerID="0" SecondParam="" Overall="0" RereadFile="0" Order="3"/>
							<condition AndOr="1" Body="1" Param="61" CondIndex="5" Value2="" Value1="close_minute" TriggerID="96209826251749771" SecondParam="match_minute" Overall="0" RereadFile="0" Order="4"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
		</Triggers>
	</block>
	<constants>
		<const name="bet_size" value="2" descr="Size of the first bet, % of the bank" saveValue="0"/>
		<const name="bet2_size" value="20" descr="Size of the second bet, % of the first bet" saveValue="0"/>
		<const name="bet3_size" value="7" descr="Size of the third bet, % of the first + second bet" saveValue="0"/>
		<const name="bet1_minute" value="5" descr="When to place the first bet (minute of the match)" saveValue="0"/>
		<const name="bet2_minute" value="20" descr="When to place the second bet (minute of the match)" saveValue="0"/>
		<const name="bet3_minute" value="40" descr="When to place the third bet (minute of the match)" saveValue="0"/>
		<const name="close_minute" value="80" descr="When to distribute the loss (minute of the match)" saveValue="0"/>
		<const name="bet_15_size" value="2" descr="The size of the back bet on Under 1.5 goals, % of the bank" saveValue="0"/>
		<const name="bet_15_minute" value="5" descr="When to place the bet on Under 1.5 goals, minute of the match" saveValue="0"/>
		<const name="greenup_15_minute" value="20" descr="When to green up the bet on Under 1.5 goals, minute of the match" saveValue="0"/>
		<const name="min_15_price" value="1.5" descr="Minimum price of Under 1.5 goals " saveValue="0"/>
		<const name="max_05_price" value="1.12" descr="Maximum price for the first bet" saveValue="0"/>
		<const name="min_vlm" value="500" descr="Minimum market volume" saveValue="0"/>
	</constants>
	<annotation/>
</mf-xml>