﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="W(0b0Cqy]UGT++UVjz#Z">_numCycles(10)</variable>
    <variable type="" id="Bwc,HCOX9m)8?7w@VGKJ">_minProfitPerCycle(85%_of_stake)</variable>
    <variable type="" id="c[,?kS0)FD6x]@QC?Z/f">_martingaleOnWin</variable>
    <variable type="" id="S1[,@r~%^@C#zXW*=+W=">_holder(15)</variable>
    <variable type="" id="@;Fw^y*KCvYgcySl*5Wd">_profit(contract_detail:profit)</variable>
    <variable type="" id="y4Uh8PE,D7g3]-xor[}*">_targetProfit(ex:25)</variable>
    <variable type="" id="`HiA+QcQ$LuH`3CxHv41">_stopLoss(ex:200)</variable>
    <variable type="" id="]riu_0*{Zyh4K}JSZ?Qr">_initialStake(ex:1)</variable>
    <variable type="" id="X7z_L}$#ifQ#^7B7Er#o">_martingale(ex:1.06)</variable>
    <variable type="" id="Kc}H_7(E+}[QM|@jr2m2">exMachina::candles</variable>
    <variable type="" id="17k};k.rF9u*+_s/0rNd">exMachina::maxCycles</variable>
    <variable type="" id="3un0*#0jfQU0pYK^Wv+G">exMachina::cyclesProfit</variable>
    <variable type="" id="{y0U7uKQlOLJt*R)B6`4">exMachina::targetProfit</variable>
    <variable type="" id="h6/xZfw/l{M=i@E{4iC/">exMachina::stake</variable>
    <variable type="" id="fXy[f/p0*Eo`gcLs_#yq">exMachina::totalProfit</variable>
    <variable type="" id="mNh~uzrqgMV?XeTk=9d5">exMachina::cycleHolder</variable>
    <variable type="" id="Jq_d4UHB;I6J_;}hNg!X">exMachina::lastTick</variable>
    <variable type="" id="*)U9GQ},/u0CcJopm=oi">exMachina::martingaleOnWin</variable>
    <variable type="" id="cB}4yE)vEb_4rYs:?!B6">exMachina::cycles</variable>
    <variable type="" id="|Fgg]/;a|QQtv(s]MNJc">exMachina::stopLoss</variable>
    <variable type="" id="-)GfAXcL{b8kd/5J%Kjz">exMachina::InitialStake</variable>
    <variable type="" id="Rh%Qj=9{f*4X{wf,McMJ">exMachina::wins</variable>
    <variable type="" id="P0oqgWSPU8H0r?p{Q1B0">exMachina::martingale</variable>
    <variable type="" id="sv}*jA(P@x4Cp?VwT/Ur">exMachina::lowestProfit</variable>
    <variable type="" id="_{.,:wV8Ek82(FA~%-lf">exMachina::cycleStake</variable>
    <variable type="" id="M}@jA9yb)V[SOte|w(gC">exMachina::minProfitPerCycle</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" 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">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="procedures_callnoreturn" id="LlhK]VvVuGjM=Qw-S:$Y">
        <mutation name="exMachina::CyclesConfig(1)">
          <arg name="_numCycles(10)"></arg>
          <arg name="_minProfitPerCycle(85%_of_stake)"></arg>
          <arg name="_martingaleOnWin"></arg>
          <arg name="_holder(15)"></arg>
        </mutation>
        <value name="ARG0">
          <block type="math_number" id="RaDHZyoRO{9;C7^A]d.J">
            <field name="NUM">1</field>
          </block>
        </value>
        <value name="ARG1">
          <block type="math_number" id="L9oQdQySI4a$^h7t?(TV">
            <field name="NUM">0.28</field>
          </block>
        </value>
        <value name="ARG2">
          <block type="logic_boolean" id=";lqFRiwmN}1)d:8HarF6">
            <field name="BOOL">TRUE</field>
          </block>
        </value>
        <value name="ARG3">
          <block type="math_number" id="{Q5[i.lXt9$:va*E=)b!">
            <field name="NUM">15</field>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">5</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" collapsed="true" x="0" y="526">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="timeout" id="oH=Z?;{}BULR$bUW^le%">
        <statement name="TIMEOUTSTACK">
          <block type="controls_if" id="RaG[J+,2.pG/^G4j[e)`">
            <mutation elseif="1"></mutation>
            <value name="IF0">
              <block type="logic_operation" id="lh$b,Cb|;9bYeHYHuoo*" inline="false">
                <field name="OP">OR</field>
                <value name="A">
                  <block type="logic_operation" id="s:=/TI7J99wH#br!PwiC">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="procedures_callreturn" id="_cwLL2{,2x)V)/Wn0E7y">
                        <mutation name="exMachina::IsUpTrend"></mutation>
                      </block>
                    </value>
                    <value name="B">
                      <block type="procedures_callreturn" id="qdy0x}^zb!_MirP*AxZo">
                        <mutation name="exMachina::IsGreen"></mutation>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_operation" id="ex@Xm_KX7DQ:e/jaN0-4">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="procedures_callreturn" id=",$~hRmzU~B(f(Kj*.7V]">
                        <mutation name="exMachina::IsDownTrend"></mutation>
                      </block>
                    </value>
                    <value name="B">
                      <block type="procedures_callreturn" id="2.VHFwOH@R{xIKiN}ALH">
                        <mutation name="isGreenMarubosu"></mutation>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="wyAdR4$=sm#)3r^At8O#">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </statement>
            <value name="IF1">
              <block type="logic_operation" id="RKlGP7w6{t=|ZYmg%Ms|" inline="false" collapsed="true">
                <field name="OP">OR</field>
                <value name="A">
                  <block type="logic_operation" id="3)uTaRZA`Y{T?xvH(ao_">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="procedures_callreturn" id="GAjX=^}DiP$H)DaW?3CM">
                        <mutation name="exMachina::IsDownTrend"></mutation>
                      </block>
                    </value>
                    <value name="B">
                      <block type="procedures_callreturn" id="looK_~#Qp0#J?IAQd6r9">
                        <mutation name="exMachina::IsRed"></mutation>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_operation" id="L%+MwbbO:M9~!W^Hre=|">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="procedures_callreturn" id="3A`oHz-nDU}0SpGUY38y">
                        <mutation name="exMachina::IsUpTrend"></mutation>
                      </block>
                    </value>
                    <value name="B">
                      <block type="procedures_callreturn" id="^Ui:XnH_n|oV#0n8!pX_">
                        <mutation name="isRedMarubosu"></mutation>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO1">
              <block type="purchase" id="!1!;bRwX_xOdc0l#*.1D">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </statement>
          </block>
        </statement>
        <value name="SECONDS">
          <shadow type="math_number" id="RSLus)GD)89fgb?Ce+E^">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="m%q}fKNV#B15M#amJT3!">
            <field name="VAR" id="mNh~uzrqgMV?XeTk=9d5" variabletype="">exMachina::cycleHolder</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="579">
    <statement name="AFTERPURCHASE_STACK">
      <block type="procedures_callnoreturn" id="+vCcz|W#,:n~D,~WU3.6">
        <mutation name="exMachina::Cycles(4)">
          <arg name="_profit(contract_detail:profit)"></arg>
        </mutation>
        <value name="ARG0">
          <block type="read_details" id="}^;sU6*1TAV1cCe)+i24">
            <field name="DETAIL_INDEX">4</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id="8D$4BBKr.C^8!nig=L]e">
            <value name="IF0">
              <block type="logic_operation" id="9HXWP?kL|(Q*b$_`?_5D">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="procedures_callreturn" id="Ye:Ix2So(eb/8/zoVJr/">
                    <mutation name="exMachina::TradeAgain"></mutation>
                  </block>
                </value>
                <value name="B">
                  <block type="procedures_callreturn" id="Ne`4W65D7y%)(dkQWkaC">
                    <mutation name="exMachina::CycleAgain"></mutation>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="C180ZhDa[vU1U,_:XCXx" collapsed="true" x="0" y="798">
    <statement name="TICKANALYSIS_STACK">
      <block type="variables_set" id="CHQ)et~G5TQiYoEtEF5!">
        <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
        <value name="VALUE">
          <block type="ohlc" id="l(j;=yD9Ky|N0n:5;ri=">
            <field name="CANDLEINTERVAL_LIST">default</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="jG@:SAmKmH}[0frN{#vk">
            <field name="VAR" id="Jq_d4UHB;I6J_;}hNg!X" variabletype="">exMachina::lastTick</field>
            <value name="VALUE">
              <block type="tick" id="0IZMAs003RMVPfZ^*?cH"></block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="%c]q};;s~u-2b)7=w1W!" collapsed="true" x="0" y="851">
    <field name="NAME">exMachina::TradeAgain</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id=":DP]JnHEf=k8rFj^(2K/">
        <value name="IF0">
          <block type="logic_operation" id="1_DO.lmRbB(zP|.UJi=k" inline="false">
            <field name="OP">OR</field>
            <value name="A">
              <block type="logic_compare" id="^CYp.vbx)GFHSx}6v(j4" inline="false">
                <field name="OP">GTE</field>
                <value name="A">
                  <block type="variables_get" id="#j*Vtvp,2s/Q^-6+AWGw">
                    <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="Xusd.6C8jK%@PF6SE/J*">
                    <field name="VAR" id="{y0U7uKQlOLJt*R)B6`4" variabletype="">exMachina::targetProfit</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id="fPxQPF_Y*w%L{R~U472F" inline="false">
                <field name="OP">LTE</field>
                <value name="A">
                  <block type="variables_get" id="Li(|oTB},cgRv~C9y^hx">
                    <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get" id="+-=v6c4W7-EPb!Nv]c?#">
                    <field name="VAR" id="|Fgg]/;a|QQtv(s]MNJc" variabletype="">exMachina::stopLoss</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="text_print" id="9WrrzRkR{z*f?ARHN9)$">
            <value name="TEXT">
              <shadow type="text" id="^`+|:^P$|PL1g8~W8a@m">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="7k^4cYH,]g)A36EpE6Dw">
                <mutation items="4"></mutation>
                <value name="ADD0">
                  <block type="text" id="Cy,z1hy2O~^]?vbL0MI6">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="d,Ji$QPdpb$!{=Mlb0co">
                    <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id="Yh#/aODjBt,2n_5,OTN#">
                    <field name="TEXT"> | Lowest Profit: </field>
                  </block>
                </value>
                <value name="ADD3">
                  <block type="variables_get" id="0xB}rI)|eUplp.axS/]9">
                    <field name="VAR" id="sv}*jA(P@x4Cp?VwT/Ur" variabletype="">exMachina::lowestProfit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_operation" id="0GFgmx7MYl`KOBZj86$D" inline="false">
        <field name="OP">AND</field>
        <value name="A">
          <block type="logic_compare" id="H+Rjx*u^=Fh`}M_1%Ebc" inline="false">
            <field name="OP">LT</field>
            <value name="A">
              <block type="variables_get" id="1(7cZT|2ZE%ORxVI:Gr(">
                <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="ep2rr)v^ZRu+XfS?!AY]">
                <field name="VAR" id="{y0U7uKQlOLJt*R)B6`4" variabletype="">exMachina::targetProfit</field>
              </block>
            </value>
          </block>
        </value>
        <value name="B">
          <block type="logic_compare" id="fp,jtF#a:|br8r~D/,A(" inline="false">
            <field name="OP">GT</field>
            <value name="A">
              <block type="variables_get" id="^f+-/V0dcw([aYc[FF%g">
                <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="tY%v(UnADJl$HeV6;D[6">
                <field name="VAR" id="|Fgg]/;a|QQtv(s]MNJc" variabletype="">exMachina::stopLoss</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="/5G*JG$WwxkV[XD-$T)z" collapsed="true" x="0" y="904">
    <mutation>
      <arg name="_numCycles(10)" varid="W(0b0Cqy]UGT++UVjz#Z"></arg>
      <arg name="_minProfitPerCycle(85%_of_stake)" varid="Bwc,HCOX9m)8?7w@VGKJ"></arg>
      <arg name="_martingaleOnWin" varid="c[,?kS0)FD6x]@QC?Z/f"></arg>
      <arg name="_holder(15)" varid="S1[,@r~%^@C#zXW*=+W="></arg>
    </mutation>
    <field name="NAME">exMachina::CyclesConfig(1)</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="k!65,kNq4lojDTkEObF=">
        <field name="VAR" id="17k};k.rF9u*+_s/0rNd" variabletype="">exMachina::maxCycles</field>
        <value name="VALUE">
          <block type="variables_get" id=":7Ep=Bn-P];3g@Aq,P8p">
            <field name="VAR" id="W(0b0Cqy]UGT++UVjz#Z" variabletype="">_numCycles(10)</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="#Zi?fD?;m%#?N8H4v#wg">
            <field name="VAR" id="*)U9GQ},/u0CcJopm=oi" variabletype="">exMachina::martingaleOnWin</field>
            <value name="VALUE">
              <block type="variables_get" id="*_M[brlxW=99o}m?1NiJ">
                <field name="VAR" id="c[,?kS0)FD6x]@QC?Z/f" variabletype="">_martingaleOnWin</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="NLl:mk7$j~@_!Nb10r=r">
                <field name="VAR" id="cB}4yE)vEb_4rYs:?!B6" variabletype="">exMachina::cycles</field>
                <value name="VALUE">
                  <block type="math_number" id="9gj+jP:bh?/FJ{gfG_UJ">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="#(z15XG,;J`qFj]mB?-n">
                    <field name="VAR" id="3un0*#0jfQU0pYK^Wv+G" variabletype="">exMachina::cyclesProfit</field>
                    <value name="VALUE">
                      <block type="math_number" id="#LG?Rfv%voSWGCOB5,9v">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="m_q}9ML=6lbx|,Pl]tKF">
                        <field name="VAR" id="mNh~uzrqgMV?XeTk=9d5" variabletype="">exMachina::cycleHolder</field>
                        <value name="VALUE">
                          <block type="variables_get" id="}7!7kDEm9_}a=4M]?mIU">
                            <field name="VAR" id="S1[,@r~%^@C#zXW*=+W=" variabletype="">_holder(15)</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="4|.XQ-H*=cU6Mclj)d|E">
                            <field name="VAR" id="M}@jA9yb)V[SOte|w(gC" variabletype="">exMachina::minProfitPerCycle</field>
                            <value name="VALUE">
                              <block type="variables_get" id="5i$Dvi]p?3Hm*T?0o-i?">
                                <field name="VAR" id="Bwc,HCOX9m)8?7w@VGKJ" variabletype="">_minProfitPerCycle(85%_of_stake)</field>
                              </block>
                            </value>
                            <next>
                              <block type="notify" id="_RMs9$Hg5[Wy#sGTTrH#">
                                <field name="NOTIFICATION_TYPE">info</field>
                                <field name="NOTIFICATION_SOUND">silent</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="f=ou1[^tEewm!O4M]R=;">
                                    <field name="TEXT">abc</field>
                                  </shadow>
                                  <block type="text_join" id="lXI*w4tHC-z,B!p;__rV">
                                    <mutation items="2"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id=";HCB56#R|%*7cQ4@S{eA">
                                        <field name="TEXT">Max Cycles: </field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="vwR);f#O$;]bF}NSMR,?">
                                        <field name="VAR" id="17k};k.rF9u*+_s/0rNd" variabletype="">exMachina::maxCycles</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="vv#f*S,YrKYJ#Gk7I?}a" collapsed="true" x="0" y="957">
    <field name="NAME">exMachina::Stake</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="variables_get" id="5aema1;$fe#U:g,m]n#S">
        <field name="VAR" id="h6/xZfw/l{M=i@E{4iC/" variabletype="">exMachina::stake</field>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="r$7w_/W{Q`wwWLyNkpd#" collapsed="true" x="0" y="1010">
    <mutation>
      <arg name="_targetProfit(ex:25)" varid="y4Uh8PE,D7g3]-xor[}*"></arg>
      <arg name="_stopLoss(ex:200)" varid="`HiA+QcQ$LuH`3CxHv41"></arg>
      <arg name="_initialStake(ex:1)" varid="]riu_0*{Zyh4K}JSZ?Qr"></arg>
      <arg name="_martingale(ex:1.06)" varid="X7z_L}$#ifQ#^7B7Er#o"></arg>
    </mutation>
    <field name="NAME">exMachina::ConfigMartingale(1)</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="^6W]9R$.H0@B808`7qGS">
        <field name="VAR" id="{y0U7uKQlOLJt*R)B6`4" variabletype="">exMachina::targetProfit</field>
        <value name="VALUE">
          <block type="logic_ternary" id="]RpAneS$RBo6%2DC#?ss" inline="false">
            <value name="IF">
              <block type="logic_compare" id="Hc%[eFyehg.9+j;sxiuR">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="variables_get" id="x!lY!J$5mpT5Ntzy|z0o">
                    <field name="VAR" id="y4Uh8PE,D7g3]-xor[}*" variabletype="">_targetProfit(ex:25)</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="BrmD9fIGPS2TM3}n5D|6">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="THEN">
              <block type="variables_get" id="e2+omms)z^;f*e[IKQ-j">
                <field name="VAR" id="y4Uh8PE,D7g3]-xor[}*" variabletype="">_targetProfit(ex:25)</field>
              </block>
            </value>
            <value name="ELSE">
              <block type="math_number" id="%![`H!7xdwE.B$+s,L:X">
                <field name="NUM">25</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="aHj7gneDI#r4.mtMzhT#">
            <field name="VAR" id="|Fgg]/;a|QQtv(s]MNJc" variabletype="">exMachina::stopLoss</field>
            <value name="VALUE">
              <block type="logic_ternary" id="wV2v(cx*/FYQ3!=!gzNh" inline="false">
                <value name="IF">
                  <block type="logic_compare" id="7%fAtA$BN~R@b{KT5+w^">
                    <field name="OP">NEQ</field>
                    <value name="A">
                      <block type="variables_get" id="WOC@@A4FmL^1Jr=oGMGF">
                        <field name="VAR" id="`HiA+QcQ$LuH`3CxHv41" variabletype="">_stopLoss(ex:200)</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="(gv%$.$G}_s$~og2DNQn">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="THEN">
                  <block type="math_arithmetic" id="%ug5?admL]Xj~Rn545,q">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="BiqQE++KQP)bGHSsNFTt">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="%Rg)_fSe!OMN~~II608(">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="=VS0FopVbqHkbRZoM~0!">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="variables_get" id="$@I2ut$||@%|Knt:lmhU">
                            <field name="VAR" id="`HiA+QcQ$LuH`3CxHv41" variabletype="">_stopLoss(ex:200)</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="_(/1QaUHeN$QBwDUk9U!">
                        <field name="NUM">-1</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="ELSE">
                  <block type="math_number" id="6Ede9IY-7]fG?)`!e:%4">
                    <field name="NUM">-200</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="yT6R65EGXWfXH$@4%hK~">
                <field name="VAR" id="-)GfAXcL{b8kd/5J%Kjz" variabletype="">exMachina::InitialStake</field>
                <value name="VALUE">
                  <block type="logic_ternary" id="2o0yNI-tO/{=J%yQFpd0" inline="false">
                    <value name="IF">
                      <block type="logic_compare" id="l{ci#JfwWskeU`+h}(W1">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="variables_get" id="0i_A8jBI;D2mpCQo}R1C">
                            <field name="VAR" id="]riu_0*{Zyh4K}JSZ?Qr" variabletype="">_initialStake(ex:1)</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="nJ@Ru=LcbN==sOpX|mx5">
                            <field name="NUM">0.35</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="variables_get" id="wgPDt/fJ!K-u:^O_(^_+">
                        <field name="VAR" id="]riu_0*{Zyh4K}JSZ?Qr" variabletype="">_initialStake(ex:1)</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="math_number" id="RO#=X5D`3(xlBasg7Z$d">
                        <field name="NUM">0.35</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="g9e;aEr?ATR=^i%n][LN">
                    <field name="VAR" id="P0oqgWSPU8H0r?p{Q1B0" variabletype="">exMachina::martingale</field>
                    <value name="VALUE">
                      <block type="logic_ternary" id="nWH~teezN,j*TAdelJ.*" inline="false">
                        <value name="IF">
                          <block type="logic_compare" id="k3N/wfVa5mceI_s%0Lp3">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="variables_get" id="HP_7AEt+CKD~6]Xj#^r-">
                                <field name="VAR" id="X7z_L}$#ifQ#^7B7Er#o" variabletype="">_martingale(ex:1.06)</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="gAWsN=%0H/Eq/;1]TzBu">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="THEN">
                          <block type="variables_get" id="+3KN{L-k.cPd/q!V|X@0">
                            <field name="VAR" id="X7z_L}$#ifQ#^7B7Er#o" variabletype="">_martingale(ex:1.06)</field>
                          </block>
                        </value>
                        <value name="ELSE">
                          <block type="math_number" id="=h+C.|:tPTCoKa7B[*[)">
                            <field name="NUM">1.06</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="=2LnU(cCJ$Drn1V7(J$%">
                        <field name="VAR" id="h6/xZfw/l{M=i@E{4iC/" variabletype="">exMachina::stake</field>
                        <value name="VALUE">
                          <block type="variables_get" id="Nub:Kufc=Uq=Px3?c#Bs">
                            <field name="VAR" id="-)GfAXcL{b8kd/5J%Kjz" variabletype="">exMachina::InitialStake</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="K=FMp|t=`$hx1!pg#?{Z">
                            <field name="VAR" id="sv}*jA(P@x4Cp?VwT/Ur" variabletype="">exMachina::lowestProfit</field>
                            <value name="VALUE">
                              <block type="math_number" id="y]u^(;[D1;P8?c(IZc3L">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="sp]fIv$Y^djM^R~5@,5P">
                                <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
                                <value name="VALUE">
                                  <block type="math_number" id="^G~ZZ/68OM13;7KV5diZ">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="notify" id="`NXnp6xZ/?|bsmqoj4y[">
                                    <field name="NOTIFICATION_TYPE">success</field>
                                    <field name="NOTIFICATION_SOUND">silent</field>
                                    <value name="MESSAGE">
                                      <shadow type="text" id="**:d)?fzcF~UIA4r9ahy">
                                        <field name="TEXT">abc</field>
                                      </shadow>
                                      <block type="text_join" id="Ry~t{t_)71tO=4#bpGch">
                                        <mutation items="6"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="1f%u3d^heE(u3bqA6b`s">
                                            <field name="TEXT">Target Profit: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="[xaa|UAJRh1Cs+Zrzm-e">
                                            <field name="VAR" id="{y0U7uKQlOLJt*R)B6`4" variabletype="">exMachina::targetProfit</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="text" id="^_@uVyzb7MP{b1Ofp;:f">
                                            <field name="TEXT"> | Stop Loss: </field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="variables_get" id="O!JQkSqN7qMz#tD?:VT1">
                                            <field name="VAR" id="|Fgg]/;a|QQtv(s]MNJc" variabletype="">exMachina::stopLoss</field>
                                          </block>
                                        </value>
                                        <value name="ADD4">
                                          <block type="text" id="tJ`4dFSG9e[]4eMH.Dg*">
                                            <field name="TEXT"> | Initial Stake: </field>
                                          </block>
                                        </value>
                                        <value name="ADD5">
                                          <block type="variables_get" id="[xzdf#?4RB:xrW63QpWA">
                                            <field name="VAR" id="-)GfAXcL{b8kd/5J%Kjz" variabletype="">exMachina::InitialStake</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="Er_!6W/3Kj%cSIj[eo2P" collapsed="true" x="0" y="1063">
    <mutation>
      <arg name="_profit(contract_detail:profit)" varid="@;Fw^y*KCvYgcySl*5Wd"></arg>
    </mutation>
    <field name="NAME">exMachina::Martingale(4)</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="YU%rJ0*8yr!,nf^jLYae">
        <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
        <value name="DELTA">
          <shadow type="math_number" id="o-,tJX2N+^a{XA)_B-Hd">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="8,qMmt3w4=fDGgN4(uT}">
            <field name="VAR" id="@;Fw^y*KCvYgcySl*5Wd" variabletype="">_profit(contract_detail:profit)</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id="fG1l1G#VHBw34-dWqRtq">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="VI=yr]ihEk{Ayze@fX/u">
                <field name="OP">LT</field>
                <value name="A">
                  <block type="variables_get" id="`u-jnc~*Dny7uuCd0eg)">
                    <field name="VAR" id="@;Fw^y*KCvYgcySl*5Wd" variabletype="">_profit(contract_detail:profit)</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="EA~p}r}?W[i(`c;Ff1#T">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="math_change" id="wDh(cnHG%yftOt`1AGD|">
                <field name="VAR" id="h6/xZfw/l{M=i@E{4iC/" variabletype="">exMachina::stake</field>
                <value name="DELTA">
                  <shadow type="math_number" id="~v=hwzbZhsuC:af9Yho+">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="FK/9t:P%[@|jVr]=RD?$" inline="false">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="FfN)rFy{/Mk8.pNh|L(z">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="BwmgGZRS4T:M7fT%M/.z">
                        <field name="VAR" id="h6/xZfw/l{M=i@E{4iC/" variabletype="">exMachina::stake</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="FqW1m)~Ise/|7I(uQF_G">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="uUTc;F/t{1xa#q?LFFi#">
                        <field name="VAR" id="P0oqgWSPU8H0r?p{Q1B0" variabletype="">exMachina::martingale</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="variables_set" id="Fv!BDjY?9j|z`]b|T7)j">
                <field name="VAR" id="h6/xZfw/l{M=i@E{4iC/" variabletype="">exMachina::stake</field>
                <value name="VALUE">
                  <block type="variables_get" id="mMh:HM7wy{Zq``5{`69M">
                    <field name="VAR" id="-)GfAXcL{b8kd/5J%Kjz" variabletype="">exMachina::InitialStake</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="(26XS%rIIp:,[YAx|wLZ">
                <value name="IF0">
                  <block type="logic_compare" id="H!CUoXp~e5NfFE55~ZG?" inline="false">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="@#utkq-K=Reg]I:|{pJE">
                        <field name="VAR" id="sv}*jA(P@x4Cp?VwT/Ur" variabletype="">exMachina::lowestProfit</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="5+X6FBR-]9q@P%N(t{m!">
                        <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="gP;j(``}hE%l_@Z_Y]CW">
                    <field name="VAR" id="sv}*jA(P@x4Cp?VwT/Ur" variabletype="">exMachina::lowestProfit</field>
                    <value name="VALUE">
                      <block type="variables_get" id="vJgCsPmgws[7}?;d);5B">
                        <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="notify" id="@9V6eNXJMPqu_p3/TV+|">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="1CPN3I!wX2/]+.LBbEIF">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="7HmR%X,TJ(n{2|RfVR=l">
                        <mutation items="4"></mutation>
                        <value name="ADD0">
                          <block type="text" id="543hf/`z!5M|I06:]~3D">
                            <field name="TEXT">Total Profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="~7YKdVwLDU+ZFo?SKk^@">
                            <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="%iq8o=!Qi?s]q;ga-=/M">
                            <field name="TEXT"> | Lowest Profit: </field>
                          </block>
                        </value>
                        <value name="ADD3">
                          <block type="variables_get" id="9fSBo8|{?j]pB~P?ilh?">
                            <field name="VAR" id="sv}*jA(P@x4Cp?VwT/Ur" variabletype="">exMachina::lowestProfit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="/FD(@F1+YFHFL8^3mttU" collapsed="true" x="0" y="1116">
    <mutation>
      <arg name="_profit(contract_detail:profit)" varid="@;Fw^y*KCvYgcySl*5Wd"></arg>
    </mutation>
    <field name="NAME">exMachina::Cycles(4)</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="n[nnprou!S_dD_mJKfOp">
        <field name="VAR" id="3un0*#0jfQU0pYK^Wv+G" variabletype="">exMachina::cyclesProfit</field>
        <value name="DELTA">
          <shadow type="math_number" id="MV7Rjdn0ceqdgouBXc|d">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="_6Q{iOywJ!1x6~apA4zz">
            <field name="VAR" id="@;Fw^y*KCvYgcySl*5Wd" variabletype="">_profit(contract_detail:profit)</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id="Y!K2+?|2Ph=`v?sU4$O9">
            <value name="IF0">
              <block type="variables_get" id="nAfZ$l}T;`uAiN_1Y{ko">
                <field name="VAR" id="*)U9GQ},/u0CcJopm=oi" variabletype="">exMachina::martingaleOnWin</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="controls_if" id="EZ!%gy*TV)3~224#gReI">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="|7XZ[J=e5D:1A:u5o*/|">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="}bjMOQf*wtwGJ2;5w6Ll">
                        <field name="VAR" id="@;Fw^y*KCvYgcySl*5Wd" variabletype="">_profit(contract_detail:profit)</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="gv3K.I=$,OH.hFU$+Sci">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="math_change" id="vY?PUIG@r`D18@X_!q)Q">
                    <field name="VAR" id="Rh%Qj=9{f*4X{wf,McMJ" variabletype="">exMachina::wins</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="uKh53Wtg`S.mP1LHKt0I">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="f?(FCSEI.Y;q9x[ev(eA">
                    <field name="VAR" id="Rh%Qj=9{f*4X{wf,McMJ" variabletype="">exMachina::wins</field>
                    <value name="VALUE">
                      <block type="math_number" id="GZF7vbGFjc}];H$-Q-X$">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="o4GSEZ7,U@eH[]I:imE0">
                    <value name="IF0">
                      <block type="logic_compare" id="99Wn=GKeJS*x$EO+a5#g">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="5Fcc9^)JHBE.0jWt5Cd;">
                            <field name="VAR" id="Rh%Qj=9{f*4X{wf,McMJ" variabletype="">exMachina::wins</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="NP96NNqJ~EC-=@%~fY-r">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="TzOS.dmd8!3_Q^%ET.ww">
                        <field name="VAR" id="_{.,:wV8Ek82(FA~%-lf" variabletype="">exMachina::cycleStake</field>
                        <value name="VALUE">
                          <block type="variables_get" id="P1tdd,e[HcO8W#e;MTn$">
                            <field name="VAR" id="h6/xZfw/l{M=i@E{4iC/" variabletype="">exMachina::stake</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="/%3^DByPCRc^2veqxf)I">
                        <value name="IF0">
                          <block type="logic_compare" id="aTWMk|hQZ.Uc-3l-XSe;">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="variables_get" id="DR,s?#_H_Y]GE.);}Rs/">
                                <field name="VAR" id="Rh%Qj=9{f*4X{wf,McMJ" variabletype="">exMachina::wins</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="frlBw.4q,/dTkNu5=m+4">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="math_change" id="sONY?-Q{6?_SII(Zk*FN">
                            <field name="VAR" id="_{.,:wV8Ek82(FA~%-lf" variabletype="">exMachina::cycleStake</field>
                            <value name="DELTA">
                              <shadow type="math_number" id="(}lr36UxwC`B}*v1C:i2">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_arithmetic" id="=jEyqt[Stk#]t?=^DuIX" inline="false">
                                <field name="OP">MULTIPLY</field>
                                <value name="A">
                                  <shadow type="math_number" id="3t^aNR+K;J3J1^`Hg!NK">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="dl%nIb5l^62|3Vkw.nO)">
                                    <field name="VAR" id="_{.,:wV8Ek82(FA~%-lf" variabletype="">exMachina::cycleStake</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="XkHwE?u(*ksU[=M__CO1">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="AKz[pr3npyDsfX(!des_">
                                    <field name="VAR" id="P0oqgWSPU8H0r?p{Q1B0" variabletype="">exMachina::martingale</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="Halo$B?o@F78~~7V]?gU">
                                <field name="VAR" id="h6/xZfw/l{M=i@E{4iC/" variabletype="">exMachina::stake</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="#!C=:K$89uKVcs4}eN,6">
                                    <field name="VAR" id="_{.,:wV8Ek82(FA~%-lf" variabletype="">exMachina::cycleStake</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="controls_if" id=",6Ki}HIAzc*A1G|LmyH?">
                <value name="IF0">
                  <block type="logic_compare" id="+fWIc9-Z6+CU71S)D?nc">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="variables_get" id="|?ze)c+..S?OV]qfLohw">
                        <field name="VAR" id="3un0*#0jfQU0pYK^Wv+G" variabletype="">exMachina::cyclesProfit</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="JxmNR:?X][CYdzp,ORCJ">
                        <field name="VAR" id="M}@jA9yb)V[SOte|w(gC" variabletype="">exMachina::minProfitPerCycle</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="B,lL}ouQ(pWP(RXS98*,">
                    <field name="VAR" id="3un0*#0jfQU0pYK^Wv+G" variabletype="">exMachina::cyclesProfit</field>
                    <value name="VALUE">
                      <block type="math_number" id="~y3h#AdYbz.lwKc:uHBw">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="math_change" id="[^^F3S_qhc|?|mCE[7l!">
                        <field name="VAR" id="cB}4yE)vEb_4rYs:?!B6" variabletype="">exMachina::cycles</field>
                        <value name="DELTA">
                          <shadow type="math_number" id="3g2bE4R*51GFIqs~Q|yV">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="variables_set" id="a%%7p_w,p^8y*~+JLLO%">
                            <field name="VAR" id="h6/xZfw/l{M=i@E{4iC/" variabletype="">exMachina::stake</field>
                            <value name="VALUE">
                              <block type="variables_get" id="k}R6?t}aiEddQj]tkh:j">
                                <field name="VAR" id="-)GfAXcL{b8kd/5J%Kjz" variabletype="">exMachina::InitialStake</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="notify" id="W?Mv4{e,9ud$Bg+$kQAu">
                    <field name="NOTIFICATION_TYPE">info</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <shadow type="text" id="f=ou1[^tEewm!O4M]R=;">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="rzV,=Yx8aO5mIc!w,L!]">
                        <mutation items="4"></mutation>
                        <value name="ADD0">
                          <block type="text" id="1vWlIxO9Xd2p5x_y8QrY">
                            <field name="TEXT">Cycle: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="y`aWfu]1Bk~0!8[DVh^?">
                            <field name="VAR" id="cB}4yE)vEb_4rYs:?!B6" variabletype="">exMachina::cycles</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="~jqmjD5C|z-SJPH2jAid">
                            <field name="TEXT"> | Cycle Profit: </field>
                          </block>
                        </value>
                        <value name="ADD3">
                          <block type="variables_get" id="T!}2x!V4qOv(4WxAnz8m">
                            <field name="VAR" id="3un0*#0jfQU0pYK^Wv+G" variabletype="">exMachina::cyclesProfit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="s(s:tu9y;*cqNoU-/Hql" collapsed="true" x="0" y="1169">
    <field name="NAME">exMachina::IsUpTrend</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="logic_compare" id="j_dWUs`JUmJd]XK4;4yO">
        <field name="OP">GT</field>
        <value name="A">
          <block type="variables_get" id="YRG4vOI;IMv|.M%4OYji">
            <field name="VAR" id="Jq_d4UHB;I6J_;}hNg!X" variabletype="">exMachina::lastTick</field>
          </block>
        </value>
        <value name="B">
          <block type="ema" id="K*fAkXyFM4sAk#5${q`n">
            <value name="INPUT">
              <block type="ohlc_values_in_list" id="A*s;WFgFy7-F{/1C$0aR">
                <field name="OHLCFIELD_LIST">close</field>
                <value name="OHLCLIST">
                  <block type="variables_get" id="sSy9Ai;G?:~q+]h!)zw^">
                    <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="Y~8am`wW]rBg~@G5Yy-7">
                <field name="NUM">50</field>
              </shadow>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="Q/$uh_ZVIwqeWDfl][W~" collapsed="true" x="0" y="1222">
    <field name="NAME">exMachina::IsDownTrend</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="logic_compare" id="wz4JsCewdOSFE_#tSZen">
        <field name="OP">LT</field>
        <value name="A">
          <block type="variables_get" id="-U{{%i(xIgqx7J-5k3JS">
            <field name="VAR" id="Jq_d4UHB;I6J_;}hNg!X" variabletype="">exMachina::lastTick</field>
          </block>
        </value>
        <value name="B">
          <block type="ema" id="3jS@qrxgnkw-S%eNlg8D">
            <value name="INPUT">
              <block type="ohlc_values_in_list" id="H18Bcd9J3B{r$9:Hi$H;">
                <field name="OHLCFIELD_LIST">close</field>
                <value name="OHLCLIST">
                  <block type="variables_get" id="8tdl;/+F)B.Ml1(Ultpz">
                    <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="t?p9T-aJ(+/{{MVJXNNY">
                <field name="NUM">50</field>
              </shadow>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="^qMbwQV6*_QM4#QXZx-6" collapsed="true" x="0" y="1275">
    <field name="NAME">isGreenMarubosu</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="logic_compare" id="JGV2KXBmxAEr+QVVts8R" inline="false">
        <field name="OP">EQ</field>
        <value name="A">
          <block type="read_ohlc_obj" id="i(}J#kGB@2DoV]kRM}IC">
            <field name="OHLCFIELD_LIST">low</field>
            <value name="OHLCOBJ">
              <block type="lists_getIndex" id="toFREZL1Wdg=oHmxfX+}">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="W:O4?kK{#9=QC4R)ylc=">
                    <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <value name="B">
          <block type="read_ohlc_obj" id="!,7~9#:y#|MD5?D4YT1|">
            <field name="OHLCFIELD_LIST">open</field>
            <value name="OHLCOBJ">
              <block type="lists_getIndex" id="NmE80skbpk-={t#4+N=[">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="Y}[wmD8Rn=}_Xl#-M~z,">
                    <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="y,2vwQZ!-b?_D_oAffv3" collapsed="true" x="0" y="1328">
    <field name="NAME">exMachina::CycleAgain</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="`2g95aJ~xEx}W!=$o)mL">
        <value name="IF0">
          <block type="logic_compare" id="2jY5r,un6pH;N$zE3B$a">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="I^Ysl]]8LXvun{cOC/Nj">
                <field name="VAR" id="cB}4yE)vEb_4rYs:?!B6" variabletype="">exMachina::cycles</field>
              </block>
            </value>
            <value name="B">
              <block type="variables_get" id="#it%^M2*s2eX(Ia;[g[2">
                <field name="VAR" id="17k};k.rF9u*+_s/0rNd" variabletype="">exMachina::maxCycles</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="text_print" id="%7im3M*/A?QB:f2XW=32">
            <value name="TEXT">
              <shadow type="text" id="x3sH|7AVnY]!fC8)IvxQ">
                <field name="TEXT">abc</field>
              </shadow>
              <block type="text_join" id="BLyTS%KS/_KTE?{ki^?T">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="LD2.rv830;ehuhob+iZ;">
                    <field name="TEXT">All cycles completed with: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="!kqBY:oA$.!(tPsEw0p2">
                    <field name="VAR" id="fXy[f/p0*Eo`gcLs_#yq" variabletype="">exMachina::totalProfit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
    <value name="RETURN">
      <block type="logic_compare" id="UI2lz:yI,OIg]f]*xO(:">
        <field name="OP">LT</field>
        <value name="A">
          <block type="variables_get" id="TZ,*6%$,nmE?zDjCr`mH">
            <field name="VAR" id="cB}4yE)vEb_4rYs:?!B6" variabletype="">exMachina::cycles</field>
          </block>
        </value>
        <value name="B">
          <block type="variables_get" id="sZ)h=;5xs7x{+e{z=;Z=">
            <field name="VAR" id="17k};k.rF9u*+_s/0rNd" variabletype="">exMachina::maxCycles</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="(@q./VQ3%)I7iQYf3zwM" collapsed="true" x="0" y="1381">
    <field name="NAME">isRedMarubosu</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="logic_compare" id="auHC5u4/K6ic!G7i2@[:" inline="false">
        <field name="OP">EQ</field>
        <value name="A">
          <block type="read_ohlc_obj" id="SUT#4{F[uE0ieT!oig~D">
            <field name="OHLCFIELD_LIST">high</field>
            <value name="OHLCOBJ">
              <block type="lists_getIndex" id="GV@83u)?sq7obZ@bT[O6">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="7m,Mas*~q(yGS}~TCe4$">
                    <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <value name="B">
          <block type="read_ohlc_obj" id="sFK-h|{[t@Pj4q!:i_b[">
            <field name="OHLCFIELD_LIST">open</field>
            <value name="OHLCOBJ">
              <block type="lists_getIndex" id="ey!oJ#__VF{.PE?/J1tg">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="_GVb)T/:fX]M8)T_VN2w">
                    <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="cdel~{U!v9V_54.S_m0R" collapsed="true" x="0" y="1434">
    <field name="NAME">exMachina::IsRed</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="logic_compare" id="kj/iJ4P_9}zd@diKNzag" inline="false">
        <field name="OP">LT</field>
        <value name="A">
          <block type="variables_get" id="l16x%3:Wc_#V77szljjo">
            <field name="VAR" id="Jq_d4UHB;I6J_;}hNg!X" variabletype="">exMachina::lastTick</field>
          </block>
        </value>
        <value name="B">
          <block type="read_ohlc_obj" id="N-N^2_ATr)GMH-W(.=yo">
            <field name="OHLCFIELD_LIST">open</field>
            <value name="OHLCOBJ">
              <block type="lists_getIndex" id="aZFbtt0,igiQ|_+S1tr2">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="cP-[IHVd9nB;Ys)8}qF8">
                    <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="T1]Hu$(#)+c^5ulxt]vL" collapsed="true" x="0" y="1487">
    <field name="NAME">exMachina::IsGreen</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="logic_compare" id="B5at3*fu=iw=p6Lj_M@u" inline="false">
        <field name="OP">GT</field>
        <value name="A">
          <block type="variables_get" id="u=e)I@-Al4Z~`(CpT_l3">
            <field name="VAR" id="Jq_d4UHB;I6J_;}hNg!X" variabletype="">exMachina::lastTick</field>
          </block>
        </value>
        <value name="B">
          <block type="read_ohlc_obj" id="B@4E.{InI1V5TS4pckxw">
            <field name="OHLCFIELD_LIST">open</field>
            <value name="OHLCOBJ">
              <block type="lists_getIndex" id="6d*@#WCjx;8Tld5~F=rg">
                <mutation statement="false" at="false"></mutation>
                <field name="MODE">GET</field>
                <field name="WHERE">LAST</field>
                <value name="VALUE">
                  <block type="variables_get" id="9L/XBM22_}.s_Dx|2$={">
                    <field name="VAR" id="Kc}H_7(E+}[QM|@jr2m2" variabletype="">exMachina::candles</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
</xml>