﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id=")}hP)~|N;_;.]Ns(UiS`">Martingale Amount</variable>
    <variable type="" id="A8|Yn+xwDG_M`%(I}H{f">Stake</variable>
    <variable type="" id="iEjF|Q{W`CTh8%OGw#4J">Initial Stake Amount</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="10" y="-97">
    <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="(r.fNDO[,a|A`,p5:zM4">
        <field name="VAR" id=")}hP)~|N;_;.]Ns(UiS`" variabletype="">Martingale Amount</field>
        <value name="VALUE">
          <block type="math_number" id="(hO6TaaC[(@xJJQ,DzLW">
            <field name="NUM">2.5</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="b^mqUOM*wAYY]N-*+1GW">
            <field name="VAR" id="iEjF|Q{W`CTh8%OGw#4J" variabletype="">Initial Stake Amount</field>
            <value name="VALUE">
              <block type="math_number" id="tOoECmpqfqJ2rr1*N{$+">
                <field name="NUM">1</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="*+BN1k-./JG/2I5Cf3.F">
                <field name="VAR" id="A8|Yn+xwDG_M`%(I}H{f" variabletype="">Stake</field>
                <value name="VALUE">
                  <block type="variables_get" id=":_,qB6pL]A-8Vd0aZtAR">
                    <field name="VAR" id="iEjF|Q{W`CTh8%OGw#4J" variabletype="">Initial Stake Amount</field>
                  </block>
                </value>
              </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>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id=";I}Jp*_~Gs_)cj~j//VU">
            <field name="NUM">1</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="variables_get" id="oXAOSm+;Mv1:dN^Z^|aJ">
            <field name="VAR" id="A8|Yn+xwDG_M`%(I}H{f" variabletype="">Stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="403">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="Jt2f%!018v2rETW)o|Gy">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="is_candle_black" id="#!|=UK?i/L~43+DZ@/{h">
            <value name="OHLCOBJ">
              <block type="get_ohlc" id="i!sU4q,;7s#CPfLW-vcr">
                <field name="CANDLEINTERVAL_LIST">default</field>
                <value name="CANDLEINDEX">
                  <shadow type="math_number" id="@y)6|nU~?%8+@f*:i^~?">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="$~SsZ1W~qY[;@{(7_HG^">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="1" y="615">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="[PROTECTED EMAIL]:==k`ZL/S8">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="AVx3SWHQWH*$w?Vf+3Lb">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="F=7Uqq4s}wg7u0;T%Q*$">
            <field name="VAR" id="A8|Yn+xwDG_M`%(I}H{f" variabletype="">Stake</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="Mw?uGSKbk.dj[VMoj,Qa">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="BnwNULvC7OO:ieFYPVqk">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="P:kRDb`/p?EQXrt3ST:W">
                    <field name="VAR" id="A8|Yn+xwDG_M`%(I}H{f" variabletype="">Stake</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="8A_{}hVd@`*~f@8)o:HK">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="qTYGm(7owJpvd|ZJ:uqk">
                    <field name="VAR" id=")}hP)~|N;_;.]Ns(UiS`" variabletype="">Martingale Amount</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="AR4d:Iw^J9q`Z4e(@aev">
            <field name="VAR" id="A8|Yn+xwDG_M`%(I}H{f" variabletype="">Stake</field>
            <value name="VALUE">
              <block type="variables_get" id="i1k4+s/a=:2H7=RG!n)/">
                <field name="VAR" id="iEjF|Q{W`CTh8%OGw#4J" variabletype="">Initial Stake Amount</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
        </next>
      </block>
    </statement>
  </block>
</xml>
