﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id=".1va5DArvM+8G?F.:tbI">::src</variable>
    <variable type="" id="5uuVbrin|MIhtCB??mx~">::initialStake</variable>
    <variable type="" id="2o1]juf$^V(z,nnWP2ep">::targetProfit</variable>
    <variable type="" id="_W7;$!:khpS|wG[AZ~C(">::stopLoss</variable>
    <variable type="" id="1-^I$R9M7PD8)D@,/Zf}">::martingale</variable>
    <variable type="" id="B51!qNIRG!{MFSvKfBg]">::alerts</variable>
    <variable type="" id="i}8*@VFY1S^yu/X^?7?H">::profit</variable>
    <variable type="" id="05[#ffbpmVG08m~R2WHE">sequence</variable>
    <variable type="" id=":p1(PtjaW.|d/xWU(|DO">initialStake</variable>
    <variable type="" id="MCKu[Wh9|#-d8|:N!ak+">stake</variable>
    <variable type="" id="jYP}!tWNj^HC#f?b#oja">totalProfit</variable>
    <variable type="" id="`b52+3xZtdQoUA}V?v.)">canTrade</variable>
    <variable type="" id="uZ5$fTC?5gi+fRGp*)s/">i</variable>
    <variable type="" id=",E1!5G?My_3:%Q],y?Do">targetProfit</variable>
    <variable type="" id="o36v,laJ#U/u.2)$);Sd">stopLoss</variable>
    <variable type="" id="0e/W/aMD/Nhpc+eEg5Dr">alerts</variable>
    <variable type="" id="PN=KPXY7XI!3:jC};eB$">martingale</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="7PCJPD~.0LO(efRuOPFr">
        <mutation name="Contributed by ORSTAC Community</mutation>
        <next>
          <block type="procedures_callnoreturn" id="=7skC[TaU_1-+uK(Y_H^">
            <mutation name="ExMachina::Configuration">
              <arg name="::initialStake"></arg>
              <arg name="::targetProfit"></arg>
              <arg name="::stopLoss"></arg>
              <arg name="::martingale"></arg>
              <arg name="::alerts"></arg>
            </mutation>
            <value name="ARG0">
              <block type="math_number" id="YNJ-Al:Lf-Fp6t!t!OYb">
                <field name="NUM">1</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="math_number" id="FH5YNS8j+I?W$)iV?+D~">
                <field name="NUM">5</field>
              </block>
            </value>
            <value name="ARG2">
              <block type="math_number" id="YtiUn%|!w@gLG-V#,88z">
                <field name="NUM">100</field>
              </block>
            </value>
            <value name="ARG3">
              <block type="math_number" id="I%]i-z/hWV{cHi10Onjn">
                <field name="NUM">2.1</field>
              </block>
            </value>
            <value name="ARG4">
              <block type="logic_boolean" id="v+]#U._+EOD8Qy?~w/4q">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
          </block>
        </next>
      </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>
          <block type="procedures_callreturn" id="cFTJk]JP]8q3s*xX?j(e">
            <mutation name="ExMachina::Stake"></mutation>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="580">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="procedures_callnoreturn" id="/7rSX9niRzX|7e{2Ru|/">
        <mutation name="ExMachina::CheckPatterns">
          <arg name="::src"></arg>
        </mutation>
        <value name="ARG0">
          <block type="lastDigitList" id=":4/V]YC%R;YxlH}dm!IX"></block>
        </value>
        <next>
          <block type="controls_if" id="(*AWe!3-Y/*F7uDh)*3M">
            <mutation elseif="1"></mutation>
            <value name="IF0">
              <block type="procedures_callreturn" id="GQXunjf%E+ge.7muWzoL">
                <mutation name="ExMachina::Rise"></mutation>
              </block>
            </value>
            <statement name="DO0">
              <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </statement>
            <value name="IF1">
              <block type="procedures_callreturn" id="_pn9RTOP_ug/S1gO+~2y">
                <mutation name="ExMachina::Fall"></mutation>
              </block>
            </value>
            <statement name="DO1">
              <block type="purchase" id="})]h*EJ~+?.}:nh,;[a_">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="844">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="q9:/?^piJ33tiE|DLwWH">
        <value name="IF0">
          <block type="procedures_callreturn" id="c.mhdot=rp8hI!FOUR]D" collapsed="true">
            <mutation name="ExMachina::TradeAgain">
              <arg name="::profit"></arg>
            </mutation>
            <value name="ARG0">
              <block type="read_details" id=".sITzcLMuU2}LfGYQyt.">
                <field name="DETAIL_INDEX">4</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="OgE%b@K~T%+%fJmrd3@K" collapsed="true" x="0" y="987">
    <field name="NAME">Contributed by ORSTAC Community</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
  </block>
  <block type="procedures_defnoreturn" id="dukt.~$!L^!*{{,U=EfK" collapsed="true" x="0" y="1040">
    <mutation>
      <arg name="::src" varid=".1va5DArvM+8G?F.:tbI"></arg>
    </mutation>
    <field name="NAME">ExMachina::CheckPatterns</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="uP/t?NB7X5iHDgxLZO~^">
        <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
        <value name="VALUE">
          <block type="lists_create_with" id="5yKgV$$NvXKXRooQLQix">
            <mutation items="0"></mutation>
          </block>
        </value>
        <next>
          <block type="controls_for" id="t#7F;isX.i?=RYKxA@Zl">
            <field name="VAR" id="uZ5$fTC?5gi+fRGp*)s/" variabletype="">i</field>
            <value name="FROM">
              <block type="math_number" id="Wbq~K=.(f`vvbThc;kdJ">
                <field name="NUM">1</field>
              </block>
            </value>
            <value name="TO">
              <block type="math_number" id="`392EK2#{*Mdl4|]B0Fl">
                <field name="NUM">5</field>
              </block>
            </value>
            <value name="BY">
              <block type="math_number" id="k#@Fdr2hC{i?vsy$1.Hw">
                <field name="NUM">1</field>
              </block>
            </value>
            <statement name="DO">
              <block type="lists_setIndex" id="ft2=={;!!w:$bg+FKrFD">
                <mutation at="false"></mutation>
                <field name="MODE">INSERT</field>
                <field name="WHERE">FIRST</field>
                <value name="LIST">
                  <block type="variables_get" id="MmJWcsi[NNn61}3UHWRN">
                    <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                  </block>
                </value>
                <value name="TO">
                  <block type="logic_ternary" id="2KYtA649/xjS_C-^Y0Ff">
                    <value name="IF">
                      <block type="math_number_property" id="ka;?)63_G:R-XF3zuKe|" inline="false">
                        <mutation divisor_input="false"></mutation>
                        <field name="PROPERTY">EVEN</field>
                        <value name="NUMBER_TO_CHECK">
                          <shadow type="math_number" id="I,jB3H#Uan)j;?JN*8gh">
                            <field name="NUM">0</field>
                          </shadow>
                          <block type="lists_getIndex" id=".qtRv;b^Y[d)GzTX]O;!" inline="false">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_END</field>
                            <value name="VALUE">
                              <block type="variables_get" id="^D^xW?}I^b`,B5s*(Qr#">
                                <field name="VAR" id=".1va5DArvM+8G?F.:tbI" variabletype="">::src</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="variables_get" id="%=H)/Bf1#M:%NLQ8|:aW">
                                <field name="VAR" id="uZ5$fTC?5gi+fRGp*)s/" variabletype="">i</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="math_number" id="KGfLCQ.d*c-vw8QH,(jW">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="math_number" id="Hm}bZ`wi+!(=?ji`E#}d">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="variables_set" id="FiH[E.}86aEa2K.`+.UG">
                <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                <value name="VALUE">
                  <block type="lists_split" id="%AF]h1ctUF=g8r,AriOT">
                    <mutation mode="JOIN"></mutation>
                    <field name="MODE">JOIN</field>
                    <value name="INPUT">
                      <block type="variables_get" id="sZXElq,6U,16zg:*Uvk4">
                        <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                      </block>
                    </value>
                    <value name="DELIM">
                      <shadow type="text" id="0tuM_y!)G+i9{.:yAD0^">
                        <field name="TEXT"></field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="1X[hgZ-JzkY*D$-UoaEL">
                    <value name="IF0">
                      <block type="variables_get" id="NyhBnLao*ZbkMHZLl)AJ">
                        <field name="VAR" id="0e/W/aMD/Nhpc+eEg5Dr" variabletype="">alerts</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="notify" id="@6i*V#?)rhZUCDFB6T:b">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <shadow type="text" id="/RKk]kdshkHU(zQ}ak)e">
                            <field name="TEXT">searching for patterns...</field>
                          </shadow>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="V!(B^ogI_TSvt3p,pdF." collapsed="true" x="0" y="1093">
    <mutation>
      <arg name="::initialStake" varid="5uuVbrin|MIhtCB??mx~"></arg>
      <arg name="::targetProfit" varid="2o1]juf$^V(z,nnWP2ep"></arg>
      <arg name="::stopLoss" varid="_W7;$!:khpS|wG[AZ~C("></arg>
      <arg name="::martingale" varid="1-^I$R9M7PD8)D@,/Zf}"></arg>
      <arg name="::alerts" varid="B51!qNIRG!{MFSvKfBg]"></arg>
    </mutation>
    <field name="NAME">ExMachina::Configuration</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="variables_set" id="Ne3QDU{=HgNekv-W;DzZ">
        <field name="VAR" id=":p1(PtjaW.|d/xWU(|DO" variabletype="">initialStake</field>
        <value name="VALUE">
          <block type="variables_get" id="Pu%.72+S/.+iUD+#^OWZ">
            <field name="VAR" id="5uuVbrin|MIhtCB??mx~" variabletype="">::initialStake</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="8vp#?~)y?L^I|6Pj$l^~">
            <field name="VAR" id="MCKu[Wh9|#-d8|:N!ak+" variabletype="">stake</field>
            <value name="VALUE">
              <block type="variables_get" id="C11$u{,NUqrB*,!n=3P}">
                <field name="VAR" id="5uuVbrin|MIhtCB??mx~" variabletype="">::initialStake</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="$hQg@D?%n$-4F{Crx57b">
                <field name="VAR" id=",E1!5G?My_3:%Q],y?Do" variabletype="">targetProfit</field>
                <value name="VALUE">
                  <block type="variables_get" id="~$0%S~LtlU~o4Wt^J$+C">
                    <field name="VAR" id="2o1]juf$^V(z,nnWP2ep" variabletype="">::targetProfit</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="{?Gm?YGlF?61bB/94d.R">
                    <field name="VAR" id="o36v,laJ#U/u.2)$);Sd" variabletype="">stopLoss</field>
                    <value name="VALUE">
                      <block type="variables_get" id="P7p*M5ZS?A9aw`^tK4[X">
                        <field name="VAR" id="_W7;$!:khpS|wG[AZ~C(" variabletype="">::stopLoss</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="S^$3jqAOg{?=4OviX0gR">
                        <field name="VAR" id="PN=KPXY7XI!3:jC};eB$" variabletype="">martingale</field>
                        <value name="VALUE">
                          <block type="variables_get" id="30kx0lcF?o@6R4OF.3e~">
                            <field name="VAR" id="1-^I$R9M7PD8)D@,/Zf}" variabletype="">::martingale</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="DU/u9/dFx8K3#0:4u1JZ">
                            <field name="VAR" id="0e/W/aMD/Nhpc+eEg5Dr" variabletype="">alerts</field>
                            <value name="VALUE">
                              <block type="variables_get" id="%|q(lsm}avq;1[NYNeZT">
                                <field name="VAR" id="B51!qNIRG!{MFSvKfBg]" variabletype="">::alerts</field>
                              </block>
                            </value>
                            <next>
                              <block type="notify" id="Y3#F|$?xhL0IrtII4oWk">
                                <field name="NOTIFICATION_TYPE">success</field>
                                <field name="NOTIFICATION_SOUND">silent</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="V7Y,8^6pH+L=][cB+G]P">
                                    <field name="TEXT">Lets do some tricks</field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="notify" id="iF*c6!w?CXK;}Ft2u_D^">
                                    <field name="NOTIFICATION_TYPE">error</field>
                                    <field name="NOTIFICATION_SOUND">silent</field>
                                    <value name="MESSAGE">
                                      <shadow type="text" id="Ga2uLA6sp~qwSkg83b^y">
                                        <field name="TEXT">Trick or Treat?</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="+)H0nq(!(Ate(t)pO@VL" collapsed="true" x="0" y="1146">
    <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="yCE_+J.%Ss|}Rpy7S6Pa">
        <field name="VAR" id="MCKu[Wh9|#-d8|:N!ak+" variabletype="">stake</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="K;jPOs_,0#v#zS,.T|ls" collapsed="true" x="0" y="1199">
    <field name="NAME">ExMachina::Fall</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="logic_operation" id="P,SRBaC`b83;}xVZWuqZ" inline="false">
        <field name="OP">OR</field>
        <value name="A">
          <block type="logic_compare" id="m)hBmO,3(3#gk+@R2Jzh">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="KZwE;r$.6`G{{0w@B^-.">
                <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="x,{f+@=cxj*|~][upo^K">
                <field name="TEXT">11111</field>
              </block>
            </value>
          </block>
        </value>
        <value name="B">
          <block type="logic_operation" id="T)@B1CY`6~D3wGE0T6Mj" inline="false">
            <field name="OP">OR</field>
            <value name="A">
              <block type="logic_compare" id="f.k}Y:NtdQ`7v*st9|W,">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="zVXqs(=Ay[y0|iVPGAZL">
                    <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="rQ;[qjhtmMb5`d0+b@lH">
                    <field name="TEXT">01010</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_operation" id="91G%b,7}1l]U)g-%4FrF" inline="false">
                <field name="OP">OR</field>
                <value name="A">
                  <block type="logic_compare" id="KX^X?n:UMMa5lwYn70Cc">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="V4lBP|WV8aN0^Z)HRxZK">
                        <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="=H{xMnQ[6H-(:CYO*-gS">
                        <field name="TEXT">00100</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="[$W$EmOD%}^xCCCOIj5.">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="WNc_lREh??Zp2apA{LGn">
                        <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="{LFlA7I=xdLWhs:*4O(H">
                        <field name="TEXT">11100</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="dNF}~6Q{zLZ;y%=71)[4" collapsed="true" x="0" y="1252">
    <mutation>
      <arg name="::profit" varid="i}8*@VFY1S^yu/X^?7?H"></arg>
    </mutation>
    <field name="NAME">ExMachina::TradeAgain</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="S*zxy?tge_NpR?sZV?E^">
        <field name="VAR" id="jYP}!tWNj^HC#f?b#oja" variabletype="">totalProfit</field>
        <value name="DELTA">
          <shadow type="math_number" id="8lo.KSZxgE+X6GX.go/X">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="L?wu*G$?).DLfVnB2eN:">
            <field name="VAR" id="i}8*@VFY1S^yu/X^?7?H" variabletype="">::profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="Li;42{@IJSpbe0$$%`K-" collapsed="true">
            <field name="VAR" id="`b52+3xZtdQoUA}V?v.)" variabletype="">canTrade</field>
            <value name="VALUE">
              <block type="logic_boolean" id="A=Azu$wB?tA8~[~p2*^(">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="Jo1]aKkoO,T:,;s5DqWw">
                <field name="VAR" id="MCKu[Wh9|#-d8|:N!ak+" variabletype="">stake</field>
                <value name="VALUE">
                  <block type="logic_ternary" id="C=*F]p{a1:bYmJp7[l3D">
                    <value name="IF">
                      <block type="logic_compare" id="C1d%IrB`#2kY9RDHOn;g">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="RsML?HlJxdHxczAb])vz">
                            <field name="VAR" id="i}8*@VFY1S^yu/X^?7?H" variabletype="">::profit</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="Wh;u]v~@dnT[,hO67E3A">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="variables_get" id="Wqb]!~M6Wvm/3G+A(_y|">
                        <field name="VAR" id=":p1(PtjaW.|d/xWU(|DO" variabletype="">initialStake</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="math_arithmetic" id="[Q.;4!%`3A:WvXD3V.nf">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="WT{Q.J@gR7{rs3W~=K}*">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id=",8vB`=Afp^%M4Lz`j%R/">
                            <field name="VAR" id="MCKu[Wh9|#-d8|:N!ak+" variabletype="">stake</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="`R.e%ZEDS`8mfHWjTVk#">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="xtb%h,P)us~:!F0(^s{*">
                            <field name="VAR" id="PN=KPXY7XI!3:jC};eB$" variabletype="">martingale</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="wdV`C$35B4+r+g0|Kq(~">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="9Rt_p9]WR=)Z?L?yaIbg">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="variables_get" id="9w.B;}YjmEqGmYd){%FQ">
                            <field name="VAR" id="jYP}!tWNj^HC#f?b#oja" variabletype="">totalProfit</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="c.~C%g]_$D$J6g.DzxUj">
                            <field name="VAR" id=",E1!5G?My_3:%Q],y?Do" variabletype="">targetProfit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="^hPmKXLe};wXHeS`WxDB">
                        <field name="VAR" id="`b52+3xZtdQoUA}V?v.)" variabletype="">canTrade</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="][1pDo=Y$Q[[(g@BQS|`">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="text_print" id="UK_,$V!GkT/S0TajS=;7">
                            <value name="TEXT">
                              <shadow type="text" id="G+{grmF!`7fz,OqPUu:?">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="oZT}5w?YmBV6B77$OM=*">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="-HE1tMP6rM7nS5_FMa[O">
                                    <field name="TEXT">Target Profit Reached: </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="ELN7Hu)#]R!pQ[`^hCMv">
                                    <field name="VAR" id="jYP}!tWNj^HC#f?b#oja" variabletype="">totalProfit</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="h(gN^IBzNF]E;a*=[))X">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="variables_get" id="6k+]M5,*4li%$WTaa%#c">
                            <field name="VAR" id="jYP}!tWNj^HC#f?b#oja" variabletype="">totalProfit</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_single" id="{jL}e8NH5S*tmuSq$jA3">
                            <field name="OP">NEG</field>
                            <value name="NUM">
                              <shadow type="math_number" id="M@Rg6WtN6Ljud2Wjp`wF">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="math_single" id="2]Zs`G]Ge=Z#d@f#DV{#">
                                <field name="OP">ABS</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="-h//?-7(z$7e[_P!HRwz">
                                    <field name="NUM">9</field>
                                  </shadow>
                                  <block type="variables_get" id="mkRGz8zIyGUAR/a7:^Dj">
                                    <field name="VAR" id="o36v,laJ#U/u.2)$);Sd" variabletype="">stopLoss</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="variables_set" id=".x+HK=)QkF5@(6oZjD8Y">
                        <field name="VAR" id="`b52+3xZtdQoUA}V?v.)" variabletype="">canTrade</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="/4J]SA@H]jmYWX/f{L(*">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="text_print" id="=Da0saR+dI8}#yn%oT-j">
                            <value name="TEXT">
                              <shadow type="text" id="G+{grmF!`7fz,OqPUu:?">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="}LeWi4xDF!;Q;O2ZLEF!">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="3Yd}9eQt0qqx^+9{`]8D">
                                    <field name="TEXT">Stop Loss Reached: </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="BrP{X.pqcR9~5Q`K?akL">
                                    <field name="VAR" id="jYP}!tWNj^HC#f?b#oja" variabletype="">totalProfit</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="nY7N~-@x]c8sY]JWJqNH">
                        <value name="IF0">
                          <block type="variables_get" id="GG:%{;3-l:EcuzE$./-S">
                            <field name="VAR" id="0e/W/aMD/Nhpc+eEg5Dr" variabletype="">alerts</field>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="notify" id="!)vN7Wp!tjE)j-P6ebBB">
                            <field name="NOTIFICATION_TYPE">success</field>
                            <field name="NOTIFICATION_SOUND">silent</field>
                            <value name="MESSAGE">
                              <shadow type="text" id="Gk{Ns*l3u(Y5NW{rW5Pf">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="B3%F/p$?EFkCctrBH0yn">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="XL$jUa5d6lc|_gXx)5(Y">
                                    <field name="TEXT">Total Profit: </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id=".*@HbEvPz+-FFM,I)zwO">
                                    <field name="VAR" id="jYP}!tWNj^HC#f?b#oja" variabletype="">totalProfit</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="QyQhWFuO2DINz(^ZbC@@">
        <field name="VAR" id="`b52+3xZtdQoUA}V?v.)" variabletype="">canTrade</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="qn(LE]L,xg93GThzhjM)" collapsed="true" x="0" y="1305">
    <field name="NAME">ExMachina::Rise</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <value name="RETURN">
      <block type="logic_operation" id="b|oem]r)SZfB7bZR.ze}" inline="false">
        <field name="OP">OR</field>
        <value name="A">
          <block type="logic_compare" id="uR~R(=(*QnOV|KUbFeds">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="h`O5$Q#MnFjWT(PHFjL_">
                <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="uni%%a6ZRy0(L)%?quPV">
                <field name="TEXT">00000</field>
              </block>
            </value>
          </block>
        </value>
        <value name="B">
          <block type="logic_operation" id="Zp|JQHI(+I3Eu0q{^}DR" inline="false">
            <field name="OP">OR</field>
            <value name="A">
              <block type="logic_compare" id="Q2!Ev,J9$a.d?kfSCj+1">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="5Er2vDGHux7mrx5yz:s*">
                    <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="%Xd$eM0,aR{X!8;Fr6Wa">
                    <field name="TEXT">10101</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_operation" id="DZ_Xhtl,y~N4!iO7j#NG" inline="false">
                <field name="OP">OR</field>
                <value name="A">
                  <block type="logic_compare" id="/,uJ=T%K^bmawbQNCj?z">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="o{e92e1(bp/nO9.X=Dzc">
                        <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="FW(AGC;bH7Q?U7B]E3ki">
                        <field name="TEXT">11011</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="Oa|bxV.l~lO^Tkp`e/uw">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="a8Ss}%.*ZZCL]R;E[sRV">
                        <field name="VAR" id="05[#ffbpmVG08m~R2WHE" variabletype="">sequence</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="75ndlxm0CEZ/UxyB+)?N">
                        <field name="TEXT">00011</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
  </block>
</xml>

