﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="xNJyQ~N:8Der[9OM[Nd[">_targetProfit(ex:25)</variable>
    <variable type="" id="~$_=$q[Hv3R5e`6:pP]G">_stopLoss(ex:200)</variable>
    <variable type="" id="-gld%LoAs|Qw;q.z%Nc`">_initialStake(ex:1)</variable>
    <variable type="" id="(m,y98E}BB9c:7kC,Qk|">_martingale(ex:1.06)</variable>
    <variable type="" id="I=H(8as0(OzhO3#t^@8N">_profit(contract_detail:profit)</variable>
    <variable type="" id="o|y}}4OZ+s_*q$@1xobS">exMachina::targetProfit</variable>
    <variable type="" id="Oa)NW9X6:%^}Q5M*FVy/">exMachina::stake</variable>
    <variable type="" id="~FHd6.v`QGwjBinRdN69">exMachina::totalProfit</variable>
    <variable type="" id="r:i7RnOdkFDV]s)sD-29">exMachina::stopLoss</variable>
    <variable type="" id="_).D4?@#UFR,_I6|SvUy">exMachina::initialStake</variable>
    <variable type="" id="P14E*?b!@PN,VQzB0],3">exMachina::martingale</variable>
    <variable type="" id="#87R2^k45I+)p?JAJD;=">exMachina::lowestProfit</variable>
  </variables>
  <block type="loader" id="l9;z(KA,X4wl}.C$%!6V" x="0" y="0">
    <field name="URL">https://gist.githubusercontent.com/binary-ex-machina/53c01f08106c45d586e24a7deabb5b81/raw/5f40d4e90a5b43867c01656c2015278f389f1ea2/exmachina-martingale.xml</field>
  </block>
  <block type="loader" id="B6w*s`}^$s{PD^i=~o;v" x="0" y="55">
    <field name="URL">https://gist.githubusercontent.com/binary-ex-machina/53c01f08106c45d586e24a7deabb5b81/raw/5f40d4e90a5b43867c01656c2015278f389f1ea2/exmachina-martingale.xml</field>
  </block>
  <block type="procedures_defnoreturn" id="r$7w_/W{Q`wwWLyNkpd#" collapsed="true" x="0" y="110">
    <mutation>
      <arg name="_targetProfit(ex:25)" varid="xNJyQ~N:8Der[9OM[Nd["></arg>
      <arg name="_stopLoss(ex:200)" varid="~$_=$q[Hv3R5e`6:pP]G"></arg>
      <arg name="_initialStake(ex:1)" varid="-gld%LoAs|Qw;q.z%Nc`"></arg>
      <arg name="_martingale(ex:1.06)" varid="(m,y98E}BB9c:7kC,Qk|"></arg>
    </mutation>
    <field name="NAME">exMachina::ConfigMartingale(1)</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="^6W]9R$.H0@B808`7qGS">
        <field name="VAR" id="o|y}}4OZ+s_*q$@1xobS" variabletype="">exMachina::targetProfit</field>
        <value name="VALUE">
          <block type="logic_ternary" id="]RpAneS$RBo6%2DC#?ss" inline="false">
            <value name="IF">
              <block type="logic_compare" id="Hc%[eFyehg.9+j;sxiuR">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="variables_get" id="x!lY!J$5mpT5Ntzy|z0o">
                    <field name="VAR" id="xNJyQ~N:8Der[9OM[Nd[" variabletype="">_targetProfit(ex:25)</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="BrmD9fIGPS2TM3}n5D|6">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="variables_get" id="e2+omms)z^;f*e[IKQ-j">
                <field name="VAR" id="xNJyQ~N:8Der[9OM[Nd[" variabletype="">_targetProfit(ex:25)</field>
              </block>
            </value>
            <value name="ELSE">
              <block type="math_number" id="%![`H!7xdwE.B$+s,L:X">
                <field name="NUM">25</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="aHj7gneDI#r4.mtMzhT#">
            <field name="VAR" id="r:i7RnOdkFDV]s)sD-29" variabletype="">exMachina::stopLoss</field>
            <value name="VALUE">
              <block type="logic_ternary" id="wV2v(cx*/FYQ3!=!gzNh" inline="false">
                <value name="IF">
                  <block type="logic_compare" id="7%fAtA$BN~R@b{KT5+w^">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="variables_get" id="WOC@@A4FmL^1Jr=oGMGF">
                        <field name="VAR" id="~$_=$q[Hv3R5e`6:pP]G" variabletype="">_stopLoss(ex:200)</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="(gv%$.$G}_s$~og2DNQn">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="THEN">
                  <block type="math_arithmetic" id="%ug5?admL]Xj~Rn545,q">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="BiqQE++KQP)bGHSsNFTt">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="%Rg)_fSe!OMN~~II608(">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="=VS0FopVbqHkbRZoM~0!">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="variables_get" id="$@I2ut$||@%|Knt:lmhU">
                            <field name="VAR" id="~$_=$q[Hv3R5e`6:pP]G" variabletype="">_stopLoss(ex:200)</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="_(/1QaUHeN$QBwDUk9U!">
                        <field name="NUM">-1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="math_number" id="6Ede9IY-7]fG?)`!e:%4">
                    <field name="NUM">-200</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="yT6R65EGXWfXH$@4%hK~">
                <field name="VAR" id="_).D4?@#UFR,_I6|SvUy" variabletype="">exMachina::initialStake</field>
                <value name="VALUE">
                  <block type="logic_ternary" id="2o0yNI-tO/{=J%yQFpd0" inline="false">
                    <value name="IF">
                      <block type="logic_compare" id="l{ci#JfwWskeU`+h}(W1">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="variables_get" id="0i_A8jBI;D2mpCQo}R1C">
                            <field name="VAR" id="-gld%LoAs|Qw;q.z%Nc`" variabletype="">_initialStake(ex:1)</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="nJ@Ru=LcbN==sOpX|mx5">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="variables_get" id="wgPDt/fJ!K-u:^O_(^_+">
                        <field name="VAR" id="-gld%LoAs|Qw;q.z%Nc`" variabletype="">_initialStake(ex:1)</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="math_number" id="RO#=X5D`3(xlBasg7Z$d">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="g9e;aEr?ATR=^i%n][LN">
                    <field name="VAR" id="P14E*?b!@PN,VQzB0],3" variabletype="">exMachina::martingale</field>
                    <value name="VALUE">
                      <block type="logic_ternary" id="nWH~teezN,j*TAdelJ.*" inline="false">
                        <value name="IF">
                          <block type="logic_compare" id="k3N/wfVa5mceI_s%0Lp3">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="variables_get" id="HP_7AEt+CKD~6]Xj#^r-">
                                <field name="VAR" id="(m,y98E}BB9c:7kC,Qk|" variabletype="">_martingale(ex:1.06)</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="gAWsN=%0H/Eq/;1]TzBu">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="THEN">
                          <block type="variables_get" id="+3KN{L-k.cPd/q!V|X@0">
                            <field name="VAR" id="(m,y98E}BB9c:7kC,Qk|" variabletype="">_martingale(ex:1.06)</field>
                          </block>
                        </value>
                        <value name="ELSE">
                          <block type="math_number" id="=h+C.|:tPTCoKa7B[*[)">
                            <field name="NUM">1.06</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="=2LnU(cCJ$Drn1V7(J$%">
                        <field name="VAR" id="Oa)NW9X6:%^}Q5M*FVy/" variabletype="">exMachina::stake</field>
                        <value name="VALUE">
                          <block type="variables_get" id="Nub:Kufc=Uq=Px3?c#Bs">
                            <field name="VAR" id="_).D4?@#UFR,_I6|SvUy" variabletype="">exMachina::initialStake</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="K=FMp|t=`$hx1!pg#?{Z">
                            <field name="VAR" id="#87R2^k45I+)p?JAJD;=" variabletype="">exMachina::lowestProfit</field>
                            <value name="VALUE">
                              <block type="math_number" id="y]u^(;[D1;P8?c(IZc3L">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="sp]fIv$Y^djM^R~5@,5P">
                                <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
                                <value name="VALUE">
                                  <block type="math_number" id="^G~ZZ/68OM13;7KV5diZ">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="notify" id="`NXnp6xZ/?|bsmqoj4y[">
                                    <field name="NOTIFICATION_TYPE">success</field>
                                    <field name="NOTIFICATION_SOUND">silent</field>
                                    <value name="MESSAGE">
                                      <shadow type="text" id="**:d)?fzcF~UIA4r9ahy">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="Ry~t{t_)71tO=4#bpGch">
                                        <mutation items="6"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="1f%u3d^heE(u3bqA6b`s">
                                            <field name="TEXT">Target Profit: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="[xaa|UAJRh1Cs+Zrzm-e">
                                            <field name="VAR" id="o|y}}4OZ+s_*q$@1xobS" variabletype="">exMachina::targetProfit</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="text" id="^_@uVyzb7MP{b1Ofp;:f">
                                            <field name="TEXT"> | Stop Loss: </field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="variables_get" id="O!JQkSqN7qMz#tD?:VT1">
                                            <field name="VAR" id="r:i7RnOdkFDV]s)sD-29" variabletype="">exMachina::stopLoss</field>
                                          </block>
                                        </value>
                                        <value name="ADD4">
                                          <block type="text" id="tJ`4dFSG9e[]4eMH.Dg*">
                                            <field name="TEXT"> | Initial Stake: </field>
                                          </block>
                                        </value>
                                        <value name="ADD5">
                                          <block type="variables_get" id="[xzdf#?4RB:xrW63QpWA">
                                            <field name="VAR" id="_).D4?@#UFR,_I6|SvUy" variabletype="">exMachina::initialStake</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="vv#f*S,YrKYJ#Gk7I?}a" collapsed="true" x="0" y="163">
    <field name="NAME">exMachina::Stake</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="5aema1;$fe#U:g,m]n#S">
        <field name="VAR" id="Oa)NW9X6:%^}Q5M*FVy/" variabletype="">exMachina::stake</field>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="Er_!6W/3Kj%cSIj[eo2P" collapsed="true" x="0" y="216">
    <mutation>
      <arg name="_profit(contract_detail:profit)" varid="I=H(8as0(OzhO3#t^@8N"></arg>
    </mutation>
    <field name="NAME">exMachina::Martingale(4)</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="YU%rJ0*8yr!,nf^jLYae">
        <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
        <value name="DELTA">
          <shadow type="math_number" id="o-,tJX2N+^a{XA)_B-Hd">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="8,qMmt3w4=fDGgN4(uT}">
            <field name="VAR" id="I=H(8as0(OzhO3#t^@8N" variabletype="">_profit(contract_detail:profit)</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id="fG1l1G#VHBw34-dWqRtq">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="VI=yr]ihEk{Ayze@fX/u">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="variables_get" id="`u-jnc~*Dny7uuCd0eg)">
                    <field name="VAR" id="I=H(8as0(OzhO3#t^@8N" variabletype="">_profit(contract_detail:profit)</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="EA~p}r}?W[i(`c;Ff1#T">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="math_change" id="wDh(cnHG%yftOt`1AGD|">
                <field name="VAR" id="Oa)NW9X6:%^}Q5M*FVy/" variabletype="">exMachina::stake</field>
                <value name="DELTA">
                  <shadow type="math_number" id="~v=hwzbZhsuC:af9Yho+">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="FK/9t:P%[@|jVr]=RD?$" inline="false">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="FfN)rFy{/Mk8.pNh|L(z">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="BwmgGZRS4T:M7fT%M/.z">
                        <field name="VAR" id="Oa)NW9X6:%^}Q5M*FVy/" variabletype="">exMachina::stake</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="FqW1m)~Ise/|7I(uQF_G">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="uUTc;F/t{1xa#q?LFFi#">
                        <field name="VAR" id="P14E*?b!@PN,VQzB0],3" variabletype="">exMachina::martingale</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="Fv!BDjY?9j|z`]b|T7)j">
                <field name="VAR" id="Oa)NW9X6:%^}Q5M*FVy/" variabletype="">exMachina::stake</field>
                <value name="VALUE">
                  <block type="variables_get" id="mMh:HM7wy{Zq``5{`69M">
                    <field name="VAR" id="_).D4?@#UFR,_I6|SvUy" variabletype="">exMachina::initialStake</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="(26XS%rIIp:,[YAx|wLZ">
                <value name="IF0">
                  <block type="logic_compare" id="H!CUoXp~e5NfFE55~ZG?" inline="false">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="@#utkq-K=Reg]I:|{pJE">
                        <field name="VAR" id="#87R2^k45I+)p?JAJD;=" variabletype="">exMachina::lowestProfit</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="5+X6FBR-]9q@P%N(t{m!">
                        <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="gP;j(``}hE%l_@Z_Y]CW">
                    <field name="VAR" id="#87R2^k45I+)p?JAJD;=" variabletype="">exMachina::lowestProfit</field>
                    <value name="VALUE">
                      <block type="variables_get" id="vJgCsPmgws[7}?;d);5B">
                        <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="notify" id="@9V6eNXJMPqu_p3/TV+|">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="1CPN3I!wX2/]+.LBbEIF">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="7HmR%X,TJ(n{2|RfVR=l">
                        <mutation items="4"></mutation>
                        <value name="ADD0">
                          <block type="text" id="543hf/`z!5M|I06:]~3D">
                            <field name="TEXT">Total Profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="~7YKdVwLDU+ZFo?SKk^@">
                            <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="%iq8o=!Qi?s]q;ga-=/M">
                            <field name="TEXT"> | Lowest Profit: </field>
                          </block>
                        </value>
                        <value name="ADD3">
                          <block type="variables_get" id="9fSBo8|{?j]pB~P?ilh?">
                            <field name="VAR" id="#87R2^k45I+)p?JAJD;=" variabletype="">exMachina::lowestProfit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="%c]q};;s~u-2b)7=w1W!" collapsed="true" x="0" y="269">
    <field name="NAME">exMachina::TradeAgain</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id=":DP]JnHEf=k8rFj^(2K/">
        <value name="IF0">
          <block type="logic_operation" id="1_DO.lmRbB(zP|.UJi=k" inline="false">
            <field name="OP">OR</field>
            <value name="A">
              <block type="logic_compare" id="^CYp.vbx)GFHSx}6v(j4" inline="false">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="variables_get" id="#j*Vtvp,2s/Q^-6+AWGw">
                    <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="Xusd.6C8jK%@PF6SE/J*">
                    <field name="VAR" id="o|y}}4OZ+s_*q$@1xobS" variabletype="">exMachina::targetProfit</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="fPxQPF_Y*w%L{R~U472F" inline="false">
                <field name="OP">LTE</field>
                <value name="A">
                  <block type="variables_get" id="Li(|oTB},cgRv~C9y^hx">
                    <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="+-=v6c4W7-EPb!Nv]c?#">
                    <field name="VAR" id="r:i7RnOdkFDV]s)sD-29" variabletype="">exMachina::stopLoss</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="text_print" id="9WrrzRkR{z*f?ARHN9)$">
            <value name="TEXT">
              <shadow type="text" id="^`+|:^P$|PL1g8~W8a@m">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="7k^4cYH,]g)A36EpE6Dw">
                <mutation items="4"></mutation>
                <value name="ADD0">
                  <block type="text" id="Cy,z1hy2O~^]?vbL0MI6">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="d,Ji$QPdpb$!{=Mlb0co">
                    <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id="Yh#/aODjBt,2n_5,OTN#">
                    <field name="TEXT"> | Lowest Profit: </field>
                  </block>
                </value>
                <value name="ADD3">
                  <block type="variables_get" id="0xB}rI)|eUplp.axS/]9">
                    <field name="VAR" id="#87R2^k45I+)p?JAJD;=" variabletype="">exMachina::lowestProfit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_operation" id="0GFgmx7MYl`KOBZj86$D" inline="false">
        <field name="OP">AND</field>
        <value name="A">
          <block type="logic_compare" id="H+Rjx*u^=Fh`}M_1%Ebc" inline="false">
            <field name="OP">LT</field>
            <value name="A">
              <block type="variables_get" id="1(7cZT|2ZE%ORxVI:Gr(">
                <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="ep2rr)v^ZRu+XfS?!AY]">
                <field name="VAR" id="o|y}}4OZ+s_*q$@1xobS" variabletype="">exMachina::targetProfit</field>
              </block>
            </value>
          </block>
        </value>
        <value name="B">
          <block type="logic_compare" id="fp,jtF#a:|br8r~D/,A(" inline="false">
            <field name="OP">GT</field>
            <value name="A">
              <block type="variables_get" id="^f+-/V0dcw([aYc[FF%g">
                <field name="VAR" id="~FHd6.v`QGwjBinRdN69" variabletype="">exMachina::totalProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="tY%v(UnADJl$HeV6;D[6">
                <field name="VAR" id="r:i7RnOdkFDV]s)sD-29" variabletype="">exMachina::stopLoss</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="322">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">higherlower</field>
    <field name="TYPE_LIST">CALL</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="procedures_callnoreturn" id="HgCe^aFCq;qCQC0p/9Gc">
        <mutation name="exMachina::ConfigMartingale(1)">
          <arg name="_targetProfit(ex:25)"></arg>
          <arg name="_stopLoss(ex:200)"></arg>
          <arg name="_initialStake(ex:1)"></arg>
          <arg name="_martingale(ex:1.06)"></arg>
        </mutation>
        <value name="ARG0">
          <block type="math_number" id="lSTHgiVLgn}aZ0k}NI;3">
            <field name="NUM">25</field>
          </block>
        </value>
        <value name="ARG1">
          <block type="math_number" id="R~vFN;!PvAex+j7p*6u=">
            <field name="NUM">200</field>
          </block>
        </value>
        <value name="ARG2">
          <block type="math_number" id="A(uBk@sw}VYVMGkwxHno">
            <field name="NUM">1</field>
          </block>
        </value>
        <value name="ARG3">
          <block type="math_number" id="Fh(VQbuTLUV)z:kF[j9O">
            <field name="NUM">1.06</field>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="HX42~`Q$Zy|^Of6t{!!,">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <value name="DURATION">
          <shadow type="math_number" id="h7.f;jJU(=Wk5hNMW$Qm">
            <field name="NUM">5</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="`AztU72={:8BRUYL75L_">
            <field name="NUM">0.35</field>
          </shadow>
          <block type="procedures_callreturn" id="qS@NpE!LUI4UNtGz37fz">
            <mutation name="exMachina::Stake"></mutation>
          </block>
        </value>
        <value name="BARRIEROFFSET">
          <block type="math_number" id="]*5b0XkSH7y?,7@nP^r*">
            <field name="NUM">5.5</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="874">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="QKy:u-ys-yI+]Yo5g|6.">
        <value name="IF0">
          <block type="logic_compare" id="?pPi#6a5fd~-}VJLVa$J">
            <field name="OP">GT</field>
            <value name="A">
              <block type="ema" id="LA_:e]EcE#KAr1_1`}SH">
                <value name="INPUT">
                  <block type="ticks" id="xiH)K,Nmfo*LbUNjux~)"></block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="ZeF{ck6G9zCE=OwEoS|j">
                    <field name="NUM">13</field>
                  </shadow>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="ema" id="9mDJl+s@=zyv2$~.]IR8">
                <value name="INPUT">
                  <block type="ticks" id="8s%IN_K]CwW8Dv+q(DC%"></block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="%3q0MOYBv(gAMxy?WW?3">
                    <field name="NUM">34</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="0" y="1090">
    <statement name="AFTERPURCHASE_STACK">
      <block type="procedures_callnoreturn" id="j}e`PL,umz+Dw(^9P9+b">
        <mutation name="exMachina::Martingale(4)">
          <arg name="_profit(contract_detail:profit)"></arg>
        </mutation>
        <value name="ARG0">
          <block type="read_details" id="2tnN6D,B.(`1yM{mc@n%">
            <field name="DETAIL_INDEX">4</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id="bL.2FF.%TgtUtAi%Kv@#">
            <value name="IF0">
              <block type="procedures_callreturn" id="m{P@iOeJkLL}B.yPE(|8">
                <mutation name="exMachina::TradeAgain"></mutation>
              </block>
            </value>
            <statement name="DO0">
              <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>