﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="true">
  <block type="procedures_defnoreturn" id="}a,@Z2+P7P;,a3rB*+Zc" collapsed="true">
    <mutation>
      <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>
    <field name="NAME">FRUITFELLA's Management (1)</field>
    <comment pinned="false" h="80" w="160">FM ver. 1.0 by Fruitfella</comment>
    <statement name="STACK">
      <block type="notify" id="G7~wRrfg?9}gSh#czLzG" collapsed="true">
        <field name="NOTIFICATION_TYPE">info</field>
        <value name="MESSAGE">
          <block type="text" id="3GWKvKtkV`vSfzxdrUt=">
            <field name="TEXT">FM ver. 1.0 by Fruitfella</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="FK4u?paD9^I-!5Ai)Jjl" collapsed="true">
            <field name="VAR">FirstStake</field>
            <value name="VALUE">
              <block type="variables_get" id="?mfNzA`8peRWy,e~svE0">
                <field name="VAR">_First_Stake_</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="6?YL[uBR,$:+Z.j;Kti(" collapsed="true">
                <field name="VAR">_stake</field>
                <value name="VALUE">
                  <block type="variables_get" id="TR`xGTpoI16iZ/$}H/4z">
                    <field name="VAR">_First_Stake_</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="snPg/%U^oi}xnFjCE]IU" collapsed="true">
                    <field name="VAR">TargetProfit</field>
                    <value name="VALUE">
                      <block type="variables_get" id="K1Woch)cO11X:{raUI]Y">
                        <field name="VAR">_Target_Profit_</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="FH65,OQ3n?21Hv.c60QZ" collapsed="true">
                        <field name="VAR">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">_Stop_Loss_</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id=",Qt{5W:S090vgVGe@=^b" collapsed="true">
                            <field name="VAR">MartiLossLevel</field>
                            <value name="VALUE">
                              <block type="variables_get" id="TJ$1?4QP1~b0Y)u8Er,?">
                                <field name="VAR">_Martingale_Level_</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="F7E,GI03fZ-!.sSi8nvu" collapsed="true">
                                <field name="VAR">MartiFactor</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="5QnPe]lP**xA=obEC:rR">
                                    <field name="VAR">_Martingale_Factor_</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="MlN8XJW]z%Nn$vX!fwUC">
                                    <field name="VAR">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">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">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">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="c85!qEM!(Gf5!@TW{Shs" collapsed="true">
    <mutation>
      <arg name="put [Result is Win] here"></arg>
      <arg name="put [Contract Detail : profit] here"></arg>
    </mutation>
    <field name="NAME">FRUITFELLA's Management (4)</field>
    <comment pinned="false" h="80" w="160">FRUITFELLA's Management (4)</comment>
    <statement name="STACK">
      <block type="math_change" id="5mMvn7#-6MC#=J5k3?PV" collapsed="true">
        <field name="VAR">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">put [Contract Detail : profit] here</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="Ntd8/neg-yW_~sW%z8Jm" collapsed="true">
            <field name="VAR">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">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">put [Result is Win] here</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="notify" id="$xWq_gb;#vj^5^r6J(zb">
                    <field name="NOTIFICATION_TYPE">success</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="Q^NZ[vLctVa-#id(Xt#I">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="/wo],{y6GkGpZM{%Ueh-">
                            <field name="TEXT">Won $ </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="*,p0U|-o%C-t:]a5_2M]">
                            <field name="VAR">put [Contract Detail : profit] here</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="math_change" id="B_t!T1WWGTt2L#=XAq$4">
                        <field name="VAR">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">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">_stake</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="4Yg%mKmDs{,~WL~;oa%e">
                                    <field name="VAR">FirstStake</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="notify" id="?7af_B2?41(mz=c3)UdK">
                    <field name="NOTIFICATION_TYPE">error</field>
                    <value name="MESSAGE">
                      <block type="text_join" id="}V~C-S~}ao_EtGQava/V">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="F7w*Vh.;{b#pXl[Mo6dr">
                            <field name="TEXT">Lost $ </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="math_single" id=".MunG7nH^E$s,l8kD0Iy">
                            <field name="OP">ABS</field>
                            <value name="NUM">
                              <shadow type="math_number" id="xO6M6WGuJ].}w]5aDD77">
                                <field name="NUM">9</field>
                              </shadow>
                              <block type="variables_get" id="|TVRGP#fE+oEQV9CavJt">
                                <field name="VAR">put [Contract Detail : profit] here</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="math_change" id="(6=+$/+DEbysDWc])WBD">
                        <field name="VAR">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">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">loss_count</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="CL]-YIRi^FOdkf{MohQ|">
                                        <field name="VAR">loss_level</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="variables_set" id="1@C;LXDelk94-)4~K`n=">
                                    <field name="VAR">loss_level</field>
                                    <value name="VALUE">
                                      <block type="variables_get" id="Ea|:QN:u+Rt[V_J6|1G+">
                                        <field name="VAR">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">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">loss_count</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="variables_get" id="YCU-oD11NiMjpns6K|J_">
                                                <field name="VAR">MartiLossLevel</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="math_change" id=")x3(])A|!w=FlJ}Z*aKI">
                                            <field name="VAR">_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" collapsed="true">
                                                <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">FirstStake</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">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>
                                            <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">_stake</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="ubl$r:9]5M{I8+vX;PP/">
                                                    <field name="VAR">FirstStake</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <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">profit</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id=".J0l4%b9|`DFbsS4y+@b">
                            <field name="VAR">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">profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="Ii~,V*I}==%{VbzSUcNW">
                            <field name="VAR">[FM] Trade again</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="IJrFVDwIh9*V/-*GcP3$">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </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">profit</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="?=LuB)pGx9NhJuh30YA+">
                            <field name="VAR">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">profit</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="v@2,ptkI/p1)6wsI?y{1">
                            <field name="VAR">[FM] Trade again</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="*l4Zg=M/0iz4{x[*~[:o">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </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">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>
                            <value name="MESSAGE">
                              <block type="text_join" id="So,=5m|b]84g6aQ`jzah">
                                <mutation items="2"></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">profit</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="notify" id="8QOsp0}TU)_%#dE?4He!">
                            <field name="NOTIFICATION_TYPE">warn</field>
                            <value name="MESSAGE">
                              <block type="text_join" id="GlRf$dW21O#G(;%bl-cz">
                                <mutation items="2"></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="math_single" id="Hzvl%]Nvo~uT}bRmGJmG">
                                    <field name="OP">ABS</field>
                                    <value name="NUM">
                                      <shadow type="math_number" id="gc/k;H5Ds7Rwq9)0c_0s">
                                        <field name="NUM">9</field>
                                      </shadow>
                                      <block type="variables_get" id="I6st4=PUcB2y2.:.[c+G">
                                        <field name="VAR">profit</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="variables_set" id="o88-OoU#i@|Gn^I[1rf1">
                            <field name="VAR">[FM] Trade again</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>
    </statement>
  </block>
  <block type="procedures_defreturn" id="=78^x1,M_K`EPoWP8B#4" collapsed="true">
    <field name="NAME">Continue trade ?</field>
    <comment pinned="false" h="80" w="160">FRUITFELLA's Management (4)</comment>
    <value name="RETURN">
      <block type="variables_get" id="`QS.RAQ`zLWY(L^,u`~t">
        <field name="VAR">[FM] Trade again</field>
      </block>
    </value>
  </block>
</xml>