﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="trade" id="trade" x="0" y="0">
    <field name="MARKET_LIST">forex</field>
    <field name="SUBMARKET_LIST">major_pairs</field>
    <field name="SYMBOL_LIST">frxEURJPY</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">60</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="+A)~k9b-b}h/X0I?GMvY">
        <field name="VAR">Next Trade Condition</field>
        <value name="VALUE">
          <block type="text" id="J=Gbg,4]j[9C!H_/zR0u">
            <field name="TEXT">Even</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="p4B^7$~0mO]d12RLJ/Q%">
            <field name="VAR">Max Acceptable Loss</field>
            <value name="VALUE">
              <block type="math_number" id="8wWJ7+N-|U3BhmGj`Cd0">
                <field name="NUM">18</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="yh;iwfgxq6/VWW9gIV%.">
                <field name="VAR">Expected Profit</field>
                <value name="VALUE">
                  <block type="math_number" id="J#z;a7:.[fewk^Q*klT*">
                    <field name="NUM">1.5</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id=".J5RE|^F6BQL]n0:A)9j">
                    <field name="VAR">Win Amount</field>
                    <value name="VALUE">
                      <block type="math_number" id="AJ:.kvYm*t{7#fXq0%gR">
                        <field name="NUM">0.5</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="Ti5S97_j^l#q#;c7g;Mi">
                        <field name="VAR">Initial Amount</field>
                        <value name="VALUE">
                          <block type="math_number" id="p{myer39j9ZRj-B-_fKm">
                            <field name="NUM">0.5</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="CeHC[7U6;y5eS%/EJ3Ix">
        <field name="DURATIONTYPE_LIST">t</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <block type="math_number" id="[0?XZ[+#_aQxGgU9}E:b">
            <field name="NUM">7</field>
          </block>
        </value>
        <value name="AMOUNT">
          <block type="variables_get" id="uwlRl)V$5[#wo;eha77|">
            <field name="VAR">Initial Amount</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="during_purchase" id="(4;NieXd}j|Bn!c-YiC|" x="0" y="410">
    <statement name="DURING_PURCHASE_STACK">
      <block type="controls_if" id="8?eYKAW%VczmRXQ-ou3r">
        <value name="IF0">
          <block type="check_sell" id="M=:_KpEeRAJY_}XTU^8~"></block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="strategy" x="0" y="535">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="variables_set" id="*uB]Q|nFNF+Fl%J1IoHh">
        <field name="VAR">RSI</field>
        <value name="VALUE">
          <block type="rsi" id="Oa]Jf72)=EqGVb4EQ+w{">
            <value name="INPUT">
              <block type="ohlc_values" id="exvE}]0c%G]BJM[[[.bv">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
            <value name="PERIOD">
              <block type="math_number" id="HvD7/0[!,5g~OI;4|m[D">
                <field name="NUM">14</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="notify" id="``8ZknkdrG03z$^goci_">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">silent</field>
            <value name="MESSAGE">
              <block type="text_join" id="/28UpDpYX`fFPls-a);7">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="B%TD]]+EAq:!`C|iu}ua">
                    <field name="TEXT">GOING TO RSI: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="T%5l8JixJ~9i]}Df-1nL">
                    <field name="VAR">RSI</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="X!)??Il,+{4ayMHSbiFD">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="#QoENBi]~FGVy?8IoOpw">
                    <field name="OP">GTE</field>
                    <value name="A">
                      <block type="variables_get" id="bknTR0Q}mjD,UsL}Cb+K">
                        <field name="VAR">RSI</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="_?Sv`-QJd+(#|(t/uQ@N">
                        <field name="NUM">64</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="purchase" id="xrZ;STRFNJ1Y-MXbye*=">
                    <field name="PURCHASE_LIST">PUT</field>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="controls_if" id="/Zzo`!`FCNUM])1_rv|u">
                    <value name="IF0">
                      <block type="logic_compare" id="^Tvvp*1}Mwiq4*LIeL[2">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="variables_get" id="A!s6F?{t);vY3.b,]*8`">
                            <field name="VAR">RSI</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="`Km=SsS#^$A[6!o?xAKQ">
                            <field name="NUM">41</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="purchase" id="dFmsGtA{oS)/z99$.N`)">
                        <field name="PURCHASE_LIST">CALL</field>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="Vt,CkLeK8E?%BmnB`~M)" x="0" y="892">
    <statement name="AFTERPURCHASE_STACK">
      <block type="controls_if" id="lXx[u)])DplI5tNJCX#E">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="contract_check_result" id="f`.9rMI;|4i^FZ9y12zT">
            <field name="CHECK_RESULT">win</field>
          </block>
        </value>
        <statement name="DO0">
          <block type="notify" id="4YfK{W[2OoWl^*}:`-~%">
            <field name="NOTIFICATION_TYPE">success</field>
            <field name="NOTIFICATION_SOUND">earned-money</field>
            <value name="MESSAGE">
              <block type="text_join" id="NI6_z2cNjwq/t2B^h`{=">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="5%$!H}8?@4$/?s+Piv_+">
                    <field name="TEXT">YOU WON: $</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="read_details" id="rm)(g3DL.ASYfcDYc913">
                    <field name="DETAIL_INDEX">4</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="RHjB4R=uQ`(l+$;WvdmJ">
                <field name="VAR">Initial Amount</field>
                <value name="VALUE">
                  <block type="variables_get" id="@f`s#/,Qh+L1siQ%@LZu">
                    <field name="VAR">Win Amount</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="notify" id="=%CD;.rm0YSeX3^NARv{">
            <field name="NOTIFICATION_TYPE">warn</field>
            <field name="NOTIFICATION_SOUND">severe-error</field>
            <value name="MESSAGE">
              <block type="text_join" id="`~I~AJSjE5P*6+$e,}D8">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="CrG9@.tREViPIC`9}[=i">
                    <field name="TEXT">YOU LOSS: $</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="math_single" id="/`zYL^gVI%L@+nDS]?PO">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="=JyMDx9{tJlZU@XpW9~K">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="read_details" id="[:48l.owbE2cBTmqoyO1">
                        <field name="DETAIL_INDEX">4</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="math_change" id="fZr!9v0GJno]2?#^f:],">
                <field name="VAR">Initial Amount</field>
                <value name="DELTA">
                  <shadow type="math_number" id="(]GS)V@8Ctdg3v2E@jlY">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="math_single" id="JQvUqn`x/`rM%uqqd,sk">
                    <field name="OP">ABS</field>
                    <value name="NUM">
                      <shadow type="math_number" id="7@SQZ~WtnAz*C$]k?bFA">
                        <field name="NUM">9</field>
                      </shadow>
                      <block type="math_arithmetic" id="NVatCZSB}]C9h{hR=TB4">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number" id="e*O~T7hbBa6K%S]e(piZ">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="hfOy@;abK4#6!|u$E4nC">
                            <field name="VAR">Initial Amount</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="~+Xs9r(31D)#*O$`ViT/">
                            <field name="NUM">1.5</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="notify" id="+22zCiPYK`7t/0,(j^hu">
            <field name="NOTIFICATION_TYPE">info</field>
            <field name="NOTIFICATION_SOUND">earned-money</field>
            <value name="MESSAGE">
              <block type="text_join" id="13ZNjx,;FBn{xq;;T~L4">
                <mutation items="2"></mutation>
                <value name="ADD0">
                  <block type="text" id="I(n.3v{gwNKj!b4UK-TV">
                    <field name="TEXT">RSI TOTAL PROFIT / LOSS: $</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="total_profit" id="?=%:cTu{h@KWwZoev4|t"></block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="(#7D~2Va0l51${Pu!yW;">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="Qtsk$6Qd[X~o1wD~hfOt">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="total_profit" id="5]xuiqe3-INE?#f@Y=fu"></block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="_9Hf(nmF~1H_+_d`Hazz">
                        <field name="VAR">Expected Profit</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="trade_again" id="wNl0%!;$H`R-Dm=ZV7p:"></block>
                </statement>
                <statement name="ELSE">
                  <block type="text_print" id="-)Qjpn/c$W_)gB%MdIir">
                    <value name="TEXT">
                      <shadow type="text" id="]XR@@VL{)*ZI)WlTipd_">
                        <field name="TEXT">abc</field>
                      </shadow>
                      <block type="text_join" id="t;s[5Z2J?n5$VabcYdow">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="H$7i.%r.PFeQh_Soc[||">
                            <field name="TEXT">THANKYOU RSI JOB DONE TOTAL PROFIT : $ </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="total_profit" id="cgi0g($gg7bzWm^};+`4"></block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>