﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="nAmXa1?:Q8)CB8D@Whc]">_profit</variable>
    <variable type="" id="T]FwDvjThR~2$eY1.yLL">stake</variable>
    <variable type="" id="t;U7yr]oH(EaOT{zs!m1">sequence</variable>
    <variable type="" id="KeY`ABl[L%G[tqrcDDUK">TotalProfit</variable>
    <variable type="" id="1]$`J4KENKnhoorjsr))">amountLoss</variable>
    <variable type="" id="F9X0$=93E`oihR|w7JgL">rise</variable>
    <variable type="" id="S==01dP$RC5DFp%xB5,;">LowestBalance</variable>
    <variable type="" id="=WQh2$RvE2X5589xwx^-">recovering</variable>
    <variable type="" id="3yY7#i_I;T?UxI?EH5e9">LowestLoss</variable>
    <variable type="" id="}4KCQGVWeN-`g7ec``S=">BOT Name</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <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">900</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="vq}3~Rmg/)hn294Ct=#P">
        <field name="VAR" id="T]FwDvjThR~2$eY1.yLL" variabletype="">stake</field>
        <value name="VALUE">
          <block type="math_number" id="pU{mdF29*u|XPmG9mVlZ">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="y{9BI9}Z3%R}));Nt|^/">
            <field name="VAR" id="1]$`J4KENKnhoorjsr))" variabletype="">amountLoss</field>
            <value name="VALUE">
              <block type="math_number" id="{~H2tKfwJ0()W~ty4N.c">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="P^Zv_#,F(qh!$KaGYj(:">
                <field name="VAR" id="=WQh2$RvE2X5589xwx^-" variabletype="">recovering</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="N$2,*F:59#Ds,3G$925]">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="(`0je%@hI%w8GnqD@kQU">
                    <field name="VAR" id="F9X0$=93E`oihR|w7JgL" variabletype="">rise</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="$!Od|AWfp(I]qn$rxr[7">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="I*/$2W7cMWf;h:X622Vr">
                        <value name="IF0">
                          <block type="logic_compare" id="T{58@0MPX})aKsX#sYws">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id=":@N#2Jm_k0NM|u~s8K)Y">
                                <field name="VAR" id="}4KCQGVWeN-`g7ec``S=" variabletype="">BOT Name</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="-vegwH=-0F:kcm:,|s6A">
                                <field name="TEXT">2_Bot v1.8 sequence_Win Martingale_20_7_18_OK </field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="controls_if" id="c~`iaDZrPXRXy69kj?{O">
                            <value name="IF0">
                              <block type="logic_compare" id="CK=@~|2nf;Otj6UOb/I4">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="text" id="GBRFGb?U}PIY~uZ;Xh|z">
                                    <field name="TEXT">Call, Put,  Win Martingale</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="?GMZuyrv*:A5emY|*Zu9">
                                    <field name="TEXT">Loss 1, No Martingale</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </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>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">5</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow id="ml)25~7^q}3I9}vjf:%K" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="7N2omkh}3)m8/!Y}GC@%">
            <field name="VAR" id="T]FwDvjThR~2$eY1.yLL" variabletype="">stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="657">
    <statement name="AFTERPURCHASE_STACK">
      <block type="math_change" id="?MK^}uk@5$^7KoKEq4h1">
        <field name="VAR" id="t;U7yr]oH(EaOT{zs!m1" variabletype="">sequence</field>
        <value name="DELTA">
          <shadow type="math_number" id="T%Pqs`#MJtA-vK:DG,6.">
            <field name="NUM">1</field>
          </shadow>
        </value>
        <next>
          <block type="controls_if" id="M5Tkj#9UEOO)==rBXg|%">
            <value name="IF0">
              <block type="logic_compare" id="Zj6UNf$_itt8Sf_U_^yC">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="$1%(SwmpjotI,i}S}b(}">
                    <field name="VAR" id="t;U7yr]oH(EaOT{zs!m1" variabletype="">sequence</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="}1V4uu-HV3)%Gr$.Ahz-">
                    <field name="NUM">3</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="`D)O0,v%P$T:G/C~jEv#">
                <field name="VAR" id="F9X0$=93E`oihR|w7JgL" variabletype="">rise</field>
                <value name="VALUE">
                  <block type="logic_ternary" id="?cS;9XhxUMWyR*%Mw6u-" inline="false">
                    <value name="IF">
                      <block type="variables_get" id="9],V%x6Ey]*7.2|A~{zK">
                        <field name="VAR" id="F9X0$=93E`oihR|w7JgL" variabletype="">rise</field>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="logic_boolean" id="2e+}#PkP2-X[_9;2~8-}">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="logic_boolean" id="?h[OpQR:Y.MqH|^oec:T">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="@rQL7:bZo-Av`LtMr*.n">
                    <field name="VAR" id="t;U7yr]oH(EaOT{zs!m1" variabletype="">sequence</field>
                    <value name="VALUE">
                      <block type="math_number" id="X_M:c{W!Tim-*Xy_=Ard">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="o#(:CgtYM:!,bDa62Wcu">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="contract_check_result" id="92F2-iL57L^AC7{N31*R">
                    <field name="CHECK_RESULT">loss</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="math_change" id="|/a:9Tsds9{nv|9@iBzT">
                    <field name="VAR" id="1]$`J4KENKnhoorjsr))" variabletype="">amountLoss</field>
                    <value name="DELTA">
                      <shadow id="-_fNnl5-t1eB(/a,VeX:" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="-@0`cw-`K%Udr+A-t1@$">
                        <field name="OP">NEG</field>
                        <value name="NUM">
                          <shadow id="N.`axV0[#A=v?/5BE1OM" type="math_number">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="0FXuf}X$,fH.Zm;NWBga">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="cxxOu,]E:9,3r+b*G3p2">
                        <field name="VAR" id="=WQh2$RvE2X5589xwx^-" variabletype="">recovering</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="eQ@6mTO:G{jGF^%|NQn@">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="!CO:5y4$R}G8lycyo~^n">
                            <field name="VAR" id="T]FwDvjThR~2$eY1.yLL" variabletype="">stake</field>
                            <value name="VALUE">
                              <block type="math_number" id="GNCT:unD}g-{T/J3B.qo">
                                <field name="NUM">0.35</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="controls_if" id="WR4,w.9pw.J[0=HirRNU">
                    <value name="IF0">
                      <block type="variables_get" id="@/P$Yrb[W[5TNl/^IR1H">
                        <field name="VAR" id="=WQh2$RvE2X5589xwx^-" variabletype="">recovering</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="w)3*lHrpKvC8Py|6`C8j">
                        <field name="VAR" id="1]$`J4KENKnhoorjsr))" variabletype="">amountLoss</field>
                        <value name="VALUE">
                          <block type="math_number" id="vlB{6egbrk$tR!kpo@h6">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="6ki+Jbb-qxg5BA{fX?jP">
                            <field name="VAR" id="T]FwDvjThR~2$eY1.yLL" variabletype="">stake</field>
                            <value name="VALUE">
                              <block type="math_number" id="2/~}|A+^]m!ZXxX~rj@r">
                                <field name="NUM">0.35</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="h:fDPaRQvF@=afF+4PV}">
                        <value name="IF0">
                          <block type="logic_compare" id=".hC{[|-e*OQa}Kb!{zP{">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="variables_get" id="pBd-)txO*G7s#xjnVcs*">
                                <field name="VAR" id="1]$`J4KENKnhoorjsr))" variabletype="">amountLoss</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="8uY;=MVuCgVN+F?.M,$]">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="ugU-OQkTx]!8D4-k!7A+">
                            <field name="VAR" id="T]FwDvjThR~2$eY1.yLL" variabletype="">stake</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="hL3^lZVZ|?6V#WLqu7yY">
                                <field name="OP">MULTIPLY</field>
                                <value name="A">
                                  <shadow id="Q*@RL,_BCucuyvQYpSqU" type="math_number">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="Kb`L67dyaN:CDgE+DD^$">
                                    <field name="VAR" id="1]$`J4KENKnhoorjsr))" variabletype="">amountLoss</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="}^*05?x@TY4_sqcluO|#">
                                    <field name="NUM">1.125</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="-2uO[Y,M,sPGroX%qUsI">
                                <field name="VAR" id="=WQh2$RvE2X5589xwx^-" variabletype="">recovering</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="I^d*OQF%AwF$ZcN@k=)q">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="procedures_callnoreturn" id="X*GUq6WUM,^p.Cn5evXX">
                    <mutation name="Report">
                      <arg name="_profit"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="read_details" id="gD^FlU1TaJ]w$YDR3r37">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="]H@~QqvMc*Je6:$uBqA$">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="S;%-$av1I]oqIlbeWI.N">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="variables_get" id="7VynJ(#bS,Ef~OmiDl!J">
                                <field name="VAR" id="1]$`J4KENKnhoorjsr))" variabletype="">amountLoss</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="]mdz{wu]K,|C6W4^D!O~">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="timeout" id="BNP6:7nwYx4TsWN2dJan">
                            <statement name="TIMEOUTSTACK">
                              <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
                            </statement>
                            <value name="SECONDS">
                              <shadow type="math_number" id="qmiK4cZLGNBVkQc$SWtD">
                                <field name="NUM">60</field>
                              </shadow>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="trade_again" id="f;4Z$6FL4W5^OP[sL`MK"></block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="1616">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="9W9SMyQsCdSZgQ~*^*G?">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="variables_get" id="~^n~sDIY_,?Uai@UAI9L">
            <field name="VAR" id="F9X0$=93E`oihR|w7JgL" variabletype="">rise</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id=".#zhTptAt@HjmJ8;Onr}">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="*0ae#@e)|]{zY:EHz]@^">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="E^AI.^Qr!}InnqaU*Q`u" x="-6" y="1803">
    <mutation>
      <arg name="_profit" varid="nAmXa1?:Q8)CB8D@Whc]"></arg>
    </mutation>
    <field name="NAME">Report</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="]=[)4:Qg,{H:{L?_t9*O">
        <field name="VAR" id="KeY`ABl[L%G[tqrcDDUK" variabletype="">TotalProfit</field>
        <value name="DELTA">
          <shadow id="Q0Yl.uo;~e=u)!p7XvUd" type="math_number">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="`68)PG/[PROTECTED EMAIL]=5n">
            <field name="VAR" id="nAmXa1?:Q8)CB8D@Whc]" variabletype="">_profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="(S?|OliuZ=4|:#^ZY^V1">
            <field name="VAR" id="S==01dP$RC5DFp%xB5,;" variabletype="">LowestBalance</field>
            <value name="VALUE">
              <block type="logic_ternary" id="iU4iwsr!{Fg+)(nHja8H">
                <value name="IF">
                  <block type="logic_compare" id="K(#?OR.K3o4?eHT%EG62">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="u(hmXt{hZlPQn,l@lHpz">
                        <field name="VAR" id="S==01dP$RC5DFp%xB5,;" variabletype="">LowestBalance</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id="rgly)Hz;f(0f)%Hp@l*M"></block>
                    </value>
                  </block>
                </value>
                <value name="THEN">
                  <block type="variables_get" id="NGOpRW#w-|s?to)-KA7-">
                    <field name="VAR" id="nAmXa1?:Q8)CB8D@Whc]" variabletype="">_profit</field>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="logic_ternary" id="*J{u$^ivS.9.?2_S8*Ue">
                    <value name="IF">
                      <block type="logic_compare" id="M#}VB?ddGk!ExTGu8(S$">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="a2SEm*O=`3|g%Kw%L1;#">
                            <field name="VAR" id="S==01dP$RC5DFp%xB5,;" variabletype="">LowestBalance</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="QI[].bel?oNDDafW=3l_">
                            <field name="VAR" id="KeY`ABl[L%G[tqrcDDUK" variabletype="">TotalProfit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="variables_get" id="k=eU7QIM{E7Y)P)|_j?=">
                        <field name="VAR" id="KeY`ABl[L%G[tqrcDDUK" variabletype="">TotalProfit</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="variables_get" id="|HyN^d^DqTn*cw9W3~Hg">
                        <field name="VAR" id="S==01dP$RC5DFp%xB5,;" variabletype="">LowestBalance</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="HE`_#di%Lg^2t!f3ShfX">
                <field name="VAR" id="3yY7#i_I;T?UxI?EH5e9" variabletype="">LowestLoss</field>
                <value name="VALUE">
                  <block type="logic_ternary" id="UMe5m1i8YZwepY^S*n-7">
                    <value name="IF">
                      <block type="logic_compare" id="7/0gvNL.NwW|Qvx_Jdqw">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="^=hHGcw@.0i(0Lw/tUQx">
                            <field name="VAR" id="3yY7#i_I;T?UxI?EH5e9" variabletype="">LowestLoss</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_null" id="cP3H}L+3CM$24mmS`d%~"></block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="variables_get" id="AlEuAO,_jD(um)oMQAFK">
                        <field name="VAR" id="nAmXa1?:Q8)CB8D@Whc]" variabletype="">_profit</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="logic_ternary" id="8N@mgieTDZRs_Y:pn9A;">
                        <value name="IF">
                          <block type="logic_compare" id="~D)2IvdJ1LQR~SG9k6r2">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="variables_get" id="e=Y$!U3d@Ss/~MT=j~)]">
                                <field name="VAR" id="S==01dP$RC5DFp%xB5,;" variabletype="">LowestBalance</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="t_U2spTFA.Uin}^c+HIR">
                                <field name="VAR" id="nAmXa1?:Q8)CB8D@Whc]" variabletype="">_profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="THEN">
                          <block type="variables_get" id=",1~jdzo8sdwd)4yf7Wit">
                            <field name="VAR" id="nAmXa1?:Q8)CB8D@Whc]" variabletype="">_profit</field>
                          </block>
                        </value>
                        <value name="ELSE">
                          <block type="variables_get" id=":b[YBp)Kzy.Qrk=w.k%G">
                            <field name="VAR" id="3yY7#i_I;T?UxI?EH5e9" variabletype="">LowestLoss</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="notify" id="OZ$%R_:+_-6w-B|@01_4">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow id="W{P!}NG_b}gTlg;1mPF6" type="text">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="-l(TYZ0]m@;S|TQym]_U">
                        <mutation items="6"></mutation>
                        <value name="ADD0">
                          <block type="text" id="]6d;1}Jyh_=p^No(uBqe">
                            <field name="TEXT">Total Profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="wy(6e2n^|kyFicGkc`5l">
                            <field name="VAR" id="KeY`ABl[L%G[tqrcDDUK" variabletype="">TotalProfit</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="*S`?4z_$p1,B)Z%p,!1b">
                            <field name="TEXT"> | Lowest Balance: </field>
                          </block>
                        </value>
                        <value name="ADD3">
                          <block type="variables_get" id="2E?,[2cAw8pF9%PLGEVe">
                            <field name="VAR" id="S==01dP$RC5DFp%xB5,;" variabletype="">LowestBalance</field>
                          </block>
                        </value>
                        <value name="ADD4">
                          <block type="text" id="Dfrf[~J({[4HMiCRLV_P">
                            <field name="TEXT"> | Lowest Loss: </field>
                          </block>
                        </value>
                        <value name="ADD5">
                          <block type="variables_get" id="hZX^%h9+Y~^p8P[cX9t1">
                            <field name="VAR" id="3yY7#i_I;T?UxI?EH5e9" variabletype="">LowestLoss</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
