Moving Average Band

MQL4 Indicadores Asesores Expertos

Tarea técnica

I am looking for an indicator and an expert advisor to be developed providing me with both the MQL4 and ex4 files. The expert advisor will be sold on the Library, so I will need it to meet the basic criteria for that as well.

The software I am asking for will open a trade when three conditions are met within a candle lookup period. (The lookup period would be an input, for example ‘15’ candles back. So if all three conditions are met within the 15 candles, then the trade opens). 

Condition 1 - Trend Qualification

I want to use a Moving Average to decide whether a market is in an uptrend or downtrend. If price is trading below the MA, it’s bearish. If the price is trading above the MA, it’s bullish.
The MA needs to be customisable for periods and MA types (drop down box for all MA types; simple, exponential, weighted etc).

Condition 2 - MA Cross

Once a trend has been identified I want to use a MA cross for the next condition.
The moving average cross is based on two customisable moving averages; MA1 (big) and MA2 (small).
If price is trading under the trend qualifiying MA (so the market is therefore bearish) I am looking for the small MA2 to cross below the MA1.
If price is trading above the trend qualifying MA (so the market is bullish) I am looking for the small MA2 to cross above the MA1.

Once one of these MA crosses hits the criteria, I want to see the final condition met - all within the “lookup period”.

Condition 3 - MA bands

I want to use a moving average band to determine when price is breaking out.
The moving average band is based on two moving averages (definable, but default will be 5 period EMA).
A 5 period MA calculated on the High of a candle and a 5 period MA calculated on the Low of a candle.
When a candle closes outside of the moving average bands we have a signal.
If it closes above the upper band, it’s a buy signal. If we close below the lower band, it’s a sell signal.

 

Expert Advisor rules

If condition 1 is a buy,
AND condition 2 has seen a cross of the small moving average above the big moving average (within the lookup period)
AND price closes outside the band to the upside (within the lookup period), we have a BUY trade.

Open a Buy Trade based on the trading inputs from the user.

If condition 1 is a sell,
AND condition 2 has seen a cross of the small moving average below the big moving average (within the lookup period)
AND price closes outside the band 

to the downside (within the lookup period), we have a SELL trade.

Open a Sell Trade based on the trading inputs from the user.


Once a trade has been triggered, the take profit target will be a choice of two options;
1. ATR or 2. Manual target in pips.

If ATR is selected, I want to choose a multiplier of the ATR.
So for example if ATR is 50 pips and the multiplier I use is 0.5 that means the profit target will be 25 pips.
If the multiplier I use is 2.5, that means the target will be 125 pips.

Once a trade has been triggered, the stop loss will be the doda donchian line.
If trailing stop is used, this trailing stop will over ride the donchian line.

The trade will attempt to open only once, so if the market is closed, it will not try to 

The software must not continually attempt to open a signal at the next opportunity, if they can not get in straight away.

Expert Advisor inputs

Condition 1 - Trend Identification
Is condition one required for trade: yes/no 
MA type: using a single dropdown box 
MA periods: 0-500
MA shift

Condition 2 - Moving Average Cross
Is condition 2 required for trade: yes/no
MA1 type: using a single dropdown box 
MA1 periods: 0-500
MA1 Calculation type: (Open, Close, High, Low, etc)
MA1 shift
MA2 type: using a single dropdown box 
MA2 periods: 0-500
MA2 Calculation type: (Open, Close, High, Low, etc)
MA2 shift

Condition 3 - Moving Average Band
Is condition 3 required for trade: yes/no
MA Upper type: using a single dropdown box 
MA Upper periods: 0-500
MA Upper Calculation type: (Open, Close, High, Low, etc)
MA Upper shift
MA Lower type: using a single dropdown box 
MA Lower periods: 0-500
MA Lower Calculation type: (Open, Close, High, Low, etc)
MA Lower shift

Trading Options (Customisable)
Trading hours: customisable range between 00:00 - 23:59.59
Trailing Stop feature
Manual stop loss and take profit or automatic options using ATR or Doda Donchian line.
Maximum number of open trades at any one time
Slippage option
Opposite signal closes trades
Full notification feature (alert, sound, email, PUSH)


Additional Features required
I will require this EA to be sold on the library if necessary, so I will need the basic requirements to be fulfilled for this purpose, ie a margin check facility.

Han respondido

1
Desarrollador 1
Evaluación
(187)
Proyectos
367
56%
Arbitraje
45
22% / 56%
Caducado
188
51%
Libre
2
Desarrollador 2
Evaluación
(89)
Proyectos
137
24%
Arbitraje
35
9% / 40%
Caducado
52
38%
Libre
3
Desarrollador 3
Evaluación
(130)
Proyectos
210
40%
Arbitraje
90
20% / 43%
Caducado
85
40%
Libre
4
Desarrollador 4
Evaluación
(34)
Proyectos
80
34%
Arbitraje
13
31% / 54%
Caducado
19
24%
Libre
5
Desarrollador 5
Evaluación
(12)
Proyectos
17
35%
Arbitraje
1
0% / 100%
Caducado
3
18%
Libre
6
Desarrollador 6
Evaluación
(258)
Proyectos
395
28%
Arbitraje
69
19% / 49%
Caducado
120
30%
Libre
7
Desarrollador 7
Evaluación
(121)
Proyectos
134
66%
Arbitraje
36
25% / 56%
Caducado
22
16%
Libre
Solicitudes similares
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
Greetings, As the title suggests, I am trying to convert an indicator that calls itself via an iCustom call like this. iMAArray_Buffer[loop_1] = iCustom ( NULL , Selected_TF, MQLInfoString ( MQL_PROGRAM_NAME ), "calculate" , RPeriod, MType, MPeriod, 1 , shift); Full code will not be provided, only the position that needs fixing. I cannot get this working in MQL5 but the original code runs smoothly in MQL4. Please
I need a chart to replicate/track my equity + Balance Curve into my mt4. Also this chart i need to be able to add Stochastic / Bollingerband / Moving average on the equity/balance curve. Besides the equity curve i would like the indicator to show the Line-chart of my win + 1 and my loss -1 which results in a win-loss curve. ( i will discuss this with the choosen developer in depth. ) More information on what i want
Greetings great developer, I am in search of a highly skilled developer to assist with an exciting project. I need to convert two open-source TradingView indicators to NinjaTrader 8 and implement a usage restriction based on computer IDs. If you have experience with NinjaTrader 8 coding please let me know. I’d be happy to discuss the details further
Hello, This is pretty simple and its an indicator with On/Off button 1-Off will remove all indicator from the chart. 2-On will put them all back again with the same settings
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
Hello Guys! I want to modify/fix the indicator that uses sequential type of entries (it calculates from 1 to 9) and if the conditions are met it provides an arrow (signal) with alert. The problem is that, sometimes (for unknown for me reasons) it repaints arrow signal. Like on the picture: Signal 1 - correct signal Signal 2 - correct signal Signal 3 - correct signal Signal 4 - repaints (signal 3 arrow dissapeared
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need

Información sobre el proyecto

Presupuesto
Plazo límite de ejecución
a 4 día(s)