forex software

Create and Test Forex Strategies

forex software

strategies:demo-04-one-or-two-entry-prices

Demo 04 One or Two Entry Prices

Demo 04 One or Two Entry Prices

Author's Description

This strategy is for demonstrational purposes only and real-time trading is not advised.

The strategies used by Forex Strategy Trader to enter the market are symmetrical for long and short positions. In order to save time only the long entry logical rules can be set by the users and the short entry conditions are automatically calculated by the software simply using the opposite logic. To clarify this we’ll look at a couple of examples:

The “Opening Point of the Position” field specifies the price at which we are allowed to enter the market. Depending on what price we use the short logic price might be the same or different (opposite) to the one selected.

The following indicators used as entry point will have the same price for long and short position: Bar Closing, Bar Opening, Day Opening, Entry Hour, Ichimoku Kinko Hyo, Moving Average… Since these indicators set one and the same price for long or short positions, they cannot determine the direction of the trade and therefore we’ll need to set at least one logical condition to clarify the direction of our entry.

The following indicators used as entry price have different price for long and short entry: Bollinger Bands, Donchian Channel, Envelopes, Fractal, Heiken Ashi, Keltner Channel, Ross Hook… When using these indicators we’ll set only the long entry rules and the software will calculate the short rules automatically.

Let’s look at some examples:

Bollinger Bands – Enter long at the Upper Band
We’ll enter the market long when the price reaches the upper band (and short at the lower band even if that is not specified in the strategy slot – the program will automatically calculate the opposite logic);

Donchian Channel - Enter long at the Lower Band
We’ll enter the market long at the lower band and short at the upper band.

If we use indicators that have different prices for short and long entry than they also can determine the direction on their own (no additional logical rules required). So we’ll enter long when the price reaches the long entry point and we’ll enter short when the price reaches the short entry point (of course we’ll enter the market only if all the other entry conditions are satisfied).

In this particular sample strategy the Price Move indicator (“Open” price used as base) is set to 20 for entering long. That means that if the price moves 20 pips upwards after the bar has opened then we’ll enter long.

And what the program automatically assumes is that we’ll want to enter short if the price moves 20 pips downwards after the bar has opened.

Generated Description

Opening (Entry Signal)

Open a new long position 20 pips above the bar open price.

Open a new short position 20 pips below the bar open price.

Closing (Exit Signal)

Close an existing long position at the end of the bar.

Close an existing short position at the end of the bar.

Handling of Additional Entry Signals

Entry signal in the direction of the present position:

  • No averaging is allowed. Cancel any additional orders which are in the same direction.

Entry signal in the opposite direction:

  • No modification of the present position is allowed. Cancel any additional orders which are in the opposite direction.

Trading Size

Always trade a constant number of lots.

  • Opening of a new position - 1 lot.

Permanent Protection

The strategy doesn't use a Permanent Stop Loss.

The strategy doesn't use a Permanent Take Profit.


* Use the indicator value from the previous bar for all asterisk-marked indicators!