<xml xmlns="http://www.w3.org/1999/xhtml" collection="true">
  <block type="controls_if" id=".yAfxZz%M[+3*Fd=R)=M">
    <mutation else="1"></mutation>
    <value name="IF0">
      <block type="logic_compare" id="]2`@pj.Q`qCA1n5Yw|2Q">
        <field name="OP">LT</field>
        <value name="A">
          <block type="total_profit" id="3#mxU/b~yj)/B}cW1pf|"></block>
        </value>
        <value name="B">
          <block type="variables_get" id="sBQc:L:@L5HOpx6F=l{y">
            <field name="VAR" id=".9@YH*1NpucHe+jAsdF1" variabletype="">Expected Profit</field>
          </block>
        </value>
      </block>
    </value>
    <statement name="DO0">
      <block type="controls_if" id="^l1azJHKQ$orJ-q]lG0Q">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_operation" id="h8v_zq%rg77(5OK2$)^[">
            <field name="OP">AND</field>
            <value name="A">
              <block type="math_number_property" id="#A4?Z6#|{3DN(?XsZh@F">
                <mutation divisor_input="false"></mutation>
                <field name="PROPERTY">NEGATIVE</field>
                <value name="NUMBER_TO_CHECK">
                  <shadow id="otH_VG.6ad,:GnG=3=)5" type="math_number">
                    <field name="NUM">0</field>
                  </shadow>
                  <block type="total_profit" id="kylMakAh08%mw:*nPaau"></block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="1*XklJatRfP`}k+HifCm">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="math_single" id=")c#_,HP;A8a~GVrD,Iwe">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow id="(UBCH+RQSwYPbgf%@ANZ" type="math_number">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="total_profit" id="Tg(#~RUo1/W.`)1Xwu~#"></block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="/t[^=+u0i2Xm~Ij{NZwv">
                    <field name="VAR" id=":WPU,akMBs7bn$VYXx-f" variabletype="">Max Acceptable Loss</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="text_print" id="S84|^~ejd~*byDCJ?*jt">
            <value name="TEXT">
              <shadow id="Nau%l+%*hH!#y2I#Q@%5" type="text">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text" id="*$)}hFOMKc#Q3q(R8c:N">
                <field name="TEXT">Max Acceptable Loss Reached</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="trade_again" id=";xc0RFP.I}X3~me9hBg+" disabled="true"></block>
        </statement>
      </block>
    </statement>
    <statement name="ELSE">
      <block type="text_print" id="-e/Xlr?f`NIR]F.tWW0l">
        <value name="TEXT">
          <shadow id="kqlrIk.GO.^}hI,PoUV)" type="text">
            <field name="TEXT">abc</field>
          </shadow>
          <block type="text_join" id="78zEFur}Qx??GXjak-Z-">
            <mutation items="2"></mutation>
            <value name="ADD0">
              <block type="text" id="$]oX6-Opz56KO_yU*3dY">
                <field name="TEXT">Done! Total profit: </field>
              </block>
            </value>
            <value name="ADD1">
              <block type="total_profit" id="sBvouo.nD;(6gaU5C7wM"></block>
            </value>
          </block>
        </value>
      </block>
    </statement>
  </block>
</xml>