﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="JD-WnqS3zB~w^D!~xQ:1">Max Loss Amount</variable>
    <variable type="" id="IN?I5VfEqi?km^6tr-8M">RSI</variable>
    <variable type="" id="vJ(|EJ]W94u3d5TPm{kQ">Expected Profit</variable>
    <variable type="" id="OcI5yA/|WU8P4U@Y^m^m">Initial Amount</variable>
    <variable type="" id="!BJT)nm7[sP}EeXaG8pO">Win Amount</variable>
    <variable type="" id="y_#V%!8GbLtGH*]U.%tv">sma-14</variable>
    <variable type="" id="0%Sq-BaN{`r6Iu@bi1/B">sma-21</variable>
    <variable type="" id="TXS5v[lXAzB|STukt,Gt">VENDA</variable>
  </variables>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="0" y="0">
    <field name="MARKET_LIST">synthetic_index</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="XDMYoip}{3uMJ$~,Wa(K">
        <field name="VAR" id="JD-WnqS3zB~w^D!~xQ:1" variabletype="">Max Loss Amount</field>
        <value name="VALUE">
          <block type="math_number" id="P!2=P_+S,MKLQTjA]xg(">
            <field name="NUM">50</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="dqduY+F]dYVC%/;)_QyX">
            <field name="VAR" id="vJ(|EJ]W94u3d5TPm{kQ" variabletype="">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="pGL%0jCRlD;R_i-Q:?jz">
                <field name="NUM">5</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="cG;6qVzC4dU[J9h%wYdK">
                <field name="VAR" id="!BJT)nm7[sP}EeXaG8pO" variabletype="">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="?UMlJ9?s?=7*h-CIL?Hv">
                    <field name="NUM">0.35</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="(GqO!$8|aP4T+(5lW(^E">
                    <field name="VAR" id="OcI5yA/|WU8P4U@Y^m^m" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="dI_3Be9-$EK_$F=d.7w#">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="vBEE:1ugt$p^/5WGJM7;">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <block type="math_random_int" id="t5R$h6l+uFQ#a/0n)O;M">
            <value name="FROM">
              <shadow type="math_number" id="kk~^2+MC51[V+Rq!S]HG">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_number" id="0p-bjjEuB1k(LNWLaiS]">
                <field name="NUM">50</field>
              </block>
            </value>
            <value name="TO">
              <shadow type="math_number" id="(l|{}tVk,w_/|9ABDb%?">
                <field name="NUM">100</field>
              </shadow>
              <block type="math_number" id="ph)I-/#p(BXNVO=[iuIu">
                <field name="NUM">51</field>
              </block>
            </value>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="p+TPBS;7,b0?9`GtSOmc">
            <field name="VAR" id="OcI5yA/|WU8P4U@Y^m^m" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" collapsed="true" x="0" y="528">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id=",k3e|97Q#zy~St|},FIw">
        <field name="VAR" id="IN?I5VfEqi?km^6tr-8M" variabletype="">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="L`@9^C8dP8t_eY~kc`z@">
            <value name="INPUT">
              <block type="ticks" id="e_~L}YnK/hM,^s,0#.S_"></block>
            </value>
            <value name="PERIOD">
              <block type="math_number" id="M`iwUevPD`7AM;@a_lxL">
                <field name="NUM">2</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="notify" id="d6hoYghe$|5gGM!Uw4^E">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="0}QaY20UMMh`;6uUyJJV">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="rycoAM.71-1g2W0KNs9N">
                    <field name="TEXT">RSI: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="@6r^:%J(M%u/C:m.1,np">
                    <field name="VAR" id="IN?I5VfEqi?km^6tr-8M" variabletype="">RSI</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="|O~uOx%R7xcXppR?f`0b">
                <field name="VAR" id="y_#V%!8GbLtGH*]U.%tv" variabletype="">sma-14</field>
                <value name="VALUE">
                  <block type="sma" id="SVtn?+`LI=VF}/:;4Xi~">
                    <value name="INPUT">
                      <block type="ticks" id="{vkLe{6=5y[lg-e78du-"></block>
                    </value>
                    <value name="PERIOD">
                      <block type="math_number" id="miPlsN(tNs-gs02@5b,V">
                        <field name="NUM">14</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="x^dKV).m-X,_`wO3_P|B">
                    <field name="VAR" id="0%Sq-BaN{`r6Iu@bi1/B" variabletype="">sma-21</field>
                    <value name="VALUE">
                      <block type="sma" id="|k/rV=Y_hp}=_`lXTrP~">
                        <value name="INPUT">
                          <block type="ticks" id="acMN79.ka*:5_LLNaSU*"></block>
                        </value>
                        <value name="PERIOD">
                          <block type="math_number" id="6k@oz]7%X[Pv4iT)ha9+">
                            <field name="NUM">21</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="YTilMY%f.=g5dhsR3T@?">
                        <field name="NOTIFICATION_TYPE">success</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="#b:RO#7etH4xMVhO=bCn">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="7`JfSZD.Y^T0/.Gs:Xj+">
                                <field name="TEXT">SMA14: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="90H,l_6UyCM59a_(WM$4">
                                <field name="VAR" id="y_#V%!8GbLtGH*]U.%tv" variabletype="">sma-14</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="notify" id="@Fa-Y;|o:*%fvUQA!?W)">
                            <field name="NOTIFICATION_TYPE">success</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <block type="text_join" id="BdteIk9hD=Z|90O:4h#;">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="c]KlAx42[gFHCwr%.4e|">
                                    <field name="TEXT">SMA21: </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="aYMpAhw8+#rK-+1r7d[f">
                                    <field name="VAR" id="0%Sq-BaN{`r6Iu@bi1/B" variabletype="">sma-21</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="X.`yb]NDRgu016t`QrCR">
                                <value name="IF0">
                                  <block type="logic_operation" id="}y!=rAW}Z7nrD7UQSX!.">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="!Qz_[~7Hl92y]o?o5t9`">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="Z^eJiuJdzwZz,#aoH*MV">
                                            <field name="VAR" id="IN?I5VfEqi?km^6tr-8M" variabletype="">RSI</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="qK~DW]c=xEHa*c,pVtw{">
                                            <field name="NUM">85</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_operation" id="f40fEoU}m|Ng/g3mS/9K">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="/Jhcimg|Jv$$mXxTv-:#">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="tick" id="1$4t__g3os)TtFK^Q7x."></block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="|4M1A{n+tkW(xX_GA{]:">
                                                <field name="VAR" id="y_#V%!8GbLtGH*]U.%tv" variabletype="">sma-14</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="GG~)*Lte2ZmpgWDG38!/">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="variables_get" id="yC/TpRuT#7w0An:tB,%$">
                                                <field name="VAR" id="y_#V%!8GbLtGH*]U.%tv" variabletype="">sma-14</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="8a7vFAedyjF0}(Bc5F[g">
                                                <field name="VAR" id="0%Sq-BaN{`r6Iu@bi1/B" variabletype="">sma-21</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="purchase" id="Q;`vp48|v7pG%t@W6`uQ">
                                    <field name="PURCHASE_LIST">CALL</field>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="pO(E9d|PDsQH6m_3|:Ma">
                                    <value name="IF0">
                                      <block type="logic_operation" id="*{._jf|90P1OVMh:s04N">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="@wkP.ES}*fN?LvxfOn{F">
                                            <field name="OP">LT</field>
                                            <value name="A">
                                              <block type="variables_get" id="*SQBcFh;hgdP{Ie^~:+~">
                                                <field name="VAR" id="IN?I5VfEqi?km^6tr-8M" variabletype="">RSI</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="39Zfpy,xQL[]%^6siTk4">
                                                <field name="NUM">15</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_operation" id="h3GF2VG$(8=YWAN;QwAu">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="V8pVJwYI!7W|c^f6;1MN">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="tick" id="Qi3a]/Oai{]7=mKGz^@m"></block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="^@{2[pM8;jv8!+ctIxYN">
                                                    <field name="VAR" id="y_#V%!8GbLtGH*]U.%tv" variabletype="">sma-14</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="igKM~.HRj;m:T}nbmype">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="~}VzH=!*Uya|xS4r9=r8">
                                                    <field name="VAR" id="y_#V%!8GbLtGH*]U.%tv" variabletype="">sma-14</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="=w~@[vpdk]jE:a)RXXQ[">
                                                    <field name="VAR" id="0%Sq-BaN{`r6Iu@bi1/B" variabletype="">sma-21</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="purchase" id="(6u#[d#GMivNg9VL@5Kd">
                                        <field name="PURCHASE_LIST">PUT</field>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="0Q(zIBh`==scK[-LZ9_J" collapsed="true" x="0" y="581">
    <statement name="DURING_PURCHASE_STACK">
      <block type="notify" id="XGogX-y`/,1+].p#W%r$">
        <field name="NOTIFICATION_TYPE">info</field>
        <field name="NOTIFICATION_SOUND">silent</field>
        <value name="MESSAGE">
          <shadow type="text" id="zYP,@|I)-J8UO,%M?S39">
            <field name="TEXT">abc</field>
          </shadow>
          <block type="text_join" id="W^3qw=Z}jBU*4N9T:(..">
            <mutation items="2"></mutation>
            <value name="ADD0">
              <block type="text" id="ZgZ|27`0@{-rq=ert!G}">
                <field name="TEXT">PreÃ§o: </field>
              </block>
            </value>
            <value name="ADD1">
              <block type="tick_string" id="8H8yYt-2rPr`h}KqUm2w"></block>
            </value>
          </block>
        </value>
        <next>
          <block type="controls_if" id="`DoCla(T5=HmGx%-n/9s">
            <value name="IF0">
              <block type="math_number_property" id="su}bvWZ]}F%wiJoD^4H.">
                <mutation divisor_input="false"></mutation>
                <field name="PROPERTY">POSITIVE</field>
                <value name="NUMBER_TO_CHECK">
                  <shadow type="math_number" id="yb;CKfhU~l{F6=c@XuXM">
                    <field name="NUM">0</field>
                  </shadow>
                  <block type="sell_price" id="(%Ws~=B`[PROTECTED EMAIL]2"></block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="notify" id="SvQ-RV0}30e+[n5K%o!l">
                <field name="NOTIFICATION_TYPE">success</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="`5~+0*36SYhCZOKvS_b~">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text" id="pre0ChVrD]q#`$3D~cha">
                    <field name="TEXT">Ganhando</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="M?PNVXx)ZJTM@Xc-o[(i">
                <value name="IF0">
                  <block type="math_number_property" id="zCC+`{Id2X8xQTV@GPP$">
                    <mutation divisor_input="false"></mutation>
                    <field name="PROPERTY">NEGATIVE</field>
                    <value name="NUMBER_TO_CHECK">
                      <shadow type="math_number" id="yb;CKfhU~l{F6=c@XuXM">
                        <field name="NUM">0</field>
                      </shadow>
                      <block type="sell_price" id="1#4x#Ld|Q/9lX6puc-ft"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="I@aqJAo/1bB^(%]vW7;8">
                    <field name="NOTIFICATION_TYPE">error</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="`5~+0*36SYhCZOKvS_b~">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text" id="7.Rp@tXWk5bEdGmVks%K">
                        <field name="TEXT">Perdendo</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="qR7;Zq}iDcUD|1!3A]cU">
                    <value name="IF0">
                      <block type="logic_compare" id="ZFNG,pqJ2%,lQOYHaKka">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="check_sell" id="YbBBZbG$5|aMms/r-*KP"></block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="kZ32[7zC(p~goJm{/-R~">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="notify" id="RE+R~*F+jG=M}(`7Mz4z">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <shadow type="text" id="zYP,@|I)-J8UO,%M?S39">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id="U9k(xCa0;g!ddm[H}PyG">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="ISLkXMwWn.SX8ojFNQv4">
                                <field name="TEXT">Valor: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="sell_price" id="ZG5C~Eff?_IN]BykPW]Z"></block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="lx=F+.X[e_z:)%ySG.SY">
                            <value name="IF0">
                              <block type="logic_compare" id="QzoGhKZpI$aB8$N$a%wC">
                                <field name="OP">LTE</field>
                                <value name="A">
                                  <block type="sell_price" id="Tx85x#)1S-|_Ba]9WENr"></block>
                                </value>
                                <value name="B">
                                  <block type="math_arithmetic" id="{r,5]xc~,fbuF]Q0Mv`!">
                                    <field name="OP">MULTIPLY</field>
                                    <value name="A">
                                      <shadow type="math_number" id="Fk-8~@{sA+I2uaPIk^4H">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_number" id="6o@!|ln36t;|.42Je@-U">
                                        <field name="NUM">-0.5</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="%nF+(Fd:w0^.-;42Xv[C">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="Q`H^YHdE;uZ]FMYSNxn=">
                                        <field name="VAR" id="OcI5yA/|WU8P4U@Y^m^m" variabletype="">Initial Amount</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="tgB)lA]-#Gd7KP=(nj|p">
                                <field name="VAR" id="TXS5v[lXAzB|STukt,Gt" variabletype="">VENDA</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="!.`heve+@3@qNxD(1hoJ">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="sell_at_market" id="usb0=uVzV^M25wq#!fsj"></block>
                                </next>
                              </block>
                            </statement>
                            <next>
                              <block type="trade_again" id="4v)QaI;5}?^LCR-@hv$g" disabled="true"></block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" collapsed="true" x="0" y="634">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="/TP%I,hfU)^|c.|/3ndN">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="!Ju)S0aU{UXQf0qHA6X,">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="gHD9SF(^C:~$q@c/;(KP">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="]Je7[};kvx`BRACG:?(;">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="s/=(=W~@G6,IQ,b://B3">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="SXm{k(Ltcd0rel3iez82">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="!7vE(S.O$(Hp%A$z{Q)4">
                <field name="VAR" id="OcI5yA/|WU8P4U@Y^m^m" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="xt{eOIX[E!rJ4}0f(|)w">
                    <field name="VAR" id="!BJT)nm7[sP}EeXaG8pO" variabletype="">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="@^jo^p%_Dc9)/}ZVUN=q">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="L!A5F7obJ6YDSU%sb~v$">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id=":bct,J@#aZ1,ap7%$u;m">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="Us=FXR=G20;r.vw#Qzx9">
                    <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="6^U0{%K4N4+shx$i.^;H">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="H(PU=x$bUl;nhRwg*}R|">
                <field name="VAR" id="OcI5yA/|WU8P4U@Y^m^m" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="eN7/Pe-C@6[cZuG=;sr|">
                    <field name="OP">ADD</field>
                    <value name="A">
                      <shadow type="math_number" id="ka8n8|Dugz,q5FkUjs`7">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="g]gxIBC5l?XkJZLd`n1v">
                        <field name="VAR" id="OcI5yA/|WU8P4U@Y^m^m" variabletype="">Initial Amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="{JXdZCp2%s=sfO@yN:n}">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="n#dZL(R~tbmwTs^YpY{n">
                        <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="bV`6lc$_j`ElSi~fxG-e">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="THEX=3SJ9vM.fn6isSQX">
                    <value name="IF0">
                      <block type="logic_compare" id=")?vQl#~,J(1mnfNi]c|F">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="AeT7xRW8;G`0dUU3G9Zu">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="ft^DVzOH^GlSjzUC}@3c">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="Dywmoc_eJ)3BDdpvZ+8%">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="IR(@Z1;/dK1a7*)koIlK">
                            <field name="VAR" id="JD-WnqS3zB~w^D!~xQ:1" variabletype="">Max Loss Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="{Dp3Zh`qx3F{e%!zm[oF">
                        <field name="VAR" id="OcI5yA/|WU8P4U@Y^m^m" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="variables_get" id="h:P1U@JR9*Miyg4^$hVa">
                            <field name="VAR" id="!BJT)nm7[sP}EeXaG8pO" variabletype="">Win Amount</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="1)tW7}^o?Ym2qm8-qmdO">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="t]P+(Nqhmu!Tg.F7-CPr">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="7gm[}!($og`%Y,*D%j%;">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="|K4ymCMY8D%B0Pqg?9ad"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="IuxXfH4y2;l}4;x^GXgv">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="Qq=J(YADm#qJRtdnM78y">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="W{-s|:=aTg]?pW@/|k~#"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="~h}JcSkFo$2+DvY7Z(i1">
                        <field name="VAR" id="vJ(|EJ]W94u3d5TPm{kQ" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id=";?v.`3czHAz0=p.kKdO$"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="{#=T-jZoV^~Hg2fDop#P">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="LlYXC#rV|?[e@:Hp=,j=">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="e{xh9Rs1RU:W_h6hSy/1">
                            <field name="TEXT">Done! Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="TPWF3d]yS|:~*^VVyv]X"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
