﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <variables>
    <variable type="" id="w#}bew)9tqbll:a:Aaij">_Target_Profit_</variable>
    <variable type="" id="2:7g.KyU%DkC/Rc1+C^;">_Stop_Loss_</variable>
    <variable type="" id="Mb]rgNM-p9{!e@gYB8nk">_First_Stake_</variable>
    <variable type="" id="UTy1H@-2UodziQ{|$ZJo">_Martingale_Factor_</variable>
    <variable type="" id="#RD%{prF/v)Qxxpx-i!5">_Martingale_Level_</variable>
    <variable type="" id="c_`9]/yirluCWN/MaBb}">put [Result is Win] here</variable>
    <variable type="" id="QJR@m/OPAVI+N`ZKe)}d">put [Contract Detail : profit] here</variable>
    <variable type="" id="!cT%iG:E(1Re?MHkLs:]">_Input List</variable>
    <variable type="" id="P-5g;4/tgVPd{55:l3k.">_Period</variable>
    <variable type="" id="PZ)AG#X_e0atXX36MN,8">profit</variable>
    <variable type="" id="^Y]CJu)b9aQl7UTrS}-I">Continue</variable>
    <variable type="" id="x1z4c5Sx1{qR`%gt(WP1">_stake</variable>
    <variable type="" id="!zDDgWo/rwA4LrAhs)3r">tsSMA</variable>
    <variable type="" id="oz#iTniS^|B5tqVl03VN">tsUP</variable>
    <variable type="" id=".0dlsm!.)SoY$km/1+do">tsDOWN</variable>
    <variable type="" id="~3+1wBK6h|~_pQZ1iy.z">FirstStake</variable>
    <variable type="" id=",~y}Tl+D=Sh[gK-%1pvM">TargetProfit</variable>
    <variable type="" id="u]{QUD!?E8}t3B=Q6$-]">win_count</variable>
    <variable type="" id="UZgL%-[sjppTN+|{OM_^">loss_count</variable>
    <variable type="" id="/=gqb(jrF^{W3sQDk,mp">tsPrevSMA</variable>
    <variable type="" id="FhCgk^g1AMe@0?;#|bZ.">Stoploss</variable>
    <variable type="" id="~Za.EAV?vb==Kcivd%6s">tsEachSMA</variable>
    <variable type="" id="_Gom/33E[[5Z2xlI`m(`">MartiLossLevel</variable>
    <variable type="" id=".`Jf,RtH4w}JSJod/1H#">MartiFactor</variable>
    <variable type="" id="x~D=1b[*i9tak=irEuRn">loss_level</variable>
  </variables>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="0">
    <field name="MARKET_LIST">synthetic_index</field>
    <field name="SUBMARKET_LIST">random_index</field>
    <field name="SYMBOL_LIST">R_10</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="procedures_callnoreturn" id="M*/beEZ:=ewM{HSy]G|I">
        <mutation name="(1) FRUITFELLA's Management">
          <arg name="_Target_Profit_"></arg>
          <arg name="_Stop_Loss_"></arg>
          <arg name="_First_Stake_"></arg>
          <arg name="_Martingale_Factor_"></arg>
          <arg name="_Martingale_Level_"></arg>
        </mutation>
        <value name="ARG0">
          <block type="math_number" id=",Q|MVs$N}5r@g0J(/EeP">
            <field name="NUM">1</field>
          </block>
        </value>
        <value name="ARG1">
          <block type="math_number" id="Gc_/ga5/*7:q#im%:g@)">
            <field name="NUM">10</field>
          </block>
        </value>
        <value name="ARG2">
          <block type="math_number" id="8iJeK89h9C6X$b*rgk6B">
            <field name="NUM">0.35</field>
          </block>
        </value>
        <value name="ARG3">
          <block type="math_number" id="B4%%]j.QMj9RpcC`IwCi">
            <field name="NUM">1.1</field>
          </block>
        </value>
        <value name="ARG4">
          <block type="math_number" id="8nX~BCF~6%wHGE-~{/z9">
            <field name="NUM">7</field>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <field name="BARRIEROFFSETTYPE_LIST">+</field>
        <field name="SECONDBARRIEROFFSETTYPE_LIST">-</field>
        <value name="DURATION">
          <shadow type="math_number" id="Mmx[CoGOGo7w10!yEoS,">
            <field name="NUM">1</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">1</field>
          </shadow>
          <block type="procedures_callreturn" id="t0)`ZHpv4TlR_`D~V(1U">
            <mutation name="FRUITFELLA's stake"></mutation>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="549">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="X}lB~l4,@8pJhrfmXqqW">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="procedures_callreturn" id="{W@kjQ0ZT-hd(9tg@Cc[">
            <mutation name="trend is up"></mutation>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="59{7^bH!nG^-SX)6FV9/">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="k}]a6fLzVT9e!jl7g3:q">
                <field name="TEXT">Tren Sedang naik open posisi Call...!!!</field>
              </shadow>
            </value>
            <next>
              <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
                <field name="PURCHASE_LIST">CALL</field>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block type="procedures_callreturn" id="bfUCLla}o7!|Pjw$V{46">
            <mutation name="trend is down"></mutation>
          </block>
        </value>
        <statement name="DO1">
          <block type="notify" id="c2?:W?sG)ILc#7m=.RS_">
            <field name="NOTIFICATION_TYPE">error</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <shadow type="text" id="yw7ZhtR7iRp4JW+Q$aOv">
                <field name="TEXT">Tren Sedang turun open posisi Put...!!!</field>
              </shadow>
            </value>
            <next>
              <block type="purchase" id="0tpK.iHT!A-l]@lU?V^A">
                <field name="PURCHASE_LIST">PUT</field>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="827">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="n|xv22$hEq.h/`oC9d*;">
        <value name="IF0">
          <block type="procedures_callreturn" id="b3H,ObP-N^@OfaA**[:V">
            <mutation name="(4) FRUITFELLA Trade again">
              <arg name="put [Result is Win] here"></arg>
              <arg name="put [Contract Detail : profit] here"></arg>
            </mutation>
            <value name="ARG0">
              <block type="contract_check_result" id=":7e)_pONw2_}X/r13lb(">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="read_details" id="n1~DX|APOO_Na+-RBRyn">
                <field name="DETAIL_INDEX">4</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="tick_analysis" id="n.wjsOc}0=5]Z?.T2?Jw" x="0" y="1037">
    <statement name="TICKANALYSIS_STACK">
      <block type="procedures_callnoreturn" id="E_`^kq@@^kL$H|nMtFL^">
        <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="$ZG?LW.nxaQkEL4D(@(4">
            <field name="OHLCFIELD_LIST">close</field>
            <field name="CANDLEINTERVAL_LIST">default</field>
          </block>
        </value>
        <value name="ARG1">
          <block type="math_number" id=".P,sH+!JvfN(,yjtJ$QP">
            <field name="NUM">14</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="procedures_defreturn" id="e_)Y1VUG^rh/`U,=QkZS" collapsed="true" x="0" y="1195">
    <field name="NAME">FRUITFELLA's stake</field>
    <comment pinned="false" h="80" w="160">FRUITFELLA's Management ver. 2.1</comment>
    <value name="RETURN">
      <block type="variables_get" id="34Z3O=w8Bfue%Isf=:h8">
        <field name="VAR" id="x1z4c5Sx1{qR`%gt(WP1" variabletype="">_stake</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="=78^x1,M_K`EPoWP8B#4" collapsed="true" x="0" y="1248">
    <mutation>
      <arg name="put [Result is Win] here" varid="c_`9]/yirluCWN/MaBb}"></arg>
      <arg name="put [Contract Detail : profit] here" varid="QJR@m/OPAVI+N`ZKe)}d"></arg>
    </mutation>
    <field name="NAME">(4) FRUITFELLA Trade again</field>
    <comment pinned="false" h="80" w="160">FRUITFELLA's Management ver. 2.1</comment>
    <statement name="STACK">
      <block type="math_change" id="5mMvn7#-6MC#=J5k3?PV" collapsed="true">
        <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
        <value name="DELTA">
          <shadow type="math_number" id="!`~mJ[ITS6N=uY[f!Jo%">
            <field name="NUM">1</field>
          </shadow>
          <block type="variables_get" id=".j]ZF3LWu9*=.nIi9(Gp">
            <field name="VAR" id="QJR@m/OPAVI+N`ZKe)}d" variabletype="">put [Contract Detail : profit] here</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="Ntd8/neg-yW_~sW%z8Jm" collapsed="true">
            <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="OonVVD66.u7{{wXOy]D)">
                <field name="OP">DIVIDE</field>
                <value name="A">
                  <shadow type="math_number" id="BJLl,k}i_-.}(X^0Rt%[">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_round" id="F4bqA@k.0Pxp]j99~T|@">
                    <field name="OP">ROUND</field>
                    <value name="NUM">
                      <shadow type="math_number" id="enW;6`Y#VQ8j3,1ir3KU">
                        <field name="NUM">3.1</field>
                      </shadow>
                      <block type="math_arithmetic" id="Su++(AeXbX,`P::$9IIG">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="}kZ5|+fH9G83t.$we7~]">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="^][hS|MfVLhwa~_,U~fK">
                            <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id=".H#}U`Qa_N#b^$I9(Vh2">
                            <field name="NUM">100</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="ytnd8Z:12vFa*j,jpfx`">
                    <field name="NUM">100</field>
                  </shadow>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="2haL5s765kSl{T~T5Z^k">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="variables_get" id="j0Q0xvW7M*PhQfuf|p-$">
                    <field name="VAR" id="c_`9]/yirluCWN/MaBb}" variabletype="">put [Result is Win] here</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="math_change" id="B_t!T1WWGTt2L#=XAq$4">
                    <field name="VAR" id="u]{QUD!?E8}t3B=Q6$-]" variabletype="">win_count</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="1~)C)c$Zi*p]5Jddfgq_">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="variables_set" id="aPRpWycsb.n=U#B:fTZD">
                        <field name="VAR" id="UZgL%-[sjppTN+|{OM_^" variabletype="">loss_count</field>
                        <value name="VALUE">
                          <block type="math_number" id="wo=CHjiCccmpWlCo@aA[">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="LC75k*LDcS-{XNrO$Vgg">
                            <field name="VAR" id="x1z4c5Sx1{qR`%gt(WP1" variabletype="">_stake</field>
                            <value name="VALUE">
                              <block type="variables_get" id="4Yg%mKmDs{,~WL~;oa%e">
                                <field name="VAR" id="~3+1wBK6h|~_pQZ1iy.z" variabletype="">FirstStake</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="math_change" id="(6=+$/+DEbysDWc])WBD">
                    <field name="VAR" id="UZgL%-[sjppTN+|{OM_^" variabletype="">loss_count</field>
                    <value name="DELTA">
                      <shadow type="math_number" id="[W_X?#)Dv,gm)Ff#:8T8">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="variables_set" id="V*^dRX_0}whp$+CPNq{x">
                        <field name="VAR" id="u]{QUD!?E8}t3B=Q6$-]" variabletype="">win_count</field>
                        <value name="VALUE">
                          <block type="math_number" id="8M!%N2:W2r1cS=tvBqxM">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="-2K^5T@7olg3M6J%I4$B">
                            <value name="IF0">
                              <block type="logic_compare" id="ChDetwZuo;cU6yL{-B{A">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id=".Y*ozIy;+ADs#R8Coh6G">
                                    <field name="VAR" id="UZgL%-[sjppTN+|{OM_^" variabletype="">loss_count</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="variables_get" id="CL]-YIRi^FOdkf{MohQ|">
                                    <field name="VAR" id="x~D=1b[*i9tak=irEuRn" variabletype="">loss_level</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="1@C;LXDelk94-)4~K`n=">
                                <field name="VAR" id="x~D=1b[*i9tak=irEuRn" variabletype="">loss_level</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="Ea|:QN:u+Rt[V_J6|1G+">
                                    <field name="VAR" id="UZgL%-[sjppTN+|{OM_^" variabletype="">loss_count</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="?*0^p~(7r2d3-T7z81hI">
                                <value name="IF0">
                                  <block type="logic_compare" id=")y{t.fO)Lb.Zcrs5V4kc">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="variables_get" id="xSlsjibK)miodTkmM%GI">
                                        <field name="VAR" id="_Gom/33E[[5Z2xlI`m(`" variabletype="">MartiLossLevel</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="+{rz6u4h%JKj:-4yvC+#">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="Xod]f!9?Cp7s`^TCco:[">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="3,rl=}wztcTxR`uL/^v*">
                                        <field name="OP">LTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="C1`8WB-bd[X1Ih%.BVH=">
                                            <field name="VAR" id="UZgL%-[sjppTN+|{OM_^" variabletype="">loss_count</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="YCU-oD11NiMjpns6K|J_">
                                            <field name="VAR" id="_Gom/33E[[5Z2xlI`m(`" variabletype="">MartiLossLevel</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="math_change" id=")x3(])A|!w=FlJ}Z*aKI">
                                        <field name="VAR" id="x1z4c5Sx1{qR`%gt(WP1" variabletype="">_stake</field>
                                        <value name="DELTA">
                                          <shadow type="math_number" id="iOY0jJ`9*c:I2Hd:QJ_Y">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="math_arithmetic" id="K/wo]$5[Ba#a7evooV~F">
                                            <field name="OP">MULTIPLY</field>
                                            <value name="A">
                                              <shadow type="math_number" id="}P^(EoAZ-YU-MS4SDvmg">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="0%H*qOjo3?RAmRO$2U/-">
                                                <field name="VAR" id="x1z4c5Sx1{qR`%gt(WP1" variabletype="">_stake</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="/LcPg[ufeL@.EuFQjyeY">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="4GqI7Qc3mqsKGEJKSnT3">
                                                <field name="VAR" id=".`Jf,RtH4w}JSJod/1H#" variabletype="">MartiFactor</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="notify" id="#5H3/1qD}yohz+9b*G+6">
                                        <field name="NOTIFICATION_TYPE">info</field>
                                        <field name="NOTIFICATION_SOUND">silent</field>
                                        <value name="MESSAGE">
                                          <block type="text" id="y8VYir#xh^o24B^w@-%r">
                                            <field name="TEXT">[FM] Martingale reset</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="hg/UOO#$+B8Il2Lz:Nv}">
                                            <field name="VAR" id="x1z4c5Sx1{qR`%gt(WP1" variabletype="">_stake</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="ubl$r:9]5M{I8+vX;PP/">
                                                <field name="VAR" id="~3+1wBK6h|~_pQZ1iy.z" variabletype="">FirstStake</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="variables_set" id="Ii~,V*I}==%{VbzSUcNW">
                    <field name="VAR" id="^Y]CJu)b9aQl7UTrS}-I" variabletype="">Continue</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="IJrFVDwIh9*V/-*GcP3$">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="controls_if" id="?t=R4#bB1Ph_eG%)U{Zq">
                        <mutation elseif="1" else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="n(-qX6sIpX~Fo[1%T`a]">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="variables_get" id="pRRkIZW;yZXTP,Ec2#%7">
                                <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id=".J0l4%b9|`DFbsS4y+@b">
                                <field name="VAR" id=",~y}Tl+D=Sh[gK-%1pvM" variabletype="">TargetProfit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="text_print" id="fQK[F8W}8)x=k0Y$nDnR" collapsed="true">
                            <value name="TEXT">
                              <shadow type="text" id="dJ4OA.-2N8i,6Qy7r!J|">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="Whtg8.!W#_q;bm-PSDK(">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id=")|MP_xd~9oo!y10?cM;O">
                                    <field name="TEXT">Take profit $</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="tp=nlW)P|8TI#JCR-R`Z">
                                    <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_compare" id="wqaUuu5;d0qWr@A9R8Uv">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="variables_get" id="iJUy9eQ?_qq:Fx#e:!;)">
                                <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="variables_get" id="?=LuB)pGx9NhJuh30YA+">
                                <field name="VAR" id="FhCgk^g1AMe@0?;#|bZ." variabletype="">Stoploss</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="text_print" id="+fc,,fh/fwUH3nhoFc3f" collapsed="true">
                            <value name="TEXT">
                              <shadow type="text" id="dJ4OA.-2N8i,6Qy7r!J|">
                                <field name="TEXT">abc</field>
                              </shadow>
                              <block type="text_join" id="]gq4NH~_PD.#^!q#_{UN">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="T~7).e8^W6THQjOa6c:v">
                                    <field name="TEXT">Stop loss (profit/loss) $</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="e~X%5c6eC?N6h}{GYA2o">
                                    <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="controls_if" id="g`8h+Pq;/Z=wuJIIBr`Z">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="Q}%H((m|!LOeIVHKxGbv">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id="V$I5(R=s}FQh708v+Vm#">
                                    <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="$W;*/?A}DM!.(x;-wpFE">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="notify" id="]7Cq=rQ1D00M},$ck5=;">
                                <field name="NOTIFICATION_TYPE">info</field>
                                <field name="NOTIFICATION_SOUND">silent</field>
                                <value name="MESSAGE">
                                  <block type="text_join" id="So,=5m|b]84g6aQ`jzah">
                                    <mutation items="6"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="Ww6Utk^Ce:2M^1:IbEYq">
                                        <field name="TEXT">[FM] Total profit $ </field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="-zUe!0X+$J)uWJg7w-Fc">
                                        <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="AykiDCv)3I@B@T1[%72H">
                                        <field name="TEXT"> || Loss Level </field>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="variables_get" id="o)0H;S#[wg93{d2Oyt`a">
                                        <field name="VAR" id="x~D=1b[*i9tak=irEuRn" variabletype="">loss_level</field>
                                      </block>
                                    </value>
                                    <value name="ADD4">
                                      <block type="text" id="uOMg$=nez]ny_|q291cf">
                                        <field name="TEXT"> || Loss Count </field>
                                      </block>
                                    </value>
                                    <value name="ADD5">
                                      <block type="variables_get" id=",vxW4bS}+Pk=q#:4bJhc">
                                        <field name="VAR" id="UZgL%-[sjppTN+|{OM_^" variabletype="">loss_count</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="notify" id="8QOsp0}TU)_%#dE?4He!">
                                <field name="NOTIFICATION_TYPE">warn</field>
                                <field name="NOTIFICATION_SOUND">silent</field>
                                <value name="MESSAGE">
                                  <block type="text_join" id="qT$K%aS5ajJ!R_9*Pu@W">
                                    <mutation items="6"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="Z`|]KLN43:/oO3eh43%/">
                                        <field name="TEXT">[FM] Total loss $ </field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="+mM$YQ14Eqxg$fuV$HnW">
                                        <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="r4HEB%/9Z}ZBe;MZz:9@">
                                        <field name="TEXT"> || Loss Level </field>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="variables_get" id="}NHi,USi=uX36o|@2wx~">
                                        <field name="VAR" id="x~D=1b[*i9tak=irEuRn" variabletype="">loss_level</field>
                                      </block>
                                    </value>
                                    <value name="ADD4">
                                      <block type="text" id="m0%7INb|.a(].N7R0l6$">
                                        <field name="TEXT"> || Loss Count </field>
                                      </block>
                                    </value>
                                    <value name="ADD5">
                                      <block type="variables_get" id="+!W,=dAVI[5O)X)`~m9j">
                                        <field name="VAR" id="UZgL%-[sjppTN+|{OM_^" variabletype="">loss_count</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="variables_set" id="o88-OoU#i@|Gn^I[1rf1">
                                <field name="VAR" id="^Y]CJu)b9aQl7UTrS}-I" variabletype="">Continue</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="exXi?*3Wu(`Gl$s6cDU[">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <value name="RETURN">
      <block type="variables_get" id="`QS.RAQ`zLWY(L^,u`~t">
        <field name="VAR" id="^Y]CJu)b9aQl7UTrS}-I" variabletype="">Continue</field>
      </block>
    </value>
  </block>
  <block type="procedures_defnoreturn" id="}a,@Z2+P7P;,a3rB*+Zc" collapsed="true" x="0" y="1301">
    <mutation>
      <arg name="_Target_Profit_" varid="w#}bew)9tqbll:a:Aaij"></arg>
      <arg name="_Stop_Loss_" varid="2:7g.KyU%DkC/Rc1+C^;"></arg>
      <arg name="_First_Stake_" varid="Mb]rgNM-p9{!e@gYB8nk"></arg>
      <arg name="_Martingale_Factor_" varid="UTy1H@-2UodziQ{|$ZJo"></arg>
      <arg name="_Martingale_Level_" varid="#RD%{prF/v)Qxxpx-i!5"></arg>
    </mutation>
    <field name="NAME">(1) FRUITFELLA's Management</field>
    <comment pinned="false" h="80" w="160">FRUITFELLA's Management ver. 2.1</comment>
    <statement name="STACK">
      <block type="notify" id="G7~wRrfg?9}gSh#czLzG" collapsed="true">
        <field name="NOTIFICATION_TYPE">info</field>
        <field name="NOTIFICATION_SOUND">silent</field>
        <value name="MESSAGE">
          <block type="text" id="3GWKvKtkV`vSfzxdrUt=">
            <field name="TEXT">FRUITFELLA's Martingale ver. 2.1</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="FK4u?paD9^I-!5Ai)Jjl" collapsed="true">
            <field name="VAR" id="~3+1wBK6h|~_pQZ1iy.z" variabletype="">FirstStake</field>
            <value name="VALUE">
              <block type="variables_get" id="?mfNzA`8peRWy,e~svE0">
                <field name="VAR" id="Mb]rgNM-p9{!e@gYB8nk" variabletype="">_First_Stake_</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="6?YL[uBR,$:+Z.j;Kti(" collapsed="true">
                <field name="VAR" id="x1z4c5Sx1{qR`%gt(WP1" variabletype="">_stake</field>
                <value name="VALUE">
                  <block type="variables_get" id="TR`xGTpoI16iZ/$}H/4z">
                    <field name="VAR" id="Mb]rgNM-p9{!e@gYB8nk" variabletype="">_First_Stake_</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="snPg/%U^oi}xnFjCE]IU" collapsed="true">
                    <field name="VAR" id=",~y}Tl+D=Sh[gK-%1pvM" variabletype="">TargetProfit</field>
                    <value name="VALUE">
                      <block type="variables_get" id="K1Woch)cO11X:{raUI]Y">
                        <field name="VAR" id="w#}bew)9tqbll:a:Aaij" variabletype="">_Target_Profit_</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="FH65,OQ3n?21Hv.c60QZ" collapsed="true">
                        <field name="VAR" id="FhCgk^g1AMe@0?;#|bZ." variabletype="">Stoploss</field>
                        <value name="VALUE">
                          <block type="math_single" id="~RqJiX@$dbDTn56tX~(!">
                            <field name="OP">NEG</field>
                            <value name="NUM">
                              <shadow type="math_number" id=":*O0u?1~mablmyFH9nQ^">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="math_single" id="Fc7b(_3%H~X(pjboD3g4">
                                <field name="OP">ABS</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="KJyX:Z7HpG+zVVn[[$5L">
                                    <field name="NUM">9</field>
                                  </shadow>
                                  <block type="variables_get" id="r7!OjfMm)T_)D++HZ*u0">
                                    <field name="VAR" id="2:7g.KyU%DkC/Rc1+C^;" variabletype="">_Stop_Loss_</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id=",Qt{5W:S090vgVGe@=^b" collapsed="true">
                            <field name="VAR" id="_Gom/33E[[5Z2xlI`m(`" variabletype="">MartiLossLevel</field>
                            <value name="VALUE">
                              <block type="variables_get" id="TJ$1?4QP1~b0Y)u8Er,?">
                                <field name="VAR" id="#RD%{prF/v)Qxxpx-i!5" variabletype="">_Martingale_Level_</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="F7E,GI03fZ-!.sSi8nvu" collapsed="true">
                                <field name="VAR" id=".`Jf,RtH4w}JSJod/1H#" variabletype="">MartiFactor</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="5QnPe]lP**xA=obEC:rR">
                                    <field name="VAR" id="UTy1H@-2UodziQ{|$ZJo" variabletype="">_Martingale_Factor_</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="MlN8XJW]z%Nn$vX!fwUC">
                                    <field name="VAR" id="PZ)AG#X_e0atXX36MN,8" variabletype="">profit</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="AXE:PR%~GtPn!J;zVdU4">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="/V`@3MI!XOl2iQu8)MRG">
                                        <field name="VAR" id="u]{QUD!?E8}t3B=Q6$-]" variabletype="">win_count</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="@uMNRq7*h6CpK{OL*`1;">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="*_wi!@b$%T/+ip`iQtD|">
                                            <field name="VAR" id="UZgL%-[sjppTN+|{OM_^" variabletype="">loss_count</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="@6~ol6rGo)hiSc:6#V1^">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="6hiRA01::q+6xm.mhYk}">
                                                <field name="VAR" id="x~D=1b[*i9tak=irEuRn" variabletype="">loss_level</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="cs!D-m]M+4^%Uv=SwMP%">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id=".Y]i*PI{vR;y,!GTWL~o" collapsed="true" x="0" y="1354">
    <mutation>
      <arg name="_Input List" varid="!cT%iG:E(1Re?MHkLs:]"></arg>
      <arg name="_Period" varid="P-5g;4/tgVPd{55:l3k."></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" id="!zDDgWo/rwA4LrAhs)3r" variabletype="">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" id="!cT%iG:E(1Re?MHkLs:]" variabletype="">_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" id="P-5g;4/tgVPd{55:l3k." variabletype="">_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" id="P-5g;4/tgVPd{55:l3k." variabletype="">_Period</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="variables_set" id="ya{SB(jt)[nQylUz?g,i">
            <field name="VAR" id="oz#iTniS^|B5tqVl03VN" variabletype="">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" id=".0dlsm!.)SoY$km/1+do" variabletype="">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" id="/=gqb(jrF^{W3sQDk,mp" variabletype="">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" id="!zDDgWo/rwA4LrAhs)3r" variabletype="">tsSMA</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="controls_forEach" id="@[yEmYG!/[|^]+D^YerX">
                        <field name="VAR" id="~Za.EAV?vb==Kcivd%6s" variabletype="">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" id="!zDDgWo/rwA4LrAhs)3r" variabletype="">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" id="oz#iTniS^|B5tqVl03VN" variabletype="">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" id="oz#iTniS^|B5tqVl03VN" variabletype="">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" id="/=gqb(jrF^{W3sQDk,mp" variabletype="">tsPrevSMA</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="3D`e3yhPS~]V;QG-Oq)5">
                                        <field name="VAR" id="~Za.EAV?vb==Kcivd%6s" variabletype="">tsEachSMA</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="YpGuhl2]JN{Iji[9ZE,F">
                                <field name="VAR" id=".0dlsm!.)SoY$km/1+do" variabletype="">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" id=".0dlsm!.)SoY$km/1+do" variabletype="">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" id="/=gqb(jrF^{W3sQDk,mp" variabletype="">tsPrevSMA</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="jeeZiOJO,9+v4Ww?@v=.">
                                            <field name="VAR" id="~Za.EAV?vb==Kcivd%6s" variabletype="">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="procedures_defreturn" id="MVzL%LrOGDf*K;-)DqHj" collapsed="true" x="0" y="1407">
    <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" id=".0dlsm!.)SoY$km/1+do" variabletype="">tsDOWN</field>
      </block>
    </value>
  </block>
  <block type="procedures_defreturn" id="z88B_Q5hZB{^|y]]/E$M" collapsed="true" x="0" y="1460">
    <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" id="oz#iTniS^|B5tqVl03VN" variabletype="">tsUP</field>
      </block>
    </value>
  </block>
</xml>
