﻿<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
  <block type="loader" id="98;09?]-S,f5leh)GvLk" collapsed="true" x="0" y="0">
    <field name="URL">https://gist.githubusercontent.com/binary-ex-machina/6582799c6bd82e7e8b3f7ef59aa24e9a/raw/80570c924505db7899bed427895f3f1940ba797a/macdcrossfree.xml</field>
  </block>
  <block type="trade" id="xgH69|xFn9=70w.*3Vo@" x="0" y="52">
    <field name="MARKET_LIST">forex</field>
    <field name="SUBMARKET_LIST">major_pairs</field>
    <field name="SYMBOL_LIST">frxEURUSD</field>
    <field name="TRADETYPECAT_LIST">callput</field>
    <field name="TRADETYPE_LIST">risefall</field>
    <field name="TYPE_LIST">both</field>
    <field name="CANDLEINTERVAL_LIST">180</field>
    <field name="TIME_MACHINE_ENABLED">FALSE</field>
    <field name="RESTARTONERROR">TRUE</field>
    <statement name="INITIALIZATION">
      <block type="variables_set" id="{o3-cBzm51Fy}gYa(sh]">
        <field name="VAR">stake</field>
        <value name="VALUE">
          <block type="math_number" id="OMSOGv{76kX~T;3NXGSq">
            <field name="NUM">0.35</field>
          </block>
        </value>
      </block>
    </statement>
    <statement name="SUBMARKET">
      <block type="tradeOptions" id="x=V33~4Lb|(sLv`J[:Eb">
        <field name="DURATIONTYPE_LIST">m</field>
        <field name="CURRENCY_LIST">USD</field>
        <value name="DURATION">
          <shadow type="math_number" id="O*@58sDc=!cOO}*b2vf9">
            <field name="NUM">3</field>
          </shadow>
        </value>
        <value name="AMOUNT">
          <shadow type="math_number" id="ml)25~7^q}3I9}vjf:%K">
            <field name="NUM">0.35</field>
          </shadow>
          <block type="variables_get" id="5|qWsiZg56tb?M/wOEQ@">
            <field name="VAR">stake</field>
          </block>
        </value>
      </block>
    </statement>
  </block>
  <block type="before_purchase" id="i-CIx.(Onm4?ihxzA}Y]" x="0" y="358">
    <statement name="BEFOREPURCHASE_STACK">
      <block type="controls_if" id="wr8z)aV5-Q$.pe8KHf3?">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="procedures_callreturn" id="(ohc~H3sPelerH*|jB{S">
            <mutation name="ExMachina::GoUp">
              <arg name="ExMachina:tickList"></arg>
            </mutation>
            <value name="ARG0">
              <block type="ohlc_values" id="]ZgiqxQr9?lX7gBi7UE+" inline="false">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="purchase" id="W6q#Z-I3q3d[d3-`S[dS">
            <field name="PURCHASE_LIST">CALL</field>
          </block>
        </statement>
        <value name="IF1">
          <block type="procedures_callreturn" id="(;*N4:KCf2^{e~nZz$$j">
            <mutation name="ExMachina::GoDown">
              <arg name="ExMachina:tickList"></arg>
            </mutation>
            <value name="ARG0">
              <block type="ohlc_values" id="|6oE|!lH4BmvQgCLh[/h" inline="false">
                <field name="OHLCFIELD_LIST">close</field>
                <field name="CANDLEINTERVAL_LIST">default</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="purchase" id="~fifYH)N2|g5Q-0o2wB.">
            <field name="PURCHASE_LIST">PUT</field>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="after_purchase" id="D^Jz1^n=2vtZku1vBN@;" x="0" y="640">
    <statement name="AFTERPURCHASE_STACK">
      <block type="variables_set" id="`*,xG@Z4Wk8qPN[w-uoN" collapsed="true">
        <field name="VAR">stake</field>
        <value name="VALUE">
          <block type="logic_ternary" id="2um,vDQr)*9%4.GbKn9B">
            <value name="IF">
              <block type="contract_check_result" id="!GV:.Cv$[5z9V.[mL.]]">
                <field name="CHECK_RESULT">win</field>
              </block>
            </value>
            <value name="THEN">
              <block type="math_number" id="G;1e_|${/$EsJ=Sg7uiw">
                <field name="NUM">0.35</field>
              </block>
            </value>
            <value name="ELSE">
              <block type="math_arithmetic" id="xQx_l!?.ZS:LL|t?;%qU">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="wNMQXNH0h93Jf!S`.grN">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="variables_get" id="nIwHR#E*8o#n;{%gzM2j">
                    <field name="VAR">stake</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="@.80o:b+O)Xl4%ZEv?!i">
                    <field name="NUM">2.125</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="trade_again" id="c)S|KjoQdXc8l#J@5z3P"></block>
        </next>
      </block>
    </statement>
  </block>
  <block type="block_holder" id="Wzyp69z)IFi61cfn5QjV" x="0" y="754">
    <statement name="USELESS_STACK">
      <block type="text_append" id="hGC78mQ:ayb|)0*X6UMa">
        <field name="VAR">Info</field>
        <value name="TEXT">
          <shadow type="text" id="0@;!l{hi{d}x;Q8oVHBm">
            <field name="TEXT"></field>
          </shadow>
          <block type="text_join" id="8-lI/C;Cw|0B=Fvi|b8.">
            <mutation items="14"></mutation>
            <value name="ADD0">
              <block type="text" id="8nyX%tLesRTc1bk7C4Uj">
                <field name="TEXT">Created by Binary Ex-Machina</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="text" id="sy0b5Irl^J/4=%mYM+`f">
                <field name="TEXT">This is the Free Version</field>
              </block>
            </value>
            <value name="ADD3">
              <block type="text" id="P)qmXkg%MK:b2|~P:G^D">
                <field name="TEXT">For more scripts access:</field>
              </block>
            </value>
            <value name="ADD4">
              <block type="text" id="~r!TEkvMSW6w_ZmS9;c.">
                <field name="TEXT">https://gumroad.com/binarybot</field>
              </block>
            </value>
            <value name="ADD6">
              <block type="text" id="4;@!9G[j2aaf[GC(u%wA">
                <field name="TEXT">Check my youtube channel</field>
              </block>
            </value>
            <value name="ADD7">
              <block type="text" id="AVKQIIEC8pqoty1I1SFA">
                <field name="TEXT">https://www.youtube.com/channel/UC8bp520Y09EdGwSQlMHIKmw</field>
              </block>
            </value>
            <value name="ADD9">
              <block type="text" id="d5ycoi!g/Qaq^/D7v+k;">
                <field name="TEXT">I'm doing account management, send an email:</field>
              </block>
            </value>
            <value name="ADD10">
              <block type="text" id="!Sio|jL2(YUBmh)R14u@">
                <field name="TEXT">[PROTECTED EMAIL]</field>
              </block>
            </value>
            <value name="ADD12">
              <block type="text" id="S1qY`,8XMzHP3)87G(z^">
                <field name="TEXT">How about a new bot every Friday?</field>
              </block>
            </value>
            <value name="ADD13">
              <block type="text" id="t[)Rb$D^-=Q#F40`+4VU">
                <field name="TEXT">https://gum.co/boteveryfriday</field>
              </block>
            </value>
          </block>
        </value>
      </block>
    </statement>
  </block>
</xml>
