


1. Divergence conception:
An indication that an end to the current trend may be near occurs when the
indicator diverges from the security.
A bullish divergence occurs when [MACD, Stochastic, RSI, Momentum, Bollinger
Bands, PowerRVI or OBV] is making new highs while prices fail to reach new highs.
A bearish divergence occurs when [MACD, Stochastic, RSI, Momentum,
Bollinger Bands, PowerRVI or OBV] is making new lows while prices fail to reach
new lows.
Both of these divergences are most significant when they occur at relatively
overbought/oversold levels.
2. Rules:
The rule is simple. Sell on a bearish divergence. Buy on a bullish divergence.
3. Fractals:
A fractal is a series of at least five successive bars, with the highest HIGH in
the middle,
and two lower HIGHs on both sides.
The reversing set is a series of at least five successive bars, with the lowest
LOW in the middle,
and two higher LOWs on both sides, which correlates to the sell fractal.

Standard Bill William's fractals have period 2: 2+1+2 = 5 bars.
We use extended version of fractals with custom period.
In case Fractal.Period = 1 we get 1+1+1 = 3 bars model.
In case Fractal.Period = 3 we get 3+1+3 = 7 bars model.
In case Fractal.Period = 5 we get 5+1+5 = 11 bars model.
etc.
4. Parameters:
--- Common ---
extern int AccDigits = 5;
// set AccDigits = 4 if you broker provides 4-digits quotes
// set AccDigits = 5 if you broker provides 5-digits quotes
// in case AccDigits = 5 all pips values will be automatically adjusted by 10

extern int MaxBars = 1000;
// to increase the perfomance we draw the indicator for 1000 last bars only
--- Divergence ---
extern int LeftFractal.Period = 3;
// left-hand divergence peak is 3-bars fractal, we check 3 bars on both
sides to confirm the peak
extern int RightFractal.Period = 1;
// right-hand divergence peak is 1-bars fractal, we check 1 bar on both sides
to confirm the peak

extern int Width.Min = 1;
// minimal horizontal distance between 2 divergence peaks, bars
extern int Width.Max = 25;
// maximal horizontal distance between 2 divergence peaks, bars
extern int Height.Min = 15;
//minimal vertical distance between 2 divergence peaks, pips
extern int Height.Max = 1000;
// maximal vertical distance between 2 divergence peaks, pips

--- Graphic ---
extern int Shift.Arrow = 20;
// vertical shift of a divergence arrow (right-hand divergence peak) on the
chart, pips
extern int Shift.Dot = 10;
// vertical shift of a divergence dot (left-hand divergence peak) on the
chart, pips
extern int Shift.Line = 1;
// vertical shift of the line between divergence dot and arrow, pips
--- Alerts --- (optional)
extern int SignalBar = 1;
// indicator checks this bar for new divergence siganls
// SignalBar value is always equal or higher than RightFractal.Period value
// if RightFractal.Period = 0 then correct SignalBar values ar 0,1,2,3, ...
// if RightFractal.Period = 1 then correct SignalBar values are 1,2,3, ...
// if RightFractal.Period = 2 then correct SignalBar values are 2,3,4, ...
// etc.
extern bool PopupOn = true;
// show popup alert on new divergence true/false

extern bool SoundOn = true;
// play sound alert on new divergence true/false
extern string LongSignal = "alert.wav";
// sound file for a bullish divergence from /MetaTrader4/sounds/ folder
extern string ShortSignal = "alert.wav";
// sound file for a bearish divergence from /MetaTrader4/sounds/ folder
extern bool MailOn = true;
// send email alert on new divergence true/false
Learn more... about Divergence Indicators
BJF Tradibg Group inc.
http://iticsoftware.com




