﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="true">
  <block type="after_purchase" id="X[gun7Sx6Shn3kldC}mZ">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="+b@!?p+s(~^u0f.Aw[Le">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="@{:fY*(sf{)QlzbTcg`|">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="cUu!BdTCL[_26UEpsEK~">
            <field name="VAR" id="c6b3d1D,(Ht4+5fAWhNu" variabletype="">Tiền Vào Lệnh</field>
            <value name="VALUE">
              <block type="variables_get" id="ZwE~gjuXAq5S2}1/(Mki">
                <field name="VAR" id="A+{pEXrql:205s$Rsf$Y" variabletype="">Tiền Vào Lệnh Khi Win</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="#Op3WV/]9o?!EZO(Ib;#">
                <field name="VAR" id="3S7{k4m|vd$HcDOQ2p0^" variabletype="">Loss</field>
                <value name="VALUE">
                  <block type="math_number" id="6zm9_~]r5)k~@br$93FE">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="notify" id="pkYL{:^0{KXkl%?[dBY;">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow id="%#M=P+7o~X#Mul$u3Ref" type="text">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="0.wQ-5.ZZR`tS2nS.^la">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="RuiHD^`x-(PQMa17bnt.">
                            <field name="TEXT">Tổng Lãi:  </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="*n72GBoJW_RH6)=8hy%("></block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="timeout" id="H?)%%iS+Z.I%}SW9RbjC">
                        <value name="SECONDS">
                          <shadow type="math_number" id="^|0=|jNO[@Bmo2$5cu;D">
                            <field name="NUM">5</field>
                          </shadow>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="!akPV%?vTC.zs7KIwix[">
            <field name="VAR" id="3S7{k4m|vd$HcDOQ2p0^" variabletype="">Loss</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="ZPF1tY2-h;,PD:eA.}wJ">
                <field name="OP">ADD</field>
                <value name="A">
                  <shadow id="?_DKTGs{Py#qSjCYvco4" type="math_number">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="Z1]M`Mr)axiN!6EL/}:y">
                    <field name="VAR" id="3S7{k4m|vd$HcDOQ2p0^" variabletype="">Loss</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="ts*7l%9O=K~[:H.cqDJz">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="l,cDj[k*1teNcx,qpl-n">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="T+eB)yQ@[:$s@M)xbpQ#">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id=",Yrj,5sT/Dg3mFj==!D[">
                        <field name="VAR" id="3S7{k4m|vd$HcDOQ2p0^" variabletype="">Loss</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="VuyGh?^(CiWA:URqMEok">
                        <field name="VAR" id="@b#**.x.da{UCO%/]%/j" variabletype="">Số Lần Max Loss</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="OUto_lXZ`EhVkA|2SJec">
                    <field name="VAR" id="c6b3d1D,(Ht4+5fAWhNu" variabletype="">Tiền Vào Lệnh</field>
                    <value name="VALUE">
                      <block type="variables_get" id="dl8r*6-|8K/@pn*8|rdO">
                        <field name="VAR" id="A+{pEXrql:205s$Rsf$Y" variabletype="">Tiền Vào Lệnh Khi Win</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="2`A{WJ|.GD`~$nT?^ofn">
                        <field name="VAR" id="3S7{k4m|vd$HcDOQ2p0^" variabletype="">Loss</field>
                        <value name="VALUE">
                          <block type="math_number" id="iX0YFsv%v_ZScoGHX)g0">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="notify" id="dWk5*SUS_F4prU5V|oR*">
                            <field name="NOTIFICATION_TYPE">warn</field>
                            <field name="NOTIFICATION_SOUND">job-done</field>
                            <value name="MESSAGE">
                              <shadow type="text" id="g`P;f~^v!zOc_9DL!lQ+">
                                <field name="TEXT">Cắt Gấp Lệnh</field>
                              </shadow>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="math_change" id="^}-SF?9Y65qEah4#o:qc">
                    <field name="VAR" id="c6b3d1D,(Ht4+5fAWhNu" variabletype="">Tiền Vào Lệnh</field>
                    <value name="DELTA">
                      <shadow id="eQLX!homgWc0%tW_M]C[" type="math_number">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_arithmetic" id="_p*h4t]+5!GB~v`}eH0A">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow id="PuU{?eAPuKUg*FWY~7uy" type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_single" id="w{Cb|rH:v%]wD2r7tu]C">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow id="Jy}UP+^sjjdx]O-M@2NJ" type="math_number">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="XSu%6pD|U$nhIT-00U`W">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="96)?LE]`n`!?Vw,JdSFE">
                            <field name="NUM">1.05</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="timeout" id="kE8K9ySGqgxBw4S}dly4">
                    <value name="SECONDS">
                      <shadow type="math_number" id="]V%JJav~E1(#Zc/FkvhA">
                        <field name="NUM">60</field>
                      </shadow>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="{Ir[sKM61Yy{7:2o89rC">
            <value name="IF0">
              <block type="logic_negate" id="IFBPt~X$a!3A%Os-,~mS">
                <value name="BOOL">
                  <block type="procedures_callreturn" id="gZMMYk}u}x^@!l4!jW6~">
                    <mutation name="is stop"></mutation>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="trade_again" id="@zYm7xv_1*f}CjR}xv~4"></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>