﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="ILu{;^82a))IKWppl6@W">Next Trade Condition</variable>
    <variable type="" id="Iqk,JFwp*qd;@3dE3+GP">Max Acceptable Loss</variable>
    <variable type="" id="6;}YQpsfRTRO@QW}~;t=">Initial Amount</variable>
    <variable type="" id="|On!.CM_?:+O0$uxO@H$">Expected Profit</variable>
    <variable type="" id="XRU45D:FV`lnK-5gzwDq">Win Amount</variable>
  </variables>
  <block type="trade" id="trade" x="13" y="-161">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_50</field>
    <field name="TRADETYPECAT_LIST">digits</field>
    <field name="TRADETYPE_LIST">overunder</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="-#;u;t4:C8f8d1Vx#75]">
        <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
        <value name="VALUE">
          <block type="text" id="$vTus5jpiiN/s`)Z71l?">
            <field name="TEXT">Over</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="{jkyJ*8noIT^U;vt:qiB">
            <field name="VAR" id="Iqk,JFwp*qd;@3dE3+GP" variabletype="">Max Acceptable Loss</field>
            <value name="VALUE">
              <block type="math_number" id="2mAm`SJkHCm@ENK#xTRN">
                <field name="NUM">40</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="VOB:g|zy.^-m9oA_ovoN">
                <field name="VAR" id="|On!.CM_?:+O0$uxO@H$" variabletype="">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="4P..pnSh.0x`K]8rQ*i@">
                    <field name="NUM">10</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="*P:qdO|64r-YsH;7-]9h">
                    <field name="VAR" id="XRU45D:FV`lnK-5gzwDq" variabletype="">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="xLn7t8k!nv_/DV?~Moem">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id=",(PEKcHJ/..Wi@8nhu65">
                        <field name="VAR" id="6;}YQpsfRTRO@QW}~;t=" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="YKRI,!u0kSb7*9a)]T8C">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="controls_if" id="Gta.G(je#9r`gd+85Yzq">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="BJ)1tz3@]WQuEP1ipc[Z">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="(}T]ddIox8fF`2lBy+%W">
                <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="r4YHZ|V0WE_7*~5?,[3q">
                <field name="TEXT">Over</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="tradeOptions" id="e`nNa{`rk8A-#NuAoN)d">
            <field name="DURATIONTYPE_LIST">t</field>
            <field name="CURRENCY_LIST">USD</field>
            <value name="AMOUNT">
              <block type="variables_get" id="u/|+Gzi0B5aSwt`yP~T-">
                <field name="VAR" id="6;}YQpsfRTRO@QW}~;t=" variabletype="">Initial Amount</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="tradeOptions" id="b}7N83Jv}5?`g;Ji#aI[">
            <field name="DURATIONTYPE_LIST">t</field>
            <field name="CURRENCY_LIST">USD</field>
            <value name="AMOUNT">
              <block type="variables_get" id="?KHFC?(=qi72_Uu${0e.">
                <field name="VAR" id="6;}YQpsfRTRO@QW}~;t=" variabletype="">Initial Amount</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="658" y="-17">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="vm1;C02TtEyPcS+=Y+_T">
        <value name="IF0">
          <block type="contract_check_result" id=",e;W$HDe$D]uSao4h;+b">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id=",!oUE^,01]Y#nK^[}O`g">
            <field name="VAR" id="6;}YQpsfRTRO@QW}~;t=" variabletype="">Initial Amount</field>
            <value name="VALUE">
              <block type="variables_get" id="]$co3}WbV}_[LUAjq}yy">
                <field name="VAR" id="XRU45D:FV`lnK-5gzwDq" variabletype="">Win Amount</field>
              </block>
            </value>
            <next>
              <block type="controls_if" id="IIBVWlZJ:5$oMjpO^uAG">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="6$?avp7`cj3WU*T.50V/">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="sINFUDK[UV0wqs@sr_/]">
                        <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id=",|fM/aHs|e?2$fH|p@$O">
                        <field name="TEXT">Under</field>
                        <comment pinned="true" h="80" w="160">Inverta a ordem dos blocos como quiser. Exemplo:
