<?xml version="1.0"?>
<strategy>
  <programName>Forex Strategy Builder</programName>
  <programVersion>2.12.0.0</programVersion>
  <strategyName>Bar_Range_EUR_USD_M15_Time_Filter</strategyName>
  <instrumentSymbol>EURUSD</instrumentSymbol>
  <instrumentPeriod>min15</instrumentPeriod>
  <sameDirSignalAction>Nothing</sameDirSignalAction>
  <oppDirSignalAction>Nothing</oppDirSignalAction>
  <permanentStopLoss usePermanentSL="False">20</permanentStopLoss>
  <permanentTakeProfit usePermanentTP="False">20</permanentTakeProfit>
  <maxOpenLots>2</maxOpenLots>
  <useAcountPercentEntry>False</useAcountPercentEntry>
  <entryLots>1</entryLots>
  <addingLots>1</addingLots>
  <reducingLots>1</reducingLots>
  <description>This is an "empty" strategy.

You can use it as a base to build your strategy from scratch. 

Feel free to experiment! 

You can set the opening and the closing point of the position, add opening or closing logic conditions, and adjust the strategy properties. 

The "Opening Point of the Position" slot shows the price, at which the strategy enters the market and adds/removes from an open position. We enter the market at a price level determined by an indicator value or by time ("Bar Opening" for example). However, before we open position we need confirmation from the "Opening Logic Condition" slots. 

The "Opening Logic Conditions" basically tell you whether to enter the market or not when the entry price has been reached. They also determine the position's direction (whether we enter short or long). There is no any "Opening Logic Condition" in this strategy and that leads to undetermined entry direction.   Because of that the program doesn’t open positions during the backtest. 

The "Closing Point of the Position" sets the exit price. If you set it at "Bar Closing", you can add "Closing Logic Conditions". They will block the exit until at least one of them is fulfilled. If you do not use "Closing Logic Conditions", the position will be closed when the "Closing Point" is reached. 

The Strategy Overview explains the strategy logic in an additional window and can be exported to a file. 

Look in the forum for help or more information on creating forex strategies. 

Remember! The strategy slots describe the long position logic only. Forex Strategy Builder will set the short position logic automatically using the same logic but in the opposite direction.
</description>
  <openFilters>2</openFilters>
  <closeFilters>1</closeFilters>
  <slot slotNumber="0" slotType="Open">
    <indicatorName>Price Move</indicatorName>
    <listParam paramNumber="0">
      <caption>Logic</caption>
      <index>0</index>
      <value>Enter long after an upward move</value>
    </listParam>
    <listParam paramNumber="1">
      <caption>Base price</caption>
      <index>3</index>
      <value>Close</value>
    </listParam>
    <numParam paramNumber="0">
      <caption>Price move</caption>
      <value>1</value>
    </numParam>
    <checkParam paramNumber="0">
      <caption>Use previous bar value</caption>
      <value>True</value>
    </checkParam>
  </slot>
  <slot slotNumber="1" slotType="OpenFilter">
    <indicatorName>Bar Range Bands</indicatorName>
    <listParam paramNumber="0">
      <caption>Direction</caption>
      <index>0</index>
      <value>Continuation Preference</value>
    </listParam>
    <listParam paramNumber="1">
      <caption>Basis</caption>
      <index>0</index>
      <value>Close</value>
    </listParam>
    <numParam paramNumber="0">
      <caption>Number of bars</caption>
      <value>2</value>
    </numParam>
    <numParam paramNumber="1">
      <caption>Vertical Shift</caption>
      <value>8</value>
    </numParam>
    <numParam paramNumber="2">
      <caption>Min Bar Range</caption>
      <value>15</value>
    </numParam>
    <checkParam paramNumber="0">
      <caption>Use previous bar value</caption>
      <value>True</value>
    </checkParam>
    <checkParam paramNumber="1">
      <caption>Shift as Percent</caption>
      <value>False</value>
    </checkParam>
  </slot>
  <slot slotNumber="2" slotType="OpenFilter">
    <indicatorName>Entry Time</indicatorName>
    <listParam paramNumber="0">
      <caption>Logic</caption>
      <index>0</index>
      <value>Enter the market between the specified hours</value>
    </listParam>
    <numParam paramNumber="0">
      <caption>From hour (incl.)</caption>
      <value>6</value>
    </numParam>
    <numParam paramNumber="1">
      <caption>From min (incl.)</caption>
      <value>0</value>
    </numParam>
    <numParam paramNumber="2">
      <caption>Until hour (excl.)</caption>
      <value>22</value>
    </numParam>
    <numParam paramNumber="3">
      <caption>Until min( excl.)</caption>
      <value>0</value>
    </numParam>
  </slot>
  <slot slotNumber="3" slotType="Close">
    <indicatorName>Bar Closing</indicatorName>
    <listParam paramNumber="0">
      <caption>Logic</caption>
      <index>0</index>
      <value>Exit the market at the end of the bar</value>
    </listParam>
    <listParam paramNumber="1">
      <caption>Base price</caption>
      <index>0</index>
      <value>Close</value>
    </listParam>
  </slot>
  <slot slotNumber="4" slotType="CloseFilter">
    <indicatorName>Moving Averages Crossover</indicatorName>
    <listParam paramNumber="0">
      <caption>Logic</caption>
      <index>1</index>
      <value>The Fast MA crosses the Slow MA downward</value>
    </listParam>
    <listParam paramNumber="1">
      <caption>Base price</caption>
      <index>3</index>
      <value>Close</value>
    </listParam>
    <listParam paramNumber="3">
      <caption>Fast MA method</caption>
      <index>0</index>
      <value>Simple</value>
    </listParam>
    <listParam paramNumber="4">
      <caption>Slow MA method</caption>
      <index>0</index>
      <value>Simple</value>
    </listParam>
    <numParam paramNumber="0">
      <caption>Fast MA period</caption>
      <value>1</value>
    </numParam>
    <numParam paramNumber="1">
      <caption>Slow MA period</caption>
      <value>2</value>
    </numParam>
    <numParam paramNumber="2">
      <caption>Fast MA shift</caption>
      <value>0</value>
    </numParam>
    <numParam paramNumber="3">
      <caption>Slow MA shift</caption>
      <value>0</value>
    </numParam>
    <checkParam paramNumber="0">
      <caption>Use previous bar value</caption>
      <value>False</value>
    </checkParam>
  </slot>
</strategy>