Renko: Modification of existing indicator and EA because of apparent bugs//Creation of Martingale strategy

MQL4 Indicadores Asesores Expertos

Tarea técnica

Hello programmers,

I need help! A developer has written both an EA and indicator that are littered with bugs. I need someone to examine this thoroughly, and to also write a NEW martingale strategy for my existing EA. The strategy is based on renko wick reversal. Please see attached photo entitled "reversal EA strategy" to follow along.

In this photo the renko gap is 40pips, with candle size of 2pips. There are four examples in the photo. In respect to the first three, the middle line is the trade execution line. Since price is in a downtrend, as indicated by renko sentiment, then a sell order will be executed. The bottom line is the Take Profit line of 20pips. Take profit hit on all three examples. The fourth example follows the same logic, however as you can see, the bottom TP line of 20 pips has not been hit. Price is still running. The top line, SL, has not been hit either. So to clarify, when price reverses to middle line, a sell order will be opened with 20 pip TP(bottom line) and 20 pip SL(top line) automatically. On EA, “EnterAfter” is trade execution based on point where price reverses. In above example, this would be 20, because that is midpoint of renko gap size. Of course, this parameter can be changed by trader’s prerogative.

 

For martingale strategy, if SL is hit, I need the next trade to exponentially increase lotsize with hopes to recover previous loss. I should be able to change these parameters as I see fit. Take a look at the following example below starting with 0.01 lot size, representing a 40pip gap size. 

10     cent  0.01 x 20 = 2.00

20     cent  0.02 x 20 = 4.00

40     cent  0.04 x 20 = 8.00 

80     cent  0.08 x 20 = 16.00

1.60  dollar  0.16 x 20 = 32.00

3.20  dollar  0.32 x 20 = 64.00

6.40  dollar  0.64 x 20 = 128.00

 

........keep building upon this strategy. This will yield $2.00 every win(if it wins of course). I should also be able to change parameters of this based on renko bars. So for example, the 20pips could change to 40, if I am going for an 80 pip gap size. Also, the 20pip can be modified to another pipvalue to compensate for spread(20 changing to 18.2 for 1.8 spread)

I should also be able to set the maximum allowable martingale attempts(lets go to 13 attempts, so you will have to mathematically increase after the $6.40 all the way to 13 of these ). Once martingale has recouped past losses(hopefully), then martingale strategy will cease. At this point it MUST return to normal fixed lot size or account-based lot size stipulated in EA parameter!

 

Noted bugs---

1) Renko bars AND wicks will automatically rewrite themselves. There is constant repainting abound and this makes it impossible to implement any meaningful strategy. This can happen with historic bars farinto the past.

2) Sometimes EA will execute the trade the wrong way. So for example, a buy will be executed instead of a sell and vice-versa.

3) Reference image entitled "anomaly". This happens occasionally with code and needs to fixed. I don't know why this is happening and perhaps entire code needs to be re-written in order to fix this.

 

Note: I have ex4 and mql source files that will be disclosed for modification to the programmer. I will not post files in order to keep my intellectual property from being stolen! 

 

-Thank you

 

Clarence


Archivos adjuntos:

PNG
anomaly.PNG
23.8 Kb

Han respondido

1
Desarrollador 1
Evaluación
(2)
Proyectos
2
0%
Arbitraje
2
0% / 100%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
3
Desarrollador 3
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
4
Desarrollador 4
Evaluación
(66)
Proyectos
95
28%
Arbitraje
20
25% / 55%
Caducado
24
25%
Libre
5
Desarrollador 5
Evaluación
(16)
Proyectos
21
19%
Arbitraje
7
0% / 71%
Caducado
14
67%
Libre
Solicitudes similares
I need an expert to develop a Forex Expert Advisor (EA) for the MetaTrader 4 platform focusing on short-term scalping strategy. This EA should be able to open trades when a new candle opens and close trades when the same candle closes, taking into account the very smallest price variations. Key aspects of the project and requirements from the developer would include: They speak English. No exceptions They write in
Hi! I would like to get an indicator which is make zones for me in mql5, like in this picture from TradingView: It is define the Previous day High and Low on every day, and then, till the price doesn't reach the level and a new day start (it is sometimes not the broker server time), it is draw a "box" or something to the present till the break in time, from high or low to x percent or pip. (these would be the
Hi I need to change the existing indicator in an EA and to replace the same with a new one. Rest all remain the same. EA should work with all the same function, just to change the indicator for trade initialisation. Simple job
are you able to develop a alert system in NT8 based on 8 candlestick patterns? 1. hammer 2. shooting star 3. bullish engulfing 4. bearish engulfing ..if any body is available for this kind do well to bid and let talk more on it
duplicate this indicator in other words // https://www.mql5.com/en/market/product/81778?source=Site +Market+MT5+Search+Rating006%3arsi+divergence Iam having problems with this one, it alerts late, maybe it waits for the zigzag to form , i dont understand im not a developer inputs the same as that one, note for confirmation, use rsi cross 50 level and price reaches prev high hidden and regular divergence
Hello, I'm seeking to develop a custom trade copier for MT5 to MT5 tailored to my specific requirements. I'll share more details via private message. Please only reach out if you already have a ready-made trade copier solution available
Need you to build an lstm indicator that forecasts into the future and the forecast prices are added onto the current one telling me where the price will move next in addition add bayesian filtering in the lstm model making sure that more probable
Can you help me with EMA? for example check this picture pink arrows SO3 worked when reach deviation price I want safety orders not work if the price below ema line so this time buyings are will be more safe
Greetings everyone, Description: 1) The shared indicator, Semaphore, is subject to repainting. To address this issue, we wait for an opposite signal to confirm the trend. It comprises three periods with distinct settings, which I utilize to draw trendlines connecting points A and B. Requirements: 1) Create multiple trendlines as depicted in the provided images. 2) The indicator will align closely with my
Hey Im looking for an indicator that is good for prop firms on Major pairs Eg. Eurusd, gbpusd xauusd etc etc I want it to have good entry points and good tp and sl Ideally i would like to have it so it targets 1:1 then 1:2 then 1:3 etc etc If it can make me monthly 10-20% with less than 5% daily drawdown and 10% overall drawdown I'll be paying extremely well

Información sobre el proyecto

Presupuesto
100 - 250 USD
Para el ejecutor
90 - 225 USD
Plazo límite de ejecución
de 1 a 10 día(s)