Fancy EMA Crossing Trading EA

MQL4 Asesores Expertos

Tarea técnica

Cross Over Robot Signal Algorithm

 Magic Number:

·        User adjustable magic number value.

Exponential Moving Averages:

·        Entry of 4 EMA's.  Example: MA1 = W, MA2 = X, MA3 = Y, MA4 = Z

 Stop Loss Logic:

·        Detection of previous high for shorts or previous low for longs in order to place stop loss X amount beyond that value. If disabled, defaults to a user defined stop loss value.

·        Ability to set stop loss to Break Even at X points in profit and have a Break Even Target of X.  Also the option to enable and disable.  Example: If price is currently 100 points in profit, then move stop loss to break even target of 7 points profit.

·        Trailing stop loss with definable activation point, trailing distance, and trailing intervals.  Also the option to enable and disable.  Example: Activate trailing stop loss once it is 250 points in profit, and trail by 200 points indefinitely every 5 points of price increase in profit.

 Money Management:

·        Lot size based on risk percentage of the account balance if stop loss were to be hit.  Example: If stop loss is 200 points, and percentage of account risk total is $200, then lot size will be 1.00 ($1 per point per lot).

·        Trades to be executed per the above stop loss logic and user defined take profit values.

·        Option to disable, if disabled, defaults to a user defined lot size.

 EMA Signal to Open Trade Logic:

·        At least 3 selectable and definable distance parameters between EMA values with definable historical candle period to compare.  Example: MA3 Min Distance From MA4 3 candle periods ago = 30 points, MA 1 Distance from MA3 3 candle periods ago = 40 points, etc.  If set, all must be true in order to execute the trade.  So for this, user must be able to select which MA's to compare with distance entry, and the user must be able to select how many candle periods to compare, for example if user wants to compare 4 candle periods ago, then simply enter 4 or to disable candle periods simply enter 0.  Option to disable this feature.

·        EMA Crossing, user selectable which two EMA's to cross in order to execute the trade.  Example: If MA1 > MA3, then allow longs, IF MA1 < MA3 then allow shorts.  For the sake of other code logics, MA 1-4 are in order from smallest to greatest.  So if the small MA is on top this will be a long signal, and if the greater MA is on top, this will be a short signal.

·        User able to enter EMA Crossing signal expiration periods.  Example, if user allows for 5 candle periods after the EMA crossing, but the below candle signal logic has not yet been validated in 5 candle periods, then the MA cross over signal will be invalidated until the next cross over which will reset the candle period counter.  Option to disable this feature as well.

·        User defined Max Trade Positions per EMA crossing.

 Candle Signal to Open Trade Logic:

·        Option to open trade after definable X amount of retracement candles, then take the next signal candle.  Example, for a long, if user enters 3 retracement candles, then there needs to be at least 3 or more bear candles before the close of a bull candle appears.  An entry of 0 will mean no retracement candles required and entry can take place on the first bull candle that appears regardless of prior candles.

·        Option to require  if previous candle close price to be below a selectable EMA for longs or above a selectable EMA for shorts.  Basically this trumps the above retracement rule above if the user prefers the retracement candle to touch and bounce off a specified EMA before taking the trade or used in combination with the retracement rule above.  Option to disable this if required.

·        Trades executed upon candle closing if all EMA and Candle signals are true. Closed bull candle for long entries, closed bear candle for short entries.

 Trade Closing Logic:

·        Trades can be closed by hitting the stop loss or defined take profit values.

·        Option to close trades during a specified EMA crossing without waiting for the candle to close. An option can be added to wait for candle close before confirming a close signal. Example: The EA opened a long position that is still going strong.  When MA1 crosses below MA2, close all longs immediately without waiting on candle closing.  Visa versa for shorts.  This setting can have an option to disable as well.

 Comment:

·        User definable comment entry for open trades.


Han respondido

2
Desarrollador 2
Evaluación
(117)
Proyectos
138
41%
Arbitraje
30
7% / 77%
Caducado
17
12%
Libre
4
Desarrollador 4
Evaluación
(365)
Proyectos
412
36%
Arbitraje
35
26% / 57%
Caducado
63
15%
Libre
5
Desarrollador 5
Evaluación
(212)
Proyectos
246
45%
Arbitraje
42
10% / 57%
Caducado
5
2%
Libre
6
Desarrollador 6
Evaluación
(221)
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
7
Desarrollador 7
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
Solicitudes similares
Looking for experienced programmer to create a trend line breakout and trend line bounce indicator that send alert with arrow on screen without open trades multiple currency pairs time frame M15 H1 H4 D1 W1 MN
Hello programmers, I need a coding assistance to do the following job. Currently the EA opens two different trades one has a comment "Originial" and another has comment "Series" The job is if the Original trade is negative by x pips, open a hedge trade(Hedge1#-OrderTicket of the soruce trade) along with one buystop and a sell stop order and the comment of the trade will be "Recovery#1-+OrderTicket() of the original
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
I have a EA and A Indicator I want to upgrade with some new features I want to add to the Indicator And The EA Also there is a memory error in the system that is showing up in the journal after the ea is ran on multiple charts I will need to get this fixed as well Indicator is 528 lines of code EA is 703 lines of code Dashboard I want to add is 1974 lines of code Indicator Changes I want to change the indicator The
An ea with 4 moving average, and two time frame confluence. Option to add risk to reward and percentage of balance to trade. Message me remaining for the more info
Hi All, I will try to be as precise as possible. We can discuss if you have any questions. I need an indicator to be developed for MT5 for detecting Engulfing Failed Zones. Requirement (in H4/ H1/ M30 Time frames only): Identify Engulfing Buy/ Sell Candle. Identify when the Engulfing Buy is failed, or Engulfing sell is failed. Draw a zone for that area of Engulfing Buy/Sell Fail. Invalidate the zone or delete the
Hi. I want to fix my EA. The concept of lowestBid- There aree 3 levels of price. Price1 at the top, Price 2 in the middle and Price3 at the bottom. When the EA starts it start at Price1. And lowestBid is set to Price1. When the price hits Price 2, lowestBid=Price2. When price hits Price3, lowestBid=Price3. When Price come back up to level2, lowestBid=Price2 ....so on and so forth. lowestBid will keep changing with
Expert Advisor (EA) will provide automatic entry and exit using Black Dragon indicator as per the description below. Long (entry): on the first blue candle. Long (exit): on the first red candle, stop loss or take profit/break-even. Whatever happens first. Short (entry): on the first red candle. Short (exit): on the first blue candle, stop loss or take profit/break-even. Whatever happens first. Long (stop loss value)
FOREX trading robot 30 - 35 USD
Creating a powerful forex robot capable of handling multiple timeframes and efficiently identifying trades within a short span of 10 minutes requires a well-thought-out design encompassing robust technical and algorithmic frameworks. The goal is to develop a system that can process a significant number of entries across various timeframes (5 minutes, 15 minutes, 1 hour, 4 hours, and weekly) while ensuring accuracy
looking for experienced programmer to create trend reversal I want indicator that send alert with arrow on screen without open trades Uptrend Let’s say there is an uptrend on the chart. The first high (H) is followed by the first low (L), which in turn is followed by the second high (HH – higher high). After that, if the price drops out of the trend structure and forms a

Información sobre el proyecto

Presupuesto
50 - 100 USD
Para el ejecutor
45 - 90 USD
Plazo límite de ejecución
a 14 día(s)