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

MQL4 Indicadores Experts

Termos de Referência

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


Arquivos anexados:

PNG
anomaly.PNG
23.8 Kb

Respondido

1
Desenvolvedor 1
Classificação
(2)
Projetos
2
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
3
Desenvolvedor 3
Classificação
(94)
Projetos
148
59%
Arbitragem
16
38% / 13%
Expirado
25
17%
Livre
4
Desenvolvedor 4
Classificação
(66)
Projetos
95
28%
Arbitragem
20
25% / 55%
Expirado
24
25%
Livre
5
Desenvolvedor 5
Classificação
(16)
Projetos
21
19%
Arbitragem
7
0% / 71%
Expirado
14
67%
Livre
Pedidos semelhantes
Hello there, all i need is to make an RSI indicator to give alerts when it reaches a certain levels, Level 99.9,98, 4 and 0.1. Kindly bid to this post now if this what you can complete
I need Spike DETECTOR EA for Boom and Crash.. which will send me notification or alerts when spike is near. The EA should also be able be buy on crash Index and sell on Boom Index depending on the market..Demo may be provided for faster execution of my order
Hello , I want Machine Learning: Lorentzian Classification (TradingView) indicator to MQL5 indicator.Which is machine learning indicator . Same To Same. And same inputs in it. I want it As soon As possible
ODSMART EA 30 USD
I want an EA developed from this strategy that will buy and sell based on the appearance of these colours. Blue-buy (Enter when the signal indicator is at zero on the blue background) Red -sell( Enter when the signal indicator is at 100) White and brown, exit trade
Crpyto Indicators 75 - 100 USD
2 Indicators: One for BTC/USD and one for ETH/USD Create indicators which plot the MVRV of Bitcoin and Ethereum as a line, standardized by a Z Score Essentially Zscore = ( MC - MCRealized ) / STD ( MC(number of bars ) Indicators should work on the daily timeframe at a minimum, and smaller ones if possible. Indicators should be able to work with future data as well, meaning it can download what's necessary to then
Hi there Here is a video of the logic: its based on market structure and swings using validated highs and lows based on candle closure. Just in case you would like to take a look at the code/indicator here is the link: https://youtu.be/igj0OaQoM7o?si=7nigL8OU2Nt1Zxkx Let me know if you can help
I am looking for a professional developer to help me with creating a hedge grid bot. The concept is in the picture. The bot is quite simple. The bot basically opens buy and sell positions on each grid and self terminates when the upper limit (manually set is reached) 1. Set timer for new's releases (manual entry) 2. Slippage in pip's (manual entry) 3. Maximum drawdown in USD with self termination when entry
I need alerts for 2 kinds of triangles (contracting & expanding) and 2 kinds of channels (up & dn) before that you should be able to put trendlines to any buffered (usually 0 & 1) zigzag indicators the method of drawing trendline is different i can show them with the pictures
Nt8 30+ USD
I trade in NT8 and would like to code an Elliott wave measurment tool, which is very easy because I have the major Script for that.We need only to add some aspects into it. If you are interested,if you can do this do well to bid on it
Hi I am looking for converting an indicator from MT4 to Mt5 It is Tom De Mark sequential This code is based off of the Tom DeMark TD Sequential Indicator. Basic criteria is as follows: | | TD Setup | TD Countdown | |------------------ |---------------------------------------------------- |---------------------------------------------------|

Informações sobre o projeto

Orçamento
100 - 250 USD
Desenvolvedor
90 - 225 USD
Prazo
de 1 para 10 dias