Under    OU   Under
Under            Over
Over              Over
E vice-versa vá testando do seu modo.
                        </comment>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="=+atuH8b6B,8gw{,hAS`">
                    <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
                    <value name="VALUE">
                      <block type="text" id="5?]`f_O#OqirRu}}b4eS">
                        <field name="TEXT">Over</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="_#6{W?U3nL]!45rUfQn[">
                    <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
                    <value name="VALUE">
                      <block type="text" id="0Jx4yq)V8^07)YWvYTf0">
                        <field name="TEXT">Under</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="WZQEzLU`#(-rsVAq7c#w">
            <value name="IF0">
              <block type="contract_check_result" id="A$LdD6.Tmy5%r]([/Rw1">
                <field name="CHECK_RESULT">loss</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="math_change" id="Q1K*-psXe4qPN{6/mTu=">
                <field name="VAR" id="6;}YQpsfRTRO@QW}~;t=" variabletype="">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="N=Vo^MVz~/^(xt7Ag@8E">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="|hM+fWS%m^/{@{=OKBwZ">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="ka8n8|Dugz,q5FkUjs`7">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="[B@~8P31}aAPxXA=B:Xy">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="?c_!p}e.IhGz=x@8M(QH">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="{JXdZCp2%s=sfO@yN:n}">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="2mu:RwPVSn65$6x95gSv">
                        <field name="NUM">1.7</field>
                        <comment pinned="true" h="80" w="160">Altere o valor do martingale de acordo com o valor do prediction que for usar para mais ou para menos para tentar recuperar  o que foi perdido.</comment>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="uU1Ce:Q/D9pEXG0/Ut.m">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="YJdM-9=mMPmB{!bU:^tP">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="@IJ66QGUEfS};KVp1*j(">
                            <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="/yH|NjIY9*caVyGSnA).">
                            <field name="TEXT">Over</field>
                            <comment pinned="true" h="80" w="160">O mesmo vale para parte de baixo quando der Loss.</comment>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id=")%]H03ox^CJUCTwMFtir">
                        <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="d9hZAZon~l-vFmI`kS:/">
                            <field name="TEXT">Over</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="DnK6+tYG)otyRoCO.Hn,">
                        <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="V-n7)X2u)Rr7HBCD7fk5">
                            <field name="TEXT">Under</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="trade_again" id="t-:o;$/g:PX[3WZAG@s6"></block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="math_random_int" id="axA5@hNIqp_cOmd?Hr(%" x="345" y="324">
    <comment pinned="true" h="80" w="160">Aqui é o numero de ticks encaixe o bloco em duration. Altere o valor se quiser.</comment>
    <value name="FROM">
      <shadow type="math_number" id="ePv0MSh,Y$0k)Bfk7hLK">
        <field name="NUM">5</field>
      </shadow>
    </value>
    <value name="TO">
      <shadow type="math_number" id="2ig#o5T$NF6`.#m_|8OY">
        <field name="NUM">10</field>
      </shadow>
    </value>
  </block>
  <block type="math_random_int" id="oYaOwgS`b(.3EE3L0;s2" x="332" y="388">
    <comment pinned="true" h="80" w="160">Encaixe o bloco na parte de cima no prediction. Altere o valor se quiser.</comment>
    <value name="FROM">
      <shadow type="math_number" id="C^X3L@!d(+Y=*nPSCzu]">
        <field name="NUM">4</field>
      </shadow>
    </value>
    <value name="TO">
      <shadow type="math_number" id="|i0E0@[PROTECTED EMAIL]|F">
        <field name="NUM">3</field>
      </shadow>
    </value>
  </block>
  <block type="math_random_int" id="zdl?28utkrn54f_y:Tyn" x="336" y="430">
    <comment pinned="true" h="80" w="160">Aqui é o numero de ticks encaixe o bloco em duration. Altere o valor se quiser.</comment>
    <value name="FROM">
      <shadow type="math_number" id="{aH}|CTFlp5!s?$oX~,z">
        <field name="NUM">5</field>
      </shadow>
    </value>
    <value name="TO">
      <shadow type="math_number" id="mmij0_znm.u5W[|oN.%d">
        <field name="NUM">10</field>
      </shadow>
    </value>
  </block>
  <block type="math_random_int" id="@Jyqm|0@T.2h*buW=J=M" x="334" y="505">
    <comment pinned="true" h="80" w="160">Encaixe o bloco na parte de baixo no prediction. Altere o valor se quiser.</comment>
    <value name="FROM">
      <shadow type="math_number" id="nz0$fB:E}P/#M!/DEEvH">
        <field name="NUM">5</field>
      </shadow>
    </value>
    <value name="TO">
      <shadow type="math_number" id="Y81=b%x)_W_oxOlci[N5">
        <field name="NUM">6</field>
      </shadow>
    </value>
  </block>
  <block type="before_purchase" id="strategy" x="6" y="591">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="wo]EZZDH,clW1Q}HZ9gO">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="u?]A(_$nN02Gj@n%~wU)">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id=":uz6)hG(5G,y?7-mX.[y">
                <field name="VAR" id="ILu{;^82a))IKWppl6@W" variabletype="">Next Trade Condition</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="WwOr~o#TdSAG1Z`;~.45">
                <field name="TEXT">Over</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="kVXG]9Jpa0n[g!Uh=q)L">
            <field name="PURCHASE_LIST">DIGITOVER</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="4isGw+hhQxM)g?*nw/vB">
            <field name="PURCHASE_LIST">DIGITUNDER</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>
