﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="r.2Q!hhj8jnLJK=j/}^V">martingale:profit</variable>
    <variable type="" id="$%6i;8nBH2522Zc/3c(a">martingale:resultIsWin</variable>
    <variable type="" id="N$S,9i%#2eNG}R%14NDE">martingale:totalProfit</variable>
    <variable type="" id="o_sg1T](RO35Z`nqvwj6">martingale:tradeAgain</variable>
    <variable type="" id="[H[OACZbF|=5[PPk_6RR">z</variable>
    <variable type="" id=")7Z^H[DRO0Mk+v8c#u/O">t</variable>
    <variable type="" id="A?A_DQ,y}`|=L^A=Z|{K">martingale:expectedProfit</variable>
    <variable type="" id="pb_-#apiEug4Gy]YVf9x">martingale:size</variable>
    <variable type="" id="_D[8wT51Dcr`rR4oG[QR">martingale:amount</variable>
    <variable type="" id="}U=R^DcuiH`XVXV4K0)5">X</variable>
    <variable type="" id="9_{jy1N3jEaGKsL:24!k">Initial Amount</variable>
    <variable type="" id="oz@B*sSzxS/UgkyCl2}M">martingale:maximumLoss</variable>
    <variable type="" id="BKX0dAa3P`Nk.$/4;V0L">a</variable>
    <variable type="" id="1f~N:q;A3bHqM}tHoZ3n">y</variable>
    <variable type="" id="3$C;-*5)yX8ncMi24^HT">Stop Loss</variable>
    <variable type="" id="@rdB_ya-^5Re#ER`2z+%">Expected Profit</variable>
  </variables>
  <block type="procedures_defreturn" id="6hCN,`$$[sv5pnQOwwx*" collapsed="true" x="0" y="0">
    <field name="NAME">Martingale Trade Amount</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="XJB[Tl;q~v|r(TzDxw-j">
        <value name="IF0">
          <block type="logic_compare" id="5troB}VP|ur,TCg%s=G]">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="u/=%$Ovd+i8sG^`v3tbi">
                <field name="VAR" id="A?A_DQ,y}`|=L^A=Z|{K" variabletype="">martingale:expectedProfit</field>
              </block>
            </value>
            <value name="B">
              <block type="logic_null" id="L6*#fF1}X#|F-GCG#X:`"></block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="7wo105eg|lu[9{gV]u2z">
            <field name="VAR" id="A?A_DQ,y}`|=L^A=Z|{K" variabletype="">martingale:expectedProfit</field>
            <value name="VALUE">
              <block type="text_prompt_ext" id="GoNiJrmk:il]OX)kEk;S">
                <mutation type="NUMBER"></mutation>
                <field name="TYPE">NUMBER</field>
                <value name="TEXT">
                  <shadow type="text" id=".P`a1!r=yj-[H(SJX}_m">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="text" id="2dGN;Sp_x)ughfr#zkI+">
                    <field name="TEXT">Expected Profit</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="q9/@sz+6r~{Tl(e3yrLQ">
            <value name="IF0">
              <block type="logic_compare" id="0D$!-zDeXR|OA|8dY79(">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="Bdg|a!*OIo)eMqjjvoN0">
                    <field name="VAR" id="oz@B*sSzxS/UgkyCl2}M" variabletype="">martingale:maximumLoss</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_null" id="Fd8)BFH[Sg3!U`zHKPu."></block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="ZzKkM[PO(kY;0;^C)r5~">
                <field name="VAR" id="oz@B*sSzxS/UgkyCl2}M" variabletype="">martingale:maximumLoss</field>
                <value name="VALUE">
                  <block type="text_prompt_ext" id="5|rE!;1ac}Ak~rJolm)T">
                    <mutation type="NUMBER"></mutation>
                    <field name="TYPE">NUMBER</field>
                    <value name="TEXT">
                      <shadow type="text" id=".P`a1!r=yj-[H(SJX}_m">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text" id="gvk#+Emiy3nTwf9QgD-z">
                        <field name="TEXT">Maximum Loss Amount</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="MthAA:Sli=}T1AQ$y5O,">
                <value name="IF0">
                  <block type="logic_compare" id="4tWFLi!%g|2AK7{6*{J%">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="T;;24u`!,ElF~kT8J2_/">
                        <field name="VAR" id="_D[8wT51Dcr`rR4oG[QR" variabletype="">martingale:amount</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_null" id="rHn04=Qfi_2gS9?ZjUsD"></block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="~J%RY+S_fx}6)bRi}tR/">
                    <field name="VAR" id="_D[8wT51Dcr`rR4oG[QR" variabletype="">martingale:amount</field>
                    <value name="VALUE">
                      <block type="text_prompt_ext" id="(u)O`HJY4FO1WLo39wS|">
                        <mutation type="NUMBER"></mutation>
                        <field name="TYPE">NUMBER</field>
                        <value name="TEXT">
                          <shadow type="text" id=".P`a1!r=yj-[H(SJX}_m">
                            <field name="TEXT">abc</field>
                          </shadow>
                          <block type="text" id="Rd{e_apE,.qU4cN*Y3Pw">
                            <field name="TEXT">Trade Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="R^*;,xDoH]Wi~#c0{`T}">
                    <value name="IF0">
                      <block type="logic_compare" id="hw`kpBBtO)x@rWrf_OMc">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="4|}%N9+d(nA![%;)jkRx">
                            <field name="VAR" id="pb_-#apiEug4Gy]YVf9x" variabletype="">martingale:size</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_null" id="1[jFr~p9OWHi`;mZO_4e"></block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="aS0ax^k:(4B7:y@SJv3n">
                        <field name="VAR" id="pb_-#apiEug4Gy]YVf9x" variabletype="">martingale:size</field>
                        <value name="VALUE">
                          <block type="math_number" id="m-$8x~U!`!Mf|q%01c`E">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="9o^;B/Ztg:Q^^|aPhy5M">
                        <value name="IF0">
                          <block type="logic_compare" id="TUC`W*s%$0wq]{?hIEXa">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="ggVQ-|Rr#kAIsHHzc,RK">
                                <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_null" id=":o67Ea6u+Y-EGF2_]/%3"></block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="TKu{N2TH}EOt.(`KXVtD">
                            <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                            <value name="VALUE">
                              <block type="math_number" id="{_1Eo:U,g|j+ooTVLdi+">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="math_arithmetic" id="HYe4r08`5-DbN=*O4e,g">
        <field name="OP">MULTIPLY</field>
        <value name="A">
          <shadow type="math_number" id="F/^.gR-k|dBg*ZMQ,E?v">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="?PR%=`_nD6QXUz0$CZd+">
            <field name="VAR" id="pb_-#apiEug4Gy]YVf9x" variabletype="">martingale:size</field>
          </block>
        </value>
        <value name="B">
          <shadow type="math_number" id="v*eC4j=U!K8B76C5kQ*U">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="jjM*IGVsf9v6gFN~:=N-">
            <field name="VAR" id="_D[8wT51Dcr`rR4oG[QR" variabletype="">martingale:amount</field>
          </block>
        </value>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id=";r~v!/2t=aEGwfsdE$$M" collapsed="true" x="0" y="53">
    <mutation>
      <arg name="martingale:profit" varid="r.2Q!hhj8jnLJK=j/}^V"></arg>
      <arg name="martingale:resultIsWin" varid="$%6i;8nBH2522Zc/3c(a"></arg>
    </mutation>
    <field name="NAME">Martingale Trade Again After Purchase</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="math_change" id="6t0WO1382xV)sXCM4dYk">
        <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
        <value name="DELTA">
          <shadow type="math_number" id="[)Nh?MH}TXeN]0n(Q?PP">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="K(9SmUlqJVGExrv0-j(!">
            <field name="VAR" id="r.2Q!hhj8jnLJK=j/}^V" variabletype="">martingale:profit</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="~VOGXS@s*oJ#r9e46LR@">
            <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="iBM%lg$*qA5LETfKJQ0Q">
                <field name="OP">DIVIDE</field>
                <value name="A">
                  <shadow type="math_number" id="Y445k*N9Y{3k^0nU:f/a">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_round" id="X?hHAUZf%%Sd81XdS%6*">
                    <field name="OP">ROUND</field>
                    <value name="NUM">
                      <shadow type="math_number" id="NxI4W6P)%aS~YX^5:fm(">
                        <field name="NUM">3.1</field>
                      </shadow>
                      <block type="math_arithmetic" id="r]Y@*6-^[4f%J1zh0)%5">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="1IiDMd{pA4I8#Jv5:v)F">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="+K=$3qsN2I/%wWz)3@*5">
                            <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="QPp6Ex`FL}B)uWsSrQ*o">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_number" id="7eDQrUoD)rkKvzbe7zn8">
                            <field name="NUM">100</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id=";(PBMt(9fPe84P0`MRRO">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_number" id="L3DfhCn5QlBzaiMZ,tIt">
                    <field name="NUM">100</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="U`M+=lQhlW$Vtw:#$-_7">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="variables_get" id="+m0+fCchL_q3oJzva]K9">
                    <field name="VAR" id="$%6i;8nBH2522Zc/3c(a" variabletype="">martingale:resultIsWin</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="i`D)Pm3?vdFTxKM[9s=O">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="OqP7+)F$x5TIp}+SYPm8">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="]*4c]w9*6_(M]@uSaPh1">
                            <field name="TEXT">Won:</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="{WP8pyVZ]/*,$6ap9v|s">
                            <field name="VAR" id="r.2Q!hhj8jnLJK=j/}^V" variabletype="">martingale:profit</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="notify" id="ye9X82WYu~S93S/.{(+Q">
                    <field name="NOTIFICATION_TYPE">warn</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="bxCD!8IgPh$AGuiC+*w{">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="9u#KtA1rtT);x1~{BHNr">
                            <field name="TEXT">Lost: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="math_single" id="S=4FcK^*W9(2?=gP=U:g">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="variables_get" id="9y/EwK@#t#4A0t+z$d[[">
                                <field name="VAR" id="r.2Q!hhj8jnLJK=j/}^V" variabletype="">martingale:profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="procedures_callnoreturn" id="$X7!IcU4`}LnR2Q,kct#">
                    <mutation name="Martingale Core Functionality">
                      <arg name="martingale:resultIsWin"></arg>
                    </mutation>
                    <value name="ARG0">
                      <block type="variables_get" id="PNEA0SE4bc_I4@JO%6RD">
                        <field name="VAR" id="$%6i;8nBH2522Zc/3c(a" variabletype="">martingale:resultIsWin</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="6:r=Sa!2j-7E$wLp^OC0">
                        <field name="NOTIFICATION_TYPE">info</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="FyK]`:L+|,{5mg0B;aWP">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="l1h@m!R%#HM%O40[~o[D">
                                <field name="TEXT">Total Profit: </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="Lf^SYcL4(#(/K3cul+J!">
                                <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="Ud;rabEomt2jU_AA4/~=">
                            <field name="VAR" id="o_sg1T](RO35Z`nqvwj6" variabletype="">martingale:tradeAgain</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="KsUl|Oc,NLl}K9V_(*nY">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="#~aqEVE2K~KVquGI7k1o">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_compare" id="ZTcXaY~-wnl43.x}2L?T">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="variables_get" id="VURWbMyf8o5rMs2%Y+?2">
                                        <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="H|+#@aoIwguX++u*KsT8">
                                        <field name="VAR" id="A?A_DQ,y}`|=L^A=Z|{K" variabletype="">martingale:expectedProfit</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="jvuwVwMh*GVpk^)hn658">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="j.MUuyQkH|bhZ2EZOe~2">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="s,J9GtINkI?zgVY``MIl">
                                            <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_single" id="kaJ0mOpV7/6=f.;WEraA">
                                            <field name="OP">NEG</field>
                                            <value name="NUM">
                                              <shadow type="math_number" id="#4N:bIe?FzTA#rOZjMqo">
                                                <field name="NUM">9</field>
                                              </shadow>
                                              <block type="variables_get" id="5)SuBOJsYI-7[5j;ddAA">
                                                <field name="VAR" id="oz@B*sSzxS/UgkyCl2}M" variabletype="">martingale:maximumLoss</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="V|w%,]jxocOGr|yMFA~v">
                                        <field name="VAR" id="o_sg1T](RO35Z`nqvwj6" variabletype="">martingale:tradeAgain</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="Th3I6`wGJ+D0U[*jIicV">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="text_print" id="M`HP~{i%yfOfHkmQ0K-9">
                                        <value name="TEXT">
                                          <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                            <field name="TEXT">abc</field>
                                          </shadow>
                                          <block type="text_join" id="OH!(W(We_hmtad/XY}Q/">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="rikmhRNwO.,dR(Pg:f1H">
                                                <field name="TEXT">Maximum Loss Occurred! Total Loss: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="math_single" id="O@Y$rDHXv(%*/1iZfZ]w">
                                                <field name="OP">NEG</field>
                                                <value name="NUM">
                                                  <shadow type="math_number" id="pi;;Fh3#fMUD2s`W_UJZ">
                                                    <field name="NUM">9</field>
                                                  </shadow>
                                                  <block type="variables_get" id="_?AD1a%x-!nh`#8,*.g-">
                                                    <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="notify" id="zFZP`_9m~sSh]_p?,XWA">
                                    <field name="NOTIFICATION_TYPE">success</field>
                                    <field name="NOTIFICATION_SOUND">silent</field>
                                    <value name="MESSAGE">
                                      <block type="text_join" id="+sp]Df3irvw^NgU##AY,">
                                        <mutation items="2"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="ojQ_1!s|OUgo1K;5zW[o">
                                            <field name="TEXT">Expected Profit Made! Total Profit: </field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="P[4krk)9E,)=epr`HBH1">
                                            <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="YKZcK}XC_ZW85+8llaBl">
                                        <field name="VAR" id="N$S,9i%#2eNG}R%14NDE" variabletype="">martingale:totalProfit</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="f/xqlE:(!gq8)p/^fyXh">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="p0aQyb-Cr6.V@o*{ZQFy">
                                            <field name="VAR" id="o_sg1T](RO35Z`nqvwj6" variabletype="">martingale:tradeAgain</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="b}ge0:EL[K8**dqzcbc#">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="dPwb7dIvc#NG|eeB3cTf">
        <field name="VAR" id="o_sg1T](RO35Z`nqvwj6" variabletype="">martingale:tradeAgain</field>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="[/U8@ifIx;M+*meRn#W_" collapsed="true" x="0" y="106">
    <mutation>
      <arg name="martingale:resultIsWin" varid="$%6i;8nBH2522Zc/3c(a"></arg>
    </mutation>
    <field name="NAME">Martingale Core Functionality</field>
    <comment pinned="false" h="80" w="160">Describe this function...</comment>
    <statement name="STACK">
      <block type="controls_if" id="}|55iNf@OJKG*}c/Q(n:">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="variables_get" id="+KJ1a|V}ed6BlaL)cz-K">
            <field name="VAR" id="$%6i;8nBH2522Zc/3c(a" variabletype="">martingale:resultIsWin</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="u`6vm7puzL:M$ZXRQ**S">
            <field name="VAR" id="pb_-#apiEug4Gy]YVf9x" variabletype="">martingale:size</field>
            <value name="VALUE">
              <block type="math_number" id="1v`Cdf%}.MWAvnI?s9nJ">
                <field name="NUM">1</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="variables_set" id="M1[jI01cUq;fD(~|[Gg%">
            <field name="VAR" id="pb_-#apiEug4Gy]YVf9x" variabletype="">martingale:size</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="9X0owEiS`LybcLn0qrfc">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="QujpfOq.d^A8_SMe`uvh">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="HK`MRDB$(NDK}?4Au[{O">
                    <field name="VAR" id="pb_-#apiEug4Gy]YVf9x" variabletype="">martingale:size</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="%6%m1;%94AYq9a7`g[u!">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_number" id="?m4j.6L6eAYY;voSoWm~">
                    <field name="NUM">11</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="0" y="159">
    <field name="MARKET_LIST">volidx</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_100</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="km^csYup+0Uc=fg@fafl">
        <field name="VAR" id="[H[OACZbF|=5[PPk_6RR" variabletype="">z</field>
        <value name="VALUE">
          <block type="math_number" id="WrG?5;zwT$sT?dinucKq">
            <field name="NUM">1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="m^h1=6T=a;Bjh_;3AN1{" collapsed="true">
            <field name="VAR" id="}U=R^DcuiH`XVXV4K0)5" variabletype="">X</field>
            <value name="VALUE">
              <block type="math_number" id="daKKCY,tXZ;c`[bFbZzV">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="JM$6x4U,L{F!DsT+./Zl" collapsed="true">
                <field name="VAR" id="BKX0dAa3P`Nk.$/4;V0L" variabletype="">a</field>
                <value name="VALUE">
                  <block type="math_number" id="tHV9$@Ek5+6/@5hvIQck">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="!I_Rm.3O3a.ik8Z#ZRIt" collapsed="true">
                    <field name="VAR" id=")7Z^H[DRO0Mk+v8c#u/O" variabletype="">t</field>
                    <value name="VALUE">
                      <block type="math_number" id="5eOc1{0i@rSwwAbW8J]]">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="G!]~oPQA@6gRa,PIfgM2" collapsed="true">
                        <field name="VAR" id="1f~N:q;A3bHqM}tHoZ3n" variabletype="">y</field>
                        <value name="VALUE">
                          <block type="math_number" id="S[u?/y`:d04hK`OwJH74">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="7$DpM}CfwF3d$90e/zl.">
                            <field name="VAR" id="3$C;-*5)yX8ncMi24^HT" variabletype="">Stop Loss</field>
                            <value name="VALUE">
                              <block type="math_number" id="B5.#mSmH+4DCajri?O^)">
                                <field name="NUM">90</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="B;eMO~A9Lf+xq/|ki):+">
                                <field name="VAR" id="@rdB_ya-^5Re#ER`2z+%" variabletype="">Expected Profit</field>
                                <value name="VALUE">
                                  <block type="math_number" id="V@QyhA`C-+G(cBh;nDw/">
                                    <field name="NUM">10</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id=":f!4st:(Zr-9$VzeN!t1">
                                    <field name="VAR" id="9_{jy1N3jEaGKsL:24!k" variabletype="">Initial Amount</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="c){g[eNu^YVU(twpc~l_">
                                        <field name="NUM">1</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="YZ,@dg!}!_Mr@nJ+I.B`" collapsed="true">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_random_int" id="B1?vV,kCxi%Tts]6A8S1">
            <value name="FROM">
              <shadow type="math_number" id="B$PP0;_uyV{XeSHDq7EQ">
                <field name="NUM">2</field>
              </shadow>
            </value>
            <value name="TO">
              <shadow type="math_number" id="EmD7QtPqADh9r1KV~Hm0">
                <field name="NUM">3</field>
              </shadow>
            </value>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="_O2;ISV-U:YYoPN3Qczm">
            <field name="VAR" id="9_{jy1N3jEaGKsL:24!k" variabletype="">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" collapsed="true" x="0" y="740">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="!!ST0dFH!l0,y`DwrYgD">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="c:Guj7-cc#MxjNeoO].D">
            <field name="OP">LT</field>
            <value name="A">
              <block type="variables_get" id="Edta!?.V[*;!4MWxi0~}">
                <field name="VAR" id=")7Z^H[DRO0Mk+v8c#u/O" variabletype="">t</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="y~=Fq,n%vsqe,H8j$p*0">
                <field name="NUM">2</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="enre`3f_IT4/Xz6_Oto?">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="purchase" id="jy|GtM@l}S31kKhoLcP*">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" collapsed="true" x="0" y="793">
    <statement name="AFTERPURCHASE_STACK">
      <block type="variables_set" id="x(3WD!V@nMp:Uo,qS{}|">
        <field name="VAR" id=")7Z^H[DRO0Mk+v8c#u/O" variabletype="">t</field>
        <value name="VALUE">
          <block type="math_arithmetic" id="dHMq+FM,O^d{Y.DZGr8!">
            <field name="OP">ADD</field>
            <value name="A">
              <shadow type="math_number" id="}lu#a2[fbBWz-PqCf)m^">
                <field name="NUM">1</field>
              </shadow>
              <block type="variables_get" id="tI::~T#2-=,Hf70le$g3">
                <field name="VAR" id=")7Z^H[DRO0Mk+v8c#u/O" variabletype="">t</field>
              </block>
            </value>
            <value name="B">
              <shadow type="math_number" id="3pZ_ECvKq,wKN9pS^$gl">
                <field name="NUM">1</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="controls_if" id="4Qk?ixGJQ5X7(!hHPjjB">
            <value name="IF0">
              <block type="logic_compare" id="]Bt$-|.;cRPXed2CKj2t">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="P56|*~+fUNdy|BY2D.[#">
                    <field name="VAR" id=")7Z^H[DRO0Mk+v8c#u/O" variabletype="">t</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="MhfHClxi_[-G/q[j-}vy">
                    <field name="NUM">4</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="YYR(%,0#LM:E$AJXygUI">
                <field name="VAR" id=")7Z^H[DRO0Mk+v8c#u/O" variabletype="">t</field>
                <value name="VALUE">
                  <block type="math_number" id="($CtVT%b9nOfUetQL*K@">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="%@(f!*AdEFLsr!3OgGRm">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="contract_check_result" id=":BL^MmsJ02#UKpQ48{^*">
                    <field name="CHECK_RESULT">win</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="a@H:d@0}eq_82QyW^O4b">
                    <field name="VAR" id="9_{jy1N3jEaGKsL:24!k" variabletype="">Initial Amount</field>
                    <value name="VALUE">
                      <block type="variables_get" id="8Z|@.]5X[2r_S1f0@pHl">
                        <field name="VAR" id="[H[OACZbF|=5[PPk_6RR" variabletype="">z</field>
                      </block>
                    </value>
                    <next>
                      <block type="notify" id="F)*Mxh)b*4xS?DkLw/eL">
                        <field name="NOTIFICATION_TYPE">success</field>
                        <field name="NOTIFICATION_SOUND">silent</field>
                        <value name="MESSAGE">
                          <block type="text_join" id="6;XrQO@]LcCq@q}8kB:N">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="D+_$v(=c8k}c/rTqt%U1">
                                <field name="TEXT">Won:</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="read_details" id="1rVS6$Uv$+*rr,vRmdhf">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="notify" id="Ehu]|xXGT`7FQm+T7d.x">
                    <field name="NOTIFICATION_TYPE">warn</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="]EMN%A~bIm;o(z2VK|=N">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="*aZ4UaY)gMFIX]~i-yno">
                            <field name="TEXT">Lost: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="math_single" id="iGI33:%7T@Q9F3Q$cj/d">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="/R4%(Bkmq@1{v=)3~+`K">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="math_change" id="pDN13HMj,cHcj:$,{9%X">
                        <field name="VAR" id="9_{jy1N3jEaGKsL:24!k" variabletype="">Initial Amount</field>
                        <value name="DELTA">
                          <shadow type="math_number" id="4~#Q91%):o~dwvpv#_s~">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="math_arithmetic" id="g=;S~fq#l=([EKti@gV@">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id="|bq8P;2}:2ewomDi8[Px">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="math_single" id="?v^QHLS+6gX5QJ1iP~R{">
                                <field name="OP">ABS</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="k5}T?{KxAzhO.Cnn_6!q">
                                    <field name="NUM">9</field>
                                  </shadow>
                                  <block type="read_details" id="1a(LiBwJc+ZXoFqjIET4">
                                    <field name="DETAIL_INDEX">4</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id="ioTt(uT;S`;rMg;qcKtf">
                                <field name="NUM">1.1</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="notify" id="Kog`8sYejbZH+QB{`reM">
                    <field name="NOTIFICATION_TYPE">info</field>
                    <field name="NOTIFICATION_SOUND">silent</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="55JmTJH?bskwXB52rqVf">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="XU]tD=44aE|[c}sM8:4!">
                            <field name="TEXT">Total Profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="YQ_Dw5|,IaKz?P5p[(8;"></block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="y4b5tND%4SQn=!mZ]`^w">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="M%g=^S=Y}e2~K`jii|LJ">
                            <field name="OP">LT</field>
                            <value name="A">
                              <block type="total_profit" id="0FGcI6=.T.DLn~uGsZ-G"></block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="v^^;%Bh_`{e5c9PqU{B#">
                                <field name="VAR" id="@rdB_ya-^5Re#ER`2z+%" variabletype="">Expected Profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="controls_if" id="s+Dt4T~D;?fugJoM2PJA">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id="9jpE.-|$Ne$(|QX-X7Ja">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="math_number_property" id="yW1^m!z(h%;m}Vfe#r@^">
                                    <mutation divisor_input="false"></mutation>
                                    <field name="PROPERTY">NEGATIVE</field>
                                    <value name="NUMBER_TO_CHECK">
                                      <shadow type="math_number" id="2TJ^lPjT8MrR^:6Ghug=">
                                        <field name="NUM">0</field>
                                      </shadow>
                                      <block type="total_profit" id="uqlDU#QMdm-s]jyv]$B#"></block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="mrZXmIf1M3D#D?y=JbT?">
                                    <field name="OP">GTE</field>
                                    <value name="A">
                                      <block type="math_single" id="fw)cikPK0d%U_O_!`*UO">
                                        <field name="OP">ABS</field>
                                        <value name="NUM">
                                          <shadow type="math_number" id="(rCiW:kP-Kx+n[/lS.n{">
                                            <field name="NUM">9</field>
                                          </shadow>
                                          <block type="total_profit" id="G[25$kY~T~gCVfYR+0gT"></block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="kMaqW~2,vwv=ESaSZV8W">
                                        <field name="VAR" id="3$C;-*5)yX8ncMi24^HT" variabletype="">Stop Loss</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="text_print" id="pR`ndv1qxV:(EnU;Mg)X">
                                <value name="TEXT">
                                  <shadow type="text" id="gE|:9BU8CtUSiP@ZF01_">
                                    <field name="TEXT">Stop Loss</field>
                                  </shadow>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="trade_again" id="~P7?~]k2eq8EM.LCoA-f"></block>
                            </statement>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="text_print" id="3A$xnjUB)LKwKaFCp}~D">
                            <value name="TEXT">
                              <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="t${9^A*g2PUV`Z8){*$d">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="#r|s$$l{nDMieG8N~xdr">
                                    <field name="TEXT">Total Profit :</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="total_profit" id="7d=h[LW.:~XXY@WWrcV)"></block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="logic_operation" id="YmpB_|NgVDj;YZcoqmz@" disabled="true" x="0" y="846">
    <field name="OP">OR</field>
    <value name="A">
      <block type="logic_operation" id="T2LrtPyL-Et[o8,#wi[4">
        <field name="OP">OR</field>
        <value name="B">
          <block type="logic_compare" id="O=LX53^)#R0.[506rW4K">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="last_digit" id="f1n87CJDZtw--0hjro){" disabled="true"></block>
            </value>
            <value name="B">
              <block type="math_number" id="{OU|#cgT=pCr)RPlN@;F">
                <field name="NUM">7</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </value>
    <value name="B">
      <block type="logic_compare" id="p{v}QHJu[r:XQIWz@oR~">
        <field name="OP">EQ</field>
        <value name="A">
          <block type="last_digit" id="YMw[7z;a*oG[x55^)T1G" disabled="true"></block>
        </value>
        <value name="B">
          <block type="math_number" id="+Bu7AP-9GQ@6)HwpJCeE">
            <field name="NUM">9</field>
          </block>
        </value>
      </block>
    </value>
  </block>
</xml>