Professional Documents
Culture Documents
Basic idea is to open position as a reversal trend is detected. As soon as RSI divergence is detected, EA puts buy/sell stop order at the level, which the price should
reach to be sure the new trend starts
Note: EA does not draw orange/blue/green/red bars on its own. If you want to see the EFC pattern colorized you need to add EFC indicator to the same chart
2 Strategy parameters
2.1 Signals
Working timeframe. By default, EA uses current timeframe of the chart, but you can fix the timeframe to the value you want. In this case EA will be using
specified timeframe all the time, no matter which current period of the chart is chosen
RSI Period, RSI Applied price, Overbought level, Oversold level. These parameters are similar to EFC Indicator’s parameters
Minimal possible stop loss value, points. Sometimes the highest/lowest price of the pattern takes place too close to entry price. Let’s consider the example:
Here is clear, that distance between stop loss and entry price is too small. Even a tiny fluctuation of the price will stop out our position. Using “Minimal
possible stop loss value” parameter we can limit the shortest distance. The value of this parameter depends on instrument, time frame and style of trading and
must be set according to your preferences
Break even, pts (0-disabled). This is the value of break-even: when the stop loss must be moved to opened price. By default, this feature is disabled.
Take profit calculation mode #1; Risk:Reward (1:X); Take profit, points. These parameters declare the rules for profit calculation. There may be two methods to
calculate the profit
- Calculate using stop loss and risk:reward ratio. In this case take profit is calculated on the fly according to the stop loss and specified ratio (see
parameter “Risk:Reward (1:X)”). For example, if the stop loss if 100 points and the parameter “Risk:Reward (1:X)” is 3, then take profit will be 300
points
- Use explicitly set number of points. In this case take profit will be a constant value according to the parameter “Take profit, points”
Take profit calculation mode #2; Risk:Reward (1:X); Take profit, points. The strategy allows you to set 2 orders for each signal separately. Each order can use its
own take profit parameter. The rules of the second take profit are the same (see above)
Take profit level color; Stop loss level color. EA draws stop losses and take profits of all its positions to make the trading more intuitive. These lines keep
drawing even after the position closed which is very helpful for the further analysis
2.5 Notifications
Draw signal marks. If true, up and down arrows will be drawn at each bar where the buy/sell signal appears
Show alerts. If true, alerts will be generated for each buy/sell signal
Send signal notifications. If true, push notification will be sent on each signal generation
3 Examples of the EA working
3.1 Setting sell stop order when the EFC pattern is found
3.2 Re-setting stop orders as old trend keeps going
3.3 Filling stop orders
3.4 Stop at break even
3.5 Closing the half of the position simultaneously with moving SL to break even
3.6 Having loss with disabled break even setting
3.7 Taking profit
3.8 Having 2 opened positions simultaneously
4 Backtesting
4.1 EURUSD, H1, Break even = 500 pts, TP1 ratio=1:0.5, TP2 ratio=1:0.5
4.1.1 Parameters
4.1.2 Backtesting result – 2017.06.01 – 2018.02.01
Spread 10
4.2 EURUSD, H1, Break even = 500 pts, TP1 =500 pts, TP2 = 700 pts
4.2.1 Parameters
4.2.2 Backtesting result – 2017.06.01 – 2018.02.01
Spread 10