﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="true">
  <block type="tick_analysis" id="|O+!L;l7]YT:WxC1;jJl">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id=";Yq[%O0,o))F?Gjwf#zo">
        <field name="VAR" id="AT%ep?V}Wj{#9x*0)3J!" variabletype="">Preço atual bloco 3</field>
        <value name="VALUE">
          <block type="lists_getIndex" id="{3w]o1qX`ZU.z!YqyIph">
            <mutation statement="false" at="true"></mutation>
            <field name="MODE">GET</field>
            <field name="WHERE">FROM_END</field>
            <value name="VALUE">
              <block type="ticks" id="ONIGu+[z+3v7=H?p9TrP"></block>
            </value>
            <value name="AT">
              <block type="math_number" id="O_i3#79/9U@CHoWxf-(6">
                <field name="NUM">1</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="U=`%6GS%0CCv$`A8k%z?" disabled="true">
            <field name="VAR" id="YP8bUL6v=zDcb1BEHz|2" variabletype="">TICK4</field>
            <value name="VALUE">
              <block type="lists_getIndex" id="_mQ796Z9XFp]kGCTP;^m">
                <mutation statement="false" at="true"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">FROM_END</field>
                <value name="VALUE">
                  <block type="ticks" id="433}6G-_HHdU]54QW+|0"></block>
                </value>
                <value name="AT">
                  <block type="math_number" id="OwU+4qDH+%*OcUg46x|B">
                    <field name="NUM">2</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="!q@~LvGSEt{wgI(n[o$x">
                <value name="IF0">
                  <block type="check_sell" id="l.c(g9xHprcbzT4.(@xo" disabled="true"></block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="6UlOzL7Zk7dd(jok5%NA">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="i{ln@:=Y3^ex^Nh4ksgr">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="variables_get" id="qqX9:@%!AOV3ibzRx,*!">
                            <field name="VAR" id="S4E.TgcKjOMY_RHt8=CJ" variabletype="">Fechar venda</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="$|}]jx88Bu$xf~_HU6}M">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="math_change" id="|^WIuqxCJu,k!i.:kjS;">
                        <field name="VAR" id="S4E.TgcKjOMY_RHt8=CJ" variabletype="">Fechar venda</field>
                        <value name="DELTA">
                          <shadow type="math_number" id="VG^jITpCmksUq$W[4?:]">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="controls_if" id="BX2e~wX7*0gru2{i;RHM">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="J_M75,9$3MWUXU?KSjZH">
                                <field name="OP">LTE</field>
                                <value name="A">
                                  <block type="variables_get" id="i?$NDUjxQ]lJn|s*a^*c">
                                    <field name="VAR" id="S4E.TgcKjOMY_RHt8=CJ" variabletype="">Fechar venda</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="!1wLY4$_$G#l2aAu}4[#">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="a#ggl;yF$]z37).nydk`">
                                <field name="VAR" id="uc,|WyEX3?PcFCR:x0KQ" variabletype="">Martingale alto</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="ToC0z;{zf/CSy1=|!#+)">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="variables_set" id="0^p!u[6JrK`Cnt(huCJ2">
                                <field name="VAR" id="uc,|WyEX3?PcFCR:x0KQ" variabletype="">Martingale alto</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="=5U|do:(qDRf@90!8FWg">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="a(8{RgE({Q5Q%cp7q8e)">
                                <value name="IF0">
                                  <block type="logic_compare" id="|:M,0Pr0:x$(-Dq^D`bZ">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="@p-o{gkjCs8Q7T(G-fel">
                                        <field name="VAR" id="S4E.TgcKjOMY_RHt8=CJ" variabletype="">Fechar venda</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="JQ.U7Rpk9HM$%Q,RA(~}">
                                        <field name="NUM">1</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="ke3C@Ey)/hO{m9H}UCs~">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_operation" id="D,CU}/.nWqwY1HG+?V5#">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="variables_get" id="RjA`7C--6:D,0X1+?7eq">
                                            <field name="VAR" id="SI:?s/^1sUe]j4|e.`[[" variabletype="">Venda.CALL</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="[R=*)B?~5h*-hzDk3Oz*">
                                            <field name="OP">LT</field>
                                            <value name="A">
                                              <block type="variables_get" id="oN;72=;Mt{1ubaIjQ,c,">
                                                <field name="VAR" id="AT%ep?V}Wj{#9x*0)3J!" variabletype="">Preço atual bloco 3</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="!yFrbqwdU*)cLcPY^+7r">
                                                <field name="VAR" id="G-AX.QG~gWAx#^S.q7p*" variabletype="">Tick de entrada bloco 2</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id=",sYPn3LD6e9;c6B5psJ$">
                                        <field name="VAR" id="ERk*lgwe?)SBFbxC1_~j" variabletype="">valor de distancia</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="aU]gA%kgaL]mx%w}O|?Y">
                                            <field name="OP">MINUS</field>
                                            <value name="A">
                                              <shadow type="math_number" id="}tAI27yu#7q.8ETd,3%Y">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="8d}1)VdyiR%Q9f_o2@Wm">
                                                <field name="VAR" id="G-AX.QG~gWAx#^S.q7p*" variabletype="">Tick de entrada bloco 2</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="QnW`GMXVT:vuHG]lVp5`">
                                                <field name="NUM">20</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="notify" id="{^vwON`EawIll7h=mtka">
                                            <field name="NOTIFICATION_TYPE">info</field>
                                            <field name="NOTIFICATION_SOUND">silent</field>
                                            <value name="MESSAGE">
                                              <shadow type="text" id="DXuR%(oU0*|/t=`L^+^O">
                                                <field name="TEXT">Stop Movel</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_operation" id="d3J_-M)D*(~B_cC4L.uo">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="variables_get" id="sYk5e_3Uh(UnmutFNWD~">
                                            <field name="VAR" id="bXv_,5q1dZsbf/*.f*H}" variabletype="">Venda.PUT</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="Z,/%k(,%C+}LKYke%*Ks">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="variables_get" id="TO2QeL;V#OjXWYys0w]0">
                                                <field name="VAR" id="AT%ep?V}Wj{#9x*0)3J!" variabletype="">Preço atual bloco 3</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="@(q_iu?C95@?-l[swrZ8">
                                                <field name="VAR" id="G-AX.QG~gWAx#^S.q7p*" variabletype="">Tick de entrada bloco 2</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="variables_set" id="jN;}:-NA9wQ8!,1.*CgU">
                                        <field name="VAR" id="UkuGiyGY`#6QQ)Aqv+B{" variabletype="">valor de distancia Negativo</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="[aWA1?7wbyHXbFNSuBxS">
                                            <field name="OP">ADD</field>
                                            <value name="A">
                                              <shadow type="math_number" id="}tAI27yu#7q.8ETd,3%Y">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="-$Bym|epTiPq6QttVR!+">
                                                <field name="VAR" id="G-AX.QG~gWAx#^S.q7p*" variabletype="">Tick de entrada bloco 2</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="RUTHuG^GZ?Sel4PZY$s@">
                                                <field name="NUM">20</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="notify" id="|X~xrf/k=8{.V.k-mPz)">
                                            <field name="NOTIFICATION_TYPE">info</field>
                                            <field name="NOTIFICATION_SOUND">silent</field>
                                            <value name="MESSAGE">
                                              <shadow type="text" id="X)sHjApDpBTB8]]spMRn">
                                                <field name="TEXT">Stop Movel</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="l1n?gO`IL#[ud/ZH$YDh">
                                    <comment pinned="false" h="80" w="160">Venda por distancia perdida</comment>
                                    <value name="IF0">
                                      <block type="logic_operation" id="In5%.a}HAIJCT^^vMZr." inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="variables_get" id="6P$OK}4e,1O=gziR{%3M">
                                            <field name="VAR" id="SI:?s/^1sUe]j4|e.`[[" variabletype="">Venda.CALL</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="9Dq0=;]MG*9j)D9ToZQE">
                                            <field name="OP">LT</field>
                                            <value name="A">
                                              <block type="variables_get" id="Y1$~*a`2|7.|*s3mo%`Z">
                                                <field name="VAR" id="UkuGiyGY`#6QQ)Aqv+B{" variabletype="">valor de distancia Negativo</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="g,@rNBD`NG~Gb{vuuneC">
                                                <field name="VAR" id="AT%ep?V}Wj{#9x*0)3J!" variabletype="">Preço atual bloco 3</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="sell_at_market" id="_,^[$k%c!@rI5T6;W9ef" disabled="true"></block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="m/2`HJoXoPi$mH()2Cqo">
                                        <comment pinned="false" h="80" w="160">Venda por distancia perdida</comment>
                                        <value name="IF0">
                                          <block type="logic_operation" id="1l8S}r(iEkCVEwjy+e-o" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="variables_get" id="g[2lw2JbXcC3}-nw},vF">
                                                <field name="VAR" id="bXv_,5q1dZsbf/*.f*H}" variabletype="">Venda.PUT</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="4Kb7Jz/*V*K?I#o9q_3B">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="Jo2eBWWj8AWL~ctug}3-">
                                                    <field name="VAR" id="ERk*lgwe?)SBFbxC1_~j" variabletype="">valor de distancia</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="A?.tfu9-eRx6,!#=pxMi">
                                                    <field name="VAR" id="AT%ep?V}Wj{#9x*0)3J!" variabletype="">Preço atual bloco 3</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="sell_at_market" id="^J(2b_::uBEt`#E7_$)*" disabled="true"></block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="notify" id="~bW1$vGa5GBlTXW@%Y(b">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">job-done</field>
                        <value name="MESSAGE">
                          <shadow type="text" id=";T{`+u4lNsz;e:QV^rKZ">
                            <field name="TEXT">Encerrada a venda chance de 87%</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
                <next>
                  <block type="notify" id="9bThw?;I`mk)BZMN{w7I" disabled="true">
                    <field name="NOTIFICATION_TYPE">error</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="5ty0Ah@_-iIPp30:_IBd">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="math_arithmetic" id="L%{l$$^mL6z`-IE7Xqn/">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow type="math_number" id="s02!;9OkxHTPBr8+n^)F">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="xhN;MFu{82;[RAg%tCeh">
                            <field name="VAR" id="G-AX.QG~gWAx#^S.q7p*" variabletype="">Tick de entrada bloco 2</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="]-Oqp6A{afg~PC?4.?1L">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="4C^S?!vH}R-GFVQ*eQ]F">
                            <field name="VAR" id="AT%ep?V}Wj{#9x*0)3J!" variabletype="">Preço atual bloco 3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>