﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="J,e-|TWsZESKZu)6PTn2">Dia</variable>
    <variable type="" id="sVjqWM.L=`h?t/ZsT.6O">MÃªs</variable>
    <variable type="" id="LMhu3p]}*aSvr7Yfm/MN">Tempo da Vela</variable>
    <variable type="" id="iZD+I*}$M3^@!iTHk[]O">Valor da entrada</variable>
    <variable type="" id="nVWvki0+sg#.)a.[M;En">Ano</variable>
    <variable type="" id="WvNoWD:DK#BIuu]wFuY,">Horas</variable>
    <variable type="" id="OeghgnmSSZ+Dw6r2id:v">Minutos</variable>
    <variable type="" id="#`6{GIJA,}C+_*u+6R`u">Stop Loss</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">synthetic_index</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">1HZ10V</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="%qtC?*-|8El[*y:`G+68">
        <field name="VAR" id="J,e-|TWsZESKZu)6PTn2" variabletype="">Dia</field>
        <value name="VALUE">
          <block type="text" id=")0GR.ieP9SJs/m/h-IiB">
            <field name="TEXT">09</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id=",g0BB@|!^ayPCIM_d@X{">
            <field name="VAR" id="sVjqWM.L=`h?t/ZsT.6O" variabletype="">MÃªs</field>
            <value name="VALUE">
              <block type="text" id=",z%Q1#F-?wNB=ZSlc~RF">
                <field name="TEXT">02</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="bKLQMuIlfDBVMVU:s*zN">
                <field name="VAR" id="nVWvki0+sg#.)a.[M;En" variabletype="">Ano</field>
                <value name="VALUE">
                  <block type="text" id="k?0G?a+`:mvW46JcR+od">
                    <field name="TEXT">2020</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="UP{[p!~5N|Zkhm7nb=$G">
                    <field name="VAR" id="WvNoWD:DK#BIuu]wFuY," variabletype="">Horas</field>
                    <value name="VALUE">
                      <block type="text" id="V7S:$Etf:1wD=5Un?/@W">
                        <field name="TEXT">10</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="b@e^XS6l7sp9saN_;C|/">
                        <field name="VAR" id="OeghgnmSSZ+Dw6r2id:v" variabletype="">Minutos</field>
                        <value name="VALUE">
                          <block type="text" id="XN$^PhSPr;/8HZCXpPjg">
                            <field name="TEXT">22</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="@:0|[EL*WuKSoRI@),OO">
                            <field name="VAR" id="LMhu3p]}*aSvr7Yfm/MN" variabletype="">Tempo da Vela</field>
                            <value name="VALUE">
                              <block type="math_number" id=".,OTOi?s=JP|qrqDuYUr">
                                <field name="NUM">5</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="wpF?:+N6?t%;$BJowwXM">
                                <field name="VAR" id="iZD+I*}$M3^@!iTHk[]O" variabletype="">Valor da entrada</field>
                                <value name="VALUE">
                                  <block type="math_number" id="A#L^a=J*A70ctelWjIX!">
                                    <field name="NUM">0.5</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="2DJ@G4@$V)3,7aDzZp5p">
                                    <field name="VAR" id="#`6{GIJA,}C+_*u+6R`u" variabletype="">Stop Loss</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="n2EwjF|:qj,Z~TEZ.hSt">
                                        <field name="NUM">2</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="9FiOwXUgKL^KNAm|tLOq">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="TTaTZ=BM}Bc#j1Xmy?K7">
            <field name="VAR" id="LMhu3p]}*aSvr7Yfm/MN" variabletype="">Tempo da Vela</field>
          </block>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="32a)A_{SEs9F3mXu2jAP">
            <field name="VAR" id="iZD+I*}$M3^@!iTHk[]O" variabletype="">Valor da entrada</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="0" y="652">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="0|XL~hH.0*I}1*6@H1oy">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="4oh}sD6mftLLw7mZ^gQt">
            <field name="OP">GTE</field>
            <value name="A">
              <block type="procedures_callreturn" id="lLA,2~6*S_xy}TH,$|K^">
                <mutation name="Controle horas"></mutation>
              </block>
            </value>
            <value name="B">
              <block type="text_join" id="xkJ~]Z(|=dKIaB2^O:x3">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text_join" id="7iuSYaMM_OCxwb^H5~}w">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text_join" id="x?J#JGQF?jyaBow-Y6xg">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="variables_get" id="os^d:W2__UxntB4?XG/k">
                            <field name="VAR" id="nVWvki0+sg#.)a.[M;En" variabletype="">Ano</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text" id="vfYu:UdhE1A3~1ir-XZv">
                            <field name="TEXT">-</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text_join" id="ggSG:;|yk[C0iz7Cn-iR">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="variables_get" id="fm(pn]mygL)rPVipYVLX">
                            <field name="VAR" id="sVjqWM.L=`h?t/ZsT.6O" variabletype="">MÃªs</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text" id=".HiF$e3BKDT8Ty+,cmJb">
                            <field name="TEXT">-</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="text_join" id="U.~qYuf*x//Iu:SZy@A3">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text_join" id="tSU[ZmZ~r`4*N?6S9#f+">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="variables_get" id="[UiBI%|d43b7]0=-?oiu">
                            <field name="VAR" id="J,e-|TWsZESKZu)6PTn2" variabletype="">Dia</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text" id=":8VPSKnZLt~SizGwvd:O">
                            <field name="TEXT"> </field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="text_join" id="tJ2+qCnQc8yP2Y}|j7{p">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="variables_get" id="Udtt4Pg8N446xn;x/,:2">
                            <field name="VAR" id="WvNoWD:DK#BIuu]wFuY," variabletype="">Horas</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="text_join" id="xo-Hp*?XeU-W%(aHx$/s">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="1fkxc`xApd527tWvzoA%">
                                <field name="TEXT">:</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="FybufCQH86kFvl#K_cRn">
                                <field name="VAR" id="OeghgnmSSZ+Dw6r2id:v" variabletype="">Minutos</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="%Obsj~Q=^}ooTYEGl}Fo">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="yY@EPR$]gUjT{5,s$1MP">
                <field name="TEXT">Aguardando horÃ¡rio</field>
              </shadow>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" collapsed="true" x="0" y="705">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="f_T8jfHc^uzax8xPV}(8">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="math_number_property" id="xxzCyYzQ^=L,IxO%ywrW">
            <mutation divisor_input="false"></mutation>
            <field name="PROPERTY">POSITIVE</field>
            <value name="NUMBER_TO_CHECK">
              <shadow type="math_number" id="p~#+24|WJLfg0$e/eCjN">
                <field name="NUM">0</field>
              </shadow>
              <block type="sell_price" id="!5RT@xGpYN!r~sa$OgO#"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id=";z39QD},n.V3NPBB`zGI">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="e$A4.X:V}k0CH@B`~^z8">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text" id="c#dv$gm.p~sAM+!XE(J:">
                <field name="TEXT">Ganhando</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="Sgc(h7#mnKqr[G`o@c1o">
            <field name="NOTIFICATION_TYPE">error</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="e$A4.X:V}k0CH@B`~^z8">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text" id="rS6`f$X?-cneCsK)S34^">
                <field name="TEXT">Perdendo</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="0" y="758">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="#9r|(xnd:3kgZM(1S?Cb">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="cr4LrrOLQDsI|{ISVS5*">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="text_print" id="}F!oU~%xS3NUGSI/jU?G">
            <value name="TEXT">
              <shadow type="text" id="pg!E_^i!s2{*hsDg:IAa">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="z5*Zk8Sq?g_k_QuyT@E}">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="lfh6Uk?S%0iG/^_Z:_!F">
                    <field name="TEXT">Meta batida, lucro de: $</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="?6w-4-Az#5mDqhvi(0##"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="trade_again" id="o?vjwEyS+YOtGLw}@`Ht"></block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="/uPwz_uD!l3${;(^M/$_">
            <field name="VAR" id="iZD+I*}$M3^@!iTHk[]O" variabletype="">Valor da entrada</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="w_b@c1s/rnK[0ee^N9nQ">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="Uc]zT3m0+;NL%1J*,-Xe">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="fR3tfn3tyr%+9S_xqw.`">
                    <field name="VAR" id="iZD+I*}$M3^@!iTHk[]O" variabletype="">Valor da entrada</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="Ma12EZSyNlf97[)[c{4$">
                    <field name="NUM">2</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="t/D@[4A#CZWMiS}),_p?">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="d?5K[Kc(7ro$t,N_BPUa">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="total_profit" id="b^LG`;*q^Pg1.j@rNwG."></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="sNdE+;9XeaAKx|bTSGDU">
                        <field name="VAR" id="#`6{GIJA,}C+_*u+6R`u" variabletype="">Stop Loss</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="text_print" id="Us/Zt.B%M_q|!5,W5elT">
                    <value name="TEXT">
                      <shadow type="text" id="0KhSB9z=5[CIo%y)sgj3">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="[PROTECTED EMAIL]9SV{j">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="qv|WgO0)Su:@h(jzjZh9">
                            <field name="TEXT">Stop Loss atingido:</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id=";V?l]`8+;YIddREg5:{("></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="trade_again" id="i*@/|/p$~b^q}D?b(@V9"></block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="2OB-`EFfD?-gy@-`FB,`" collapsed="true" x="0" y="811">
    <field name="NAME">Controle horas</field>
    <comment pinned="false" h="80" w="160">Descreva esta funÃ§Ã£o...</comment>
    <statement name="STACK">
      <block type="notify" id="-5B42*mk:CPcDhQ/`PHv">
        <field name="NOTIFICATION_TYPE">success</field>
        <field name="NOTIFICATION_SOUND">silent</field>
        <value name="MESSAGE">
          <shadow type="text" id="q#K#4mD39sCUPmqAgD77">
            <field name="TEXT">Aguardando horÃ¡rio</field>
          </shadow>
          <block type="todatetime" id="]hG)345ex8@|THmvk7I]">
            <value name="TIMESTAMP">
              <shadow type="math_number" id="/MWwiKfYxdJ-q{!0-ZVk">
                <field name="NUM">0</field>
              </shadow>
              <block type="epoch" id="?EnuV`Nu/[qy,gH(iPpX"></block>
            </value>
          </block>
        </value>
      </block>
    </statement>
    <value name="RETURN">
      <block type="todatetime" id="yV5*T-=nABT*Qnkz#*F]">
        <value name="TIMESTAMP">
          <shadow type="math_number" id="/MWwiKfYxdJ-q{!0-ZVk">
            <field name="NUM">0</field>
          </shadow>
          <block type="epoch" id="e4c0cD4{HM#Wl!VCpY)*"></block>
        </value>
      </block>
    </value>
  </block>
</xml>
