Pon "Me gusta" y sigue las noticias
Deje un enlace a él, ¡qué los demás también lo valoren!
Evalúe su trabajo en el terminal MetaTrader 5
Multi Levels Trend Expert Advisor - Asesor Experto para MetaTrader 4
- Visualizaciones:
- 71544
- Ranking:
- Publicado:
- 2012.01.16 09:28
- Actualizado:
- 2016.11.22 07:32
- ¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa
Author:
The author is researcher who is studying the stock and FX market for research purpose. The EA has been backtested from July 1, 2011 to Jan 13, 2012 on EURUSD. It has managed to turn $10,000 to $59,294, but there is no guarantee past performance will be indicative of future results.
This expert advisor is based on the concept that market does not move always in one direction. Even when the market is trending in one direction at some points it pullback. Usually the pullback is due to strong support or resistance levels or the dominant traders decided to take some profit, which usually force the market to move in the opposite direction for some time. The EA makes use of this reverse move. As expected, the EA performs better when it is trading in trend direction.
The EA works as follows:
If the MA(34) on the Day chart is turning up the indicators opens a Buy trade and vice versa. If it moves in the trend direction, the EA closes the position as specified by the take profit (TP) parameter. The default is 60 for 4 digits brokers and 600 for 5 digits brokers.
In case the market moved opposite to opened trade direction, the EA will open another position in the same direction of the previous trade at -600 (-60pips) with the same lot size. If the market moves in the trade direction, both trades will be closed at TP target of the last trade. This will be repeated for the next level, but with a lot size of 2, 4, and 8. If the intial lot size is 0.1 for example, the lot of the next levels will be:
Level |
Lot size |
0 |
1 x 0.1 = 0.1 |
1 |
1 x 0.1 = 0.1 |
2 |
2 x 0.1 = 0.2 |
3 |
4 x 0.1 = 0.4 |
4 |
8 x 0.1 = 0.4 |
The EA uses many paramters. The most importants are:
TP: Take profit. If your broker is using 4 digits the default should be changed to 60 instead of 600.
DP: This represents the timeframe. The default is the day timeframe which is 1440. You can add the EA to any chart. However, it will use DP to specify the timeframe for its MA.
MAP: Moving Average Period. The default is 34.
MaxTrade: The maximum number of trades the EA will open in the same direction.
TradeType: if 0 the EA will follow the MA direction, 1 to force the EA to open buy trade, and 2 to force sell trades
Recommendations:
The best use of this EA when combined with other indicator such as moving average, Bollinger Bands, Support and Resistant levels. You can shift from TradeType 0, 1, or 2 according to the indicators.
Use the appropriate lot size that meets your money management.
UPDATE: Version 2
The attached updated MLTrendE V2 allows trades to set few more parameters that are:
maReversal = true/false. If true, the system will be trading using EMA(500). If price crossed below EMA(500) going up, the system will close any sell position and set TradeType to 1. If the price crossed the EMA(500) going down, the system will close any opened buy position and set TradeType to 2. It is recommended to use this parameter with H1 timeframe and can be back tested using open price.
allowSL = true/false. You need to set maReversal to false in order to use allowSL. When allowSL is set to true, the system will use the original multiple levels system and implement a stop/loss on the last opened position. When the last opened position reaches SL, the system will close all positions at all levels and reverse the trend by setting TradeType. With allowSL, you need to set two more parameters that are SL and MaxTrade. When allowSL is true, you can back test the system only using every tick.
Notarius - trend indicator with alerts on the basis of price averaging.
Multi currency pair Indicator V2This version 2 of Multi currency pair Indicator. It includes an optional trend line and the color of the label has been changed to red to make it visible on default chart template.
This EA is based on the 10 SMA moving average and another things which could be better - It also make sounds according to the context.
Ticks-MilSecThis indicator is calculating numbers of ticks and average time between ticks for each minute in the current hour.