User login

Languages

How To - EA Developer Express

Bookmark and Share

How To - EA Developer Express

Rules for an instant execution

combination of triggers and filters

Triggers

These events can be set as triggers. When triggers are met, filters are evaluated to decide if it is the right moment to open or close a position instantly.

triggers

Typical events for triggers include:

  • When EMA of a shorter period crosses over one of a longer period, open a long position instantly
  • When the width of bollinger bands (standard deviation) extends to over 30 pips, close all the positions.
  • When the price breaks the lowest of the latest 8 bars, open a short position instantly.

Sign Up for EA Developer Express

Filters

An order is executed only when filters are passed. Typical rules set as filters include:

  • A long position is opened only when SMA of a shorter period is above one of a longer period.
  • A position is opened only when the price is between the two bollinger bands (3 sigma).

Timing of an Instant Execution

エントリータイミング

  • Previous Bar Based
    A position is taken/closed right after the ticker moved to a new bar and the cross/break became sure. This option is recommended for strategies employing crosses of indicators and signals of Parabolic SAR.
  • Current Bar Based
    A position is taken/closed immediately after a cross or a break. Suitable for breakout strategies.

Sign Up for EA Developer Express

Other Settings

TrailingStop

StopLoss, TakeProfit

  • StopLoss [pips]
    Enter a value in pips to close positions when their unrealized loss reaches this level.
  • TakeProfit [pips]
    Enter a value in pips to close positions when their unrealized profit reaches this level.

Trailing Stop Function

  • TrailingStop [pips]
    Trailing Stop function continuously lifts up/down StopLoss level when the price is updated, to the new level TrailingStop pips above/below the price. It does not move StopLoss level to the new level when it is less favorable than the original level. TrailingStop function is enabled when TrailingStop is set above "1". This is an pending order. Make sure to consider the stop level of your broker.
  • TrailingStep [pips]
    Trailing Stop function is triggered when the price moves TrailingStep [pips].
    For example, if TrailingStep is set 5pips and TrailingStop 30pips, StopLoss level is lifted up/down everytime the difference between the price and the current StopLoss level reaches 35pips (= 5+30). Some brokers declines your order when this value is too small, such as 2- pips.
  • TrailingStartsAt [pips]
    Trailing Stop function works only if the unrealized profit is over TrailingStartsAt [pips] if this value is set above "1".

Movement of Trailing Stop

Click here to look at more features our EAs have.

Sign Up for EA Developer Express