int Width.Min = 1; |
Minimal width of model, bar |
|
int Width.Max = 25; |
Maximal width of model, bar |
|
int Height.Min = 15; |
Minimal height of model, pips |
|
int Height.Max = 1000; |
Maximal height of model, pips |
|
|
|
|
int KPeriod = 21; |
Period (bars quantity) for %K calculation |
|
int DPeriod = 12; |
Period (bars quantity) for %D calculation |
|
int Slowing = 5; |
slowing |
|
|
|
|
int MaxBars = 1000; |
Max bar restriction |
|
|
|
|
int Shift.Arrow = 40 |
arrow shift , pips |
|
int Shift.Dot = 20; |
point shift , pips |
|
int Shift.Line = 0; |
line shift, pips |
In this article we will consider technical aspects of trade on fundamental news. It is necessary to make a reservation that you should learn theoretical foundations of fundamental data analysis before applying technical tactics of trade on news.
Before starting consideration of separate strategies, we will allocate a number of general principles which we should follow at opening of positions on news:
- opening of position should not be done manually straight after appearance of news, but by means of pending orders set up in advance;
- it is obligatory to set up “small” stop loss at 10-20 pips;
- the profit is also should not be fixed manually, but by means of pending order – take profit, or by means of trailing stop;
- it is better to be at the terminal and to watch further developments of events at the moment of appearance of news;
- When choosing data for trading, you should give preference to news, which will lead to strong movement in the market with high probability.
The first reason. As we mentioned before, the appearance of news causes splash of volatility in the currency market. In this case, you simply will not have time to join the movement in time. No trader has reaction as quick as lightning. The market will be faster in any case.
The second reason is actually the other interpretation of the first one. A broker receives different prices from several largest banks, and then selects the closest variant to the price requested by the client. And the broker executes requests in the following sequence: 1) stop loss; 2) take profit; 3) other pending orders; 4) transactions "on demand", i.e. entry into the market "manually". Thereby, after the broker executes all pending orders, the price of entry into the market, offered to you, can be much worse than the quotation, requested by you. Pending order guarantees that the transaction will be opened exactly at that price, which you used to set up the order.
We’ve also emphasized above that at transactions on news the size of stop loss should be minimal. This results from the fact that after appearance of news the price moves quickly and in one direction. Moreover, 10-15 pips stop loss will provide quite favorable risk/profitableness ratio for the transaction.
Now let’s examine the principle of setting up take profit. Here we should take into account the average swing of price movement on one or another news. Trace on history the average number of pips that the currency pair, chosen by you, passes on economic indicator data. When take profit is set up, you should also take into account significant support/resistance levels.
News Trading Strategy 1
This strategy
includes setting up two pending orders in opposite directions – buy stop and
sell stop. It would be better to plan the transaction on trade on news in advance;
however we recommend to set up pending orders several minutes (!) before
appearance of news. All pending orders, which were set up earlier and are not
the part of strategy of trade on news, should be removed on the threshold of publication
of significant data.
Then a question arises: on what distance from active market price should we set up pending orders? We will consider possible variants:
1) The simplest way – on equidistant distance of 10-20 pips.
2) Taking into account the nearest support and resistance levels. We recommend to use this variant, if the current price has come nearer to strong support/resistance levels.
3) The third variant seems to be the most reliable. Often enough the price is traded in a narrow range in day of appearance of significant news, before publication of value of indicator.
If it is really
so, i.e. you see clearly formed corridor (volatility is very low in the market before
appearance of news), then it really makes sense to open a position on news. In
this case pending stop orders should be set up outside the bottom and top
borders of the range, formed within day.
You must set
up minimal stop loss and take profit, taking into account volatility, when you
use any of these three variants.
Example: “Tragic
reverse” on Nonfarm (pic. 1).
The data on
the employment market in the
Friday
08.12.2006
|
17:30 |
|
Nonfarm payrolls (November) |
132K |
115K |
79 (92)K |
|
17:30 |
|
Nonfarm payrolls (November) |
4.5% |
4.4% |
4.4% |
Picture 1. EUR/USD, М30 (each candle каждая was formed for 30 minutes)

News Trading Strategy 2
This
strategy includes opening of position in one way – in the most probable direction
of price movement from the point of view of tools of technical analysis. Here
trends are used quite actively. So, for example, opening of position in the
direction of day charts movement is possible.
The
position can be opened several minutes before publication of news, having set
up minimal stop loss and take profit, taking into account volatility.
You can set
up pending order as an alternative variant, but only in one direction.
Requirements on setting up stop loss and take profit remain invariable.
Retracement
We
recommend the following: avoid trade on retracements. If you missed the main
movement at publication of data, it would be better to refrain from trade on
news at all.
Conclusion
Trading on news can give you some good transactions every month and, thereby, to increase the set of tools in your trading strategy. Transactions on news are attractive because of quite high potential of profit and minimal risk.
Metatrader Expert Advisor "News Trader"

This adviser trading principal is based on economic news and is a very useful tool in the portfolio of every trader. In a given time, several minutes in advance of the news issue NEWSTrader places two different orders. There is a special mode within the adviser which allows to delete one pending order in case if another pending order was made. Several intervals are possible.
The following type of orders can be used:
MarketOrders = false; //open buy and sell market ordrers true/false
StopOrders = true; //open buystop and sellstop pending ordrers true/false
LimitOrders = false; //open buylimit and selllimit pending ordrers true/false
OCO = true; //One-Cancel-Other mode for pending orders
extern int Dist = 50; //distance from the market price to set pending orders
There is also trailing stop added.
The advise can work both on five-digits and four-digits quotations.
extern bool Acc5Digits = false; //set true if your broker provides 5 digits for EURUSD
Read more about MT4 expert advisor NewsTrader
Post your questions about about Fundamental News Trading and MT4 Expert Advisor "NewsTrading" on our MT4 Forum
Regards,
BJF Trading Group
