﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="procedures_defnoreturn" id="%%W!Z)T,T;K:!=oW,%Id" collapsed="true" x="0" y="0">
    <mutation>
      <arg name="Input List"></arg>
      <arg name="Periods"></arg>
    </mutation>
    <field name="NAME">d'Brengos Directional Movement Indicators</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="o~EN!_GuC5Mc|NTG{j8a">
        <field name="VAR">High</field>
        <value name="VALUE">
          <block type="math_on_list" id="8UN{JvgPFgx{-(FpY^r|">
            <mutation op="MAX"></mutation>
            <field name="OP">MAX</field>
            <value name="LIST">
              <block type="lists_getSublist" id="^:tVmA{E88G]6yO67--J">
                <mutation at1="true" at2="false"></mutation>
                <field name="WHERE1">FROM_END</field>
                <field name="WHERE2">LAST</field>
                <value name="LIST">
                  <block type="variables_get" id="CH8C{3i)wH$X.Wa4+,$c">
                    <field name="VAR">Input List</field>
                  </block>
                </value>
                <value name="AT1">
                  <block type="variables_get" id=".OWC|x_{188AJq9Bf#2;">
                    <field name="VAR">Periods</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="PcUj*xGLNAI;-K*c@B(b">
            <field name="VAR">Low</field>
            <value name="VALUE">
              <block type="math_on_list" id="$2/[Crz:d[T.n68n%+Ai">
                <mutation op="MIN"></mutation>
                <field name="OP">MIN</field>
                <value name="LIST">
                  <block type="lists_getSublist" id="]9Ox2j%.(#jxYB1%DfrG">
                    <mutation at1="true" at2="false"></mutation>
                    <field name="WHERE1">FROM_END</field>
                    <field name="WHERE2">LAST</field>
                    <value name="LIST">
                      <block type="variables_get" id="[Ab0`uD{4~*?f4E*::-o">
                        <field name="VAR">Input List</field>
                      </block>
                    </value>
                    <value name="AT1">
                      <block type="variables_get" id=";wp^C7FXWl9(w;MN6(5!">
                        <field name="VAR">Periods</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="lists_setIndex" id="DiO?87H#i.2UWZqoDxTj">
                <mutation at="false"></mutation>
                <field name="MODE">INSERT</field>
                <field name="WHERE">LAST</field>
                <value name="LIST">
                  <block type="variables_get" id="NiIz+x1ML]f*IY/35F4T">
                    <field name="VAR">High Array</field>
                  </block>
                </value>
                <value name="TO">
                  <block type="variables_get" id="WiZRBcn/LQ1u=#bZ*v2X">
                    <field name="VAR">High</field>
                  </block>
                </value>
                <next>
                  <block type="lists_setIndex" id="GO:U1W}cf(4hM7LL?~*(">
                    <mutation at="false"></mutation>
                    <field name="MODE">INSERT</field>
                    <field name="WHERE">LAST</field>
                    <value name="LIST">
                      <block type="variables_get" id="+tC.lC4Cqb%52$/Ryc]@">
                        <field name="VAR">Low Array</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block type="variables_get" id="NhD@pSM8gyJ)0}}a^2OR">
                        <field name="VAR">Low</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="LM|9OSX4f*);0R4||c[M">
                        <field name="VAR">PrevHigh</field>
                        <value name="VALUE">
                          <block type="lists_getIndex" id="@KTd7Dj5WGzGmsO{nP|b">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="QQ{Py*f8a3|-{ZU-I#Cm">
                                <field name="VAR">High Array</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="ttPbET6EQ~Mc*X)aq{qn">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="hpcABmj9OY*Ef/:IDF:%">
                            <field name="VAR">PrevLow</field>
                            <value name="VALUE">
                              <block type="lists_getIndex" id="mP=M8$:L%ijSqoy-;PGX">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="F1=WIxX/%?-S8]nU5PDo">
                                    <field name="VAR">Low Array</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="PNleH?_eq?fnA:Z0UB:R">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="xhlA;!HECnL2M,Q/oygf">
                                <field name="VAR">+DM</field>
                                <value name="VALUE">
                                  <block type="math_arithmetic" id="a+a}ebd9^^hBCGbSYoXb">
                                    <field name="OP">MINUS</field>
                                    <value name="A">
                                      <shadow type="math_number" id="l$eZ`QND|r{()uOe`fED">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="38=~Tc6RUv-oG-:R!r2a">
                                        <field name="VAR">High</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="4`Q:-_nkFJO2q2^S`ykX">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="vgQP8kb[eT:Y_F7A#/RL">
                                        <field name="VAR">PrevHigh</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="nL^Mwry9HZMzaX$8X(e0">
                                    <field name="VAR">-DM</field>
                                    <value name="VALUE">
                                      <block type="math_arithmetic" id="V6hhN,Gjb:1tuDyeVaQd">
                                        <field name="OP">MINUS</field>
                                        <value name="A">
                                          <shadow type="math_number" id="l$eZ`QND|r{()uOe`fED">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id=",w6y,z_/cT]G1dr#`Sdu">
                                            <field name="VAR">PrevLow</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="4`Q:-_nkFJO2q2^S`ykX">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="*^nV}yk*^n$vs~m/F,2v">
                                            <field name="VAR">Low</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="US5Mdr[rrrm7F]d0fSkK">
                                        <field name="VAR">PrevClose</field>
                                        <value name="VALUE">
                                          <block type="lists_getIndex" id="Xy]5:0]B_)hBOj{[1~/j">
                                            <mutation statement="false" at="true"></mutation>
                                            <field name="MODE">GET</field>
                                            <field name="WHERE">FROM_END</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="rVIZT8z.Y+HHS4%Xw[hT">
                                                <field name="VAR">Input List</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="math_number" id="+wqHp.xE;3ytZoKTLPFc">
                                                <field name="NUM">2</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="@9LR#!D#dqr#{EC]0XYR">
                                            <field name="VAR">Range:H-L</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="c#Lb|86T]^VHe|@?Uioe">
                                                <field name="OP">MINUS</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="bu}8V$6r|(Fb;6@`HbKa">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="q^SUBCn}AoIAep;0P0jD">
                                                    <field name="VAR">High</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="^meUUH_neLV#Gq1dXQ63">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="ENXmsX)n#cbIxuG%drnZ">
                                                    <field name="VAR">Low</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="dA[E0=wTF/{QW[_0ep0u">
                                                <field name="VAR">Range:H-PrevClose</field>
                                                <value name="VALUE">
                                                  <block type="math_arithmetic" id="lvgMt)axQh(Z)fd;^/ZA">
                                                    <field name="OP">MINUS</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="bu}8V$6r|(Fb;6@`HbKa">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="q;z9.*Z9*o6gyp2WtG|c">
                                                        <field name="VAR">High</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="^meUUH_neLV#Gq1dXQ63">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="MgI}k(|2!TXBEPN_h`$`">
                                                        <field name="VAR">PrevClose</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="%M.+WP=8O+dmqGqt+#@b">
                                                    <field name="VAR">Range:PrevClose-L</field>
                                                    <value name="VALUE">
                                                      <block type="math_arithmetic" id="Gk+m#8IS26x!/CFH7k=h">
                                                        <field name="OP">MINUS</field>
                                                        <value name="A">
                                                          <shadow type="math_number" id="bu}8V$6r|(Fb;6@`HbKa">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="R(i+%$_Hgun$Wvs0{gI`">
                                                            <field name="VAR">PrevClose</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <shadow type="math_number" id="^meUUH_neLV#Gq1dXQ63">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="y8j`[5Z^wmiI)g:i171q">
                                                            <field name="VAR">Low</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="lists_setIndex" id="{Ho[ZojCKq?[sqy=Ml~@">
                                                        <mutation at="false"></mutation>
                                                        <field name="MODE">INSERT</field>
                                                        <field name="WHERE">LAST</field>
                                                        <value name="LIST">
                                                          <block type="variables_get" id="PPHyG:5{{O7@]bU/U7%_">
                                                            <field name="VAR">True Range Array</field>
                                                          </block>
                                                        </value>
                                                        <value name="TO">
                                                          <block type="variables_get" id="VFH=,B5`GMcpb[)gB$UP">
                                                            <field name="VAR">Range:H-L</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="lists_setIndex" id="LK;m,CZTi@b*$y5^IBnP">
                                                            <mutation at="false"></mutation>
                                                            <field name="MODE">INSERT</field>
                                                            <field name="WHERE">LAST</field>
                                                            <value name="LIST">
                                                              <block type="variables_get" id="--SEiz{)fO%0Ih:lp^O*">
                                                                <field name="VAR">True Range Array</field>
                                                              </block>
                                                            </value>
                                                            <value name="TO">
                                                              <block type="variables_get" id="sXuk4Vyj,+py4]W`3/]B">
                                                                <field name="VAR">Range:H-PrevClose</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="lists_setIndex" id="4Ygr(ELksF$1ebC;`t,F">
                                                                <mutation at="false"></mutation>
                                                                <field name="MODE">INSERT</field>
                                                                <field name="WHERE">LAST</field>
                                                                <value name="LIST">
                                                                  <block type="variables_get" id="n_~#PrpBApYJv47LjPSW">
                                                                    <field name="VAR">True Range Array</field>
                                                                  </block>
                                                                </value>
                                                                <value name="TO">
                                                                  <block type="variables_get" id="L|47RA:^k$|u`GxU]`(f">
                                                                    <field name="VAR">Range:PrevClose-L</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="variables_set" id="M,E5Ay`:M2pv|*qG#Hj@">
                                                                    <field name="VAR">True Range</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_on_list" id="-N$|i]l(YsB?$To[Zx/5">
                                                                        <mutation op="MAX"></mutation>
                                                                        <field name="OP">MAX</field>
                                                                        <value name="LIST">
                                                                          <block type="lists_getSublist" id="FQ,tb}@sR7-z%[e^2]Bn">
                                                                            <mutation at1="true" at2="false"></mutation>
                                                                            <field name="WHERE1">FROM_END</field>
                                                                            <field name="WHERE2">LAST</field>
                                                                            <value name="LIST">
                                                                              <block type="variables_get" id="o9)L-LAr4j,Dh7-JB;0:">
                                                                                <field name="VAR">True Range Array</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="AT1">
                                                                              <block type="variables_get" id="m@$ut)CFzs~$y59{xaw:">
                                                                                <field name="VAR">Periods</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="+E-B1^t,1A!HvJAbrvIq">
                                                                        <mutation elseif="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="math_number_property" id="6,?`CNH1+h3Px(T/;CB@">
                                                                            <mutation divisor_input="false"></mutation>
                                                                            <field name="PROPERTY">POSITIVE</field>
                                                                            <value name="NUMBER_TO_CHECK">
                                                                              <shadow type="math_number" id="]D:90~CQ/l)8@CS9o4mK">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="+|e^[T:b]]@./AS4C!9:">
                                                                                <field name="VAR">+DM</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="variables_set" id="ib3AUHv2Q_$sL2euK8n!">
                                                                            <field name="VAR">+DI</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_arithmetic" id="mEtZsEM7Uij]y(qGm?e%">
                                                                                <field name="OP">DIVIDE</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="Wj~PS{}C3biVjqg]bwDi">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_round" id="0%#}Ox5g5l~8vC$x7g8?">
                                                                                    <field name="OP">ROUND</field>
                                                                                    <value name="NUM">
                                                                                      <shadow type="math_number" id="k_.P%Hr!J.!CIXb..-E|">
                                                                                        <field name="NUM">3.1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="yD9S~qGv7CF~JQU{UEpZ">
                                                                                        <field name="OP">MULTIPLY</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="8D`$pouHf}4!0jST.TS`">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="|Zzw,8hv|5bD8M6d.U=i">
                                                                                            <field name="OP">MULTIPLY</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number" id="mxtwpdAn.bi@eyi,4Myj">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="math_arithmetic" id="wF.Dd{l|9Uo,]^dFGjra">
                                                                                                <field name="OP">DIVIDE</field>
                                                                                                <value name="A">
                                                                                                  <shadow type="math_number" id="}ilwg*Y1o`f2lU?;,fZ_">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id="[-79WcGlO3f_hrHy|^Sa">
                                                                                                    <field name="VAR">+DM</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow type="math_number" id="=l1f-rgrDN)~?QN7S[ED">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id="#;*,OYUuuo$~kWn(b1`S">
                                                                                                    <field name="VAR">True Range</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="E8@TQ^=QX~}o2D1qo5ZR">
                                                                                                <field name="NUM">100</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="fA`/Lvks5s,.~A-Z5}|B">
                                                                                            <field name="NUM">100</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="^JrTuHyJ%80Bdg)ryt19">
                                                                                    <field name="NUM">100</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <value name="IF1">
                                                                          <block type="math_number_property" id="MusAO^%[:jKpK8Klg;-e">
                                                                            <mutation divisor_input="false"></mutation>
                                                                            <field name="PROPERTY">NEGATIVE</field>
                                                                            <value name="NUMBER_TO_CHECK">
                                                                              <shadow type="math_number" id="]D:90~CQ/l)8@CS9o4mK">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="fmep(MW1=|8_6w;DcJd9">
                                                                                <field name="VAR">+DM</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO1">
                                                                          <block type="variables_set" id="DRwbcrRNsALK;KCW[yy0">
                                                                            <field name="VAR">+DM</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id=":|psA@2$n*/LuRocRrLc">
                                                                                <field name="NUM">0</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="variables_set" id="L%VndRLZoWZwt-_sIPpd">
                                                                                <field name="VAR">+DI</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_arithmetic" id="Su/jxD(VbLXWHT%kT?.V">
                                                                                    <field name="OP">MULTIPLY</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="mxtwpdAn.bi@eyi,4Myj">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="-GR!(?S=6;Ya]!z/f3O5">
                                                                                        <field name="OP">DIVIDE</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="}ilwg*Y1o`f2lU?;,fZ_">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id=".?9iJsJ!8[~D`ChF6`mj">
                                                                                            <field name="VAR">+DM</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="=l1f-rgrDN)~?QN7S[ED">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="u(N=/SR6[1{/tSksFtM-">
                                                                                            <field name="VAR">True Range</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="uCLIBvLuzukAvqBt~ajt">
                                                                                        <field name="NUM">100</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="controls_if" id="P=G3XY`9!KHDa|B+Ga29">
                                                                            <mutation elseif="1"></mutation>
                                                                            <value name="IF0">
                                                                              <block type="math_number_property" id="4OGC{PzGbAV{_]nD*zy(">
                                                                                <mutation divisor_input="false"></mutation>
                                                                                <field name="PROPERTY">POSITIVE</field>
                                                                                <value name="NUMBER_TO_CHECK">
                                                                                  <shadow type="math_number" id="]D:90~CQ/l)8@CS9o4mK">
                                                                                    <field name="NUM">0</field>
                                                                                  </shadow>
                                                                                  <block type="variables_get" id="Yq=)dRKQ*f4.%V=j}cl$">
                                                                                    <field name="VAR">-DM</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="variables_set" id="iUfKPJp2B/;kUJxaiP`X">
                                                                                <field name="VAR">-DI</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_arithmetic" id="Si0`9Q@:dO8D26[FZ;uu">
                                                                                    <field name="OP">DIVIDE</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="Wj~PS{}C3biVjqg]bwDi">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="math_round" id="3%s1#~:;yEo)#Z*H!nDi">
                                                                                        <field name="OP">ROUND</field>
                                                                                        <value name="NUM">
                                                                                          <shadow type="math_number" id="k_.P%Hr!J.!CIXb..-E|">
                                                                                            <field name="NUM">3.1</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="NHwkIMnbJdA)2~r]ID{v">
                                                                                            <field name="OP">MULTIPLY</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number" id="?f?owC]OWwGh#=RPx_.L">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="math_arithmetic" id="z{LN%|HD@jXYz=8-O6M5">
                                                                                                <field name="OP">MULTIPLY</field>
                                                                                                <value name="A">
                                                                                                  <shadow type="math_number" id="mxtwpdAn.bi@eyi,4Myj">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="math_arithmetic" id="8^1DI[Ol|=3@!GWWi=GW">
                                                                                                    <field name="OP">DIVIDE</field>
                                                                                                    <value name="A">
                                                                                                      <shadow type="math_number" id="}ilwg*Y1o`f2lU?;,fZ_">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="variables_get" id="=[x9OTL[C:49TXP7}UKn">
                                                                                                        <field name="VAR">-DM</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <shadow type="math_number" id="=l1f-rgrDN)~?QN7S[ED">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="variables_get" id="uug7MVBHLgf0iV^mN.Df">
                                                                                                        <field name="VAR">True Range</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow type="math_number" id="-N?/+h^dyWEPHj:+$!ta">
                                                                                                    <field name="NUM">100</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="VVWMj,JA*lYaqsWk3N.!">
                                                                                                <field name="NUM">100</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="8%~F})YY_H$6k*_%10%E">
                                                                                        <field name="NUM">100</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </statement>
                                                                            <value name="IF1">
                                                                              <block type="math_number_property" id="X[Rk#i@XlNwW{tl|Mr/i">
                                                                                <mutation divisor_input="false"></mutation>
                                                                                <field name="PROPERTY">NEGATIVE</field>
                                                                                <value name="NUMBER_TO_CHECK">
                                                                                  <shadow type="math_number" id="]D:90~CQ/l)8@CS9o4mK">
                                                                                    <field name="NUM">0</field>
                                                                                  </shadow>
                                                                                  <block type="variables_get" id=",}9+=R:QL-/4WC]xxU*k">
                                                                                    <field name="VAR">-DM</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO1">
                                                                              <block type="variables_set" id="IC+|kLRI=ed:Vm8p8d^/">
                                                                                <field name="VAR">-DM</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_number" id=".g^%DRjLNv7%jQlou_$7">
                                                                                    <field name="NUM">0</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="variables_set" id="_5%JLO8,nV.pvD+ac:C^">
                                                                                    <field name="VAR">-DI</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_arithmetic" id="]115e`L;rYw@MA%KALu=">
                                                                                        <field name="OP">MULTIPLY</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="mxtwpdAn.bi@eyi,4Myj">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id=".iLCeiDGU[vwqYVDBCg#">
                                                                                            <field name="OP">DIVIDE</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number" id="}ilwg*Y1o`f2lU?;,fZ_">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="variables_get" id="=W|.Xfo($2|N[l:vl}[X">
                                                                                                <field name="VAR">-DM</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="=l1f-rgrDN)~?QN7S[ED">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="variables_get" id="0SvFhw=KCdB!0YaOV*|j">
                                                                                                <field name="VAR">True Range</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="{hUF`ACm09.o`m-O-$f*">
                                                                                            <field name="NUM">100</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="6^3`.V?9iNne8gSMKmSr" x="0" y="52">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="ngf,at-QmA/3zX?a!|`,">
        <field name="VAR">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="C5A;ql?ZZSRw$X}/{B4)">
            <value name="INPUT">
              <block type="ticks" id="]A1FiOnsX[LHC6x.qMMT"></block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="^@Mq-Cz6Gqfd-u9kU4-3">
                <field name="NUM">10</field>
              </shadow>
              <block type="math_number" id="K@..e21UI,mNhqa4xz3t">
                <field name="NUM">14</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="Fc`_#b|h/Z=!)[{N6s#P">
            <field name="VAR">EMA(5)</field>
            <value name="VALUE">
              <block type="ema" id="6yD9:p:7J_l}Db#b7)[B">
                <value name="INPUT">
                  <block type="ticks" id="v=uiQ!9]3x-m|$xh%7i?"></block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="9{[5kA?/f7{7F@5YSny6">
                    <field name="NUM">10</field>
                  </shadow>
                  <block type="math_number" id="M_6Sn:f*FHX`2IXARc78">
                    <field name="NUM">5</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="2Zk8:qV!hcXe3$3k#_[x">
                <field name="VAR">EMA(10)</field>
                <value name="VALUE">
                  <block type="ema" id="SsJ7vV0e^N)?OD+5PzG*">
                    <value name="INPUT">
                      <block type="ticks" id="~,{-p$3~,93dy6/Ai|Tu"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="9{[5kA?/f7{7F@5YSny6">
                        <field name="NUM">10</field>
                      </shadow>
                      <block type="math_number" id="Y`.7#$gN+U@%gDX`]o*q">
                        <field name="NUM">10</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="FI1{Ogu4)8lglhGlP~!w">
                    <field name="VAR">BB:Upper</field>
                    <value name="VALUE">
                      <block type="bb" id="HhhzUSDUbPa7Q1nV*`KP">
                        <field name="BBRESULT_LIST">1</field>
                        <value name="INPUT">
                          <block type="ticks" id="#MBhPbnh$w!#v@A45*{x"></block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id="Z*;}VQE=uJx,+8vW1[9V">
                            <field name="NUM">20</field>
                          </shadow>
                        </value>
                        <value name="UPMULTIPLIER">
                          <shadow type="math_number" id="S:s.mKYxBA[V@L6U[+F6">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                        <value name="DOWNMULTIPLIER">
                          <shadow type="math_number" id="jK7v`YKW75U=3kzu.^{?">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="0(nygla5`Wq0sB!V`/|s">
                        <field name="VAR">BB:Lower</field>
                        <value name="VALUE">
                          <block type="bb" id="^t2M):+dVtp3OS^VAUd7">
                            <field name="BBRESULT_LIST">2</field>
                            <value name="INPUT">
                              <block type="ticks" id="3N1Rm3tkkNp%|5sx-%l_"></block>
                            </value>
                            <value name="PERIOD">
                              <shadow type="math_number" id="FCp{jL.(R2}+H)GO-RS|">
                                <field name="NUM">20</field>
                              </shadow>
                            </value>
                            <value name="UPMULTIPLIER">
                              <shadow type="math_number" id="*nOR2GT=Ak2.6z5HP(MU">
                                <field name="NUM">2</field>
                              </shadow>
                            </value>
                            <value name="DOWNMULTIPLIER">
                              <shadow type="math_number" id="FdAvE}h,;=w)+(*/QFz_">
                                <field name="NUM">2</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="procedures_callnoreturn" id="_txZCAe?J=*%?M$CKw#c">
                            <mutation name="d'Brengos Directional Movement Indicators">
                              <arg name="Input List"></arg>
                              <arg name="Periods"></arg>
                            </mutation>
                            <value name="ARG0">
                              <block type="ticks" id="2QQ;Cx+JVaLMt:WT^(!p"></block>
                            </value>
                            <value name="ARG1">
                              <block type="math_number" id="6*n.)(H#u)2,?C^AZWlm">
                                <field name="NUM">30</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="@FlbE%*Fj3F+Ag!N[77*">
                                <field name="VAR">Breakout:UP</field>
                                <value name="VALUE">
                                  <block type="logic_operation" id="|4hnT7S+Ue!~_c8S`vyb">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_operation" id="`JaW=xMk;%3v]L!6li5g">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="}{E`]g(R5r,,$OV^iN7%">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="tick" id="ktJ$@@@V8WtY0oozpb(-"></block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="@0VexgogY3nS.;B%2fRC">
                                                <field name="VAR">BB:Upper</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="f4(Agv{X-eN!eg/H;(_t">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="variables_get" id="(mX=Q7@r:DeFpm]DmBFr">
                                                <field name="VAR">RSI</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="vy[b+6T0,i:-/rQALNUJ">
                                                <field name="NUM">45</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_operation" id="a;?5)EDw$uGyI!N|qi2}">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="4yKA=[d(]Ko*BULU;_3?">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="variables_get" id="p,:LZEKB!OYYsmensBaO">
                                                <field name="VAR">EMA(5)</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="dXAICraLIWL}X7K|x{|4">
                                                <field name="VAR">EMA(10)</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id="sI@*(.pTmkX~ybv`T)Kn">
                                            <field name="OP">GT</field>
                                            <value name="A">
                                              <block type="variables_get" id="6O3bX`R,K^.,:q{v=Gn,">
                                                <field name="VAR">+DI</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="uSwTS_8(R73L+y@FdNdQ">
                                                <field name="NUM">13</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="|cs,$^lM`cOIr0{t0_3E">
                                    <field name="VAR">Breakout:DOWN</field>
                                    <value name="VALUE">
                                      <block type="logic_operation" id="~iEHwZK?4?k*qP629M~3">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_operation" id="wkZ#c4Z78*`v[I7elXw3">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id=";y{{tJ0lp{r/}Y8=Yf`k">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="tick" id="cMm5rz+5.{IFbl{+^Zp#"></block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="o@^4F69);s.P,Y=#87Z@">
                                                    <field name="VAR">BB:Lower</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="+C;hI[akl^Ja$,$5]o|I">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="Jpp/{dd8SS|.D|-E9f{3">
                                                    <field name="VAR">RSI</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="kI,65#Mf}-yta0A4~o!r">
                                                    <field name="NUM">55</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_operation" id=".`h4K![qT.eKhmT-UL={">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="*4%l`}r?4bP:I3VA9fLd">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="KWVAh*m3|$x(KoT8uAYt">
                                                    <field name="VAR">EMA(5)</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="variables_get" id="P,(xYU)h1Ux#.u_N:+n)">
                                                    <field name="VAR">EMA(10)</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="nLW[pa2yT$`os|x^Yaz2">
                                                <field name="OP">GT</field>
                                                <value name="A">
                                                  <block type="variables_get" id="Hj$tVudyswZhl/OuZ.K5">
                                                    <field name="VAR">-DI</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id=",QAH.^@ZEWQ%B6M,s!;?">
                                                    <field name="NUM">13</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="notify" id="$7^1@$lr(DSeA?fCKzWr">
                                        <field name="NOTIFICATION_TYPE">success</field>
                                        <field name="NOTIFICATION_SOUND">silent</field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="{l3b]}a~W)`uECj=ZkNV">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id="_zAAc-;UZh30(qi_B06I">
                                            <mutation items="4"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="blSCUq5`?Oc1G)`*94VA">
                                                <field name="TEXT">+DI : </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="variables_get" id="$c.U(:HQ3ob#%f)h|G4O">
                                                <field name="VAR">+DI</field>
                                              </block>
                                            </value>
                                            <value name="ADD2">
                                              <block type="text" id=")08;V+V`u}c+,INDwTj`">
                                                <field name="TEXT">  ||  -DI : </field>
                                              </block>
                                            </value>
                                            <value name="ADD3">
                                              <block type="variables_get" id="C)#3S5BsP?4R(^=v{WY2">
                                                <field name="VAR">-DI</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="900">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</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="Vy{k__yFkai@::xilo1Z">
        <field name="VAR">High Array</field>
        <value name="VALUE">
          <block type="lists_create_with" id="Asc`_4)ioSOzswP_9g|X">
            <mutation items="0"></mutation>
          </block>
        </value>
        <next>
          <block type="variables_set" id="O_{cnKNtBwAHSLtJnca^">
            <field name="VAR">Low Array</field>
            <value name="VALUE">
              <block type="lists_create_with" id=";J5jzW1iFPR-D=FJu,H^">
                <mutation items="0"></mutation>
              </block>
            </value>
            <next>
              <block type="variables_set" id="^@t+V3StzRvpbkH#+Y7V">
                <field name="VAR">True Range Array</field>
                <value name="VALUE">
                  <block type="lists_create_with" id="#cDqV#b?(FU_)eGZ4e=t">
                    <mutation items="0"></mutation>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">s</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">15</field>
          </shadow>
        </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]" x="0" y="1258">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="1Yh%]rv9zxT0l|2XZJ;.">
        <value name="IF0">
          <block type="logic_compare" id="g@+nJ=4#88%T`thqscnA">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="jZbW$8xl?u{#m$eyr`$Q">
                <field name="VAR">Breakout:UP</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_boolean" id="U2_ig~a?6@gw+:tG%Vq3">
                <field name="BOOL">TRUE</field>
              </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>
        <next>
          <block type="controls_if" id="gJ|va}M^laXpdVNUvrSJ">
            <value name="IF0">
              <block type="logic_compare" id="wvk*pXrW@cfLoS~?{8ug">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="f.I[18s.hSF9j7_4spIN">
                    <field name="VAR">Breakout:DOWN</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="j[.tD%_9L*_smjh9alau">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="mGKgpiEuav2:qQ@ZU{V`">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="1472">
    <statement name="AFTERPURCHASE_STACK">
      <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
    </statement>
  </block>
</xml>