﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="=p?(?V,1c@`0}o0B:g=p">fnc:NewCandle</variable>
    <variable type="" id="DQ?gk_?,g3C47/;Le?t|">P</variable>
    <variable type="" id="_=FQc9Z7]0E#:_a(9pie">Barrier</variable>
    <variable type="" id="yGg(V)8FJQt|c1@Drlx;">Next Trade</variable>
    <variable type="" id="=k_Ec|igtdch11XWYty]">Analysis</variable>
    <variable type="" id=":D=Z4G10=5^6X{sN!x_2">Stake</variable>
    <variable type="" id=",*!vC*64;]JF(Flu%zG*">W</variable>
    <variable type="" id="{1UM:iJcf#kcONJ%e9Q=">fnc:OpenTime</variable>
    <variable type="" id="wxmPi}DcyDisQ6VJlCV%">Compound Level</variable>
    <variable type="" id="U0*RJ|S8Uy1@$ACtR(q^">F</variable>
    <variable type="" id="C-CqaW7r^oTEb:n=qpMB">Subsequent bid</variable>
    <variable type="" id="bM!y/@6y;x:x5fhlRfVt">Martingale Factor</variable>
    <variable type="" id="Nv[tj+P*.@@;%Fv^$BhZ">R</variable>
    <variable type="" id=";|vNLp}gHdax$R;lw|y;">Target Profit</variable>
    <variable type="" id="gtROJifA-.pks#^QTJ^X">Stop Loss</variable>
  </variables>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="0" y="0">
    <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">higherlower</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="procedures_callnoreturn" id="AD)/H?6.:7E1HZ~WIQ^$">
        <mutation name="Setting"></mutation>
        <next>
          <block type="variables_set" id="l0+CESa@{~EAOJT1y#Tk">
            <field name="VAR" id="_=FQc9Z7]0E#:_a(9pie" variabletype="">Barrier</field>
            <value name="VALUE">
              <block type="math_number" id="V-81[9}+^rl*DMqU2y?a">
                <field name="NUM">5</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="N/dXf?5uy@d43jvVcR8;">
                <field name="VAR" id="=k_Ec|igtdch11XWYty]" variabletype="">Analysis</field>
                <value name="VALUE">
                  <block type="math_number" id="n4#Z]VD:g7#S6q9@MUTZ">
                    <field name="NUM">10</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="_X;mV4Ijo5*Ff}9u+3Vp">
                    <field name="VAR" id="wxmPi}DcyDisQ6VJlCV%" variabletype="">Compound Level</field>
                    <value name="VALUE">
                      <block type="math_number" id="fX_4Ww[ftyopiBLUI}@3">
                        <field name="NUM">3</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="|3^xd9t{%si*vOknvmPg">
                        <field name="VAR" id="bM!y/@6y;x:x5fhlRfVt" variabletype="">Martingale Factor</field>
                        <value name="VALUE">
                          <block type="math_number" id="Et=]$(r~gYMc4Nx]_YY6">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="controls_if" id="La=aK~|7ne9LjL0a[$S:">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="lf5UoxHWiYli2Izxp=x?">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="ytbmTjq5mtepdI}n8$tl">
                <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="KC5rF1Q^v`U{r;LJzptk" collapsed="true">
                <field name="TEXT">Higher</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="tradeOptions" id="mw87~3?UX`:[|,t:]%TK">
            <field name="DURATIONTYPE_LIST">t</field>
            <field name="CURRENCY_LIST">USD</field>
            <field name="BARRIEROFFSETTYPE_LIST">-</field>
            <value name="DURATION">
              <block type="math_number" id="MJ;a49cJPkW1rMg1[2]H" collapsed="true">
                <field name="NUM">10</field>
              </block>
            </value>
            <value name="AMOUNT">
              <block type="variables_get" id="d3ogFB^}OSZ;%jTB[_$," collapsed="true">
                <field name="VAR" id=":D=Z4G10=5^6X{sN!x_2" variabletype="">Stake</field>
              </block>
            </value>
            <value name="BARRIEROFFSET">
              <block type="variables_get" id=")2SIHvx*?0hEP_1Jy*c$" collapsed="true">
                <field name="VAR" id="_=FQc9Z7]0E#:_a(9pie" variabletype="">Barrier</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="tradeOptions" id="Rye@ZYt#lab#26N^Y3v`">
            <field name="DURATIONTYPE_LIST">t</field>
            <field name="CURRENCY_LIST">USD</field>
            <field name="BARRIEROFFSETTYPE_LIST">+</field>
            <value name="DURATION">
              <block type="math_number" id="vb04RcTv5:$]nEhLzvv5" collapsed="true">
                <field name="NUM">10</field>
              </block>
            </value>
            <value name="AMOUNT">
              <block type="variables_get" id="^8j{};}w-S%Qs7S~%d0F" collapsed="true">
                <field name="VAR" id=":D=Z4G10=5^6X{sN!x_2" variabletype="">Stake</field>
              </block>
            </value>
            <value name="BARRIEROFFSET">
              <block type="variables_get" id="EL;in[Qn4q;.!T=Xu~HT" collapsed="true">
                <field name="VAR" id="_=FQc9Z7]0E#:_a(9pie" variabletype="">Barrier</field>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" collapsed="true" x="0" y="748">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="notify" id="uS#tH^GKk!r8p{uNA3X=">
        <field name="NOTIFICATION_TYPE">success</field>
        <field name="NOTIFICATION_SOUND">silent</field>
        <value name="MESSAGE">
          <shadow type="text" id="_G_04TcYBLb34]@[}x4y">
            <field name="TEXT">Nguyễn Xuân Đức </field>
          </shadow>
        </value>
        <next>
          <block type="controls_if" id="t)hc)QY8UpvRc*K-#TwD">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="ibyi(XO4ZP0|#!dQcGd9">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="variables_get" id="Ub2|yg}50Mm6]9A:wAM*">
                    <field name="VAR" id=",*!vC*64;]JF(Flu%zG*" variabletype="">W</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="4ZI}]E_}2C--`[+,$V9_">
                    <field name="VAR" id="=k_Ec|igtdch11XWYty]" variabletype="">Analysis</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="math_change" id="ih2%^K=+(jj{88nTnRhJ">
                <field name="VAR" id=",*!vC*64;]JF(Flu%zG*" variabletype="">W</field>
                <value name="DELTA">
                  <shadow type="math_number" id="0/|;qA;n4V73YlO7Qu*b">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
                <next>
                  <block type="controls_if" id="l%3;;BUK~/i;IL`6GQ{0">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="check_direction" id="3y8h[fr#rm1$,;@R_O=w">
                        <field name="CHECK_DIRECTION">rise</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="math_change" id="L[kjR5EbujI)WN[0amdS">
                        <field name="VAR" id="Nv[tj+P*.@@;%Fv^$BhZ" variabletype="">R</field>
                        <value name="DELTA">
                          <shadow type="math_number" id="YLvD+Rm%?MFg|/rs1u}@">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="math_change" id="gAA^y,?tKM5Svw.a(H3$">
                        <field name="VAR" id="U0*RJ|S8Uy1@$ACtR(q^" variabletype="">F</field>
                        <value name="DELTA">
                          <shadow type="math_number" id="[@kw|u7{dk*1mE5Sud0u">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="controls_if" id="ZpMi{FFTVaxMA`yO|.[]">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="!sNhj-`=h1(y^c7!e1DZ">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="I9-/{$WGyuy%IZjm1~?_">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="=e*e#JiKj{NtH59+:[yY">
                            <field name="VAR" id="Nv[tj+P*.@@;%Fv^$BhZ" variabletype="">R</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="baTs9YNuJ1;yjvo4|n*F">
                            <field name="VAR" id="U0*RJ|S8Uy1@$ACtR(q^" variabletype="">F</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="/a_TDgD~xPX4o!3)kOZ5">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="lpLOf6FH~K4SY-@J2%#d">
                            <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="#^!n3u*pQN9|y,I%35F+">
                            <field name="TEXT">Higher</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="oZlMQD3op6#{57.Pi?/3">
                    <field name="VAR" id="U0*RJ|S8Uy1@$ACtR(q^" variabletype="">F</field>
                    <value name="VALUE">
                      <block type="math_number" id="_]|M?yv~[KfQv@V{)c#%">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="KQKC]t};#kb[08w2RB+;">
                        <field name="VAR" id="Nv[tj+P*.@@;%Fv^$BhZ" variabletype="">R</field>
                        <value name="VALUE">
                          <block type="math_number" id="+|m{yT.5gTMEZM%Pn`%,">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="purchase" id="3B(3%$)`8*C-EyHNRv#P">
                            <field name="PURCHASE_LIST">CALL</field>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_operation" id="Q;pCUSQ9~Tb/+FyRU~~-">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="vPXp,Rz5m-jn]s^7IDxq">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="variables_get" id="].KUY#v9sN)`;r9UPcPG">
                            <field name="VAR" id="Nv[tj+P*.@@;%Fv^$BhZ" variabletype="">R</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="ndRnTDh[%r3QfsmeY7C:">
                            <field name="VAR" id="U0*RJ|S8Uy1@$ACtR(q^" variabletype="">F</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="$^a.$8O1i9oJ,VDbUSPN">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="zahrbzC!_6SC2:oPDl]@">
                            <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="QRc0)uOVi5G=xUcjNqN@">
                            <field name="TEXT">Lower</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="variables_set" id="dDZHFn/=b%@03t-Bu^19">
                    <field name="VAR" id="U0*RJ|S8Uy1@$ACtR(q^" variabletype="">F</field>
                    <value name="VALUE">
                      <block type="math_number" id="uSu6?h2)cn,;,8?OA.+{">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="t?bO*Esu_`,J{xKB%xxt">
                        <field name="VAR" id="Nv[tj+P*.@@;%Fv^$BhZ" variabletype="">R</field>
                        <value name="VALUE">
                          <block type="math_number" id="k)APF,+?f,smTEXp;1U-">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="purchase" id="1R_gC_CRG]sde?;O0o}H">
                            <field name="PURCHASE_LIST">PUT</field>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" collapsed="true" x="0" y="790">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="Wb_C;lsT|tWh$jSR?AlF">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="DTPmFYz.`dr(?T_}1@g`">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="pj_xeP5O,9b%JBv`Dz}]">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="pdFq7vTDmS0=6?nAsn(Q">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id=".)c)zCw(D(R{ZJ]lAoB:">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="[+(vgI5L(AhwztlfBTFv">
                    <field name="TEXT">Прибыль: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="_giN;H8x)C9#?zM6UBhT">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="ds0?aaOvb6HzQ97bh(uv">
                <field name="VAR" id=":D=Z4G10=5^6X{sN!x_2" variabletype="">Stake</field>
                <value name="DELTA">
                  <shadow type="math_number" id="y-e8jPD^(U,(+O/#eGh4">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_single" id="!%/n5dwV}7]`L_,^4yrs">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="7^^BK}sx9R6xY/hP1bGB">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="zaGl8?q*FKxeeU;E4%xG">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="math_change" id="]`P1fm^~?V[vjFs%AaB_">
                    <field name="VAR" id="DQ?gk_?,g3C47/;Le?t|" variabletype="">P</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="y-e8jPD^(U,(+O/#eGh4">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="controls_if" id="#NMGO+%Fg8Lts#plwhN!">
                        <value name="IF0">
                          <block type="logic_compare" id="jaIBRT,Q2J(~o6T|InJ,">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="]+pn~r(R)#qyQm$7Fu11">
                                <field name="VAR" id="DQ?gk_?,g3C47/;Le?t|" variabletype="">P</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="Lou_S^T4p0Wn0sc0[ioD">
                                <field name="VAR" id="wxmPi}DcyDisQ6VJlCV%" variabletype="">Compound Level</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="#mA]YQz]a-Naib42rJ1n">
                            <field name="VAR" id="DQ?gk_?,g3C47/;Le?t|" variabletype="">P</field>
                            <value name="VALUE">
                              <block type="math_number" id="Fzn{v^Z$9t|g^h]W$6hk">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="+5.(uYb/TA-PC[b+DS.Q">
                                <field name="VAR" id=":D=Z4G10=5^6X{sN!x_2" variabletype="">Stake</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="tq}=LXZ3{:}~~B+Rx#_s">
                                    <field name="VAR" id="C-CqaW7r^oTEb:n=qpMB" variabletype="">Subsequent bid</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="%8#zL=yi,D]dlui;@^2v">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="=W=P1~d`qQy|cIRPq=gu">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="Wgb/NX8GE:93F!U;]?D#">
                                    <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="#$BP_z)f4D-o7nfw;]qG">
                                    <field name="TEXT">Higher</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="dOeoK}ng-ygnYfcZD$pS">
                                <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
                                <value name="VALUE">
                                  <block type="text" id="?2V|?O.Kgjn6/aQoQDz9">
                                    <field name="TEXT">Lower</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="variables_set" id="V!xp4}go-(uaC3DH_DY+">
                                <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
                                <value name="VALUE">
                                  <block type="text" id="`No).=CAnVWUJssv_7^s">
                                    <field name="TEXT">Higher</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="v?jzp?OA-sPQyrZC6tq[">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="pdFq7vTDmS0=6?nAsn(Q">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="Y7uSgk#AXc?X)9IkHBHC">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="cTfA4fn1O1BDl|H?~oKd">
                    <field name="TEXT">Убыток: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id=".m(hY2HR+4R_a$AFKfzD">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="pxK,RFg_r6cD$oyK*FR4">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="$4aYPMDnikMKEHDyr2~]">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="632KFfL=nKOGL2A-j[]]">
                <field name="VAR" id="DQ?gk_?,g3C47/;Le?t|" variabletype="">P</field>
                <value name="VALUE">
                  <block type="math_number" id="s5m-]GQqlrU5~(-39~Ct">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="math_change" id="JlJnx1Z`$HBl_EF7dVS-">
                    <field name="VAR" id=":D=Z4G10=5^6X{sN!x_2" variabletype="">Stake</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="y-e8jPD^(U,(+O/#eGh4">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="$WjaYJ/+m8N$yTZ9.VP#">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="7^^BK}sx9R6xY/hP1bGB">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="math_arithmetic" id="u.(r46ba7c{93EKoo|V7">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id=",|-;oo(syrGA`J4;[TDi">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="read_details" id="bg5rb%sE{{YZQrsKRIyB">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="~-hGl9pgl^Sbha2cwB`8">
                                <field name="NUM">3</field>
                              </shadow>
                              <block type="variables_get" id="L.7QzeTGLc$X2#~G`|*%">
                                <field name="VAR" id="bM!y/@6y;x:x5fhlRfVt" variabletype="">Martingale Factor</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="H]R+BpQzQXhq[;esH#K^">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="B-L@!!h2ze2j7r:=aVG2">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="/8*fcT]@Vox=2}kg/gN@">
                                <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="jb5bYhm.OXtP:G_@x*%+">
                                <field name="TEXT">Higher</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="fAAblm]}qFG#:NkRy1~Z">
                            <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
                            <value name="VALUE">
                              <block type="text" id="`*lZuFO@bSczJUaZD7lj">
                                <field name="TEXT">Lower</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="variables_set" id="59L;wobW=[iw1Hj%IjUe">
                            <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
                            <value name="VALUE">
                              <block type="text" id="jpb{vv]aV6!_FUMd}Vy.">
                                <field name="TEXT">Higher</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="+7u_Lm]5q2+]e?GMymy.">
            <value name="IF0">
              <block type="contract_check_result" id="HL,~q]|.LrpF,@*29hq:">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="notify" id="9wbLUY#*x:^rU_s;,ORV">
                <field name="NOTIFICATION_TYPE">info</field>
                <field name="NOTIFICATION_SOUND">silent</field>
                <value name="MESSAGE">
                  <shadow type="text" id="pdFq7vTDmS0=6?nAsn(Q">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text_join" id="wDBcxOONzv%Mt$9X~Gf{">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="pm-{O=%4:3izbpdCCCf|">
                        <field name="TEXT">Общая прибыль/убыток: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="total_profit" id="4.3Kh.rz7}L5pJ{wQ9*:"></block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="sfm_x~t,s!$3QPuvK7=R">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="tn/L_~:O8k4/$vPHh0Rg">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="0h8ZP(!(O{A9$koA(,MK"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="k%_A4ufIg#,00-(/G,sV">
                        <field name="VAR" id=";|vNLp}gHdax$R;lw|y;" variabletype="">Target Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="D?9#fV=v6~,zp$hG7}j,">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="a^_umF,YX-n2hwxq@~+3">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="total_profit" id="xYPxhF=UO-Ip9j2(Yi:K"></block>
                        </value>
                        <value name="B">
                          <block type="math_single" id="^NQW:/g=h|xDuV`.{8f$">
                            <field name="OP">NEG</field>
                            <value name="NUM">
                              <shadow type="math_number" id="v/hw.89j*c`~NiTqkYj^">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="variables_get" id="8J)Bd.z$dkQS}^CC84|E">
                                <field name="VAR" id="gtROJifA-.pks#^QTJ^X" variabletype="">Stop Loss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="trade_again" id="AahhNCyFIwi-*^JpP;$G"></block>
                    </statement>
                    <statement name="ELSE">
                      <block type="text_print" id="@Rov?WB0toE}kWcqPRn;">
                        <value name="TEXT">
                          <shadow type="text" id="?_3kUfPDD@,1f=dSc?!g">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text_join" id="-CQ:nQT_1]i^Y;;X!MQ!">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="k40BuD/okV_XIh`%x_-l">
                                <field name="TEXT">Допустимая потеря достигнута:  -</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="math_single" id="2,s4Bv:Qn;Jsh7Q|h8N2">
                                <field name="OP">NEG</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="`%b1v-m[vVZ{tvgMOEK}">
                                    <field name="NUM">9</field>
                                  </shadow>
                                  <block type="total_profit" id="]xk5_{,6o2;WP46hqLkW"></block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="6PpvY(cEDw~Srj)8D4v;">
                    <value name="TEXT">
                      <shadow type="text" id="?_3kUfPDD@,1f=dSc?!g">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="c8C61y)bM*^yngvD+m$f">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="FAupZUZ7(*81(%4(;A-t">
                            <field name="TEXT">Желаемый доход достигнут:  </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="$QM]hyQV^]fO;6?lBjr$"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="@_YiC?:1@MYz`7kKLsuL" collapsed="true" x="8" y="843">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="_|ysK~}Z4a[71,p9zC55">
        <field name="VAR" id="=p?(?V,1c@`0}o0B:g=p" variabletype="">fnc:NewCandle</field>
        <value name="VALUE">
          <block type="logic_boolean" id="n*fK2mjnqALV#IlG!.a6">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id="=qHbdAiIjE[d?jh.CvW3">
            <mutation elseif="1"></mutation>
            <value name="IF0">
              <block type="logic_negate" id="HBx1=1kOd)svw6s}m0z]">
                <value name="BOOL">
                  <block type="variables_get" id="8~Bxsf9z{q]Y#19Gi]Zq">
                    <field name="VAR" id="{1UM:iJcf#kcONJ%e9Q=" variabletype="">fnc:OpenTime</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="1^Cph2=]v{CNP%0YWU8M">
                <field name="VAR" id="{1UM:iJcf#kcONJ%e9Q=" variabletype="">fnc:OpenTime</field>
                <value name="VALUE">
                  <block type="read_ohlc" id="h!9P#lmI2~{grTE%[2ti">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="aS+qt4]Nd%:bjO{V9Q*V">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <value name="IF1">
              <block type="logic_compare" id="`snhup2K7-P_:NvRfqB}">
                <field name="OP">NEQ</field>
                <value name="A">
                  <block type="variables_get" id="R.ze$f330JT0gwStk|AM">
                    <field name="VAR" id="{1UM:iJcf#kcONJ%e9Q=" variabletype="">fnc:OpenTime</field>
                  </block>
                </value>
                <value name="B">
                  <block type="read_ohlc" id="3,=AkXFMIN@O30UAbCZC">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="oA4F6V$cQeCplySVC#{f">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="variables_set" id="dY,!r2`3TRP:ECaB|^GT">
                <field name="VAR" id="{1UM:iJcf#kcONJ%e9Q=" variabletype="">fnc:OpenTime</field>
                <value name="VALUE">
                  <block type="read_ohlc" id="x)@N1WR:zhAeMAQIcnzz">
                    <field name="OHLCFIELD_LIST">epoch</field>
                    <field name="CANDLEINTERVAL_LIST">default</field>
                    <value name="CANDLEINDEX">
                      <shadow type="math_number" id="6mW=K7QVc~OrMYF2iy`q">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="HKFVcuon_rp5UeDk?@(%">
                    <field name="VAR" id="=p?(?V,1c@`0}o0B:g=p" variabletype="">fnc:NewCandle</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="+hZcd(lKH^u:Za4XBGKx">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="O4^A.-+4myj_8!AAfz+Y">
                <value name="IF0">
                  <block type="procedures_callreturn" id="fgh_E$~Y!O/[ZaYcN.{L">
                    <mutation name="new candle"></mutation>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="#k|/9uw44}XBS@`.G+G8">
                    <field name="VAR" id=",*!vC*64;]JF(Flu%zG*" variabletype="">W</field>
                    <value name="VALUE">
                      <block type="math_number" id="{8ZW2RE}#F[a;AyH:(L+">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="|;5G`L`T]t7[9X;J]/[K">
                        <field name="VAR" id="Nv[tj+P*.@@;%Fv^$BhZ" variabletype="">R</field>
                        <value name="VALUE">
                          <block type="math_number" id="Lm.aGn`13A9fYhB4*Pfk">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="-IV^TXggOU|:1KT#WS/p">
                            <field name="VAR" id="U0*RJ|S8Uy1@$ACtR(q^" variabletype="">F</field>
                            <value name="VALUE">
                              <block type="math_number" id="d`{KWshiVdI9rt$/3WtW">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="-|@@]uK{nsklMoxf=h#5" collapsed="true" x="0" y="896">
    <field name="NAME">new candle</field>
    <comment pinned="false" h="80" w="160">New Candle block by Fruitfella</comment>
    <value name="RETURN">
      <block type="variables_get" id="JKymQG^nhT0[;JM%u?7D">
        <field name="VAR" id="=p?(?V,1c@`0}o0B:g=p" variabletype="">fnc:NewCandle</field>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="SYYh#6+xFL#|gpFO+UyR" collapsed="true" x="0" y="949">
    <field name="NAME">Setting</field>
    <comment pinned="false" h="80" w="160">Опишите эту функцию…</comment>
    <statement name="STACK">
      <block type="variables_set" id="9,1{8x)u|NzvLMDq5}=E" collapsed="true">
        <field name="VAR" id="DQ?gk_?,g3C47/;Le?t|" variabletype="">P</field>
        <value name="VALUE">
          <block type="math_number" id="cwxfQ07cyZab(Yvf3[rP" collapsed="true">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="+(S^#HVdWx@d`DxVH];N" collapsed="true">
            <field name="VAR" id="yGg(V)8FJQt|c1@Drlx;" variabletype="">Next Trade</field>
            <value name="VALUE">
              <block type="text" id="-+FY_kDPCV8*A;yEr@g2" collapsed="true">
                <field name="TEXT">Higher</field>
              </block>
            </value>
            <next>
              <block type="controls_if" id="sOl#4K#tAbj6~_b:HF=7" collapsed="true">
                <value name="IF0">
                  <block type="logic_compare" id="#%`6e)i$ni7;8kb4/oN:">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="-w]SNxmc%M%vf:OA{aeB">
                        <field name="VAR" id=":D=Z4G10=5^6X{sN!x_2" variabletype="">Stake</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id="E_QF3)7-v%5HJRdtn,O2"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="*|C}@#%WXNmUCQ6:G8kQ">
                    <field name="VAR" id=":D=Z4G10=5^6X{sN!x_2" variabletype="">Stake</field>
                    <value name="VALUE">
                      <block type="text_prompt_ext" id="u^K%[n4|AqArNsM+eG5t">
                        <mutation type="NUMBER"></mutation>
                        <field name="TYPE">NUMBER</field>
                        <value name="TEXT">
                          <shadow type="text" id="$_b7V:?:pxBTkLeTeZT_">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="V~]M{oE#P];b6ltXNa)J">
                            <field name="TEXT">Stake</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="variables_set" id="Z2LY.G@DjK.8Hpi0d0gs" collapsed="true">
                    <field name="VAR" id="C-CqaW7r^oTEb:n=qpMB" variabletype="">Subsequent bid</field>
                    <value name="VALUE">
                      <block type="variables_get" id="U$_dn^7a:s0r-[[N`Kvw">
                        <field name="VAR" id=":D=Z4G10=5^6X{sN!x_2" variabletype="">Stake</field>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="MQhefa::,QwMClf.h!-u" collapsed="true">
                        <value name="IF0">
                          <block type="logic_compare" id="8bm|lgs{ZNZkPr]KOAhr">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="}hK!/C^CrGszz9e9.lGe">
                                <field name="VAR" id=";|vNLp}gHdax$R;lw|y;" variabletype="">Target Profit</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_null" id="@xnD(o}f{X~S;D~B)wW~"></block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="jxmT)3HH+p-jF/GTD__n">
                            <field name="VAR" id=";|vNLp}gHdax$R;lw|y;" variabletype="">Target Profit</field>
                            <value name="VALUE">
                              <block type="text_prompt_ext" id="QXafMi:q}|U!,RBGc3AZ">
                                <mutation type="NUMBER"></mutation>
                                <field name="TYPE">NUMBER</field>
                                <value name="TEXT">
                                  <shadow type="text" id="$_b7V:?:pxBTkLeTeZT_">
                                    <field name="TEXT">abc</field>
                                  </shadow>
                                  <block type="text" id="*.iTE~5WNy[osVc^xY=,">
                                    <field name="TEXT">Target Profit</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="3v=Sn(~8zBpLY1dEgTDJ" collapsed="true">
                            <value name="IF0">
                              <block type="logic_compare" id="0S6lam#Onh#q:31$0yHI">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="s3p23_;]VpN#)!CueDkt">
                                    <field name="VAR" id="gtROJifA-.pks#^QTJ^X" variabletype="">Stop Loss</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_null" id="A@!Hnqc_-zrxJXMjS8=1"></block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="#t{_e~g4y{Qjfr)vz{t/">
                                <field name="VAR" id="gtROJifA-.pks#^QTJ^X" variabletype="">Stop Loss</field>
                                <value name="VALUE">
                                  <block type="text_prompt_ext" id="Ge`e.Q_ctLzP{4x$;G0/">
                                    <mutation type="NUMBER"></mutation>
                                    <field name="TYPE">NUMBER</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="$_b7V:?:pxBTkLeTeZT_">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text" id="CU/Aj|6oluq!.q54|Uo!">
                                        <field name="TEXT">Stop Loss</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>