﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="true">
  <block type="procedures_defreturn" id="xmj_.R|:/6[`z~7RQ3eu">
    <mutation>
      <arg name="last candle" varid=";A/f@hU=(QbT#mbWWv9x"></arg>
    </mutation>
    <field name="NAME">new candle</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="~R:=zz1qwBcg?A^w?G/L">
        <field name="VAR" id="DU@NIRl/32y.dI1}R:5n" variabletype="">is the candle new</field>
        <value name="VALUE">
          <block type="logic_boolean" id="`;kb`)cxmsU#D:qGE[K!">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id=")+956do`Vd45#Ri:y=oc">
            <value name="IF0">
              <block type="logic_negate" id="OjNB9d5F9W7BZ2]r7b%{">
                <value name="BOOL">
                  <block type="variables_get" id="K3P=3(q8n5xg8fDZrK]N">
                    <field name="VAR" id="[#k+eLItly~+(nom:bpA" variabletype="">current candle time</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id=")yD6u069dPOv9p9Mm8AA">
                <field name="VAR" id="[#k+eLItly~+(nom:bpA" variabletype="">current candle time</field>
                <value name="VALUE">
                  <block type="variables_get" id="Oju!@;!_(S4U5bLc_57E">
                    <field name="VAR" id=";A/f@hU=(QbT#mbWWv9x" variabletype="">last candle</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="kxLtw+j00sV/u?RP~mi-">
                    <field name="VAR" id="DU@NIRl/32y.dI1}R:5n" variabletype="">is the candle new</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="2HFdWG8`U2t[kl8ZpTOA">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="Kf%TpeJ{+u#|{k$)WQ@u">
                <value name="IF0">
                  <block type="logic_compare" id="@zz9kXPIn*+e!l.U#^UJ">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="variables_get" id="IWyh5!(%PP}IW.PLGR$B">
                        <field name="VAR" id="[#k+eLItly~+(nom:bpA" variabletype="">current candle time</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="N(=/0wOUH@btW5tBX2zS">
                        <field name="VAR" id=";A/f@hU=(QbT#mbWWv9x" variabletype="">last candle</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="A0]$z^^Mv}iYX{qIMsd(">
                    <field name="VAR" id="[#k+eLItly~+(nom:bpA" variabletype="">current candle time</field>
                    <value name="VALUE">
                      <block type="variables_get" id="?WT*1ZgTcA.`hR!k#2o_">
                        <field name="VAR" id=";A/f@hU=(QbT#mbWWv9x" variabletype="">last candle</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="T-=[-tM9O,WiqYRGhUs;">
                        <field name="VAR" id="DU@NIRl/32y.dI1}R:5n" variabletype="">is the candle new</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="swB|S.Fq86.J$PPR]MEK">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="sIH.%k1p+9Y!Z4-~2co0">
        <field name="VAR" id="DU@NIRl/32y.dI1}R:5n" variabletype="">is the candle new</field>
      </block>
    </value>
  </block>
</xml>