﻿<xml xmlns="http://www.w3.org/1999/xhtml" is_dbot="true" collection="false">
  <variables>
    <variable type="" id="M]`!I@()[un9ejrbu6L_" islocal="false" iscloud="false">ema6</variable>
    <variable type="" id="*Ngi#YPSC9X:.,dN#/Uy" islocal="false" iscloud="false">ema14</variable>
    <variable type="" id="]^{hu=N7qD8lksBM)KgH" islocal="false" iscloud="false">New candle just appeared?</variable>
    <variable type="" id="#AfhX}Z1Miy*RigK-v#k" islocal="false" iscloud="false">item</variable>
    <variable type="" id="iW}a^kf{QCF.aG`h~Xg|" islocal="false" iscloud="false">Candle Open Time</variable>
    <variable type="" id="409:5[s:!]_}WR+Cx;U6" islocal="false" iscloud="false">long_ema3</variable>
    <variable type="" id="se-%h|j^N,!-dL~q.u6)" islocal="false" iscloud="false">long_ema2</variable>
    <variable type="" id="Mzvo2Z[!Y.v,YfrKD!H$" islocal="false" iscloud="false">short_ema2</variable>
    <variable type="" id="Cqk#.Hwd=^baXedvNxUF" islocal="false" iscloud="false">short_ema3</variable>
    <variable type="" id="$TMhU5Ju?mKC#0YvJ%rt" islocal="false" iscloud="false">text</variable>
    <variable type="" id="c|Jl7K?G0nHJ4b88`%HL" islocal="false" iscloud="false">Last Purchase</variable>
    <variable type="" id="+KNZX,+R:]j8+VM.alW-" islocal="false" iscloud="false">Consecutive Loss Amount</variable>
    <variable type="" id="6W7+|m,Ol*o2+ZY(hK:q" islocal="false" iscloud="false">Max Martingale Step</variable>
    <variable type="" id="s5kd?5zZLm[PMX;x^2^}" islocal="false" iscloud="false">Martingale Step</variable>
    <variable type="" id="e!jOX.FZg$trXXjHV8=N" islocal="false" iscloud="false">Stake</variable>
    <variable type="" id="{,i@eRsIvQF/5|U8{!D6" islocal="false" iscloud="false">Initial Stake</variable>
    <variable type="" id="Nkf[SAEV{_])-XVEJoIv" islocal="false" iscloud="false">On Fail Prediction</variable>
    <variable type="" id="7/8}lCQO@?ZW|tE`:z/A" islocal="false" iscloud="false">Max Immediately Correction</variable>
    <variable type="" id="@~Q0iAM8AM9nTB#_GJPz" islocal="false" iscloud="false">Martingale Factor</variable>
    <variable type="" id="f_|A?#S[I;g3Cw5u:^Hv" islocal="false" iscloud="false">Target Profit</variable>
    <variable type="" id="@2}uP{)pppIGL+FCwL-." islocal="false" iscloud="false">Stop Loss</variable>
    <variable type="" id="iL5qALD2nS@Z4R#,aU./" islocal="false" iscloud="false">sma6</variable>
    <variable type="" id="t8R,Ks*6mK?F**jM{fv+" islocal="false" iscloud="false">sma14</variable>
    <variable type="" id="F*z`|uui})UXeyiq}i9C" islocal="false" iscloud="false">sma26</variable>
    <variable type="" id="B/(B~DY)ktlAR{`iCGS+" islocal="false" iscloud="false">Correction</variable>
    <variable type="" id="n/e}X-kP_#:5`!uZ(lNs" islocal="false" iscloud="false">Candle-2-Open</variable>
    <variable type="" id="mqx5IsfH2aVlHYl[88.N" islocal="false" iscloud="false">Candle-2-Close</variable>
    <variable type="" id="l]?cQby7=WwY=-|Ubz$1" islocal="false" iscloud="false">Prev.SMA-6</variable>
    <variable type="" id="g]x^:)!^F24Hu-/tyIy2" islocal="false" iscloud="false">Prev.SMA-14</variable>
    <variable type="" id="I(.;w^]0hTr5|F*6x$c%" islocal="false" iscloud="false">Prev.SMA-26</variable>
  </variables>
  <block type="trade_definition" id="-QoEMD}{5G_$FnqU{:Dr" x="0" y="0">
    <statement name="TRADE_OPTIONS">
      <block type="trade_definition_market" id="!Qx@KONX8x,K!RU,-!99" deletable="false" movable="false">
        <field name="MARKET_LIST">synthetic_index</field>
        <field name="SUBMARKET_LIST">random_index</field>
        <field name="SYMBOL_LIST">R_10</field>
        <next>
          <block type="trade_definition_tradetype" id=":pO-pnT#CmBe;nuzoHlA" deletable="false" movable="false">
            <field name="TRADETYPECAT_LIST">callput</field>
            <field name="TRADETYPE_LIST">callput</field>
            <next>
              <block type="trade_definition_contracttype" id="Ky.).#Nj*^Pp6uuy.7cM" deletable="false" movable="false">
                <field name="TYPE_LIST">both</field>
                <next>
                  <block type="trade_definition_candleinterval" id="$O78Z,Oy9sH|c3Hs_T/b" deletable="false" movable="false">
                    <field name="CANDLEINTERVAL_LIST">60</field>
                    <next>
                      <block type="trade_definition_restartbuysell" id="^QQu%]X)yAL,p/cA]a!)" deletable="false" movable="false">
                        <field name="TIME_MACHINE_ENABLED">FALSE</field>
                        <next>
                          <block type="trade_definition_restartonerror" id="`l1+U,MhOy%#AqkhfKF)" deletable="false" movable="false">
                            <field name="RESTARTONERROR">TRUE</field>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="L%_[RWD#gfuK3*ZLA5+S">
        <field name="VAR" id="f_|A?#S[I;g3Cw5u:^Hv" variabletype="">Target Profit</field>
        <value name="VALUE">
          <block type="math_number" id=")t,AT^6oo5Alj/EwXm!a">
            <field name="NUM">30</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id=",kT7o8w`ApuVN-b%10-h">
            <field name="VAR" id="@2}uP{)pppIGL+FCwL-." variabletype="">Stop Loss</field>
            <value name="VALUE">
              <block type="math_number" id=":1@ZzV%lyfpr%X1TrJ(5">
                <field name="NUM">20</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="B[Wt;xw;Jsmtaon)V1Q6">
                <field name="VAR" id="{,i@eRsIvQF/5|U8{!D6" variabletype="">Initial Stake</field>
                <value name="VALUE">
                  <block type="math_number" id="/z]k7R%Gt]^}|oJ]UY1{">
                    <field name="NUM">1</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="VCS@jc@^/xZ;qzKy/pj]">
                    <field name="VAR" id="e!jOX.FZg$trXXjHV8=N" variabletype="">Stake</field>
                    <value name="VALUE">
                      <block type="variables_get" id="?I[p.awUbVZ[+FzQyekq">
                        <field name="VAR" id="{,i@eRsIvQF/5|U8{!D6" variabletype="">Initial Stake</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="_H}$CZ:i2ZB;yYpD*f.|">
                        <field name="VAR" id="s5kd?5zZLm[PMX;x^2^}" variabletype="">Martingale Step</field>
                        <value name="VALUE">
                          <block type="math_number" id="OwY[IKqjdmI**w7:v$2n">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="SscM,,Vd{}4!hI_Mcr;j">
                            <field name="VAR" id="6W7+|m,Ol*o2+ZY(hK:q" variabletype="">Max Martingale Step</field>
                            <value name="VALUE">
                              <block type="math_number" id=")jQE2F6|=ev|OBgn2Lsx">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="6trH9{]hY=ROCoNG$=OC">
                                <field name="VAR" id="+KNZX,+R:]j8+VM.alW-" variabletype="">Consecutive Loss Amount</field>
                                <value name="VALUE">
                                  <block type="math_number" id="%MLDJ/XwrIt5@_od(OGZ">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id=")s(~xj2p]hm)iphn0=L-">
                                    <field name="VAR" id="@~Q0iAM8AM9nTB#_GJPz" variabletype="">Martingale Factor</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="D_7^i:TPdnfO_uD9vTSz">
                                        <field name="NUM">1.3</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id=":w$g,ObouWqpa?^M|Y+K">
                                        <field name="VAR" id="]^{hu=N7qD8lksBM)KgH" variabletype="">New candle just appeared?</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="6CUGWrX;y5AYC,WFB0N,">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="controls_whileUntil" id="-mDh@QD4jlKW`y+8piw!">
                                            <field name="MODE">UNTIL</field>
                                            <value name="BOOL">
                                              <block type="logic_operation" id="4H]!=vFF*$/XCE9CQU#Y">
                                                <field name="OP">OR</field>
                                                <value name="A">
                                                  <block type="logic_operation" id="oSm6Ih5U/lB~[)Dz[CPI">
                                                    <field name="OP">OR</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="aK4_kuMr#5#h$Ks3W1-s">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="3mh;5XK9vu7kY~EQ:sYK">
                                                            <field name="VAR" id="Nkf[SAEV{_])-XVEJoIv" variabletype="">On Fail Prediction</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="X7GfUx(/+MF0!k]]}(Xg">
                                                            <field name="NUM">1</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="KeI?,S@K^.%(-dzdjt]Z">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="g~N$`:i2KC#5mW*wC7)Y">
                                                            <field name="VAR" id="Nkf[SAEV{_])-XVEJoIv" variabletype="">On Fail Prediction</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="ECw]il7hR=7P.4oXr^rC">
                                                            <field name="NUM">2</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_compare" id="Llh9j:*WZA,b*)hVMXno">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="Et%buSl/s$r6o7S}UAH(">
                                                        <field name="VAR" id="Nkf[SAEV{_])-XVEJoIv" variabletype="">On Fail Prediction</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="lyqZIoWP]9%Fvhnl]gQ)">
                                                        <field name="NUM">3</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO">
                                              <block type="variables_set" id="K]OH0`svacTJ+(i[hfz:">
                                                <field name="VAR" id="Nkf[SAEV{_])-XVEJoIv" variabletype="">On Fail Prediction</field>
                                                <value name="VALUE">
                                                  <block type="text_prompt_ext" id="lFG*X+WCLyOM@t.$*e.J">
                                                    <field name="TYPE">NUMBER</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="mYLT=lj7x=sRrnR.[n1c">
                                                        <field name="TEXT">On fail prediction, immediately start (1=opposite direction, 2=same direction, 3=zig-zag!) ?</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="variables_set" id="X]+E~DjR2/Opo3k:w##i">
                                                <field name="VAR" id="B/(B~DY)ktlAR{`iCGS+" variabletype="">Correction</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="OR_:$LY$uX}^RFj#}MWk">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="[L*-cuNO.DpW-o_MNgsw">
                                                    <field name="VAR" id="7/8}lCQO@?ZW|tE`:z/A" variabletype="">Max Immediately Correction</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="[TvY.**cDOLksFJ4=;=s">
                                                        <field name="NUM">0</field>
                                                        <comment id=")i]4KXbdlgPAE[Ve(j,q" pinned="true" h="200" w="200" x="607" y="1019" minimized="false">If need more correction after fail, change it from 1 to 2, 3, 4 and so on.

Note: Martingale stake also reset to Initial Stake if Max Immediately Correction has reached.
                                                        </comment>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="trade_definition_tradeoptions" id="@VPQt$_1KSWD:J||QKJR">
        <mutation has_first_barrier="false" has_second_barrier="false" has_prediction="false"></mutation>
        <field name="DURATIONTYPE_LIST">s</field>
        <value name="DURATION">
          <shadow type="math_number" id="Oc3fec]bv[(_`}Bo?uQv">
            <field name="NUM">15</field>
          </shadow>
          <block type="math_number" id="TW*78.vA.oIBA43SuHLb">
            <field name="NUM">55</field>
          </block>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="xG?zs!I:wmtz5wT~Q}Qe">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id="/)jT|}hk/!~d%((lQdnY">
            <field name="VAR" id="e!jOX.FZg$trXXjHV8=N" variabletype="">Stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="}`P,bnYt!wF[/H-MM)L:" x="1485" y="0">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="h~K57,K;r+y2Fe9bvbe-">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="(bbO+O_QQz_BzyXpM{1I">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="G?$%4$-;C.srH@d}Q=3,">
            <field name="VAR" id="s5kd?5zZLm[PMX;x^2^}" variabletype="">Martingale Step</field>
            <value name="VALUE">
              <block type="math_number" id="sC@qr%8p0J6FwwP~qW{o">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="{KX](Z_ROFN8^%1bB]w]">
                <field name="VAR" id="e!jOX.FZg$trXXjHV8=N" variabletype="">Stake</field>
                <value name="VALUE">
                  <block type="variables_get" id="veP?3v~i,WLXLRu?cCOw">
                    <field name="VAR" id="{,i@eRsIvQF/5|U8{!D6" variabletype="">Initial Stake</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="c/lg{u/P*.H6DHXq68sD">
                    <field name="VAR" id="+KNZX,+R:]j8+VM.alW-" variabletype="">Consecutive Loss Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="/!%~W(VIs~MGK^btxbXS">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="M5Vul`cE(/9f7(+(Vq9o">
                        <field name="VAR" id="B/(B~DY)ktlAR{`iCGS+" variabletype="">Correction</field>
                        <value name="VALUE">
                          <block type="math_number" id="YpU7a5an_KZv~ak3)kOi">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="math_change" id="qi1]UKW4BtGQ;G}RaA4I">
            <field name="VAR" id="s5kd?5zZLm[PMX;x^2^}" variabletype="">Martingale Step</field>
            <value name="DELTA">
              <shadow type="math_number" id="A}V~!t`c7,]EFl-kKpI-">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <next>
              <block type="variables_set" id="T+Vd;i(mA{w9l0L#6Nt@">
                <field name="VAR" id="6W7+|m,Ol*o2+ZY(hK:q" variabletype="">Max Martingale Step</field>
                <value name="VALUE">
                  <block type="logic_ternary" id="Zc$D|bbme_mOz`L0@Zuy">
                    <value name="IF">
                      <block type="logic_compare" id="nIRMJ9vvXvw;S#%+Ty+4">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="variables_get" id="_#bP+:[^Z2|Z@0hcVA6b">
                            <field name="VAR" id="s5kd?5zZLm[PMX;x^2^}" variabletype="">Martingale Step</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="XFP0Y|5+%F/P/bg:)}+$">
                            <field name="VAR" id="6W7+|m,Ol*o2+ZY(hK:q" variabletype="">Max Martingale Step</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="THEN">
                      <block type="variables_get" id="#m$Y(l@os%aPGoNAJhG%">
                        <field name="VAR" id="s5kd?5zZLm[PMX;x^2^}" variabletype="">Martingale Step</field>
                      </block>
                    </value>
                    <value name="ELSE">
                      <block type="variables_get" id="?~QCW|xXdXXMhs#2QG$5">
                        <field name="VAR" id="6W7+|m,Ol*o2+ZY(hK:q" variabletype="">Max Martingale Step</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="math_change" id="0wS(45lyvSLJ1z^7p)83">
                    <field name="VAR" id="+KNZX,+R:]j8+VM.alW-" variabletype="">Consecutive Loss Amount</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="At9#m5!mHf?r99gT%V|F">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id=",gHjApz^-N~OzVD[oiWm">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="Ds17~2KNdMrqzKF(SmDz">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="rZfZdhx[;C5KITkp)4F{">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="7Ka)CK)ULaV4u(mJ0CuI">
                        <field name="VAR" id="e!jOX.FZg$trXXjHV8=N" variabletype="">Stake</field>
                        <value name="VALUE">
                          <block type="math_arithmetic" id="t5n7#b~-O.@T2f46Mw.Q">
                            <field name="OP">MULTIPLY</field>
                            <value name="A">
                              <shadow type="math_number" id="BXFQM-![*m5*xu4K2~=u">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="As8qj?lz(j_^o]%V1MCs">
                                <field name="VAR" id="+KNZX,+R:]j8+VM.alW-" variabletype="">Consecutive Loss Amount</field>
                              </block>
                            </value>
                            <value name="B">
                              <shadow type="math_number" id=")WoDl:a8a,4s_eKDk9A}">
                                <field name="NUM">1</field>
                              </shadow>
                              <block type="variables_get" id="vdQAB)C3Vkg1RwePQ%mh">
                                <field name="VAR" id="@~Q0iAM8AM9nTB#_GJPz" variabletype="">Martingale Factor</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="yM9ZN.;3.wi*0%}NkbF~">
                            <value name="IF0">
                              <block type="logic_compare" id="T{1aY@4nS9M9-UIOigK%">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id="_MBk#GVXNDU:!G$rryB)">
                                    <field name="VAR" id="7/8}lCQO@?ZW|tE`:z/A" variabletype="">Max Immediately Correction</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="bfEd~Je~P=%ZX~8{_c|t">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="math_change" id="P(}YB6-l.2]Opr[6+TU#">
                                <field name="VAR" id="B/(B~DY)ktlAR{`iCGS+" variabletype="">Correction</field>
                                <value name="DELTA">
                                  <shadow type="math_number" id="1F|RGZ;i@boaSs7cyrfP">
                                    <field name="NUM">1</field>
                                  </shadow>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="8:PL_r|S0/?/{fStwG@@">
                                <value name="IF0">
                                  <block type="logic_compare" id="*yhhG~a{7q^8ez{D7P_5">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="variables_get" id="h~}0M_Cj-2Ro55R)@oT4">
                                        <field name="VAR" id="B/(B~DY)ktlAR{`iCGS+" variabletype="">Correction</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="If,q*@RI,AhB|8zF~Y?}">
                                        <field name="VAR" id="7/8}lCQO@?ZW|tE`:z/A" variabletype="">Max Immediately Correction</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="variables_set" id="Q!@|AGz-NyfgNWv^C5yp">
                                    <field name="VAR" id="B/(B~DY)ktlAR{`iCGS+" variabletype="">Correction</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="QnQWdxN(iGQ,AFbgGN(c">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="text_join" id="$,W@9I_XGI0$^BGc_Ll]">
            <field name="VARIABLE" id="$TMhU5Ju?mKC#0YvJ%rt" variabletype="">text</field>
            <statement name="STACK">
              <block type="text_statement" id="K6,fEhv^4naXj%|nM[!g" movable="false">
                <value name="TEXT">
                  <shadow type="text" id="f,2?2pi0LM154z=j_xBG">
                    <field name="TEXT">Max Martingale Step : </field>
                  </shadow>
                </value>
                <next>
                  <block type="text_statement" id="B?L7-Ht|M^ruX|y/nxkT" movable="false">
                    <value name="TEXT">
                      <shadow type="text" id="{O(..8@9z]o0ZA`3,W5V">
                        <field name="TEXT"></field>
                      </shadow>
                      <block type="variables_get" id="/*mt2]yu5AAE9d~DBa`M">
                        <field name="VAR" id="6W7+|m,Ol*o2+ZY(hK:q" variabletype="">Max Martingale Step</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="notify" id="[XOPdVGH{(:dfCsE,GqW">
                <field name="NOTIFICATION_TYPE">error</field>
                <field name="NOTIFICATION_SOUND">severe-error</field>
                <value name="MESSAGE">
                  <shadow type="text" id="QcMDs)@#Y`*yJSuol!mr">
                    <field name="TEXT">abc</field>
                  </shadow>
                  <block type="variables_get" id="@Oc(0ZXF}zl,Sy3ndSkL">
                    <field name="VAR" id="$TMhU5Ju?mKC#0YvJ%rt" variabletype="">text</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="`+0,ZfNW5Wken#~m`Uu,">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="mF|zL~6!R}n`(39pH:Zy">
                        <field name="OP">OR</field>
                        <value name="A">
                          <block type="logic_compare" id="J(Dug_}-{0mF)XaH=vRc">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="total_profit" id="[K-IGtA.vC|PePgk/E`o"></block>
                            </value>
                            <value name="B">
                              <block type="math_single" id="m1qIp3B#s9UrgIq,dZ=|">
                                <field name="OP">NEG</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="}lLQ8m+;Bx;3T!A+(Kw|">
                                    <field name="NUM">9</field>
                                  </shadow>
                                  <block type="variables_get" id="SEFkMhNbH{!R:xr?8rhJ">
                                    <field name="VAR" id="@2}uP{)pppIGL+FCwL-." variabletype="">Stop Loss</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="K44LsU:RE+)ARr{K%{Sm">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="total_profit" id="uzPKLke/Q4jy}A6Wz`F{"></block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="o8}{J+lc@k)LQgL,p2kp">
                                <field name="VAR" id="f_|A?#S[I;g3Cw5u:^Hv" variabletype="">Target Profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="Y~TgLT5s|i%`f2GGT*CN">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="contract_check_result" id="bXHb|!,A@,YU+)g4P2,E">
                            <field name="CHECK_RESULT">win</field>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="text_join" id=")bgPV%~P-+}po+bKy%6J">
                            <field name="VARIABLE" id="$TMhU5Ju?mKC#0YvJ%rt" variabletype="">text</field>
                            <statement name="STACK">
                              <block type="text_statement" id="AJ}_mhE5`Q(,,!eFjY,`" movable="false">
                                <value name="TEXT">
                                  <shadow type="text" id="rtW^GYbN+*bD|sGX*s!i">
                                    <field name="TEXT">DONE ! With profit : $ </field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="text_statement" id="Uu/kT9eDY23EAY~hgIfl" movable="false">
                                    <value name="TEXT">
                                      <shadow type="text" id="^-hsN;w??y(s6eT@%WIn">
                                        <field name="TEXT"></field>
                                      </shadow>
                                      <block type="total_profit" id="MfE(5hIf_.9.t@b,bb,v"></block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="text_join" id="u4|@6c*bDJ3flH,*sAV;">
                            <field name="VARIABLE" id="$TMhU5Ju?mKC#0YvJ%rt" variabletype="">text</field>
                            <statement name="STACK">
                              <block type="text_statement" id="MA-PJK4ND)~ch|6}TPI(" movable="false">
                                <value name="TEXT">
                                  <shadow type="text" id="^r`Y{74UtS5q7Q5N6=:g">
                                    <field name="TEXT">DONE ! With loss : -$ </field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="text_statement" id="8_4Y6NZbEZb/sG5aNSo%" movable="false">
                                    <value name="TEXT">
                                      <shadow type="text" id="!@m.v_uxGGOt7tX$o4W]">
                                        <field name="TEXT"></field>
                                      </shadow>
                                      <block type="math_single" id="qnT3P|uqq5gX1$-y?N5|">
                                        <field name="OP">ABS</field>
                                        <value name="NUM">
                                          <shadow type="math_number" id="EtO:]]8=Xv+c:j^b!v=B">
                                            <field name="NUM">9</field>
                                          </shadow>
                                          <block type="total_profit" id="u)K^y/xBStP,gGJe;=Sb"></block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="text_print" id="R#h9B`K6uHaQpRwN)1|Q">
                            <value name="TEXT">
                              <shadow type="text" id="TH(5HDp@|YlEnBjWPV7/">
                                <field name="TEXT">DONE !</field>
                              </shadow>
                              <block type="variables_get" id="4ey^UYdN-%1.a(aTpSsk">
                                <field name="VAR" id="$TMhU5Ju?mKC#0YvJ%rt" variabletype="">text</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="trade_again" id="pFImkx9;-,{fFhFSiZ+."></block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="HtxA]8#RFtB#ad@,O#t/" x="0" y="1240">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="smaa_statement" id="Bu1(Pm-5+)LYDoxa}f_g">
        <field name="VARIABLE" id="iL5qALD2nS@Z4R#,aU./" variabletype="">sma6</field>
        <statement name="STATEMENT">
          <block type="input_list" id="C`}{{l|LYCzv%_MSh{wS" deletable="false" movable="false">
            <value name="INPUT_LIST">
              <block type="ohlc_values" id="D6lJ0*exU.f9NZ$c%wto">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">60</field>
              </block>
            </value>
            <next>
              <block type="period" id="ox]n8xf67~|wc87KOT0-" deletable="false" movable="false">
                <value name="PERIOD">
                  <shadow type="math_number" id="fXwe6yo0TVtW-0[8b2,6">
                    <field name="NUM">6</field>
                  </shadow>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="smaa_statement" id="u^|?l);z@?a:@O3NpDp;">
            <field name="VARIABLE" id="t8R,Ks*6mK?F**jM{fv+" variabletype="">sma14</field>
            <statement name="STATEMENT">
              <block type="input_list" id="4Y*~Er6MhtDqdfUM:LE?" deletable="false" movable="false">
                <value name="INPUT_LIST">
                  <block type="ohlc_values" id="|FhV@~!08:)Mt{HTq`qB">
                    <field name="OHLCFIELD_LIST">close</field>
                    <field name="CANDLEINTERVAL_LIST">60</field>
                  </block>
                </value>
                <next>
                  <block type="period" id="SfZ[J32e*wkZBPRI#MVp" deletable="false" movable="false">
                    <value name="PERIOD">
                      <shadow type="math_number" id="Z$7aWM/]DWkb9DKgPyr3">
                        <field name="NUM">14</field>
                      </shadow>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="smaa_statement" id="][b6@*IzkL9(-0j:0cfx">
                <field name="VARIABLE" id="F*z`|uui})UXeyiq}i9C" variabletype="">sma26</field>
                <statement name="STATEMENT">
                  <block type="input_list" id="HL{pFh4%.gjD[)Qg?PY7" deletable="false" movable="false">
                    <value name="INPUT_LIST">
                      <block type="ohlc_values" id="~*FXsW10O[/CvE@vVMix">
                        <field name="OHLCFIELD_LIST">close</field>
                        <field name="CANDLEINTERVAL_LIST">60</field>
                      </block>
                    </value>
                    <next>
                      <block type="period" id="$](WXpqZ8hRNcT3d|gW%" deletable="false" movable="false">
                        <value name="PERIOD">
                          <shadow type="math_number" id="tkXDT/{xLqf~H3I[+qZI">
                            <field name="NUM">26</field>
                          </shadow>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="variables_set" id="_b*/L{z)r0UGghcZBDu%">
                    <field name="VAR" id="n/e}X-kP_#:5`!uZ(lNs" variabletype="">Candle-2-Open</field>
                    <value name="VALUE">
                      <block type="read_ohlc" id="~zGlWo-g{rFD*Y8ccHJ`">
                        <field name="OHLCFIELD_LIST">open</field>
                        <field name="CANDLEINTERVAL_LIST">default</field>
                        <value name="CANDLEINDEX">
                          <shadow type="math_number" id="XhY$-`#.2!LIhHzou0tb">
                            <field name="NUM">2</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="}pe:]iwTduCnI[;61jIB">
                        <field name="VAR" id="mqx5IsfH2aVlHYl[88.N" variabletype="">Candle-2-Close</field>
                        <value name="VALUE">
                          <block type="read_ohlc" id="+iH}_4:pc~S,AgHFv}]Z">
                            <field name="OHLCFIELD_LIST">close</field>
                            <field name="CANDLEINTERVAL_LIST">default</field>
                            <value name="CANDLEINDEX">
                              <shadow type="math_number" id="DJ;/QcD|5hvfyfC=S5fv">
                                <field name="NUM">2</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="xO:P|~bIKj,CWC)ZrT1t">
                            <field name="VAR" id="l]?cQby7=WwY=-|Ubz$1" variabletype="">Prev.SMA-6</field>
                            <value name="VALUE">
                              <block type="lists_getIndex" id=",`}e=X*O=yRS^k3W~(w^">
                                <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="n?csAnW/!6j{oxA?p-1I">
                                    <field name="VAR" id="iL5qALD2nS@Z4R#,aU./" variabletype="">sma6</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="9ZakA}gb`RaSNZP0v:P[">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="7Bltrqr(N~li#0f]b1*?">
                                <field name="VAR" id="g]x^:)!^F24Hu-/tyIy2" variabletype="">Prev.SMA-14</field>
                                <value name="VALUE">
                                  <block type="lists_getIndex" id="1Qm#ou%9Guip4c!#lm2W">
                                    <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="JH7)uyf+*jZY}dXN)@`:">
                                        <field name="VAR" id="t8R,Ks*6mK?F**jM{fv+" variabletype="">sma14</field>
                                      </block>
                                    </value>
                                    <value name="AT">
                                      <block type="math_number" id="TA!E4bo%s*Y:S{LZTQeD">
                                        <field name="NUM">2</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="r+N-#E@@l80a!}Ai_[~j">
                                    <field name="VAR" id="I(.;w^]0hTr5|F*6x$c%" variabletype="">Prev.SMA-26</field>
                                    <value name="VALUE">
                                      <block type="lists_getIndex" id="Yw;.T-4IM_pBS1GwAp3+">
                                        <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="t+EfBVlj:oF3ol{UMiEJ">
                                            <field name="VAR" id="F*z`|uui})UXeyiq}i9C" variabletype="">sma26</field>
                                          </block>
                                        </value>
                                        <value name="AT">
                                          <block type="math_number" id=":)Tt/,PR8`3GH|uH:XT/">
                                            <field name="NUM">2</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_if" id="tV%zKwLI[~2V%Wa7amwl">
                                        <value name="IF0">
                                          <block type="logic_compare" id=")bq@zrd#1`~V=d^(+Zu-">
                                            <field name="OP">NEQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="OPebKiEDMf6QouB)QdOd">
                                                <field name="VAR" id="B/(B~DY)ktlAR{`iCGS+" variabletype="">Correction</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="dn(]T_um48s97z$)?58h">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="controls_if" id="XCOiGr/MS@x?sy[#;Fnd">
                                            <value name="IF0">
                                              <block type="procedures_callreturn" id="r7y(Z5.H{`np;r!MXtH3">
                                                <mutation name="New Candle"></mutation>
                                                <data>c$vEy,nb54.t2)-%,;:l</data>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="controls_if" id="(V9H|0GnZ;3gzi8bW9zp">
                                                <mutation elseif="2"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id="_fEdYr@2,S889YOU:SWQ">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="e3:2J?d^rsx;?GHA^,=E">
                                                        <field name="VAR" id="Nkf[SAEV{_])-XVEJoIv" variabletype="">On Fail Prediction</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="6QJ5#?_3MH24,+lN6hBb">
                                                        <field name="NUM">1</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="controls_if" id="*/5.uY8MK|iNG}c5+aq]">
                                                    <mutation elseif="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="kn:R#l|a;DW$wt`A15EV">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="Tkk}]kU]1ce{S7/nnM?x">
                                                            <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="_NrNF42MbPq[7GfM+Ruu">
                                                            <field name="TEXT">RISE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="purchase" id="KR_ofj{.Q;qi@;W}aa;3">
                                                        <field name="PURCHASE_LIST">PUT</field>
                                                      </block>
                                                    </statement>
                                                    <value name="IF1">
                                                      <block type="logic_compare" id="?f[fk4JK:(^-{N+|M=bQ">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="2Y?b}rs^nPZ)7/0;I)o;">
                                                            <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="ck|]Qzc85V,k/S2[Re70">
                                                            <field name="TEXT">FALL</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO1">
                                                      <block type="purchase" id="5_?z?@kj%/Ox{_]g|kGP">
                                                        <field name="PURCHASE_LIST">CALL</field>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="logic_compare" id="X4+;tase_HJ`|IT=rNKK">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="K4m?`BG2/p~ZH:AGso5S">
                                                        <field name="VAR" id="Nkf[SAEV{_])-XVEJoIv" variabletype="">On Fail Prediction</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="~/?z$QY8!:?`:%]m:;A;">
                                                        <field name="NUM">2</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="controls_if" id="),Dqn?f0Q;P`1.DItDw/">
                                                    <mutation elseif="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="xz*}0K2$rqkOJgT%RtH0">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="R;)Y=[MwR|%XGuzgv:_q">
                                                            <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="^%diNc+d-wVLtU`9J%$%">
                                                            <field name="TEXT">RISE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="purchase" id="wCbN=C)C|N[B!E7W4$p{">
                                                        <field name="PURCHASE_LIST">CALL</field>
                                                      </block>
                                                    </statement>
                                                    <value name="IF1">
                                                      <block type="logic_compare" id="rSA#o-B3;y}IwaLywDvz">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="UD}9[vU;jxbv`b$`mtmO">
                                                            <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="NKy+^n:!XPsYta9u6qBO">
                                                            <field name="TEXT">FALL</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO1">
                                                      <block type="purchase" id="ds8z4daQ/{K}NKv!:Zm?">
                                                        <field name="PURCHASE_LIST">PUT</field>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </statement>
                                                <value name="IF2">
                                                  <block type="logic_compare" id="uIt#]9A:~l]|Wn+Ix,]e">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="5*MRzf@8^4)BzIrkPm/;">
                                                        <field name="VAR" id="Nkf[SAEV{_])-XVEJoIv" variabletype="">On Fail Prediction</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="+?*B[O4Uwvzks[KQ`,Vl">
                                                        <field name="NUM">3</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO2">
                                                  <block type="controls_if" id="SSxvvSI,cmcbjdzyK$v}">
                                                    <mutation elseif="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="/OXFFZZ^78*Om/~Z64Fp">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="UV?@T02Jm7S*WRK(0DR*">
                                                            <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="1sf3!Wkr!;91vLt#%%X[">
                                                            <field name="TEXT">RISE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="variables_set" id="K@[6p!Lr*{FmB)^^?Oip">
                                                        <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="}t#s_bs7$UzP]0c2T(j4">
                                                            <field name="TEXT">FALL</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="purchase" id="_HuH-[n)[+{#@hsP_Brs">
                                                            <field name="PURCHASE_LIST">PUT</field>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <value name="IF1">
                                                      <block type="logic_compare" id="z$!zZT($6NK=TV2i=onP">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="7[19?r~Pd*D0vxlpua28">
                                                            <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="L4]X$No1e!RwJX-BGV6a">
                                                            <field name="TEXT">FALL</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO1">
                                                      <block type="variables_set" id="$RUnmJ^zI$JBadq()Ef`">
                                                        <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="f%LC/YZ7`iiTlSN7e|!|">
                                                            <field name="TEXT">RISE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="purchase" id="z`x5%fe9j{-aE]2pMVsw">
                                                            <field name="PURCHASE_LIST">CALL</field>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="controls_if" id="9EP9q-4OGF%ei3A,eh}8">
                                            <value name="IF0">
                                              <block type="procedures_callreturn" id="6eK6Z!z,jX)ozH{nAa@h">
                                                <mutation name="New Candle"></mutation>
                                                <data>c$vEy,nb54.t2)-%,;:l</data>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="controls_if" id="fQZ4a6*6}9-`1NiVgwLp">
                                                <value name="IF0">
                                                  <block type="logic_operation" id="VId0XA,YqdrosMs-I2af" collapsed="true">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_operation" id="ab4O)N$6BR6*NDozw1s*">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_operation" id="etcz$Nn2zd=T?sTiN:Q*">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_compare" id="j@=[PROTECTED EMAIL]">
                                                                <field name="OP">LT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="hwvW}fCr?.^e264LrAh2">
                                                                    <field name="VAR" id="mqx5IsfH2aVlHYl[88.N" variabletype="">Candle-2-Close</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="M1.w#T1}]h/UoN{{CUEB">
                                                                    <field name="VAR" id="l]?cQby7=WwY=-|Ubz$1" variabletype="">Prev.SMA-6</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="$B.|.$iqbVck47Xl7SXq">
                                                                <field name="OP">GT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="YfjCw2x*C,GrTT)$PLb_">
                                                                    <field name="VAR" id="n/e}X-kP_#:5`!uZ(lNs" variabletype="">Candle-2-Open</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="6AvP9V.zgiQd,p,?EwBW">
                                                                    <field name="VAR" id="l]?cQby7=WwY=-|Ubz$1" variabletype="">Prev.SMA-6</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_operation" id="%|=esmK)0R~C,bo1(!kj">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_compare" id="?=R$+;yFd(nuXE)YPDL6">
                                                                <field name="OP">LT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="wg)tgkKDwdqQw!B`M#(=">
                                                                    <field name="VAR" id="mqx5IsfH2aVlHYl[88.N" variabletype="">Candle-2-Close</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="Zr188#|}kv|}d2=K{w83">
                                                                    <field name="VAR" id="g]x^:)!^F24Hu-/tyIy2" variabletype="">Prev.SMA-14</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="0H$~M3,xW(5Z^1@3]=hy">
                                                                <field name="OP">GT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="CkD*!(hfM@n2z3,R0d{Z">
                                                                    <field name="VAR" id="n/e}X-kP_#:5`!uZ(lNs" variabletype="">Candle-2-Open</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="@X4ho)9qdV|X[/[$HRX9">
                                                                    <field name="VAR" id="g]x^:)!^F24Hu-/tyIy2" variabletype="">Prev.SMA-14</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_operation" id="R,U9#%kgesG(B-e3*71i">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="QUk+TNBG]SBb6TwCk2ZK">
                                                            <field name="OP">LT</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="hYrd60REc.1#Zr)Mj489">
                                                                <field name="VAR" id="mqx5IsfH2aVlHYl[88.N" variabletype="">Candle-2-Close</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="/t[nI*wVr+iA2(U`mLq)">
                                                                <field name="VAR" id="I(.;w^]0hTr5|F*6x$c%" variabletype="">Prev.SMA-26</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="e5?Ir*B!`saGjhd07er0">
                                                            <field name="OP">GT</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="lHqay7+4JoHHC|K(y8h?">
                                                                <field name="VAR" id="n/e}X-kP_#:5`!uZ(lNs" variabletype="">Candle-2-Open</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="BV6H^xvGQ_KDDs2tBwT!">
                                                                <field name="VAR" id="I(.;w^]0hTr5|F*6x$c%" variabletype="">Prev.SMA-26</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="j.ZkLAW}Bmol6OCjyF_B">
                                                    <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="TfX!}Kji9gv}~W_[,r*m">
                                                        <field name="TEXT">FALL</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="purchase" id="fJGYr$#+pmhxon`4Y.?L">
                                                        <field name="PURCHASE_LIST">PUT</field>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id=":/n#IaK/%@ag0Ho%7nk1">
                                                    <value name="IF0">
                                                      <block type="logic_operation" id="%%yKwdWeNa(8aJ$[hh:Z" collapsed="true">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_operation" id="@fug-hQ+F(g%VRW?jm3j">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_operation" id="-x?L@l.!FjoV6b:ZAWPH">
                                                                <field name="OP">AND</field>
                                                                <value name="A">
                                                                  <block type="logic_compare" id="55Tf}+4o`jth-I}@vP.Z">
                                                                    <field name="OP">GT</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="*ZewU:ZZZ:Sjn=_3/P/+">
                                                                        <field name="VAR" id="mqx5IsfH2aVlHYl[88.N" variabletype="">Candle-2-Close</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="K3*}D5o6$)h##pj62.q`">
                                                                        <field name="VAR" id="l]?cQby7=WwY=-|Ubz$1" variabletype="">Prev.SMA-6</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_compare" id="n|WC-:G,[PROTECTED EMAIL]7">
                                                                    <field name="OP">GT</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="G7A*)hyK?v}g!aP5[ZQx">
                                                                        <field name="VAR" id="n/e}X-kP_#:5`!uZ(lNs" variabletype="">Candle-2-Open</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="%(7t%U}sX?NI.LMtk7wU">
                                                                        <field name="VAR" id="l]?cQby7=WwY=-|Ubz$1" variabletype="">Prev.SMA-6</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_operation" id="fa,^B3EdcB/F{O+738I%">
                                                                <field name="OP">AND</field>
                                                                <value name="A">
                                                                  <block type="logic_compare" id="-`h~3}rlyc;GcpT84sau">
                                                                    <field name="OP">LT</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="z^?IxPj!b_N0zQn^aI^T">
                                                                        <field name="VAR" id="n/e}X-kP_#:5`!uZ(lNs" variabletype="">Candle-2-Open</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="E%JyFrUw5)tpL+mlU$iA">
                                                                        <field name="VAR" id="g]x^:)!^F24Hu-/tyIy2" variabletype="">Prev.SMA-14</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_compare" id="fqZ2q/#QbNRHN$fn:o}u">
                                                                    <field name="OP">GT</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="kQ]3i2~tSK^lr`jJ%r/_">
                                                                        <field name="VAR" id="mqx5IsfH2aVlHYl[88.N" variabletype="">Candle-2-Close</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="UZaV`9!AM-Ht)8(9Q@^t">
                                                                        <field name="VAR" id="g]x^:)!^F24Hu-/tyIy2" variabletype="">Prev.SMA-14</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_operation" id="DoHshi|pS5I~SLk@g^3c">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_compare" id="ZXM=[e?!I{TUNg=(i;eN">
                                                                <field name="OP">LT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="4Oy-,d$o+z*wEr@/z(`_">
                                                                    <field name="VAR" id="n/e}X-kP_#:5`!uZ(lNs" variabletype="">Candle-2-Open</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="|$U[YcwAVL^1iK-jMUmB">
                                                                    <field name="VAR" id="I(.;w^]0hTr5|F*6x$c%" variabletype="">Prev.SMA-26</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="nXRo824N@$[6Tx:wTP*S">
                                                                <field name="OP">GT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="6s}EDG)4c%q^GcW:iaKx">
                                                                    <field name="VAR" id="mqx5IsfH2aVlHYl[88.N" variabletype="">Candle-2-Close</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="X@%q5!,UJD0owcif}/r;">
                                                                    <field name="VAR" id="I(.;w^]0hTr5|F*6x$c%" variabletype="">Prev.SMA-26</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="variables_set" id="T7vk6P|dA~4a~{ia(`FY">
                                                        <field name="VAR" id="c|Jl7K?G0nHJ4b88`%HL" variabletype="">Last Purchase</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="/sz]3n_!p=A{y=sTH*f1">
                                                            <field name="TEXT">RISE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="purchase" id="DJo:-ruA)zfhPoGQT476">
                                                            <field name="PURCHASE_LIST">CALL</field>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="c$vEy,nb54.t2)-%,;:l" x="0" y="3880">
    <field name="NAME">New Candle</field>
    <statement name="STACK">
      <block type="controls_if" id="D%;9Dn{;*hl0f$58$-%0">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="9D)JrHWU,:yyij:MokmI">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="variables_get" id="$P`aCPPfmsw,j$GW|sT{">
                <field name="VAR" id="iW}a^kf{QCF.aG`h~Xg|" variabletype="">Candle Open Time</field>
              </block>
            </value>
            <value name="B">
              <block type="read_ohlc" id="7(Owz2Y$Fr$Ci]cD;5IZ">
                <field name="OHLCFIELD_LIST">epoch</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
                <value name="CANDLEINDEX">
                  <shadow type="math_number" id="TdKrT*Mc0}83_%0AJjBU">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="9*]}GxrV[C]#]@8fHR=p">
            <field name="VAR" id="]^{hu=N7qD8lksBM)KgH" variabletype="">New candle just appeared?</field>
            <value name="VALUE">
              <block type="logic_boolean" id="OU=`V;DbR0Gm$j-fxvWy">
                <field name="BOOL">FALSE</field>
              </block>
            </value>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="Cv7o=Pm5QmoZ2]4)!Z`~" disabled="true">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">announcement</field>
            <value name="MESSAGE">
              <shadow type="text" id="nLi:-cjbZ@DIbVv-!u#c">
                <field name="TEXT">New Candle</field>
              </shadow>
            </value>
            <next>
              <block type="variables_set" id="jcyV#RD=KnrWt=[j7GBa">
                <field name="VAR" id="]^{hu=N7qD8lksBM)KgH" variabletype="">New candle just appeared?</field>
                <value name="VALUE">
                  <block type="logic_boolean" id=")}Yb3$Q@Zof|3If3,ko.">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="variables_set" id="F1EHn{T]bl;r/cPuOua5">
            <field name="VAR" id="iW}a^kf{QCF.aG`h~Xg|" variabletype="">Candle Open Time</field>
            <value name="VALUE">
              <block type="read_ohlc" id="-TWFcYaFR_TJ^hF*NRH0">
                <field name="OHLCFIELD_LIST">epoch</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
                <value name="CANDLEINDEX">
                  <shadow type="math_number" id="s_-@z4-#Erj[m}[DT8*V">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="Wwyf5D{l4HBO!qI!eP%p">
        <field name="VAR" id="]^{hu=N7qD8lksBM)KgH" variabletype="">New candle just appeared?</field>
      </block>
    </value>
  </block>
</xml>
