Expert advisor basierend auf eine EMA / MA Crossover Strategie

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 4 minuti
Feedback del cliente
Very compentent and friendly developper. Help me with some understandings and was highly supportive!
Feedback del dipendente
Toller Kunde und guter Mensch! Schön zu arbeiten! Vielen Dank für die Bestellung!

Specifiche

1. The idea of the trading system is as follows: The strategy is based on the crossing of exponential moving averages (EMA) and a simple moving average (SMA) to make trading decisions. It considers both bullish and bearish market conditions to open both long and short positions.


2. The trend is determined as follows: The trend is determined based on the relationship of two EMAs (14 and 185 periods) and an SMA (50 periods):
Bullish Trend: When the 14-period EMA and the 50-period SMA are both above the 185-period EMA.

Bearish Trend: When the 14-period EMA and the 50-period SMA are both below the 185-period EMA.


3. Trading signals:
Buy Signal: A buy signal is generated when the 14-period EMA crosses above the 50-period SMA and market conditions are bullish. 

Sell Signal: A sell signal is generated when the 14-period EMA crosses below the 50-period SMA and market conditions are bearish.  


4. Positions are closed as follows:
Through Take-Profit or Stop-Loss: Positions are closed based on the set stop-loss and take-profit values.

Through Crossover: If the exit strategy is set to "Crossover," long positions are closed when a sell signal is generated, and short positions are closed when a buy signal is generated.


5. Positions are opened as follows:
Long positions are opened when a buy signal is generated and market conditions are bullish.

Short positions are opened when a sell signal is generated and market conditions are bearish.


6. Additional filters for opening a position:

Positions are only opened if the market conditions (bullish or bearish) match the trade direction signals.


7. Additional filters for closing a position:

There are no additional filters for closing positions other than the conditions set in the exit strategy and the stop-loss/take-profit settings.


8. Closing through Take-Profit:

Positions are closed through take-profit when the price reaches the set target based on the stop-loss value and the risk-reward ratio.


9. Position management:
The strategy uses a percentage of equity for each position (default is 1%).
Positions are managed through set stop-loss and take-profit values to minimize risk and secure profits.

If no stop-loss and take-profit values are used, positions are managed by closing and reversing them on new trade signals.



Additional Comments

Plotting Moving Averages:

The strategy plots the EMAs and SMA on the chart with different colors for visualization. Colors can be changed in the settings:

short-period EMA (blue) = EMA 14

mid-period SMA (red) = SMA 50 

long-period EMA (green) = EMA 185

Labels are also added to indicate the periods of the moving averages.

The EMA and SMA length can be adjusted in the settings. 


Timeframe Configuration:

The configuration should allow the strategy to work in any timeframe. In the settings, the current timeframe for execution should be entered. By default this value is 15-min. 


Market Conditions Visualization:

The strategy uses background color changes to indicate market conditions:

Light green background for bullish conditions.

Light red background for bearish conditions.

No color if the condition for a bullish or bearish market does not apply (e.g. 185EMA is in between the 14EMA and the 50SMA)


Entry and Exit Labels:

Labels are created at the bar index for entry and exit signals, ensuring clear visual representation of trade signals on the chart. (This is done by default by MT5)


Flexibility in Trade Direction:

The strategy provides the option to trade in only one direction (long or short) or both directions, as per the user's choice.


Stop-Loss and Take-Profit Customization:

Users can enable or disable the use of stop-loss and take-profit values and customize these values through inputs, offering flexibility in risk management.

It should also be possible to activate a trailing stop loss. 

If the use is disabled, the trade lasts until the next signal appears. 


Risk-Reward Ratio:

The strategy allows setting a risk-reward ratio, which is used to calculate the take-profit level based on the defined stop-loss value.



Con risposta

1
Sviluppatore 1
Valutazioni
(75)
Progetti
127
53%
Arbitraggio
5
20% / 60%
In ritardo
20
16%
In elaborazione
2
Sviluppatore 2
Valutazioni
(18)
Progetti
27
0%
Arbitraggio
1
0% / 0%
In ritardo
0
In elaborazione
3
Sviluppatore 3
Valutazioni
(488)
Progetti
554
32%
Arbitraggio
27
44% / 44%
In ritardo
8
1%
Occupato
4
Sviluppatore 4
Valutazioni
(1100)
Progetti
1457
46%
Arbitraggio
49
73% / 12%
In ritardo
36
2%
Gratuito
5
Sviluppatore 5
Valutazioni
(2102)
Progetti
2674
62%
Arbitraggio
114
46% / 25%
In ritardo
421
16%
Caricato
6
Sviluppatore 6
Valutazioni
(355)
Progetti
484
51%
Arbitraggio
24
54% / 25%
In ritardo
5
1%
Caricato
7
Sviluppatore 7
Valutazioni
(564)
Progetti
933
47%
Arbitraggio
302
59% / 25%
In ritardo
125
13%
Caricato

Informazioni sul progetto

Budget
50+ USD
IVA (19%): 9.5 USD
Totale: 59.5 USD
Per lo sviluppatore
45 USD