﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="nW%:(#t~z?7!nb?qePP0">contawin</variable>
    <variable type="" id=",LnnFj}X-=u?S(~2#F}e">contaloss</variable>
    <variable type="" id="p/1IXe-^3XVw|$/9b%7#">barreirasup01</variable>
    <variable type="" id="[9(MN5^ZG--Ca@E5k~tV">barreirainf01</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="68" y="-16">
    <field name="MARKET_LIST">forex</field>
    <field name="SUBMARKET_LIST">major_pairs</field>
    <field name="SYMBOL_LIST">frxGBPUSD</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">180</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="qgYi!mLpq.MzdhtEhk.6">
        <field name="VAR" id="nW%:(#t~z?7!nb?qePP0" variabletype="">contawin</field>
        <value name="VALUE">
          <block type="math_number" id=":Lgn{Cu0GZTzR2#Lr7~5">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="8yjGb!oM,Q,?V7H#lk*b">
            <field name="VAR" id=",LnnFj}X-=u?S(~2#F}e" variabletype="">contaloss</field>
            <value name="VALUE">
              <block type="math_number" id="J_=l1yT:0(-/a][Ma$_i">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="Fq[a!?ZXcy*I}?(9jp{B">
                <field name="VAR" id="p/1IXe-^3XVw|$/9b%7#" variabletype="">barreirasup01</field>
                <value name="VALUE">
                  <block type="math_number" id="rd6U|{K7aL$78C{*9AE?">
                    <field name="NUM">1.3307</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="X;F/GHpZax$mK`|E4AGj">
                    <field name="VAR" id="[9(MN5^ZG--Ca@E5k~tV" variabletype="">barreirainf01</field>
                    <value name="VALUE">
                      <block type="math_number" id="LDyyprpTXtT+3i/a~**5">
                        <field name="NUM">1.3287</field>
                      </block>
                    </value>
                  </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>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">3</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">3</field>
          </shadow>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="612" y="84">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="O?WK52u4_5c*sF3|KYk/">
        <value name="IF0">
          <block type="logic_compare" id=".0u=yxa_bhP~`H9)cr3b">
            <field name="OP">GTE</field>
            <value name="A">
              <block type="tick" id="VfkZf6/ScSU%HkY,;pO^"></block>
            </value>
            <value name="B">
              <block type="variables_get" id=":.UU/CV[u`oT5ccJh:6r">
                <field name="VAR" id="p/1IXe-^3XVw|$/9b%7#" variabletype="">barreirasup01</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="9f1d6]1Z)ys2h=PZ*j!Z">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="^SdTqdFGSLAp-0,E{}![">
            <value name="IF0">
              <block type="logic_compare" id="qd+y]R9FlPNQcM-bS1wQ">
                <field name="OP">LTE</field>
                <value name="A">
                  <block type="tick" id="|6!~s!Zej}Mp@LZM?7~G"></block>
                </value>
                <value name="B">
                  <block type="variables_get" id="o]u`i^w!UVcH+?wO=3kF">
                    <field name="VAR" id="[9(MN5^ZG--Ca@E5k~tV" variabletype="">barreirainf01</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="*-pFUFDl;cscViZRQQsD">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" x="47" y="644">
    <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="30" y="801">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id=":jHF(cRNC9ntD!l@Q^cL">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="e%TjzwM)c:x-;h^h6!lB">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="math_change" id="3T$YD5iy2OLCo0shdj-R">
            <field name="VAR" id="nW%:(#t~z?7!nb?qePP0" variabletype="">contawin</field>
            <value name="DELTA">
              <shadow type="math_number" id="^$AgSuQyk$G}R`xel1aL">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_number" id="Q:OIMZ|@6(a+:ZZj5hwx">
                <field name="NUM">1</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="math_change" id="59i2HJFuI$.@1o9FS8)l">
            <field name="VAR" id=",LnnFj}X-=u?S(~2#F}e" variabletype="">contaloss</field>
            <value name="DELTA">
              <shadow type="math_number" id="g!:zZ5HbAij@HZU_cY:p">
                <field name="NUM">1</field>
              </shadow>
              <block type="math_number" id="+@!fj6e.R~0c]frGDIcj">
                <field name="NUM">1</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="notify" id="Ku|G9:=*|3%e@8P*PbX,">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="n%/AahbZ22iJdT~KB;z{">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="variables_get" id="A5sNm);^1|Nd[x1B/DQP">
                <field name="VAR" id=",LnnFj}X-=u?S(~2#F}e" variabletype="">contaloss</field>
              </block>
            </value>
            <next>
              <block type="controls_if" id="dUQZ$*#egx)RWxK1J#q(">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="+Br0S5l(twrGEim~nV8L">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="b5i}V_]C`Mb#]w!xY37V">
                        <field name="VAR" id=",LnnFj}X-=u?S(~2#F}e" variabletype="">contaloss</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="_.RtCqf|_K_?|[K8xFFq">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="text_print" id="-_jMEX!?d=Ou{g-0s4Td">
                    <value name="TEXT">
                      <shadow type="text" id="f-jQ=}SU(Z;*n#/Ll?@+">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text" id="1]Fi(Cq,K(F;-5hGhCwl">
                        <field name="TEXT">Barreira máxima alcançada</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="controls_if" id="u@FL|=j?gYG(bZ^e16=9">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id=";_snX;X,icz|%hnHOyga">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="%d#=v!K6`P`0@?-F?7Va">
                            <field name="VAR" id="nW%:(#t~z?7!nb?qePP0" variabletype="">contawin</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="5}sWTd}23Q.3`Nar:M#Z">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="text_print" id="n*Q#bNlG^fX^{t$NEeRG">
                        <value name="TEXT">
                          <shadow type="text" id="f-jQ=}SU(Z;*n#/Ll?@+">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="o#z|bKNt,:eBm/XX~zQo">
                            <field name="TEXT">Lucro alcançado</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="trade_again" id="NR]11LsW%?#i+@?NnZ}9"></block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>