

 <?mf-xml version="1.0"?>
	<block ID="12375534160" Active="1" Name="D'alembert Staking Plan" Repeat="0.00" RepeatTimes="0" Protected="0">
		<Triggers>
			<trigger>
				<BlockID>12375534160</BlockID>
				<Action>32</Action>
				<Active>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<Selection>0</Selection>
				<HandicapID>0</HandicapID>
				<Persistence>-1</Persistence>
				<Price>max_steps</Price>
				<Amount>10</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>setting the maximum steps</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>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<Selection>1</Selection>
				<HandicapID>0</HandicapID>
				<Persistence>-1</Persistence>
				<Price>the_loss</Price>
				<Amount>last_lost</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>Set loss</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>
							<condition AndOr="0" Body="7" Param="-1" Condo="1" Value1="0" Value2="" TriggerName="" Time="0.0000" Formula="last_lost" Overall="0"/>
						</conds>
					</tblck>
				</conditions>
			</trigger>
			<trigger>
				<BlockID>12375534160</BlockID>
				<Action>32</Action>
				<Active>5</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<Selection>1</Selection>
				<HandicapID>0</HandicapID>
				<Persistence>-1</Persistence>
				<Price>counter</Price>
				<Amount>1</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>Set counter</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>1</Selection>
				<HandicapID>0</HandicapID>
				<Persistence>-1</Persistence>
				<Price>starting_lay</Price>
				<Amount>default_laya</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>remembering the initial stake size</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>1</Active>
				<CondMet>0</CondMet>
				<Market>0</Market>
				<Selection>1</Selection>
				<HandicapID>0</HandicapID>
				<Persistence>-1</Persistence>
				<Price>counter</Price>
				<Amount>IF(AND(last_pl&lt;0, counter&lt;max_steps), counter+1, IF(counter &gt; 1, counter-1, 1))</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>Re-set the counter</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>starting_lay*counter/(1-commission)</Amount>
				<MarketStatus>0</MarketStatus>
				<Name>laying a selection</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>
 