﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="F=!9-0]O$U?08M-?MboK">_targetProfit(ex:25)</variable>
    <variable type="" id="XY9Gl!7n=PgjUgM/Dk|F">_stopLoss(ex:200)</variable>
    <variable type="" id="8]5GB[_Y-G6s3OO|#hpm">_initialStake(ex:1)</variable>
    <variable type="" id="eC4_VS;r.Ctu4ov}TD;c">_martingale(ex:1.06)</variable>
    <variable type="" id="Mf/Rmk;JLq}nK3oo9KoX">_profit(contract_detail:profit)</variable>
    <variable type="" id="rq/g0qth/^E0?cW3Ir#5">DonS::targetProfit</variable>
    <variable type="" id="It::.E6Y?tYv),nROsL@">DonS::stake</variable>
    <variable type="" id="#Mhck?Nv4!kH94!3;#11">DonS::totalProfit</variable>
    <variable type="" id=",U|PD;NtUa?lV`Tn.-Ul">stake</variable>
    <variable type="" id="zOhE^r]_2*I1|8tMpt$,">DonS::stopLoss</variable>
    <variable type="" id="^#@b{Ra%ysCklXvcq7u^">DonS::initialStake</variable>
    <variable type="" id="HpJ]snI2Ap,KH{YeFDB%">DonS::martingale</variable>
    <variable type="" id="L3.efLgZ.SdH5f88W6=(">DonS::lowestProfit</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="F=!9-0]O$U?08M-?MboK"></arg>
      <arg name="_stopLoss(ex:200)" varid="XY9Gl!7n=PgjUgM/Dk|F"></arg>
      <arg name="_initialStake(ex:1)" varid="8]5GB[_Y-G6s3OO|#hpm"></arg>
      <arg name="_martingale(ex:1.06)" varid="eC4_VS;r.Ctu4ov}TD;c"></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="rq/g0qth/^E0?cW3Ir#5" 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="F=!9-0]O$U?08M-?MboK" 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="F=!9-0]O$U?08M-?MboK" 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="zOhE^r]_2*I1|8tMpt$," 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="XY9Gl!7n=PgjUgM/Dk|F" 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="XY9Gl!7n=PgjUgM/Dk|F" 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="^#@b{Ra%ysCklXvcq7u^" 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="8]5GB[_Y-G6s3OO|#hpm" 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="8]5GB[_Y-G6s3OO|#hpm" 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="HpJ]snI2Ap,KH{YeFDB%" 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="eC4_VS;r.Ctu4ov}TD;c" 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="eC4_VS;r.Ctu4ov}TD;c" 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="It::.E6Y?tYv),nROsL@" variabletype="">DonS::stake</field>
                        <value name="VALUE">
                          <block type="variables_get" id="Nub:Kufc=Uq=Px3?c#Bs">
                            <field name="VAR" id="^#@b{Ra%ysCklXvcq7u^" variabletype="">DonS::initialStake</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="K=FMp|t=`$hx1!pg#?{Z">
                            <field name="VAR" id="L3.efLgZ.SdH5f88W6=(" 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="#Mhck?Nv4!kH94!3;#11" 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="rq/g0qth/^E0?cW3Ir#5" 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="zOhE^r]_2*I1|8tMpt$," 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="^#@b{Ra%ysCklXvcq7u^" 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="It::.E6Y?tYv),nROsL@" 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="Mf/Rmk;JLq}nK3oo9KoX"></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="#Mhck?Nv4!kH94!3;#11" 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="Mf/Rmk;JLq}nK3oo9KoX" 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="Mf/Rmk;JLq}nK3oo9KoX" 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="It::.E6Y?tYv),nROsL@" 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="It::.E6Y?tYv),nROsL@" 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="HpJ]snI2Ap,KH{YeFDB%" 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="It::.E6Y?tYv),nROsL@" variabletype="">DonS::stake</field>
                <value name="VALUE">
                  <block type="variables_get" id="mMh:HM7wy{Zq``5{`69M">
                    <field name="VAR" id="^#@b{Ra%ysCklXvcq7u^" 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="L3.efLgZ.SdH5f88W6=(" 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="#Mhck?Nv4!kH94!3;#11" 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="L3.efLgZ.SdH5f88W6=(" variabletype="">DonS::lowestProfit</field>
                    <value name="VALUE">
                      <block type="variables_get" id="vJgCsPmgws[7}?;d);5B">
                        <field name="VAR" id="#Mhck?Nv4!kH94!3;#11" 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="#Mhck?Nv4!kH94!3;#11" 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="L3.efLgZ.SdH5f88W6=(" 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="#Mhck?Nv4!kH94!3;#11" variabletype="">DonS::totalProfit</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="Xusd.6C8jK%@PF6SE/J*">
                    <field name="VAR" id="rq/g0qth/^E0?cW3Ir#5" 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="#Mhck?Nv4!kH94!3;#11" variabletype="">DonS::totalProfit</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="+-=v6c4W7-EPb!Nv]c?#">
                    <field name="VAR" id="zOhE^r]_2*I1|8tMpt$," 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="#Mhck?Nv4!kH94!3;#11" 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="L3.efLgZ.SdH5f88W6=(" 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="#Mhck?Nv4!kH94!3;#11" variabletype="">DonS::totalProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="ep2rr)v^ZRu+XfS?!AY]">
                <field name="VAR" id="rq/g0qth/^E0?cW3Ir#5" 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="#Mhck?Nv4!kH94!3;#11" variabletype="">DonS::totalProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="tY%v(UnADJl$HeV6;D[6">
                <field name="VAR" id="zOhE^r]_2*I1|8tMpt$," variabletype="">DonS::stopLoss</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="267">
    <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">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=",U|PD;NtUa?lV`Tn.-Ul" 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">50</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="math_number" id="a;L1?VV:|;@+Q_}-8u]_">
                <field name="NUM">30</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">0.15</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <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="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">5</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>
        <value name="BARRIEROFFSET">
          <block type="math_number" id="WA]G=}%YRR_jS@$7S`.o">
            <field name="NUM">3.5</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="852">
    <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@;" x="0" y="1068">
    <statement name="AFTERPURCHASE_STACK">
      <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>
    </statement>
  </block>
</xml>