Auftrag beendet
Spezifikation
The trading strategy in based on 3 breakout bars, with 3 MAs (MA-fast, MA-mid, MA-slow), AMA and ADX.
A) After the build of 3 breakout bars, the bar following bar no. 3, the MAs must be in a trend, and the ADX +di, -di must be higher value 30.
B Rules of openning positions: (buy)
*** Group of 3 bars (No.1 up to No.3)
1)Bar
No. 1)
a) close price greater open price;
b) close price makes 10 bar high; (highest high from the last 10 bars);
c) low price
of the privious bar ist greater than the value of AMA indikator;
and
2)Bar No 2)
a) bar next/following after
b) close price greater open price;
c) close price makes 10 bar high; (highest high from the last 10 bars);
d) low price of the
privious bar ist greater than the value of AMA indikator;
and
3) Bar No 3)
a) bar next/following after
b)
close price greater open price;
c) close price makes 10 bar high; (highest high from the last 10 bars);
d) low price of the
privious bar ist greater than the value of AMA indikator;
and
4) Value of indikator "MA mid" is higher value "MA slow" on
the bar following bar no. 3
and
5 ) Value of indikator "MA fast" is higher value "MA mid" on the bar following bar no. 3
and
5)
Value of indikator "AMA" is higher value "MA fast" on the bar following bar no. 3
and
6) Value of Indikator ADX is higher 30 on the bar
following bar no. 3
and
7) Value of Indikator +di is higher 30 on the bar following bar no. 3
If 1 - 7
is complete open buy order
C) Rules of openning positions: (sell)
*** Group of 3 bars (No1
up to No.3)
1) Bar No. 1)
a) close price less open price;
b) close price makes 10 bar low (lowest low from the
last 10 bars);
c) high price of the privious bar is less than the value of AMA indikator
and
2) Bar No.
2)
a) Bar next/following after
b close price less open price;
c) close price makes 10 bar low (lowest low from the last 10
bars);
d) high price of the privious bar is less than the value of AMA indikator
and
3) Bar No. 3)
a) Bar next/following after
b close price less open price;
c) close price makes 10 bar low (lowest low from the last 10 bars);
d) high price of the privious bar is less than the value of AMA indikator
and
4) Value of indikator "MA mid" is
lower value "MA slow" on the bar following bar no. 3
and
5 ) Value of indikator "MA fast" is lower value "MA mid" on the bar following
bar no. 3
and
5) Value of indikator "AMA" is lower value "MA fast" on the bar following bar no. 3
and
6)
Value of Indikator ADX is higher 30 on the bar following bar no. 3
and
7) Value of Indikator -di/ADX is higher 30 on the bar following
bar no. 3
If 1 - 7 is complete open sell order
D) Number of lots to trade = 0,1 (set as input parameter of
EA)
E) Rules of close position:
Buy position closed
1) by take profit
2) by stop los
3)
bar close lower "MA mid"
Sell position closed:
1) by take profit
2) by stop los
3) bar close higer
"MA mid"
Variabel:
AMA
MA long
MA short
ADX
multiple trades possible
The EA
should work in each currency, and the DOW
I use the following indikator:
AMA optimized
(https://www.mql5.com/de/code/7385) with standard value.