<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="lDrkzT3/GXF*PV`x9A./">Next Trade Condition</variable>
    <variable type="" id="OYd2!+%/da*tw[H8VmlR">Max Acceptable Loss</variable>
    <variable type="" id="5Jfe~xQcP$z{P)g:5!fL">Initial Amount</variable>
    <variable type="" id="l[Q5;e/-Tl*^ocy_pX4D">Expected Profit</variable>
    <variable type="" id="R.v}4*F3#o9GP78D0l)S">Win Amount</variable>
  </variables>
  <block type="before_purchase" id="strategy" x="508" y="12">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="b2]ibD@:61i;|=^wv:~o">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id=":]TJ_QA*gJbmcw*vEBV#">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="8^rp%(QF;}N^.4hqY(2%">
                <field name="VAR" id="lDrkzT3/GXF*PV`x9A./" variabletype="">Next Trade Condition</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="DWqRmvhah#~`#Cf[/6W-">
                <field name="TEXT">Rise</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="jRL?K5~T748!H}{2O();">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="O%r}(oov4rlAlQacEW#V">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="trade" id="trade" x="30" y="149">
    <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="zz)iLP1!8N|q,-DRj7Yg">
        <field name="VAR" id="lDrkzT3/GXF*PV`x9A./" variabletype="">Next Trade Condition</field>
        <value name="VALUE">
          <block type="text" id="xDe{UMxXa@.Jx2oj5jlG">
            <field name="TEXT">Rise</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="v/O]iCQ}j[GiAK!S1!vk">
            <field name="VAR" id="OYd2!+%/da*tw[H8VmlR" variabletype="">Max Acceptable Loss</field>
            <value name="VALUE">
              <block type="math_number" id="^:bth~fukQ(H;qG~W,J9">
                <field name="NUM">419</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="yuF[{UN_)/n/p_7|Bn{^">
                <field name="VAR" id="l[Q5;e/-Tl*^ocy_pX4D" variabletype="">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="TNeUN!N2ai|Riu#T4Hs+">
                    <field name="NUM">20</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="kYN4z~^G*jW!tl[ag//|">
                    <field name="VAR" id="R.v}4*F3#o9GP78D0l)S" variabletype="">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="D.+RaH}/KM^=R_/i;Uj-">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="!rE+(YJ?USv@e;5A6{3i">
                        <field name="VAR" id="5Jfe~xQcP$z{P)g:5!fL" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="zBSG}Pb^V)cr2}S(Tt})">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="0OLR}L$!RwUM2kI:i(%@">
        <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">
          <block type="math_number" id="E{wg9Uzbj#A5|*K4jYPN">
            <field name="NUM">3</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="0?Q}sei*{a4`}f^PRB%]">
            <field name="VAR" id="5Jfe~xQcP$z{P)g:5!fL" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="510" y="163">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="IXjzMcQZcdDd3n7,,:dR">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id=".tV9-1S^OyBs^[#.IOwC">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="uHc(4S]c;*Z6b;)LGsR5">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="dVWvER8BQ0q`N2UIpjIo">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="Asktta7Jm6kHHrjc!I}p">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="dNyHb`zWopmOp2]z/M{I">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="sz:*/;3FGv{_(@8`CsAN">
                <field name="VAR" id="5Jfe~xQcP$z{P)g:5!fL" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="N+s2q0OtXoD?l5m)*yEC">
                    <field name="VAR" id="R.v}4*F3#o9GP78D0l)S" variabletype="">Win Amount</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="lSP8`;:n7uze)n%HK@=W">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="%6ax;p%qdkI!S.xJ*wXW">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="Tx~b:6}1g4fG0z!+-^X@">
                            <field name="VAR" id="lDrkzT3/GXF*PV`x9A./" variabletype="">Next Trade Condition</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="y4V~DoDYEs](tFU:.)?c">
                            <field name="TEXT">Even</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="ByPkyD8~N*DWVIEQ;*5P">
                        <field name="VAR" id="lDrkzT3/GXF*PV`x9A./" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="*Zx1i=r^JA,:hc;x0n^a">
                            <field name="TEXT">Odd</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="variables_set" id="K7MVzI-S7HWSuqZ-9;5E">
                        <field name="VAR" id="lDrkzT3/GXF*PV`x9A./" variabletype="">Next Trade Condition</field>
                        <value name="VALUE">
                          <block type="text" id="r%bo1s97Jjbr6LUW7!||">
                            <field name="TEXT">Even</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="3e=nKHmT}R)kEkNwE44K">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="+ihcjUv_-T3-JNIE/Qf#">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="OZW#yh+cQb3FF4-u#oq_">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="xoS[VZRN?!FYo0k(6f^L">
                    <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="){wa^q*D#Y8}pX03-S,U">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="b.}/:AKk:!MkP9M]i]^L">
                <field name="VAR" id="5Jfe~xQcP$z{P)g:5!fL" 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="kwXPJjs[|E9{~lCyv^0I">
                    <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="{{BEm2CxpR[vmDc8R%=!">
                        <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="#pt~G|1(kk;gPZNzCmFF">
                            <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="1q||m4Da@z,?Qwp-:,~=">
                        <field name="NUM">1.041</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="F!E.gsA%z7,B}ors))8*">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="W9TI44~3c3+I`K_6p^.M">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="D|DhSB{=+;}aRn_1ywy3">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="guYFpjWw}}fK)u9rR520"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="|wi(+1KpXz,BC.`!mUR)">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="X#rtD_I:^]253truBA9i">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="%l?%+gW7Wf%Ht;E86UE9"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="7;%_kjG(S(y}Y}K|yYmA">
                        <field name="VAR" id="l[Q5;e/-Tl*^ocy_pX4D" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="~A}Tn7=998po(%-Z9G/i">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="/Zj6:Sh2HC}E5={Mz|dQ">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="math_number_property" id="8u4+N)Jsia1ueHZj)?0f">
                            <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="e](;NpPt*dH-VjB97+#!"></block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="A[wua)LdE-eXJcBa{2Yj">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="math_single" id="O|11X%J,DD:tzfT+6BXW">
                                <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="NuCH#x3VEU}}7^|P96t`"></block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="WMJQ_hyS8o#3y@Bj89CI">
                                <field name="VAR" id="OYd2!+%/da*tw[H8VmlR" variabletype="">Max Acceptable Loss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="Wkf6pR9`=a{mijQRVuvs">
                        <value name="TEXT">
                          <shadow type="text" id="Nau%l+%*hH!#y2I#Q@%5">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="MoyQ.AxmX?i*C|oua3f!">
                            <field name="TEXT">Max Acceptable Loss Reached</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="trade_again" id="sK}5;Fpy9Nk1Rg-:;jXE"></block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="_EBWv0o6mmneP1k,qm,c">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="Gikz_{+PnB190]#QzjHx">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="RZ`{vrw!^U%//Gjrqtcy">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="x34f6rZ~cULVD+?SXh]~"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>