﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="J,e-|TWsZESKZu)6PTn2">Dia</variable>
    <variable type="" id="LMhu3p]}*aSvr7Yfm/MN">Tempo da Vela</variable>
    <variable type="" id="sVjqWM.L=`h?t/ZsT.6O">MÃªs</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="dMi^pYdTwc?zu.+zW-=9">Stop loss 1</variable>
    <variable type="" id="#`6{GIJA,}C+_*u+6R`u">Stop Loss</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="-438" y="-163">
    <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" collapsed="true">
        <field name="VAR" id="J,e-|TWsZESKZu)6PTn2" variabletype="">Dia</field>
        <value name="VALUE">
          <block type="text_prompt_ext" id="WH`2(Xs3`B1xDPbe@Y^`">
            <mutation type="TEXT"></mutation>
            <field name="TYPE">TEXT</field>
            <value name="TEXT">
              <shadow type="text" id="1p?)ei_K(QHadU;11o7:">
                <field name="TEXT">Dia</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id=",g0BB@|!^ayPCIM_d@X{" collapsed="true">
            <field name="VAR" id="sVjqWM.L=`h?t/ZsT.6O" variabletype="">MÃªs</field>
            <value name="VALUE">
              <block type="text_prompt_ext" id="=S7KM{CA-u|Gl0au+PqH">
                <mutation type="TEXT"></mutation>
                <field name="TYPE">TEXT</field>
                <value name="TEXT">
                  <shadow type="text" id="CB6hGmL6kEtw5XK[N,dj">
                    <field name="TEXT">MÃªs</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="bKLQMuIlfDBVMVU:s*zN" collapsed="true">
                <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" collapsed="true">
                    <field name="VAR" id="WvNoWD:DK#BIuu]wFuY," variabletype="">Horas</field>
                    <value name="VALUE">
                      <block type="text_prompt_ext" id="WW+{/w@/H{X|([a`15nf">
                        <mutation type="TEXT"></mutation>
                        <field name="TYPE">TEXT</field>
                        <value name="TEXT">
                          <shadow type="text" id="Rz6juvf^6ZJiM;nVyr6E">
                            <field name="TEXT">Horas ( acrescente 1hr a mais devido ao fuso horÃ¡rio da Binary) Ex.: Seu RelÃ³gio Ã© 22:20, coloque 23:20</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="b@e^XS6l7sp9saN_;C|/" collapsed="true">
                        <field name="VAR" id="OeghgnmSSZ+Dw6r2id:v" variabletype="">Minutos</field>
                        <value name="VALUE">
                          <block type="text_prompt_ext" id="PUx6s^*nFTep![1rFPPk">
                            <mutation type="TEXT"></mutation>
                            <field name="TYPE">TEXT</field>
                            <value name="TEXT">
                              <shadow type="text" id="$-w%^i%A,Gw_=:Bh[K}!">
                                <field name="TEXT">Minutos</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="@:0|[EL*WuKSoRI@),OO" collapsed="true">
                            <field name="VAR" id="LMhu3p]}*aSvr7Yfm/MN" variabletype="">Tempo da Vela</field>
                            <value name="VALUE">
                              <block type="text_prompt_ext" id="t_qn-KDI6clRP)ysZP*w">
                                <mutation type="NUMBER"></mutation>
                                <field name="TYPE">NUMBER</field>
                                <value name="TEXT">
                                  <shadow type="text" id="D677=eEj3@k%ARp$Z=vB">
                                    <field name="TEXT">Qual o tempo da vela?</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="wpF?:+N6?t%;$BJowwXM" collapsed="true">
                                <field name="VAR" id="iZD+I*}$M3^@!iTHk[]O" variabletype="">Valor da entrada</field>
                                <value name="VALUE">
                                  <block type="text_prompt_ext" id="rxAkPI!SGlR3.ziwSS@{">
                                    <mutation type="NUMBER"></mutation>
                                    <field name="TYPE">NUMBER</field>
                                    <value name="TEXT">
                                      <shadow type="text" id=".RL[6/KL7K!#Or!]XaYV">
                                        <field name="TEXT">Qual valor da entrada?</field>
                                      </shadow>
                                    </value>
                                  </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_arithmetic" id="a}%T!oc#U~BYbfC:,hMz">
                                        <field name="OP">MULTIPLY</field>
                                        <value name="A">
                                          <shadow type="math_number" id="2NJL4HC/KlcGKXv~62Y-">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id=",Uy8=BVJ21KcB{kid-cv">
                                            <field name="VAR" id="iZD+I*}$M3^@!iTHk[]O" variabletype="">Valor da entrada</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="!{+.e?.%SXN8=do!C7l/">
                                            <field name="NUM">4</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="sDFI_T(x=;hCLxOPQF0@">
                                        <field name="VAR" id="dMi^pYdTwc?zu.+zW-=9" variabletype="">Stop loss 1</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="J*SuWH!{}eAri(zHsG.C">
                                            <field name="NUM">-4</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </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">t</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>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="561" y="-73">
    <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="procedures_defreturn" id="2OB-`EFfD?-gy@-`FB,`" collapsed="true" x="562" y="-31">
    <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>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" collapsed="true" x="677" y="26">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
        <value name="IF0">
          <block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="219" y="55">
    <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>
          </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="dMi^pYdTwc?zu.+zW-=9" variabletype="">Stop loss 1</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>
</xml>
