Forex strategies » MACD Reversal

Strategy Overview

Forex Strategy Builder v2.6.1.0
Strategy name: MACD reversal
Date: 09.5.2008 г. 14:13:02

Description

"MACD Reversal" strategy demonstrates the "Close and Reverse" technique.

This is a classic reversal strategy with additional stop-loss. It maintains a given position at almost 100% of the time.

The strategy raises a signal when the MACD line crosses the zero line, and that signal reverses the position at the next bar opening.

The "Close and Reverse" logic, set in the "Closing point of the position" slot, implements the reversal behaviour. It forces an opposite direction signal to close the present position and to open an opposite one.

Notice that the Opposite signal dropdown menu in the strategy properties dialog is locked to "Reverse" mode. The "Close and Reverse" logic makes this the only possible option.

The “Permanent Stop Loss” limits the loss to 200 pips. When the market reaches the stop level, the strategy closes the position without reversing it. That is the only situation when the strategy is out of the market.

The settings of the "Same direction signal behaviour" are not important here since every next raised signal can only be opposite (MACD cannot cross the zero line twice in the same direction).

Top

Logic

Opening (Entry Signal)

Open a new long position or reverse a short position at the beginning of the bar when the following logic condition is satisfied:

  • MACD* (Exponential, Close, Simple, 26, 12, 9); the MACD line crosses the zero line upward.

Open a new short position or reverse a long position at the beginning of the bar when the following logic condition is satisfied:

  • MACD* (Exponential, Close, Simple, 26, 12, 9); the MACD line crosses the zero line downward.

Closing (Exit Signal)

Close an existing long position and open a new short one, at the entry price, when a sell entry signal arises.

Close an existing short position and open a new long one, at the entry price, when a buy entry signal arises.

Additional entry** signals handling

Entry signal in the direction of the present position:

  • An averaging is not allowed. Cancel any additional order, which is in the same direction.

Entry signal in the opposite direction:

  • Close the existing position and open a new one in the opposite direction using the entry rules.

Trading Sizes

Trade always a constant number of lots.

  • Opening of a new position - 1 lot.
  • On reversing - open 1 lot in the opposite direction.

Protection

The Permanent Stop Loss limits the loss of a position to 200 pips per open lot (plus the charged spread and rollover).

--------------
* Use the indicator value from the previous bar for all indicators marked with asterisk!
** The averaging rules concern the entry signals only. Exit signals close a position. They are not allowed to open, add or reduce one.

Environment

Market
Symbol:EURUSD
Time frame:1 Day
Spread:4 pips(4,00 USD)
Swap Long:1 pip(1,00 USD)
Swap Short:-1 pip(-1,00 USD)
Slippage:0 pips(0,00 USD)
Lot size:10000,00 EUR
Leverage:1/100

Account
Initial account:10000,00 USD
Required margin:100,00 USD for each open lot

Top

Strategy Properties

Additional entry signals handling
A same direction signalDoes nothing
An opposite direction signalReverses the position

Trading size
Maximum open lots20
Entry lots1
Adding lots1
Reducing lots1

Permanent loss protection
Permanent Stop Loss -200

Top

Indicator Slots

The slots show logic for the long positions only. Forex Strategy Builder computes proper logic for the short positions automatically.

Opening point of the position
Bar Opening
Enter the market at the beginning of the bar
Base price - Open
Opening logic condition
MACD
The MACD line crosses the zero line upward
Smoothing method - Exponential
Base price - Close
Signal line method - Simple
Slow MA period - 26
Fast MA period - 12
Signal line period - 9
Use previous bar value - Yes
Closing point of the position
Close and Reverse
Close all positions and open a new one in the opposite direction

Top

Statistic Information

MarketAccount
SymbolEURUSDIntrabar scanningNot accomplished
Period1 DayInterpolation methodPessimistic scenario
Number of bars4877Ambiguous bars0
Date of updating18.04.08Tested bars4837
Time of updating00:00Initial account10000,00 USD
Date of beginning27.06.89Account balance13003,00 USD
Time of beginning00:00Minimum account10000,00 USD
Data refiningSwitched offMaximum account14529,00 USD
Minimum price0,8229Maximum drawdown1591,00 USD
Maximum price1,5981Gross profit18001,00 USD
Average Gap5 pipsGross loss14998,00 USD
Maximum Gap477 pipsSent orders4521
Average High-Low108 pipsExecuted orders181
Maximum High-Low607 pipsDealt lots257
Average Close-Open56 pipsWinning trades45
Maximum Close-Open441 pipsLosing trades83
Maximum days off5Win/loss ratio0,5421687
Maximum data bars20000Time in position91 %
No data older thanNo limitsCharged spread516,00 USD
No data newer thanNo limitsCharged rollover6103,00 USD
Charged slippage0,00 USD
Total charges6619,00 USD
Balance without charges19622,00 USD
Account exchange rate1,0000

Top