﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="w}n!WM8)]rCu5LW,*f)Z">Next Trade Condition</variable>
    <variable type="" id="^^a:fv`OCE@@%s/.G_QJ">Max Acceptable Loss</variable>
    <variable type="" id="^,2{Kr%yLc$.1ttbY|hI">Initial Amount</variable>
    <variable type="" id="=KWSRt:foI=z,xX-)`$C">Expected Profit</variable>
    <variable type="" id="+fhH%XrCr~A;pePzn{Pi">Win Amount</variable>
  </variables>
  <block type="trade" id="trade" x="-155" y="-28">
    <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="!A}c6KnL0p@L58cyj_@E">
        <field name="VAR" id="w}n!WM8)]rCu5LW,*f)Z" variabletype="">Next Trade Condition</field>
        <value name="VALUE">
          <block type="text" id="|W0FqkHwc_eMSC!=/y1@">
            <field name="TEXT">Even</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="`Ur%l2(!:b=oH!iT7#m?">
            <field name="VAR" id="^^a:fv`OCE@@%s/.G_QJ" variabletype="">Max Acceptable Loss</field>
            <value name="VALUE">
              <block type="math_number" id="wKljG-,+oLfNU8s?!BxF">
                <field name="NUM">50</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="(QQEGpT%}rcg/_!T`9]@">
                <field name="VAR" id="=KWSRt:foI=z,xX-)`$C" variabletype="">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id=".*nDMfmd9N[R9*=GMKM5">
                    <field name="NUM">10</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="g$DR069|g]W:py9`@1pK">
                    <field name="VAR" id="+fhH%XrCr~A;pePzn{Pi" variabletype="">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="d4|Gu$/PJ@P+f^Wy23@o">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="=hNpyLw7c}^h6!:1nX`{">
                        <field name="VAR" id="^,2{Kr%yLc$.1ttbY|hI" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="~@l,v_|Ps_|+H;.DmQlR">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="xb1CG(eAcGds3d)Uh@J4">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="7vHPyxF8ZYKKpt%=JahQ">
            <field name="NUM">1</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="rG(vVfzNI0QguV2OF3HU">
            <field name="VAR" id="^,2{Kr%yLc$.1ttbY|hI" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" x="395" y="16">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="ODD]F74k7u0[r,SoKpKp">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="Aq`Nx@JxLlPn3^V9e}r~">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="-.{e,E9lN(?d,g69XP:h">
                <field name="VAR" id="w}n!WM8)]rCu5LW,*f)Z" variabletype="">Next Trade Condition</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="MoFpKV*0,WRIhElg-FpG">
                <field name="TEXT">Even</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="1~!UFLN93[=6W)12}nx@">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="foPW=awWoLm8+VJcoADA">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="395" y="214">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="23eric4cz4j*3v5{ZWY_">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="jqkadZ(cWx7#J]T9L@BR">
            <field name="CHECK_RESULT">loss</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="controls_if" id="k6o%1e9?m2B!:=xsk%?N">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="^!lSf]3xWQ#|v]?g1OnC">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="KU*%0A//EAvb2Jx8vuEK">
                    <field name="VAR" id="w}n!WM8)]rCu5LW,*f)Z" variabletype="">Next Trade Condition</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="L5t@Z,.*t.XTXy^g}^l:">
                    <field name="TEXT">Even</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="Wq5:ZUgODQ(uF%/$6PQd">
                <field name="VAR" id="w}n!WM8)]rCu5LW,*f)Z" variabletype="">Next Trade Condition</field>
                <value name="VALUE">
                  <block type="text" id="~oC#Q_R^]Ez^ri#(e/5!">
                    <field name="TEXT">Odd</field>
                  </block>
                </value>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="%u{$O?Ejql@VZ^}Q2B4Q">
                <field name="VAR" id="w}n!WM8)]rCu5LW,*f)Z" variabletype="">Next Trade Condition</field>
                <value name="VALUE">
                  <block type="text" id=".2;qN]R4=)}pnC+rt2yy">
                    <field name="TEXT">Even</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="math_change" id="L+OLz*eU$bB0w_W+))(S">
                <field name="VAR" id="^,2{Kr%yLc$.1ttbY|hI" 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="@s,zs3~eJbdcEBzn$U}Q">
                    <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="Ph3p/|wMh^mZ0b@iQI])">
                        <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="j$jsWg6i4}%8[2w2RSqC">
                            <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="_fc}E-KQT)?B5g2]I8cW">
                        <field name="NUM">1.5</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="notify" id="pq6VVh1@.0p$u.0MdI}i">
                    <field name="NOTIFICATION_TYPE">warn</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="Oz-);y+@|uT|(WkIxTKW">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="teIt;%NM$B{rSo-zCs$/">
                            <field name="TEXT">Lost: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="math_single" id="%Z_y=81x9%LV.c!~CGu[">
                            <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="]8YwB_#H@oZFn%)~*a{7">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="LoM:xiwSpH}7{(#FVY^@">
            <field name="VAR" id="^,2{Kr%yLc$.1ttbY|hI" variabletype="">Initial Amount</field>
            <value name="VALUE">
              <block type="variables_get" id="`XxMEYMor^+=D@t]j-#j">
                <field name="VAR" id="+fhH%XrCr~A;pePzn{Pi" variabletype="">Win Amount</field>
              </block>
            </value>
            <next>
              <block type="notify" id="5:H:83T-eA:DK3El-r,K">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <block type="text_join" id="+G6?{-|yT{DFI%m-J6Mu">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="E4ad#51:!$Gug}met7B-">
                        <field name="TEXT">Won:</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="read_details" id="mr*FCI!;TPWj_R_wE;?l">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="`R*/.V+IbXnI;?N@J6Ti">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="k;?Fia6AuqJIKBE.2%N.">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="GjSdD?]/e5gqZup1H`xY">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="R`|tPRH7b;h6zQTzZCs+"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="notify" id="TKY}WAFH97VC*z;RX*[{">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">earned-money</field>
                <value name="MESSAGE">
                  <block type="text" id="wc-5Z}@{Qfa9XgmHvyL$">
                    <field name="TEXT">Mauricio Joseph: ([PROTECTED EMAIL])</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="|:jt+6b-V5cjBLH|C_bi">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="Va@6tKm~=NBE4bq|]|w*">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="total_profit" id="XQSM/w{.P{`WaPOAGqw("></block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="=*-c6eApb`YEVd!bfuZ9">
                            <field name="VAR" id="=KWSRt:foI=z,xX-)`$C" variabletype="">Expected Profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="??QJj,8XAxH9p9mqMX*Z">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="hv/Fb%0Y|w43Ul_~6T$q">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="math_number_property" id="^NJ][4m9GXTer=DoP8,P">
                                <mutation divisor_input="false"></mutation>
                                <field name="PROPERTY">NEGATIVE</field>
                                <value name="NUMBER_TO_CHECK">
                                  <shadow type="math_number" id="otH_VG.6ad,:GnG=3=)5">
                                    <field name="NUM">0</field>
                                  </shadow>
                                  <block type="total_profit" id="%*8LdC!*|wWf)Q}_~;.["></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="-q;Y!{[npdqLPy(y/9ur">
                                <field name="OP">GTE</field>
                                <value name="A">
                                  <block type="math_single" id="/zyoUhllWZOwzubSzLMZ">
                                    <field name="OP">ABS</field>
                                    <value name="NUM">
                                      <shadow type="math_number" id="(UBCH+RQSwYPbgf%@ANZ">
                                        <field name="NUM">9</field>
                                      </shadow>
                                      <block type="total_profit" id="C(}0RWO:ooq^PN[A[rNG"></block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="7]1CR=7hf9X[E.2lZV9X">
                                    <field name="VAR" id="^^a:fv`OCE@@%s/.G_QJ" variabletype="">Max Acceptable Loss</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="text_print" id="P+E|QDS7z9fc4==jUB4-">
                            <value name="TEXT">
                              <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text" id="9Gs*Mx6@nHTq1=H[VlB#">
                                <field name="TEXT">Max Acceptable Loss Reached</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="trade_again" id="%OwNMrI_}=e[#7vOob#f"></block>
                        </statement>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="text_print" id="6-Gyn19{B3(;{xfmNHHY">
                        <value name="TEXT">
                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id=";,PrS-Y8N+6ysw|LPpNQ">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="Mqg#-5KLqjF()=*Ea;h!">
                                <field name="TEXT">Done! Total profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="total_profit" id="7b{hbw5*+]]47GZA?,t-"></block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
