﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="yA:m7t^6G;/[guy/!KJb">ID:values</variable>
    <variable type="" id="NaL0g?lOY(3$q[AV=f3W">ID:period</variable>
    <variable type="" id=":mn[][lcG^Iro:|fRb~k">IU:values</variable>
    <variable type="" id="?IC*,tcG4{/_T3y19b.w">IU:period</variable>
    <variable type="" id="7Ox)xco7OblSpxe+7lG_">ID:sma</variable>
    <variable type="" id="-jD+,u0*l|S9J!v:YIsT">ID:isDown</variable>
    <variable type="" id="[AvJt%PLwE4b__RMY.Ku">IU:sma</variable>
    <variable type="" id="?i|W[}52?YUm(Q?E!yW*">IU:isUp</variable>
    <variable type="" id="TI,H(+i7[c/(G4Eb?R=#">Initial Amount</variable>
    <variable type="" id="8Vfyi3)5^{OAU]N6eMSP">RSI</variable>
    <variable type="" id=")s7oK/6jA.Fr~OK*f,MK">ID:prev</variable>
    <variable type="" id="zYRSi5jLXAwvt~%RRGX;">IU:prev</variable>
    <variable type="" id="e}SvfkW53S$6g7xA3z,C">Win Amount</variable>
    <variable type="" id="6M;rp*I8HicNvrI$ZZr.">UPtrend</variable>
    <variable type="" id="3!04wBS#F}FXXXQ1JaP`">Expected Profit</variable>
    <variable type="" id="q4$W5^f~#:b%..=DnH^I">DWtrend</variable>
    <variable type="" id=")Upj_g5oK})P{P:jE]kI">ID:i</variable>
    <variable type="" id="nlOA6iKbXClJ9l9RMdi8">IU:i</variable>
    <variable type="" id="OS?qcNi=SM-2)Kh+|HMA">Maximum Loss</variable>
    <variable type="" id="P-@v`N=R?.JC|ax1@PaG">List: Row of candles</variable>
    <variable type="" id="#1nvvzeHDuOZUBj|Esbr">martingale::multiplier</variable>
    <variable type="" id="uj]SJ]npdY3oVO4(5}E$">i</variable>
    <variable type="" id="-n_]1D7F5hT2I[$%gL}p">Num_Row</variable>
    <variable type="" id="himwqBlrRy(D=UJR|T})">Max Loss Amount</variable>
  </variables>
  <block type="procedures_defreturn" id="^9gz]OJO6YQN]wJ:R24L" collapsed="true" x="-14" y="-61">
    <mutation>
      <arg name="ID:values" varid="yA:m7t^6G;/[guy/!KJb"></arg>
      <arg name="ID:period" varid="NaL0g?lOY(3$q[AV=f3W"></arg>
    </mutation>
    <field name="NAME">is downtrend</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="v8Baj9tHzg+Tb_Z?^7?C">
        <field name="VAR" id="7Ox)xco7OblSpxe+7lG_" variabletype="">ID:sma</field>
        <value name="VALUE">
          <block type="emaa" id="E]_;?ZQ2DV_|-[L3,n|?">
            <value name="INPUT">
              <block type="lists_getSublist" id="#udT2deGdIEq*NSVeO`F">
                <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="Lcizxzsec:W]eVqy/hQ2">
                    <field name="VAR" id="yA:m7t^6G;/[guy/!KJb" variabletype="">ID:values</field>
                  </block>
                </value>
                <value name="AT1">
                  <block type="math_arithmetic" id="Kp1FeSOx?KX#Sh#0}D[e">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="V4cmRIpD@S]K~#|unBtt">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="rDPTttP{~WWSz?jGZ3EC">
                        <field name="VAR" id="NaL0g?lOY(3$q[AV=f3W" variabletype="">ID:period</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="]BO9pYlPiisZCsLWQ}N?">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="+KA7_s=|Jc_Du,,{Bd{,">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="PERIOD">
              <block type="variables_get" id="y+./,Bz,*KDXLUr~0lQ%">
                <field name="VAR" id="NaL0g?lOY(3$q[AV=f3W" variabletype="">ID:period</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="]Vg@IBXf7|%m_JkvLy`z">
            <field name="VAR" id=")s7oK/6jA.Fr~OK*f,MK" variabletype="">ID:prev</field>
            <value name="VALUE">
              <block type="lists_getIndex" id="r0~;Q+a_;/(E`YqQ0@P0">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">FIRST</field>
                <value name="VALUE">
                  <block type="variables_get" id="oeD~G5fO~k-e=PN~sTV0">
                    <field name="VAR" id="7Ox)xco7OblSpxe+7lG_" variabletype="">ID:sma</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="3P3`~]Wu,b^6i,XGzA+x">
                <field name="VAR" id="-jD+,u0*l|S9J!v:YIsT" variabletype="">ID:isDown</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="L!`mJxK+x4sW,z}G_YI8">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="controls_forEach" id="g:UjunDCqB0QU^*b5Hc}">
                    <field name="VAR" id=")Upj_g5oK})P{P:jE]kI" variabletype="">ID:i</field>
                    <value name="LIST">
                      <block type="lists_getSublist" id="7]57*%,lsi+~r7p}])0M">
                        <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="nCg?=*t]%nqCW{V0OS{r">
                            <field name="VAR" id="7Ox)xco7OblSpxe+7lG_" variabletype="">ID:sma</field>
                          </block>
                        </value>
                        <value name="AT1">
                          <block type="math_number" id="Oy1sUEd|ix!{eEGtm#QK">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO">
                      <block type="variables_set" id="YpGuhl2]JN{Iji[9ZE,F">
                        <field name="VAR" id="-jD+,u0*l|S9J!v:YIsT" variabletype="">ID:isDown</field>
                        <value name="VALUE">
                          <block type="logic_operation" id="AS?Ubav=)1B3/-+@qxk}">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="variables_get" id="FZjZc^cKbJ@:S~#.`m;(">
                                <field name="VAR" id="-jD+,u0*l|S9J!v:YIsT" variabletype="">ID:isDown</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="-Z/7GT5Z|uqc9qh505il">
                                <field name="OP">GTE</field>
                                <value name="A">
                                  <block type="variables_get" id="7ca@D:WrfX]5+R60t9^0">
                                    <field name="VAR" id=")s7oK/6jA.Fr~OK*f,MK" variabletype="">ID:prev</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="jeeZiOJO,9+v4Ww?@v=.">
                                    <field name="VAR" id=")Upj_g5oK})P{P:jE]kI" variabletype="">ID:i</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="6hc68W:Zs9Dl`6AwTWly">
        <field name="VAR" id="-jD+,u0*l|S9J!v:YIsT" variabletype="">ID:isDown</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="^BtPrVqmTJNfy~9H7!h8" collapsed="true" x="279" y="-54">
    <mutation>
      <arg name="IU:values" varid=":mn[][lcG^Iro:|fRb~k"></arg>
      <arg name="IU:period" varid="?IC*,tcG4{/_T3y19b.w"></arg>
    </mutation>
    <field name="NAME">is uptrend</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="oFBB7QmQNLjoR)t6W!2C">
        <field name="VAR" id="[AvJt%PLwE4b__RMY.Ku" variabletype="">IU:sma</field>
        <value name="VALUE">
          <block type="emaa" id="Fj0!*RD(G,%]}o!L3G*w">
            <value name="INPUT">
              <block type="lists_getSublist" id="*ybSjprIC7@E3{u=cTOM">
                <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="D3nDL-N084LOYR;6x;g7">
                    <field name="VAR" id=":mn[][lcG^Iro:|fRb~k" variabletype="">IU:values</field>
                  </block>
                </value>
                <value name="AT1">
                  <block type="math_arithmetic" id="g%){+@+drna~~WjDHuwK">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="V4cmRIpD@S]K~#|unBtt">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="zMK#Kv5n@MTwif[[]ry,">
                        <field name="VAR" id="?IC*,tcG4{/_T3y19b.w" variabletype="">IU:period</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="]BO9pYlPiisZCsLWQ}N?">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="(OrjD.Jy1-5Wp{[1wdYK">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="PERIOD">
              <block type="variables_get" id="f(Vd)7V_x0(UQ_mGnXV@">
                <field name="VAR" id="?IC*,tcG4{/_T3y19b.w" variabletype="">IU:period</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="DeEXlP=J_n#0vuW1G%pG">
            <field name="VAR" id="zYRSi5jLXAwvt~%RRGX;" variabletype="">IU:prev</field>
            <value name="VALUE">
              <block type="lists_getIndex" id="{CwG=-yF@mFq5,;W!9yb">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">FIRST</field>
                <value name="VALUE">
                  <block type="variables_get" id="A}i@63~xLE5[z80%TPBC">
                    <field name="VAR" id="[AvJt%PLwE4b__RMY.Ku" variabletype="">IU:sma</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="ya{SB(jt)[nQylUz?g,i">
                <field name="VAR" id="?i|W[}52?YUm(Q?E!yW*" variabletype="">IU:isUp</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="oz,Osq,;N?pU*jC6nlC.">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="controls_forEach" id="@[yEmYG!/[|^]+D^YerX">
                    <field name="VAR" id="nlOA6iKbXClJ9l9RMdi8" variabletype="">IU:i</field>
                    <value name="LIST">
                      <block type="lists_getSublist" id="-gOGm1XUH7iPu0j*s-r0">
                        <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="*gJ4sZLz]x7oTTb+j`G+">
                            <field name="VAR" id="[AvJt%PLwE4b__RMY.Ku" variabletype="">IU:sma</field>
                          </block>
                        </value>
                        <value name="AT1">
                          <block type="math_number" id="~m.#FFdue~hkd4unG!}z">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO">
                      <block type="variables_set" id="AI-=DajG}?M7U8qiYnP!">
                        <field name="VAR" id="?i|W[}52?YUm(Q?E!yW*" variabletype="">IU:isUp</field>
                        <value name="VALUE">
                          <block type="logic_operation" id="^hGB_rincn}d19e-5OZs">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="variables_get" id="MFY`^,IRwXwv)`_9nzQz">
                                <field name="VAR" id="?i|W[}52?YUm(Q?E!yW*" variabletype="">IU:isUp</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="k!SE1wW=)7,O;,Ru8|]|">
                                <field name="OP">LTE</field>
                                <value name="A">
                                  <block type="variables_get" id="pEjpLJ()6]26Z!`XjgnR">
                                    <field name="VAR" id="zYRSi5jLXAwvt~%RRGX;" variabletype="">IU:prev</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="3D`e3yhPS~]V;QG-Oq)5">
                                    <field name="VAR" id="nlOA6iKbXClJ9l9RMdi8" variabletype="">IU:i</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="6FXu5;#,W=ZX:p0UqF2k">
        <field name="VAR" id="?i|W[}52?YUm(Q?E!yW*" variabletype="">IU:isUp</field>
      </block>
    </value>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">forex</field>
    <field name="SUBMARKET_LIST">major_pairs</field>
    <field name="SYMBOL_LIST">frxEURUSD</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">120</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="|-6ec`=:,%!,SuP[6:Ht">
        <field name="VAR" id="TI,H(+i7[c/(G4Eb?R=#" variabletype="">Initial Amount</field>
        <value name="VALUE">
          <block type="math_number" id="9%QHi9Hs-31:Lb|W,WtS">
            <field name="NUM">0.5</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="tm=p[9r7ALk~u??j!fv$">
            <field name="VAR" id="e}SvfkW53S$6g7xA3z,C" variabletype="">Win Amount</field>
            <value name="VALUE">
              <block type="math_number" id="b}bQ7xVz/$i?5CcV+!L#">
                <field name="NUM">0.5</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="A6mJz=QEh6faHVy0.t5q">
                <field name="VAR" id="3!04wBS#F}FXXXQ1JaP`" variabletype="">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id=":#@5x]5Lz8JnX7%2_9hz">
                    <field name="NUM">5</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="+RT6_.@{;fF+g!F@NQCD">
                    <field name="VAR" id="OS?qcNi=SM-2)Kh+|HMA" variabletype="">Maximum Loss</field>
                    <value name="VALUE">
                      <block type="math_number" id="0^dQ]:@V0HHVV[^TDW_=">
                        <field name="NUM">5</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="sL68=q6*voBgQHgtS0,Y">
                        <field name="VAR" id="#1nvvzeHDuOZUBj|Esbr" variabletype="">martingale::multiplier</field>
                        <value name="VALUE">
                          <block type="math_number" id="BgypRby7BX[Z@@p{.3W*">
                            <field name="NUM">0.8</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="!invZsLmo)vMmq8hMVq+">
                            <field name="VAR" id="-n_]1D7F5hT2I[$%gL}p" variabletype="">Num_Row</field>
                            <value name="VALUE">
                              <block type="math_number" id="%T8zYWfB?p2S29a2oDq)">
                                <field name="NUM">3</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">6</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="HFv|%HK5]i_s*+FBNh~v">
            <field name="VAR" id="TI,H(+i7[c/(G4Eb?R=#" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" collapsed="true" x="776" y="8">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="lXx[u)])DplI5tNJCX#E">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="f`.9rMI;|4i^FZ9y12zT">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="4YfK{W[2OoWl^*}:`-~%">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">earned-money</field>
            <value name="MESSAGE">
              <block type="text_join" id="NI6_z2cNjwq/t2B^h`{=">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="5%$!H}8?@4$/?s+Piv_+">
                    <field name="TEXT">Win: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="rm)(g3DL.ASYfcDYc913">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="RHjB4R=uQ`(l+$;WvdmJ">
                <field name="VAR" id="TI,H(+i7[c/(G4Eb?R=#" variabletype="">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="@f`s#/,Qh+L1siQ%@LZu">
                    <field name="VAR" id="e}SvfkW53S$6g7xA3z,C" variabletype="">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="=%CD;.rm0YSeX3^NARv{">
            <field name="NOTIFICATION_TYPE">error</field>
            <field name="NOTIFICATION_SOUND">job-done</field>
            <value name="MESSAGE">
              <block type="text_join" id="`~I~AJSjE5P*6+$e,}D8">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="CrG9@.tREViPIC`9}[=i">
                    <field name="TEXT">Loss: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="nlr^LH9]K.,!~{!S_Q*6">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="pe:l,[yfpPuE-)d3*.,%">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="[:48l.owbE2cBTmqoyO1">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="fZr!9v0GJno]2?#^f:],">
                <field name="VAR" id="TI,H(+i7[c/(G4Eb?R=#" variabletype="">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="(]GS)V@8Ctdg3v2E@jlY">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="z/WaQqeZuv/Zm?rK6V,8">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="Z@8CJ%w{vP|HSGrX6_|R">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="_jH,FeYPHFM7tmj.CVso">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="]whX,`:RR{}94Il[LH_E">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="bKxhF?]DA_i*QVe-yb_X">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="aJV]c6a38`GC_S]Yryu^">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="sk4Ntk[-cj^OW~=BUtV]">
                        <field name="VAR" id="#1nvvzeHDuOZUBj|Esbr" variabletype="">martingale::multiplier</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="X)8ln$MDH0FqTVSB{OuF">
                    <value name="IF0">
                      <block type="logic_compare" id="4Oc$~[[wtRu=wws9Lmt(">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="`Gjie|Z~7{OVFZ1cRy*=">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id=",N`k%BQ|bfznfjP*JUe+">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="!eXzvhZHl#ED^IYC%f64">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="}C8o9bUH`nB$Cx0l0Zo$">
                            <field name="VAR" id="himwqBlrRy(D=UJR|T})" variabletype="">Max Loss Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id=".|dn+LQd#)hRw5m1Q4:@">
                        <field name="VAR" id="TI,H(+i7[c/(G4Eb?R=#" variabletype="">Initial Amount</field>
                        <value name="VALUE">
                          <block type="variables_get" id="5C|=Rc8Zg}mhG?7.}I=5">
                            <field name="VAR" id="e}SvfkW53S$6g7xA3z,C" variabletype="">Win Amount</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="+22zCiPYK`7t/0,(j^hu">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="13ZNjx,;FBn{xq;;T~L4">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="I(n.3v{gwNKj!b4UK-TV">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="?=%:cTu{h@KWwZoev4|t"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="(#7D~2Va0l51${Pu!yW;">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="Qtsk$6Qd[X~o1wD~hfOt">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="5]xuiqe3-INE?#f@Y=fu"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="_9Hf(nmF~1H_+_d`Hazz">
                        <field name="VAR" id="3!04wBS#F}FXXXQ1JaP`" variabletype="">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="[^X~=j0--A~:d7R9rZ}w">
                    <value name="IF0">
                      <block type="contract_check_result" id="b=[:uhX3@/~}a$2[Xwxs">
                        <field name="CHECK_RESULT">loss</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="~AF%1bVa3b;nkX-V3Q#_">
                        <value name="IF0">
                          <block type="logic_compare" id=":p*F7Z/7,hw4:V$%UKj4">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="variables_get" id="zxXT;a-C*?r(v.R@:u[!">
                                <field name="VAR" id="TI,H(+i7[c/(G4Eb?R=#" variabletype="">Initial Amount</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="F=jpj6Sa4lXj=_*U6UD-">
                                <field name="VAR" id="OS?qcNi=SM-2)Kh+|HMA" variabletype="">Maximum Loss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="trade_again" id=")o8,}Q?0FkGk)-%mn3C;"></block>
                        </statement>
                      </block>
                    </statement>
                    <next>
                      <block type="trade_again" id="1P(yqTf0n(m!F{Ri4gxk"></block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="-)Qjpn/c$W_)gB%MdIir">
                    <value name="TEXT">
                      <shadow type="text" id="]XR@@VL{)*ZI)WlTipd_">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="t;s[5Z2J?n5$VabcYdow">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="H$7i.%r.PFeQh_Soc[||">
                            <field name="TEXT">I Earned !!! </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="cgi0g($gg7bzWm^};+`4"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="-5" y="568">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="_R6/Kr]Wi{xI:He^VW{]">
        <field name="VAR" id="8Vfyi3)5^{OAU]N6eMSP" variabletype="">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="K,!eE#MKIWyj*{`dL#{c" collapsed="true">
            <value name="INPUT">
              <block type="ohlc_values" id=",,Q*LXNv7AqjbY4Fbr]@">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="GM#`p!gjT{mLc9{2mH#S">
                <field name="NUM">14</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="CqBewq?go]5-Sr]x.6m=">
            <field name="VAR" id="6M;rp*I8HicNvrI$ZZr." variabletype="">UPtrend</field>
            <value name="VALUE">
              <block type="logic_operation" id="jApBhMDfYWh[22u-OM0O" collapsed="true">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="procedures_callreturn" id=".Do8nV/)+237Z=[PROTECTED EMAIL]">
                    <mutation name="is uptrend">
                      <arg name="IU:values"></arg>
                      <arg name="IU:period"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="lists_getSublist" id="98?VJ3#JLh%?kB5?Nf#)">
                        <mutation at1="true" at2="false"></mutation>
                        <field name="WHERE1">FROM_START</field>
                        <field name="WHERE2">LAST</field>
                        <value name="LIST">
                          <block type="ohlc_values" id="wP|{8N7.iUFE3uD`(9Bz">
                            <field name="OHLCFIELD_LIST">close</field>
                            <field name="CANDLEINTERVAL_LIST">default</field>
                          </block>
                        </value>
                        <value name="AT1">
                          <block type="math_number" id="WB!Ci!vwZO0XJ+~k4Aql">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ARG1">
                      <block type="math_number" id="yHKZU`EPjX207WssY=PJ">
                        <field name="NUM">4</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="procedures_callreturn" id=".0rf7HgWL=g6GS}Ipb}g">
                    <mutation name="is uptrend">
                      <arg name="IU:values"></arg>
                      <arg name="IU:period"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="lists_getSublist" id="/Q8dUqYN/#/gk@N%jm$~">
                        <mutation at1="true" at2="false"></mutation>
                        <field name="WHERE1">FROM_START</field>
                        <field name="WHERE2">LAST</field>
                        <value name="LIST">
                          <block type="ohlc_values" id="O|twz9Y`V]s]:?i-|)-X">
                            <field name="OHLCFIELD_LIST">close</field>
                            <field name="CANDLEINTERVAL_LIST">default</field>
                          </block>
                        </value>
                        <value name="AT1">
                          <block type="math_number" id="hX_`g1Amaz0v2cOXO,%%">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ARG1">
                      <block type="math_number" id="Tz3j`5s{T^6bU%EaI|p:">
                        <field name="NUM">8</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="G)-(LUd3Re$4{p}zJF]}">
                <field name="VAR" id="q4$W5^f~#:b%..=DnH^I" variabletype="">DWtrend</field>
                <value name="VALUE">
                  <block type="logic_operation" id="s-7xJSZ{haJG-Q981D:P" collapsed="true">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="procedures_callreturn" id="XPIU)z4XyJ)k`E]NsF=H">
                        <mutation name="is downtrend">
                          <arg name="ID:values"></arg>
                          <arg name="ID:period"></arg>
                        </mutation>
                        <value name="ARG0">
                          <block type="lists_getSublist" id="-2W2es:W72,DUSPzw9As">
                            <mutation at1="true" at2="false"></mutation>
                            <field name="WHERE1">FROM_START</field>
                            <field name="WHERE2">LAST</field>
                            <value name="LIST">
                              <block type="ohlc_values" id="LB8dq^UE-QBTqV!nKfY~">
                                <field name="OHLCFIELD_LIST">close</field>
                                <field name="CANDLEINTERVAL_LIST">default</field>
                              </block>
                            </value>
                            <value name="AT1">
                              <block type="math_number" id="FtOYyz8[rTgQJbGN216S">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="ARG1">
                          <block type="math_number" id="aZ|@D[BI}gi7V]`Q4:Y^">
                            <field name="NUM">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="procedures_callreturn" id="2$IQe}u/*[J-5feCkC*+">
                        <mutation name="is downtrend">
                          <arg name="ID:values"></arg>
                          <arg name="ID:period"></arg>
                        </mutation>
                        <value name="ARG0">
                          <block type="lists_getSublist" id="p]^YM]cdO9ox)C|uK..C">
                            <mutation at1="true" at2="false"></mutation>
                            <field name="WHERE1">FROM_START</field>
                            <field name="WHERE2">LAST</field>
                            <value name="LIST">
                              <block type="ohlc_values" id="Pm=U/rT-R@::z3G[_xE[">
                                <field name="OHLCFIELD_LIST">close</field>
                                <field name="CANDLEINTERVAL_LIST">default</field>
                              </block>
                            </value>
                            <value name="AT1">
                              <block type="math_number" id="dDKurxk[|~%+H81SFZ;k">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="ARG1">
                          <block type="math_number" id="zW8#464Cie!NTcU]G:J{">
                            <field name="NUM">8</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="Rfo-u.i=pJ,H6mFy2o^E">
                    <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                    <value name="VALUE">
                      <block type="lists_repeat" id="VHo5lzd1[)?IypPV.K/(">
                        <value name="ITEM">
                          <block type="text" id="u+_XjenrHT9Q{~[RqP]k">
                            <field name="TEXT"></field>
                          </block>
                        </value>
                        <value name="NUM">
                          <shadow type="math_number" id="_W2SVkZWtF9olgCffy%(">
                            <field name="NUM">5</field>
                          </shadow>
                          <block type="variables_get" id="9a8H[}eL`HsMTx-lE?re">
                            <field name="VAR" id="-n_]1D7F5hT2I[$%gL}p" variabletype="">Num_Row</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_for" id="?HG)i?V{_Le@/A*e)opt">
                        <field name="VAR" id="uj]SJ]npdY3oVO4(5}E$" variabletype="">i</field>
                        <value name="FROM">
                          <block type="math_number" id="ZdB3F3[!O2hHnhW`_QMH">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                        <value name="TO">
                          <block type="variables_get" id="JxKb(EFZMP@DLi@rzv,n">
                            <field name="VAR" id="-n_]1D7F5hT2I[$%gL}p" variabletype="">Num_Row</field>
                          </block>
                        </value>
                        <value name="BY">
                          <block type="math_number" id="{Kj]W@?Rw;;Qp*K0TZnS">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                        <statement name="DO">
                          <block type="controls_if" id="hnZvU=11U~_:zg,XHMiI">
                            <mutation elseif="1" else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="P|Rv:}q:kLxkGuwdQ]e3" inline="false">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="lists_getIndex" id="!]G1noZWc1|cZC[NE$F)">
                                    <mutation statement="false" at="true"></mutation>
                                    <field name="MODE">GET</field>
                                    <field name="WHERE">FROM_END</field>
                                    <value name="VALUE">
                                      <block type="ohlc_values" id="bZ|H|`iamV6YO|-]$xWs">
                                        <field name="OHLCFIELD_LIST">close</field>
                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                      </block>
                                    </value>
                                    <value name="AT">
                                      <block type="math_arithmetic" id="I,BM(H+k0#8#aQK)?Z?T">
                                        <field name="OP">ADD</field>
                                        <value name="A">
                                          <shadow type="math_number" id="rJpG!$1Eb_E(KpX#A$Jm">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="lby?f!tKmfh7Q*NJG4CA">
                                            <field name="VAR" id="uj]SJ]npdY3oVO4(5}E$" variabletype="">i</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="rK=zntt#F:b%:Lp%QjPu">
                                            <field name="NUM">1</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="lists_getIndex" id="jX|%ERBEwzR[|s|z^]mq">
                                    <mutation statement="false" at="true"></mutation>
                                    <field name="MODE">GET</field>
                                    <field name="WHERE">FROM_END</field>
                                    <value name="VALUE">
                                      <block type="ohlc_values" id="r3C#5vb!PZHOe]2V67g`">
                                        <field name="OHLCFIELD_LIST">close</field>
                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                      </block>
                                    </value>
                                    <value name="AT">
                                      <block type="variables_get" id="26NRD|Ljf]PUyi7+*oR(">
                                        <field name="VAR" id="uj]SJ]npdY3oVO4(5}E$" variabletype="">i</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="lists_setIndex" id="c=Gt)B|f!Wa}!%W1z;!=">
                                <mutation at="true"></mutation>
                                <field name="MODE">SET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="LIST">
                                  <block type="variables_get" id="PFvLKq^`+fQXJax`.0=5">
                                    <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="variables_get" id="$J0WGAvroJ[WgOCU(YGT">
                                    <field name="VAR" id="uj]SJ]npdY3oVO4(5}E$" variabletype="">i</field>
                                  </block>
                                </value>
                                <value name="TO">
                                  <block type="text" id="NXe/UbvO*tnQHGkMS}{$">
                                    <field name="TEXT">{X}</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_compare" id="qH)L*tzjLb;X^#/aAH?o" inline="false">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="lists_getIndex" id="2$V}T,1XFC9Eet_5Z$;x">
                                    <mutation statement="false" at="true"></mutation>
                                    <field name="MODE">GET</field>
                                    <field name="WHERE">FROM_END</field>
                                    <value name="VALUE">
                                      <block type="ohlc_values" id="j2gnSc5[/+P7)5Gt=xtf">
                                        <field name="OHLCFIELD_LIST">close</field>
                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                      </block>
                                    </value>
                                    <value name="AT">
                                      <block type="math_arithmetic" id="_O~VlF}FHEh1.%4rDrhU">
                                        <field name="OP">ADD</field>
                                        <value name="A">
                                          <shadow type="math_number" id="rJpG!$1Eb_E(KpX#A$Jm">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="variables_get" id="+v9$6i#2jg$]Py.EQty_">
                                            <field name="VAR" id="uj]SJ]npdY3oVO4(5}E$" variabletype="">i</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="4~V50U]QPlnsp`B6ikKv">
                                            <field name="NUM">1</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="lists_getIndex" id="s!xb]_8TmUDb}fi;#6wF">
                                    <mutation statement="false" at="true"></mutation>
                                    <field name="MODE">GET</field>
                                    <field name="WHERE">FROM_END</field>
                                    <value name="VALUE">
                                      <block type="ohlc_values" id="hoZ)h~x]=tk1lh1)M|!q">
                                        <field name="OHLCFIELD_LIST">close</field>
                                        <field name="CANDLEINTERVAL_LIST">default</field>
                                      </block>
                                    </value>
                                    <value name="AT">
                                      <block type="variables_get" id="Y}:3]pXHw60kVg5g[Q80">
                                        <field name="VAR" id="uj]SJ]npdY3oVO4(5}E$" variabletype="">i</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="lists_setIndex" id=";sH!{icFl~)HJpzjb,Z[">
                                <mutation at="true"></mutation>
                                <field name="MODE">SET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="LIST">
                                  <block type="variables_get" id="gT*UUlAX%5kdDOSD=)*X">
                                    <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="variables_get" id="der4s_xf7bh#?wN-N3NF">
                                    <field name="VAR" id="uj]SJ]npdY3oVO4(5}E$" variabletype="">i</field>
                                  </block>
                                </value>
                                <value name="TO">
                                  <block type="text" id="/O$e$O?SpvLt[K{k}g5I">
                                    <field name="TEXT">{O}</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="lists_setIndex" id="-I;a4d|Yj$e{5Pt.tE9$">
                                <mutation at="true"></mutation>
                                <field name="MODE">SET</field>
                                <field name="WHERE">FROM_END</field>
                                <value name="LIST">
                                  <block type="variables_get" id="xH(R^,?g}l+q=Dba;TEn">
                                    <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="variables_get" id="%1}fBpHL]#dGG)VJ:Swh">
                                    <field name="VAR" id="uj]SJ]npdY3oVO4(5}E$" variabletype="">i</field>
                                  </block>
                                </value>
                                <value name="TO">
                                  <block type="text" id="s/jLl/D{1V%hQk{?UPLd">
                                    <field name="TEXT">-</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="$zM^]2W6i6B3on5Jp/;*">
                            <value name="IF0">
                              <block type="logic_operation" id="D;fz.f]]`%Qv*+0h.hwH">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="RRW5RPXHMG_R]r81Y~{0">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="GBDq}-$8;D~%-^g3qt@P">
                                        <field name="VAR" id="8Vfyi3)5^{OAU]N6eMSP" variabletype="">RSI</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="5(P_[V#BU-#v|*,d-b9B">
                                        <field name="NUM">70</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="^1H|m(xt{eois?5de9{/">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="variables_get" id="4;f]HB6s=c07jg~_1sKl">
                                        <field name="VAR" id="8Vfyi3)5^{OAU]N6eMSP" variabletype="">RSI</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="]{30QV7TIdTKQTz:+:eT">
                                        <field name="NUM">30</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="controls_if" id="Hvx9EJv90z`R4M=`W^Pd">
                                <mutation elseif="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_operation" id="Af)#Yb37,3sRKx;WsasF">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="variables_get" id="j(r6sQAOjwT,#+dH(.[G">
                                        <field name="VAR" id="6M;rp*I8HicNvrI$ZZr." variabletype="">UPtrend</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_operation" id="^IUejlWVE26rbj.Vhn_(">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_operation" id="n3;~t$Z^}:8i+N$I:bTU" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="pn_m7M?|7rP!fR8e=Xi;">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="lists_indexOf" id="$e9FA1atH}B/hs?x~-4y">
                                                    <field name="END">FIRST</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="^)C0]QlOUD;J83526jN5">
                                                        <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                                      </block>
                                                    </value>
                                                    <value name="FIND">
                                                      <block type="text" id="GBeW{Vh+heh!T-7pK)|j">
                                                        <field name="TEXT">{O}</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="erScL.`Of*C~vOJmBaJM">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="6=G(hvfh1Jea;C%WsaLQ">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="lists_indexOf" id="4e[+HdoB9*:ob{g|Ed$;">
                                                    <field name="END">FIRST</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="E?Gp1f?%:6adad!{%~0B">
                                                        <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                                      </block>
                                                    </value>
                                                    <value name="FIND">
                                                      <block type="text" id="Jbg:NX6b$u3?bGe:rds{">
                                                        <field name="TEXT">-</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="h#v5yUL3xoF3|rUYI@Z6">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="notify" id="#R4:yu@6d@5dO$5qM;}b">
                                    <field name="NOTIFICATION_TYPE">success</field>
                                    <field name="NOTIFICATION_SOUND">announcement</field>
                                    <value name="MESSAGE">
                                      <shadow type="text" id="8)cm{fRD+5!V!)t%x-){">
                                        <field name="TEXT">PURCHASING RISE.....</field>
                                      </shadow>
                                      <block type="text_join" id="%$e9:U[7}cpCvI77sZQP">
                                        <mutation items="4"></mutation>
                                        <value name="ADD0">
                                          <block type="variables_get" id="piA+2qnUZHC(]w0[*$O=">
                                            <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="text" id="REb`9C7deZU*A]D4]%n+">
                                            <field name="TEXT"> | </field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="variables_get" id="O1j~#wWQiPbfk6kJ/Eyr">
                                            <field name="VAR" id="-n_]1D7F5hT2I[$%gL}p" variabletype="">Num_Row</field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="text" id="#GVX:_wcE%iNJyt(klcK">
                                            <field name="TEXT">Purchase</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="purchase" id="SMD-ik57^^bK-p8o_JxY">
                                        <field name="PURCHASE_LIST">CALL</field>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_operation" id="Ru]j5V#l@=@r/~l494i]">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="variables_get" id="JuPseOX==N9SYza$vy25">
                                        <field name="VAR" id="q4$W5^f~#:b%..=DnH^I" variabletype="">DWtrend</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_operation" id="0O@NKL,b]FJ?xWLPEhV_">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_operation" id="=itw%]6aE^Bzvs[g+Ew8" inline="false">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id=")[aB_^;M]rZmnqwRI;jt">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="lists_indexOf" id="/6o[X;d(6p9V;e=yJARN">
                                                    <field name="END">FIRST</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="q@u:KrhmIr_)*0o5mbD%">
                                                        <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                                      </block>
                                                    </value>
                                                    <value name="FIND">
                                                      <block type="text" id="?Qm$UucePk$zNI;xlm?/">
                                                        <field name="TEXT">{X}</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="{F)WaPCH`=534.sD:(j*">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="gI-Y5KAn_Cw./Wri`?3=">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="lists_indexOf" id="E8,yiXSSz=7^}z6.xp5s">
                                                    <field name="END">FIRST</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="diN,A{KkH(.Ji*fz{0dT">
                                                        <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                                      </block>
                                                    </value>
                                                    <value name="FIND">
                                                      <block type="text" id="x}nbBnPJ6V[=bo]!J#!$">
                                                        <field name="TEXT">-</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="uA$Jd;$@HEN8ud(o@=pZ">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="notify" id="@exJXJgm0%LWl*[@v0:V">
                                    <field name="NOTIFICATION_TYPE">error</field>
                                    <field name="NOTIFICATION_SOUND">announcement</field>
                                    <value name="MESSAGE">
                                      <shadow type="text" id="8)cm{fRD+5!V!)t%x-){">
                                        <field name="TEXT">PURCHASING RISE.....</field>
                                      </shadow>
                                      <block type="text_join" id="HV;-4i#H+g+v^hv#0N5R">
                                        <mutation items="4"></mutation>
                                        <value name="ADD0">
                                          <block type="variables_get" id="DGX%#oDwV|N]._:ln+%Q">
                                            <field name="VAR" id="P-@v`N=R?.JC|ax1@PaG" variabletype="">List: Row of candles</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="text" id="/lCUV-g?|Qt=8=kwI.Li">
                                            <field name="TEXT"> | </field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="variables_get" id="d+V}kNQ^cKy!~*4+5qV5">
                                            <field name="VAR" id="-n_]1D7F5hT2I[$%gL}p" variabletype="">Num_Row</field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="text" id="9og`Z8V|i3nmHU3d}m9d">
                                            <field name="TEXT">Purchase</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="purchase" id="(S[/|w^fEU/{!@FfVecF">
                                        <field name="PURCHASE_LIST">PUT</field>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                            <next>
                              <block type="notify" id="Hn/(1otR}2hfU[Tgq=,t">
                                <field name="NOTIFICATION_TYPE">success</field>
                                <field name="NOTIFICATION_SOUND">silent</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="hm@+x@VvOG+*$eC-[],7">
                                    <field name="TEXT">abc</field>
                                  </shadow>
                                  <block type="text" id="TB_OzPOZ=6~#KXkwj32.">
                                    <field name="TEXT">Waiting for the signal...</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
