﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="trade" id=")inu*9KBx=?O=ZEkmjl_" x="-13" y="-82">
    <statement name="SUBMARKET">
      <block type="variables_set" id="w7c;*5O6;7%W?Zj,M:D?">
        <field name="VAR">Contract Type</field>
        <value name="VALUE">
          <block type="text" id="RWRaF4AWx8f=;E`6vL_n">
            <field name="TEXT">Even</field>
          </block>
        </value>
        <next>
          <block type="market" id="~V@Z/q6x-muR*?Z/%LsH">
            <field name="MARKET_LIST">volidx</field>
            <field name="SUBMARKET_LIST">random_index</field>
            <field name="SYMBOL_LIST">R_100</field>
            <field name="TRADETYPECAT_LIST">digits</field>
            <field name="TRADETYPE_LIST">evenodd</field>
            <field name="TYPE_LIST">both</field>
            <field name="CANDLEINTERVAL_LIST">60</field>
            <field name="DURATIONTYPE_LIST">t</field>
            <field name="PAYOUTTYPE_LIST">stake</field>
            <field name="CURRENCY_LIST">USD</field>
            <field name="RESTARTONERROR">FALSE</field>
            <value name="DURATION">
              <block type="math_number" id="sxYl%U5{t^F,Mj-zA7M5">
                <field name="NUM">5</field>
              </block>
            </value>
            <value name="AMOUNT">
              <block type="procedures_callreturn" id="SMg,[^UI*KJz+KXTY!(7">
                <mutation name="Oscar's Grind Trade Amount"></mutation>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="loader" id="G8*bH0yYOiK7:XhZ-!pX" x="0" y="0">
    <field name="URL">https://gist.githubusercontent.com/aminmarashi/0feb52b5802519cd4157b612d9bd3471/raw/oscars_grind.xml</field>
  </block>
  <block type="before_purchase" id="*Q[~K|v:Sg)bHrl+VA1N" x="-10" y="194">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="i^y1-),y7~|#4?F~nZ_|">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="!WkMU~7t-BaX/6mu`-0^">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="nFY.TxN+a_J`Np?^d:2c">
                <field name="VAR">Contract Type</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="2,4_9}MD6ZJ9Io([N~c;">
                <field name="TEXT">Even</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="Q;`vp48|v7pG%t@W6`uQ">
            <field name="PURCHASE_LIST">DIGITEVEN</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="@5$RB6|F?Ws{|s)a6(3k">
            <field name="PURCHASE_LIST">DIGITODD</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="X[gun7Sx6Shn3kldC}mZ" x="-13" y="372">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="@R|4Y0#7=Jo!e/mvD{4[">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="|T7z7?7cz:1ELkq$7I8S">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="Z4JP?]!W+;2gqFdfvfw4">
                <field name="VAR">Contract Type</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id=":%T6d(+Ai;kaP/36#X}`">
                <field name="TEXT">Even</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="Le98o|Av(A.+fKPgdz(C">
            <field name="VAR">Contract Type</field>
            <value name="VALUE">
              <block type="text" id="5*G9A`zL#Z.P6,SX%~{w">
                <field name="TEXT">Odd</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id=":*D$[^~~+`01b],I%bgf">
            <field name="VAR">Contract Type</field>
            <value name="VALUE">
              <block type="text" id="A/IqsDXwEA._fxg9sZXL">
                <field name="TEXT">Even</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="#=yO.C1rn7n]Zw*%E1AI">
            <value name="IF0">
              <block type="procedures_callreturn" id="{0az?:XjfO$u|gkfOkaG">
                <mutation name="Oscar's Grind Trade Again After Purchase">
                  <arg name="oscarsGrind:profit"></arg>
                  <arg name="oscarsGrind:resultIsWin"></arg>
                </mutation>
                <value name="ARG0">
                  <block type="read_details" id="(E,!25pd^Ev`yMmr[z*_">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
                <value name="ARG1">
                  <block type="contract_check_result" id="^ShXafO+N,gqVXtl^w)e">
                    <field name="CHECK_RESULT">win</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="trade_again" id=",VG2~pX|wvNj6hMyw=%~"></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>