﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="procedures_defnoreturn" id=".Y]i*PI{vR;y,!GTWL~o" collapsed="true" x="0" y="0">
    <mutation>
      <arg name="_Input List"></arg>
      <arg name="_Period"></arg>
    </mutation>
    <field name="NAME">(5) FRUITFELLA's Trend Direction</field>
    <comment pinned="false" h="80" w="160">FRUITFELLA's Trend Direction by [PROTECTED EMAIL]</comment>
    <statement name="STACK">
      <block type="variables_set" id="oFBB7QmQNLjoR)t6W!2C">
        <field name="VAR">tsSMA</field>
        <value name="VALUE">
          <block type="emaa" id="Fj0!*RD(G,%]}o!L3G*w">
            <value name="INPUT">
              <block type="lists_getSublist" id="*ybSjprIC7@E3{u=cTOM" inline="false">
                <mutation at1="true" at2="false"></mutation>
                <field name="WHERE1">FROM_END</field>
                <field name="WHERE2">LAST</field>
                <value name="LIST">
                  <block type="variables_get" id="D3nDL-N084LOYR;6x;g7">
                    <field name="VAR">_Input List</field>
                  </block>
                </value>
                <value name="AT1">
                  <block type="math_arithmetic" id="g%){+@+drna~~WjDHuwK">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="V4cmRIpD@S]K~#|unBtt">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="variables_get" id="zMK#Kv5n@MTwif[[]ry,">
                        <field name="VAR">_Period</field>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="]BO9pYlPiisZCsLWQ}N?">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="(OrjD.Jy1-5Wp{[1wdYK">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <value name="PERIOD">
              <block type="variables_get" id="f(Vd)7V_x0(UQ_mGnXV@">
                <field name="VAR">_Period</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="ya{SB(jt)[nQylUz?g,i">
            <field name="VAR">tsUP</field>
            <value name="VALUE">
              <block type="logic_boolean" id="oz,Osq,;N?pU*jC6nlC.">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="3P3`~]Wu,b^6i,XGzA+x">
                <field name="VAR">tsDOWN</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="L!`mJxK+x4sW,z}G_YI8">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="DeEXlP=J_n#0vuW1G%pG">
                    <field name="VAR">tsPrevSMA</field>
                    <value name="VALUE">
                      <block type="lists_getIndex" id="{CwG=-yF@mFq5,;W!9yb">
                        <mutation statement="false" at="false"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FIRST</field>
                        <value name="VALUE">
                          <block type="variables_get" id="A}i@63~xLE5[z80%TPBC">
                            <field name="VAR">tsSMA</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_forEach" id="@[yEmYG!/[|^]+D^YerX">
                        <field name="VAR">tsEachSMA</field>
                        <value name="LIST">
                          <block type="lists_getSublist" id="-gOGm1XUH7iPu0j*s-r0">
                            <mutation at1="true" at2="false"></mutation>
                            <field name="WHERE1">FROM_END</field>
                            <field name="WHERE2">LAST</field>
                            <value name="LIST">
                              <block type="variables_get" id="*gJ4sZLz]x7oTTb+j`G+">
                                <field name="VAR">tsSMA</field>
                              </block>
                            </value>
                            <value name="AT1">
                              <block type="math_number" id="~m.#FFdue~hkd4unG!}z">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO">
                          <block type="variables_set" id="AI-=DajG}?M7U8qiYnP!">
                            <field name="VAR">tsUP</field>
                            <value name="VALUE">
                              <block type="logic_operation" id="^hGB_rincn}d19e-5OZs">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="variables_get" id="MFY`^,IRwXwv)`_9nzQz">
                                    <field name="VAR">tsUP</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="k!SE1wW=)7,O;,Ru8|]|">
                                    <field name="OP">LTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="pEjpLJ()6]26Z!`XjgnR">
                                        <field name="VAR">tsPrevSMA</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="3D`e3yhPS~]V;QG-Oq)5">
                                        <field name="VAR">tsEachSMA</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="YpGuhl2]JN{Iji[9ZE,F">
                                <field name="VAR">tsDOWN</field>
                                <value name="VALUE">
                                  <block type="logic_operation" id="AS?Ubav=)1B3/-+@qxk}">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="variables_get" id="FZjZc^cKbJ@:S~#.`m;(">
                                        <field name="VAR">tsDOWN</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="-Z/7GT5Z|uqc9qh505il">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="7ca@D:WrfX]5+R60t9^0">
                                            <field name="VAR">tsPrevSMA</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="jeeZiOJO,9+v4Ww?@v=.">
                                            <field name="VAR">tsEachSMA</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="trade" id="73vWdDagX-YhN)CtN.3D" x="0" y="52">
    <field name="MARKET_LIST">forex</field>
    <field name="SUBMARKET_LIST">minor_pairs</field>
    <field name="SYMBOL_LIST">frxAUDCAD</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">300</field>
    <field name="TIME_MACHINE_ENABLED">TRUE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="XDMYoip}{3uMJ$~,Wa(K">
        <field name="VAR">Max Loss Amount</field>
        <value name="VALUE">
          <block type="math_number" id="P!2=P_+S,MKLQTjA]xg(">
            <field name="NUM">50</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="dqduY+F]dYVC%/;)_QyX">
            <field name="VAR">Expected Profit</field>
            <value name="VALUE">
              <block type="math_number" id="pGL%0jCRlD;R_i-Q:?jz">
                <field name="NUM">5</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="cG;6qVzC4dU[J9h%wYdK">
                <field name="VAR">Win Amount</field>
                <value name="VALUE">
                  <block type="math_number" id="?UMlJ9?s?=7*h-CIL?Hv">
                    <field name="NUM">0.5</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="(GqO!$8|aP4T+(5lW(^E">
                    <field name="VAR">Initial Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="dI_3Be9-$EK_$F=d.7w#">
                        <field name="NUM">0.5</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="WBEgaV1+LlUifx5h|RGb">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="0p-bjjEuB1k(LNWLaiS]">
            <field name="NUM">3</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="p+TPBS;7,b0?9`GtSOmc">
            <field name="VAR">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="z88B_Q5hZB{^|y]]/E$M" collapsed="true" x="0" y="436">
    <field name="NAME">trend is up</field>
    <comment pinned="false" h="80" w="160">FRUITFELLA's Trend Direction by [PROTECTED EMAIL]</comment>
    <value name="RETURN">
      <block type="variables_get" id="%GxZL(uSxKvF-!fHmD5H">
        <field name="VAR">tsUP</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="MVzL%LrOGDf*K;-)DqHj" collapsed="true" x="0" y="488">
    <field name="NAME">trend is down</field>
    <comment pinned="false" h="80" w="160">FRUITFELLA's Trend Direction by [PROTECTED EMAIL]</comment>
    <value name="RETURN">
      <block type="variables_get" id="bf;Kbr^^{L[)Oi.lXBt8">
        <field name="VAR">tsDOWN</field>
      </block>
    </value>
  </block>
  <block type="before_purchase" id="tOc)]Xd=cAm0aiy+-8(8" x="0" y="540">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="!.B6;2-Cm2m-vn%={z_D">
        <field name="VAR">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="3_;ddhJp0*nHL7/,viIR">
            <value name="INPUT">
              <block type="ticks" id="?1|*mepuw*dPq){V@n#["></block>
            </value>
            <value name="PERIOD">
              <shadow type="math_number" id="S/BQ}IQ0|}q[9q6m3S-Z">
                <field name="NUM">8</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="bN#2Oz1[v@=a4`!;vJ(V">
            <field name="VAR">EMA-6</field>
            <value name="VALUE">
              <block type="ema" id="uyLsgrw1.tV3Wj.R:N9D">
                <value name="INPUT">
                  <block type="ticks" id="nvj1t0cyS#3}|1v,hACn"></block>
                </value>
                <value name="PERIOD">
                  <shadow type="math_number" id="~4{k*,$IAXo3pdN0~PBa">
                    <field name="NUM">6</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id=":+hkOq=8%q,cR/ao0}6p">
                <field name="VAR">EMA-14</field>
                <value name="VALUE">
                  <block type="ema" id=";gP;tYO}P[umZ~q8D/,t">
                    <value name="INPUT">
                      <block type="ticks" id="yNO%F.1U7OW`5U-5fL7q"></block>
                    </value>
                    <value name="PERIOD">
                      <shadow type="math_number" id="Kw4g-g.,KGLgV-LlO{sE">
                        <field name="NUM">14</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="Ub|T.of=m+#7}2%Ml+VZ">
                    <field name="VAR">EMA-21</field>
                    <value name="VALUE">
                      <block type="ema" id="QhyMZ~J8$#NZb6]b0Grb">
                        <value name="INPUT">
                          <block type="ticks" id=",?P@)%l8-G55b=;P[|q?"></block>
                        </value>
                        <value name="PERIOD">
                          <shadow type="math_number" id=":A`;xP0Dc#8D#)/]V;v4">
                            <field name="NUM">21</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="FWYXx?Lu(sA0G#Uq#]x@">
                        <field name="VAR">EMA-26</field>
                        <value name="VALUE">
                          <block type="ema" id="u?*A+W5v%XBaoCc6BP4.">
                            <value name="INPUT">
                              <block type="ticks" id="Kgov@Nj4,JRn)Uw_CMal"></block>
                            </value>
                            <value name="PERIOD">
                              <shadow type="math_number" id="d~AG}B~A?YSa5I^beL:o">
                                <field name="NUM">26</field>
                              </shadow>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="Wj{jUv[Q]]_!^l_=-b7k">
                            <field name="VAR">SMA-60</field>
                            <value name="VALUE">
                              <block type="sma" id="myQt5H?VG!(C{9nl4{O%">
                                <value name="INPUT">
                                  <block type="ticks" id="2%6Z{Lv{p[)od%n.{tQO"></block>
                                </value>
                                <value name="PERIOD">
                                  <shadow type="math_number" id="!Kzvw|Rua|;U}=W?:=~5">
                                    <field name="NUM">60</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="uN[Rp9P3BHsE6D6~D{e*">
                                <field name="VAR">SMA-30</field>
                                <value name="VALUE">
                                  <block type="sma" id="zad`.:FEG4^X3:ih$g:=">
                                    <value name="INPUT">
                                      <block type="ticks" id="$Tk5|S6PCT4Di/Z#G]4*"></block>
                                    </value>
                                    <value name="PERIOD">
                                      <shadow type="math_number" id="5E]d^S=p`YY[26s0ZH?9">
                                        <field name="NUM">30</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="X.`yb]NDRgu016t`QrCR">
                                    <value name="IF0">
                                      <block type="logic_operation" id="}y!=rAW}Z7nrD7UQSX!.">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="procedures_callreturn" id="@$DJ5=v,bZC4^}R4OK],">
                                            <mutation name="trend is up"></mutation>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_operation" id="Wx#Sg_qzS[_uV6zPl~:w">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_operation" id=".%wGIQ8@cvD%=.].T+}l">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_compare" id="1!Gbep/A-{5{i*YSul[E">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="tick" id=",Pm|~v_%FvQ.t`Wao5j."></block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="2U6s.jpW:JK|pKI$@rtP">
                                                        <field name="VAR">EMA-6</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_operation" id="sKk)rY`b6Zt_v7D*=WCQ">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="t=(^mL%P`]1Zf3MK3%QY">
                                                        <field name="OP">GT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="U`djoG+=2@f:eS96Ti@W">
                                                            <field name="VAR">EMA-6</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="8w+|Q;rV#u$I*3nyhCBs">
                                                            <field name="VAR">EMA-14</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_operation" id="KTJ%3pv9lcvWXYW}*ujt">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_operation" id="tm*$#!MNf!HC!bK|8qT_">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_operation" id="Co`0KoV@cYth=pVZ{b7F">
                                                                <field name="OP">AND</field>
                                                                <value name="A">
                                                                  <block type="logic_compare" id=",V|p);-/e7N@9m?j1b#k">
                                                                    <field name="OP">GT</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="an7;Qt]Z0*#O!+s$2?r(">
                                                                        <field name="VAR">EMA-14</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="p!D{Y?6uRc6qitL8qf+_">
                                                                        <field name="VAR">EMA-21</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_compare" id="v4,~E]q/SjtY2h~Bu=Yz">
                                                                    <field name="OP">GT</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="Li75A~QJIow~rtW:VSbM">
                                                                        <field name="VAR">EMA-21</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="G(Qz.jt8t0NV[9{c=UaI">
                                                                        <field name="VAR">EMA-26</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="X3:B.0p:|W^hiP3xr)~z">
                                                                <field name="OP">GT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="!]?D^6sPt6qmaw|}5gw{">
                                                                    <field name="VAR">EMA-26</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="m2,Edg@|!X4HkI4m]Fzy">
                                                                    <field name="VAR">SMA-30</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="9-Km5zWTf/VkG7uxjm^s">
                                                            <field name="OP">GT</field>
                                                            <value name="A">
                                                              <block type="variables_get" id=")rI!pX?be?ri3XI?$+*?">
                                                                <field name="VAR">SMA-30</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="I!c%*OWuA.GxygFnPom7">
                                                                <field name="VAR">SMA-60</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="purchase" id="Q;`vp48|v7pG%t@W6`uQ">
                                        <field name="PURCHASE_LIST">CALL</field>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="pO(E9d|PDsQH6m_3|:Ma">
                                        <value name="IF0">
                                          <block type="logic_operation" id="yb/PIkTrMx4{P|-,`UpF">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="procedures_callreturn" id="221v6Iz)JGWO1hx57`K[">
                                                <mutation name="trend is down"></mutation>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_operation" id="-;]{rbmT/Dw=A`E~7?HG">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block type="logic_operation" id="+%s3SwyZ6(Xcy{JjUPin">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="!5R9|QPi5_uPX7Qb2.3)">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="tick" id="0D[:G}*{eSXagk?`U5,?"></block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="lz}+v0BX[pu[vT=S9b`G">
                                                            <field name="VAR">EMA-6</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_operation" id="h`12I7v49l@IL%`EFn@p">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="dJ^/CWi(H1iL2AS6=w3@">
                                                            <field name="OP">LT</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="1*qvu}KMD{P,{`A#UBN9">
                                                                <field name="VAR">EMA-6</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="}R;}xQ|![.J#154s7d:-">
                                                                <field name="VAR">EMA-14</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_operation" id="#e{faFJ!n4DcfL~9H/2^">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_operation" id="!iIzYQGjaG41,.`SS.@s">
                                                                <field name="OP">AND</field>
                                                                <value name="A">
                                                                  <block type="logic_operation" id="jJs8TRRaN)R%([?62h*|">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="logic_compare" id="p;a3S8!9t%Lh;0R_R5aL">
                                                                        <field name="OP">LT</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="#X#Jk+[=P`0k1(jp7+X,">
                                                                            <field name="VAR">EMA-14</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="variables_get" id="`_:Rh:T|5h;YVZ4fBfwD">
                                                                            <field name="VAR">EMA-21</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="^5Y0Cp36hqwCY6]5GvUu">
                                                                        <field name="OP">LT</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="!U=HkI`zUTTI7e94b+E#">
                                                                            <field name="VAR">EMA-21</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="variables_get" id="Ne`+Af^djSi=RydI7pGu">
                                                                            <field name="VAR">EMA-26</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_compare" id="X;.~kN[[jTx%6#m-+)n[">
                                                                    <field name="OP">LT</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="sr4*68I+uWq?#XIOPe)@">
                                                                        <field name="VAR">EMA-26</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="Pa_n+8.^~B5ZIdZPjzH!">
                                                                        <field name="VAR">SMA-30</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="vk6ARo-+v3%Tt;kHww6y">
                                                                <field name="OP">LT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="xV=^3,v6v)o[yv.LJpRI">
                                                                    <field name="VAR">SMA-30</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="o.GOBs92|7Rb-.+W^%tK">
                                                                    <field name="VAR">SMA-60</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="purchase" id="(6u#[d#GMivNg9VL@5Kd">
                                            <field name="PURCHASE_LIST">PUT</field>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="u-:^SK/lBWoh/s78OrUZ" x="0" y="1440">
    <statement name="TICKANALYSIS_STACK">
      <block type="procedures_callnoreturn" id="$pNu`+qtGGqY:#f-:W=(">
        <mutation name="(5) FRUITFELLA's Trend Direction">
          <arg name="_Input List"></arg>
          <arg name="_Period"></arg>
        </mutation>
        <value name="ARG0">
          <block type="ohlc_values" id="^fqh25d?W/CHlzqQZP`s">
            <field name="OHLCFIELD_LIST">close</field>
            <field name="CANDLEINTERVAL_LIST">300</field>
          </block>
        </value>
        <value name="ARG1">
          <block type="math_number" id="OIjzCuYkhZq?K.bP*.iX">
            <field name="NUM">14</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="finish" x="0" y="1583">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="/TP%I,hfU)^|c.|/3ndN">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="!Ju)S0aU{UXQf0qHA6X,">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="gHD9SF(^C:~$q@c/;(KP">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="]Je7[};kvx`BRACG:?(;">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="s/=(=W~@G6,IQ,b://B3">
                    <field name="TEXT">Won:</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="SXm{k(Ltcd0rel3iez82">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="!7vE(S.O$(Hp%A$z{Q)4">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="xt{eOIX[E!rJ4}0f(|)w">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="@^jo^p%_Dc9)/}ZVUN=q">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="L!A5F7obJ6YDSU%sb~v$">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id=":bct,J@#aZ1,ap7%$u;m">
                    <field name="TEXT">Lost: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="Us=FXR=G20;r.vw#Qzx9">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="6^U0{%K4N4+shx$i.^;H">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="Lp7Sf;6}.+aaQK7u|qC,">
                <field name="VAR">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="N=Vo^MVz~/^(xt7Ag@8E">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_arithmetic" id="eN7/Pe-C@6[cZuG=;sr|">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="ka8n8|Dugz,q5FkUjs`7">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_single" id="n#dZL(R~tbmwTs^YpY{n">
                        <field name="OP">ABS</field>
                        <value name="NUM">
                          <shadow type="math_number" id="GleSn`9j7Cm7/dqg}FIA">
                            <field name="NUM">9</field>
                          </shadow>
                          <block type="read_details" id="bV`6lc$_j`ElSi~fxG-e">
                            <field name="DETAIL_INDEX">4</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="{JXdZCp2%s=sfO@yN:n}">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="math_number" id="L2m6.74Wo}DL)X%A@uE}">
                        <field name="NUM">1.8</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="THEX=3SJ9vM.fn6isSQX">
                    <value name="IF0">
                      <block type="logic_compare" id=")?vQl#~,J(1mnfNi]c|F">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="math_single" id="AeT7xRW8;G`0dUU3G9Zu">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="ft^DVzOH^GlSjzUC}@3c">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="read_details" id="Dywmoc_eJ)3BDdpvZ+8%">
                                <field name="DETAIL_INDEX">4</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="IR(@Z1;/dK1a7*)koIlK">
                            <field name="VAR">Max Loss Amount</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="{Dp3Zh`qx3F{e%!zm[oF">
                        <field name="VAR">Initial Amount</field>
                        <value name="VALUE">
                          <block type="variables_get" id="h:P1U@JR9*Miyg4^$hVa">
                            <field name="VAR">Win Amount</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="1)tW7}^o?Ym2qm8-qmdO">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="t]P+(Nqhmu!Tg.F7-CPr">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="7gm[}!($og`%Y,*D%j%;">
                    <field name="TEXT">Total Profit: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="|K4ymCMY8D%B0Pqg?9ad"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="IuxXfH4y2;l}4;x^GXgv">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="Qq=J(YADm#qJRtdnM78y">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="W{-s|:=aTg]?pW@/|k~#"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="~h}JcSkFo$2+DvY7Z(i1">
                        <field name="VAR">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id=";?v.`3czHAz0=p.kKdO$"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="{#=T-jZoV^~Hg2fDop#P">
                    <value name="TEXT">
                      <shadow type="text" id="kqlrIk.GO.^}hI,PoUV)">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="LlYXC#rV|?[e@:Hp=,j=">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="e{xh9Rs1RU:W_h6hSy/1">
                            <field name="TEXT">Total profit: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="TPWF3d]yS|:~*^VVyv]X"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>
