﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="ezv6g1X*%We8UfGK2~cD">_targetProfit(ex:25)</variable>
    <variable type="" id=";7JAKIO-L}_te^tlQ(9_">_stopLoss(ex:200)</variable>
    <variable type="" id="4#a53V2tg6FX#nrAWm!{">_initialStake(ex:1)</variable>
    <variable type="" id="pDAl+x]qB4Z3NHfsg3rp">_martingale(ex:1.06)</variable>
    <variable type="" id="BT=FJeu+}cR3s?8cR~iK">_profit(contract_detail:profit)</variable>
    <variable type="" id="EyN:rT8f?-%w%qS_.S!z">_src</variable>
    <variable type="" id="xv{-w}dY(~40.@p]);Bd">DonS::targetProfit</variable>
    <variable type="" id="~72xzHZSP:Zm_e%YBe%P">DonS::stake</variable>
    <variable type="" id="HaLlZ!(Qa;v69NX~/CCI">DonS::totalProfit</variable>
    <variable type="" id="jJO$E1@E,`8lpK.4CXN@">macd</variable>
    <variable type="" id="zG?-C3YjtJ#=(NQK0d$c">stake</variable>
    <variable type="" id=",o_x-Nc]6K8,kn)U%9kb">DonS::stopLoss</variable>
    <variable type="" id="~W)/_]AGJQ!ac}+@:LRD">bol</variable>
    <variable type="" id="..nbfjx?kt`MW+%O8#LH">DonS::initialStake</variable>
    <variable type="" id="j]ktjl;:jZ/vN%}f?sg$">macd2</variable>
    <variable type="" id="fT._d!n;q#4eNnFU/r9J">DonS::martingale</variable>
    <variable type="" id="tiNM5$%v1VOfnrG|,]C5">DonS::lowestProfit</variable>
    <variable type="" id="sQL*{ij%0hSzxuMj:yn$">bol2</variable>
  </variables>
  <block type="loader" id="vpY?Pf?[UmzFyu=0{Y+)" x="0" y="0">
    <field name="URL">https://gist.githubusercontent.com/donsajo/7cd08674d7a1cd6e2584d18336494cb9/raw/5592b13514a998110f47e45701fb4b829507e1eb/Dons%2520Martingale.xml</field>
  </block>
  <block type="procedures_defnoreturn" id="r$7w_/W{Q`wwWLyNkpd#" collapsed="true" x="0" y="55">
    <mutation>
      <arg name="_targetProfit(ex:25)" varid="ezv6g1X*%We8UfGK2~cD"></arg>
      <arg name="_stopLoss(ex:200)" varid=";7JAKIO-L}_te^tlQ(9_"></arg>
      <arg name="_initialStake(ex:1)" varid="4#a53V2tg6FX#nrAWm!{"></arg>
      <arg name="_martingale(ex:1.06)" varid="pDAl+x]qB4Z3NHfsg3rp"></arg>
    </mutation>
    <field name="NAME">DonS::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="xv{-w}dY(~40.@p]);Bd" variabletype="">DonS::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="ezv6g1X*%We8UfGK2~cD" 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="ezv6g1X*%We8UfGK2~cD" 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=",o_x-Nc]6K8,kn)U%9kb" variabletype="">DonS::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=";7JAKIO-L}_te^tlQ(9_" 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=";7JAKIO-L}_te^tlQ(9_" 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="..nbfjx?kt`MW+%O8#LH" variabletype="">DonS::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="4#a53V2tg6FX#nrAWm!{" 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="4#a53V2tg6FX#nrAWm!{" 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="fT._d!n;q#4eNnFU/r9J" variabletype="">DonS::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="pDAl+x]qB4Z3NHfsg3rp" 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="pDAl+x]qB4Z3NHfsg3rp" 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="~72xzHZSP:Zm_e%YBe%P" variabletype="">DonS::stake</field>
                        <value name="VALUE">
                          <block type="variables_get" id="Nub:Kufc=Uq=Px3?c#Bs">
                            <field name="VAR" id="..nbfjx?kt`MW+%O8#LH" variabletype="">DonS::initialStake</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="K=FMp|t=`$hx1!pg#?{Z">
                            <field name="VAR" id="tiNM5$%v1VOfnrG|,]C5" variabletype="">DonS::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="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::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="xv{-w}dY(~40.@p]);Bd" variabletype="">DonS::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=",o_x-Nc]6K8,kn)U%9kb" variabletype="">DonS::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="..nbfjx?kt`MW+%O8#LH" variabletype="">DonS::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="108">
    <field name="NAME">DonS::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="~72xzHZSP:Zm_e%YBe%P" variabletype="">DonS::stake</field>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="Er_!6W/3Kj%cSIj[eo2P" collapsed="true" x="0" y="161">
    <mutation>
      <arg name="_profit(contract_detail:profit)" varid="BT=FJeu+}cR3s?8cR~iK"></arg>
    </mutation>
    <field name="NAME">DonS::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="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::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="BT=FJeu+}cR3s?8cR~iK" 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="BT=FJeu+}cR3s?8cR~iK" 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="~72xzHZSP:Zm_e%YBe%P" variabletype="">DonS::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="~72xzHZSP:Zm_e%YBe%P" variabletype="">DonS::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="fT._d!n;q#4eNnFU/r9J" variabletype="">DonS::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="~72xzHZSP:Zm_e%YBe%P" variabletype="">DonS::stake</field>
                <value name="VALUE">
                  <block type="variables_get" id="mMh:HM7wy{Zq``5{`69M">
                    <field name="VAR" id="..nbfjx?kt`MW+%O8#LH" variabletype="">DonS::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="tiNM5$%v1VOfnrG|,]C5" variabletype="">DonS::lowestProfit</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="5+X6FBR-]9q@P%N(t{m!">
                        <field name="VAR" id="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::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="tiNM5$%v1VOfnrG|,]C5" variabletype="">DonS::lowestProfit</field>
                    <value name="VALUE">
                      <block type="variables_get" id="vJgCsPmgws[7}?;d);5B">
                        <field name="VAR" id="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::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="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::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="tiNM5$%v1VOfnrG|,]C5" variabletype="">DonS::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="214">
    <field name="NAME">DonS::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="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::totalProfit</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="Xusd.6C8jK%@PF6SE/J*">
                    <field name="VAR" id="xv{-w}dY(~40.@p]);Bd" variabletype="">DonS::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="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::totalProfit</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="+-=v6c4W7-EPb!Nv]c?#">
                    <field name="VAR" id=",o_x-Nc]6K8,kn)U%9kb" variabletype="">DonS::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="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::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="tiNM5$%v1VOfnrG|,]C5" variabletype="">DonS::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="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::totalProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="ep2rr)v^ZRu+XfS?!AY]">
                <field name="VAR" id="xv{-w}dY(~40.@p]);Bd" variabletype="">DonS::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="HaLlZ!(Qa;v69NX~/CCI" variabletype="">DonS::totalProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="tY%v(UnADJl$HeV6;D[6">
                <field name="VAR" id=",o_x-Nc]6K8,kn)U%9kb" variabletype="">DonS::stopLoss</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="98241qBXkVkjXI[0QaW}" collapsed="true" x="0" y="267">
    <mutation>
      <arg name="_src" varid="EyN:rT8f?-%w%qS_.S!z"></arg>
    </mutation>
    <field name="NAME">ToFall</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="L*5J#s?pL#NL9oSoIZA4">
        <field name="VAR" id="jJO$E1@E,`8lpK.4CXN@" variabletype="">macd</field>
        <value name="VALUE">
          <block type="macda" id="^8@iU~Nd`!kpb8!#?Sja">
            <field name="MACDFIELDS_LIST">0</field>
            <value name="INPUT">
              <block type="variables_get" id="q^PxNA)e0dG-gS(9X!w@">
                <field name="VAR" id="EyN:rT8f?-%w%qS_.S!z" variabletype="">_src</field>
              </block>
            </value>
            <value name="FAST_EMA_PERIOD">
              <shadow type="math_number" id="Tfi=Fw4}bT4pRF*@utu!">
                <field name="NUM">6</field>
              </shadow>
            </value>
            <value name="SLOW_EMA_PERIOD">
              <shadow type="math_number" id="4Ee88w)q~Q^(S8{H+|T5">
                <field name="NUM">12</field>
              </shadow>
            </value>
            <value name="SMA_PERIOD">
              <shadow type="math_number" id="xu=+Ux;8eR2f$gESS.TS">
                <field name="NUM">9</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="tYa8Wos1=#iQx|ho=X7@">
            <field name="VAR" id="~W)/_]AGJQ!ac}+@:LRD" variabletype="">bol</field>
            <value name="VALUE">
              <block type="bb" id="Nr$H*1U}7}vROJ,l4J4[">
                <field name="BBRESULT_LIST">1</field>
                <value name="INPUT">
                  <block type="variables_get" id="]*tln$e{VWvdt*1t;z#r">
                    <field name="VAR" id="jJO$E1@E,`8lpK.4CXN@" variabletype="">macd</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="b,xr~T2?*6bIiW]}c*0w">
                    <field name="NUM">10</field>
                  </shadow>
                </value>
                <value name="UPMULTIPLIER">
                  <shadow type="math_number" id="g7Qc`h[!.%|Z?[ggdAR.">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
                <value name="DOWNMULTIPLIER">
                  <shadow type="math_number" id="6QNL0JRuZwAdySG4VSL8">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="4_23CgvvNi-[-H/R7gW+">
                <field name="VAR" id="j]ktjl;:jZ/vN%}f?sg$" variabletype="">macd2</field>
                <value name="VALUE">
                  <block type="macda" id="`].=H:}mTkvt$PQ21qn+">
                    <field name="MACDFIELDS_LIST">0</field>
                    <value name="INPUT">
                      <block type="lists_getSublist" id="4O#eDl.D)S4V/Fb3g;%o">
                        <mutation at1="false" at2="true"></mutation>
                        <field name="WHERE1">FIRST</field>
                        <field name="WHERE2">FROM_END</field>
                        <value name="LIST">
                          <block type="variables_get" id="H_fQ1D5(}+~7DtMmnP}@">
                            <field name="VAR" id="EyN:rT8f?-%w%qS_.S!z" variabletype="">_src</field>
                          </block>
                        </value>
                        <value name="AT2">
                          <block type="math_number" id="tU~kQ=O$[{)T*O8^*afY">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="FAST_EMA_PERIOD">
                      <shadow type="math_number" id="N]+/A+u$4%WiS4,#_Amp">
                        <field name="NUM">6</field>
                      </shadow>
                    </value>
                    <value name="SLOW_EMA_PERIOD">
                      <shadow type="math_number" id="Uidk.L8$filK{r`;OJ:~">
                        <field name="NUM">12</field>
                      </shadow>
                    </value>
                    <value name="SMA_PERIOD">
                      <shadow type="math_number" id="DjF*4r3U(7Zu}4iQ{$#z">
                        <field name="NUM">9</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="/6dB$}}fAlx06p@qMZO+">
                    <field name="VAR" id="sQL*{ij%0hSzxuMj:yn$" variabletype="">bol2</field>
                    <value name="VALUE">
                      <block type="bb" id="Ot3G!}2m!b1K5(lB^WNY">
                        <field name="BBRESULT_LIST">1</field>
                        <value name="INPUT">
                          <block type="variables_get" id="gU)j(77*8IqoX*y8N]*5">
                            <field name="VAR" id="j]ktjl;:jZ/vN%}f?sg$" variabletype="">macd2</field>
                          </block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id="v.@1m?4Kdw,dxYDB5$Jy">
                            <field name="NUM">10</field>
                          </shadow>
                        </value>
                        <value name="UPMULTIPLIER">
                          <shadow type="math_number" id="D^78EQa:#9gbVTFFsZ?N">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <value name="DOWNMULTIPLIER">
                          <shadow type="math_number" id="=VbUZ,=3K?W2$KvhKld4">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_operation" id="k`0k,2t;4rV;H*_5epjf" inline="false">
        <field name="OP">AND</field>
        <value name="A">
          <block type="logic_operation" id="MDh6l`/dFw8RpK|ew`1]" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="zuT@AR)/axsJjXj)p7;/" inline="false">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="logic_compare" id="3#XUHVx#;J!LzfQjjoxQ">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="lists_getIndex" id="3${/MgT,davyM4{6ptx}">
                        <mutation statement="false" at="false"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">LAST</field>
                        <value name="VALUE">
                          <block type="variables_get" id="[8#Fn!K{_IXdTStR@UpK">
                            <field name="VAR" id="jJO$E1@E,`8lpK.4CXN@" variabletype="">macd</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="f!Pu`@*jgm8D(o7}1_3L">
                        <field name="VAR" id="~W)/_]AGJQ!ac}+@:LRD" variabletype="">bol</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="ff]_cj!Xb|`vWL`YipR*">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="VhaA|q%!(d=a#K`L:b~i">
                <field name="OP">LTE</field>
                <value name="A">
                  <block type="lists_getIndex" id="zQvysk)TS|`9wH7%`$RN">
                    <mutation statement="false" at="false"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">LAST</field>
                    <value name="VALUE">
                      <block type="variables_get" id="bH(wap=m2!^gTXXVM-Js">
                        <field name="VAR" id="j]ktjl;:jZ/vN%}f?sg$" variabletype="">macd2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="KoLV*N8#Y_tWhgAq`P=7">
                    <field name="VAR" id="sQL*{ij%0hSzxuMj:yn$" variabletype="">bol2</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <value name="B">
          <block type="logic_compare" id="Ps3Y0`{1a-2rFmPVSRh}" inline="false">
            <field name="OP">GT</field>
            <value name="A">
              <block type="ema" id="I5kBmsWF)2ZSpN*e2EB/">
                <value name="INPUT">
                  <block type="variables_get" id="T?F@fx*rF#7Y^A-fr7c?">
                    <field name="VAR" id="EyN:rT8f?-%w%qS_.S!z" variabletype="">_src</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="S_IR7+$3hLDGMP9Xv]h^">
                    <field name="NUM">6</field>
                  </shadow>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="lists_getIndex" id="Y9N@dQ/ZVka5/s+q]wQo">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="KWY:Zm65Q=5~Jo]8$.TD">
                    <field name="VAR" id="EyN:rT8f?-%w%qS_.S!z" variabletype="">_src</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="=@kkB;7(vDmf8B4ff:/X" collapsed="true" x="0" y="320">
    <mutation>
      <arg name="_src" varid="EyN:rT8f?-%w%qS_.S!z"></arg>
    </mutation>
    <field name="NAME">ToRise</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="]bl-00sU=$OJB?V(##,}">
        <field name="VAR" id="jJO$E1@E,`8lpK.4CXN@" variabletype="">macd</field>
        <value name="VALUE">
          <block type="macda" id="N3~ruh}tboKg[6lO~3!-">
            <field name="MACDFIELDS_LIST">0</field>
            <value name="INPUT">
              <block type="variables_get" id="+m+Xx)h9F):K`}R!*2lA">
                <field name="VAR" id="EyN:rT8f?-%w%qS_.S!z" variabletype="">_src</field>
              </block>
            </value>
            <value name="FAST_EMA_PERIOD">
              <shadow type="math_number" id=")u#tvaXPERvLt8vQ1[sw">
                <field name="NUM">6</field>
              </shadow>
            </value>
            <value name="SLOW_EMA_PERIOD">
              <shadow type="math_number" id="`7XBW7(`hnBU,WM.z~.j">
                <field name="NUM">12</field>
              </shadow>
            </value>
            <value name="SMA_PERIOD">
              <shadow type="math_number" id="ag#.og#/N5|dS`xk.#r!">
                <field name="NUM">9</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="jtQe}**7kS#G9l=eeXB;">
            <field name="VAR" id="~W)/_]AGJQ!ac}+@:LRD" variabletype="">bol</field>
            <value name="VALUE">
              <block type="bb" id="gZ36`-gAa.B.UU:).l}4">
                <field name="BBRESULT_LIST">1</field>
                <value name="INPUT">
                  <block type="variables_get" id="U!^vp[,jdy:kT9ls__8%">
                    <field name="VAR" id="jJO$E1@E,`8lpK.4CXN@" variabletype="">macd</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="nyqB{P{bY/UASd]iO=1r">
                    <field name="NUM">10</field>
                  </shadow>
                </value>
                <value name="UPMULTIPLIER">
                  <shadow type="math_number" id="-b:8eR9w}ZpYq2%4}44Q">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
                <value name="DOWNMULTIPLIER">
                  <shadow type="math_number" id="69_X%^DjOiMg}tUE}dex">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="_c#+99_ejZq0)D5?[GM4">
                <field name="VAR" id="j]ktjl;:jZ/vN%}f?sg$" variabletype="">macd2</field>
                <value name="VALUE">
                  <block type="macda" id="PJWC!YO3CCc[j(OBT1!1">
                    <field name="MACDFIELDS_LIST">0</field>
                    <value name="INPUT">
                      <block type="lists_getSublist" id="2b[B6:K|grvowXvd[xWc">
                        <mutation at1="false" at2="true"></mutation>
                        <field name="WHERE1">FIRST</field>
                        <field name="WHERE2">FROM_END</field>
                        <value name="LIST">
                          <block type="variables_get" id="Z3()GBpWXKHC^RN6CuaB">
                            <field name="VAR" id="EyN:rT8f?-%w%qS_.S!z" variabletype="">_src</field>
                          </block>
                        </value>
                        <value name="AT2">
                          <block type="math_number" id="Lw`4[7I95pj3yk,$ev`U">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="FAST_EMA_PERIOD">
                      <shadow type="math_number" id="X23xD+4ED-huN(AlM0;^">
                        <field name="NUM">6</field>
                      </shadow>
                    </value>
                    <value name="SLOW_EMA_PERIOD">
                      <shadow type="math_number" id="KoOaIiF3ML|C@alF!NOm">
                        <field name="NUM">12</field>
                      </shadow>
                    </value>
                    <value name="SMA_PERIOD">
                      <shadow type="math_number" id="8_F$YcmX`JxXC2(H%c}N">
                        <field name="NUM">9</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="cLPCl}nPEc@A*o1x*:!c">
                    <field name="VAR" id="sQL*{ij%0hSzxuMj:yn$" variabletype="">bol2</field>
                    <value name="VALUE">
                      <block type="bb" id="4+yutyUN-FoGQy}spgAG">
                        <field name="BBRESULT_LIST">1</field>
                        <value name="INPUT">
                          <block type="variables_get" id="nP1A4[(hc_]zt2Ez$.sH">
                            <field name="VAR" id="j]ktjl;:jZ/vN%}f?sg$" variabletype="">macd2</field>
                          </block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id="!;HO_thaU0=iiEhN(f]4">
                            <field name="NUM">10</field>
                          </shadow>
                        </value>
                        <value name="UPMULTIPLIER">
                          <shadow type="math_number" id="bst;g}uW_Nd})f3K}qt9">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <value name="DOWNMULTIPLIER">
                          <shadow type="math_number" id=",`0|($5_apfsQv8UG;IT">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_operation" id="%K,.J`}doj$B=ISeH*:`" inline="false">
        <field name="OP">AND</field>
        <value name="A">
          <block type="logic_operation" id="9N-Hm.@sWfii^ZV?QZ}W" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="D#|v.6QADXpx{h9|Yhh9" inline="false">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="logic_compare" id="xIhbyi*^xx]2@)b)Y3q|">
                    <field name="OP">GTE</field>
                    <value name="A">
                      <block type="lists_getIndex" id="QXeXhz:=U76}}?Srs+@~">
                        <mutation statement="false" at="false"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">LAST</field>
                        <value name="VALUE">
                          <block type="variables_get" id="7[3{ys.UFhk!a}iJWmk~">
                            <field name="VAR" id="j]ktjl;:jZ/vN%}f?sg$" variabletype="">macd2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="JkGF4[w(QV(Ji`e)DAA^">
                        <field name="VAR" id="sQL*{ij%0hSzxuMj:yn$" variabletype="">bol2</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="0_:2W8EdF~+wb%j3vX%R">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="VRO^m}#}mkX)-1KMxYyZ">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="lists_getIndex" id="1QqW/pK8#L:r:kDK^N|?">
                    <mutation statement="false" at="false"></mutation>
                    <field name="MODE">GET</field>
                    <field name="WHERE">LAST</field>
                    <value name="VALUE">
                      <block type="variables_get" id="@AaI$^dSlmB^?nv53k.^">
                        <field name="VAR" id="jJO$E1@E,`8lpK.4CXN@" variabletype="">macd</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="p0gBF-Oy@ECLmAn4?j}e">
                    <field name="VAR" id="~W)/_]AGJQ!ac}+@:LRD" variabletype="">bol</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <value name="B">
          <block type="logic_compare" id="na}OMC}H!T;YJI_6|.x;" inline="false">
            <field name="OP">LT</field>
            <value name="A">
              <block type="ema" id="`hMof3Wbe_ZF*[%w!ToF">
                <value name="INPUT">
                  <block type="variables_get" id="Ocd6L}Hmx}847dcjuZ=g">
                    <field name="VAR" id="EyN:rT8f?-%w%qS_.S!z" variabletype="">_src</field>
                  </block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="jh`w_2.j4T)X*FClC-ti">
                    <field name="NUM">6</field>
                  </shadow>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="lists_getIndex" id="%I6!zv%3@OEh,3dNZbOX">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="6_xA}g}Z:vd@5aD8-xV9">
                    <field name="VAR" id="EyN:rT8f?-%w%qS_.S!z" variabletype="">_src</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="373">
    <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">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="cuyO/t1EUD|MHuwtpNlz">
        <field name="VAR" id="zG?-C3YjtJ#=(NQK0d$c" variabletype="">stake</field>
        <value name="VALUE">
          <block type="math_number" id="`./~nOj|!|SNOl2mBVBm">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <next>
          <block type="procedures_callnoreturn" id="RBh.bc+Qlpk:k46=F,ic">
            <mutation name="DonS::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="}YN?)W|/{,%}4Jwwux,m">
                <field name="NUM">5</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="math_number" id="a;L1?VV:|;@+Q_}-8u]_">
                <field name="NUM">5</field>
              </block>
            </value>
            <value name="ARG2">
              <block type="math_number" id="t*Mw6g]eHMLvTC$;NL{C">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <value name="ARG3">
              <block type="math_number" id="1m/[RmOY(@R$E,f,=[-P">
                <field name="NUM">1.1</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">20</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
          <block type="procedures_callreturn" id="a6)ry#r8s7NI22-yksn}">
            <mutation name="DonS::Stake"></mutation>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="927">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="%%YhNm-Ldas6/4[Quwr~">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="procedures_callreturn" id="*t-0e[LzN#cGwmZsX;/B">
            <mutation name="ToRise">
              <arg name="_src"></arg>
            </mutation>
            <value name="ARG0">
              <block type="ticks" id="HrKK$AL7IH%rQxwa$c(["></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="M_j86!.b_/xU1Q-B8Nvf">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <value name="IF1">
          <block type="procedures_callreturn" id="NDh3^a`{GMR7yV{dPzE3">
            <mutation name="ToFall">
              <arg name="_src"></arg>
            </mutation>
            <value name="ARG0">
              <block type="ticks" id="mPKNWdH=(HjNQT@Di!2{"></block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="purchase" id="-!I:=/}~yb9XMWb*Z^V$">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="1193">
    <statement name="AFTERPURCHASE_STACK">
      <block type="variables_set" id="V6J,tJNU7dpOK`U].:?S">
        <field name="VAR" id="zG?-C3YjtJ#=(NQK0d$c" variabletype="">stake</field>
        <value name="VALUE">
          <block type="logic_ternary" id="n4x%w@=/St:v]izaLVZK">
            <value name="IF">
              <block type="contract_check_result" id="IO{~4]yWPB*@J;$6^Ms,">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
            <value name="THEN">
              <block type="math_number" id="+gb$oNS3wlaxY$=y^_.e">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <value name="ELSE">
              <block type="math_arithmetic" id="=Le9R{x^4Lo+OE*B]98}">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="u-N*Kl.UD#@tacq$Q9K`">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="Wz63.VrMX8Hf)$65C62(">
                    <field name="VAR" id="zG?-C3YjtJ#=(NQK0d$c" variabletype="">stake</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="^dW{lC1ba%%X]=_Z5myc">
                    <field name="NUM">1.1</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="procedures_callnoreturn" id="LWVnV+*BI%r)vrtF$$Vr">
            <mutation name="DonS::Martingale(4)">
              <arg name="_profit(contract_detail:profit)"></arg>
            </mutation>
            <value name="ARG0">
              <block type="read_details" id="il)[x9xkh_;bXGwnb{U0">
                <field name="DETAIL_INDEX">4</field>
              </block>
            </value>
            <next>
              <block type="controls_if" id="@ygRi4KmIssxxHV@q7.#">
                <value name="IF0">
                  <block type="procedures_callreturn" id="Qe0LXAwDUD5S66`pUB=w">
                    <mutation name="DonS::TradeAgain"></mutation>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="crGp[K^V~Di(T[480]pP"></block>
                </statement>
                <next>
                  <block type="trade_again" id="dKG,(VN{8Z6f`*j3`^.?"></block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>