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

Техническое задание

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


Файлы:

PNG
anomaly.PNG
23.8 Kb

Откликнулись

1
Разработчик 1
Оценка
(2)
Проекты
2
0%
Арбитраж
2
0% / 100%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(49)
Проекты
134
27%
Арбитраж
62
13% / 53%
Просрочено
58
43%
Свободен
3
Разработчик 3
Оценка
(94)
Проекты
148
59%
Арбитраж
16
38% / 13%
Просрочено
25
17%
Свободен
4
Разработчик 4
Оценка
(66)
Проекты
95
28%
Арбитраж
20
25% / 55%
Просрочено
24
25%
Свободен
5
Разработчик 5
Оценка
(16)
Проекты
21
19%
Арбитраж
7
0% / 71%
Просрочено
14
67%
Свободен
Похожие заказы
The current Text label in MT5 is one line. So we shall look to develop a multi-level text box , in other words a text box that one can write many lines in it, a paragraph of any size that can: 1. loaded on any Metatrader 5 chart 2. the text box to be able to be moved with the cursor to any place in the chart 3. its width and/or length of the text box to be able to expand or contract by the user directly on the chart
I need just the code tgat draws trendlines and channels. But with a twist. I need it drawing trend lines afte 2 candles then if a new inner trend happens that line is drawn plus keep original and if there is a channel occurring draw the top of the candle trendline on an uptrend but what's more important is the lines are drawn on the bottom the and top corners to corners of trend not tail n whacks then I also need
I have my MT5 EA almost complete at the moment, but it has some bugs in the source code. Would you be interested in fixing it? There are basically 3 corrections: 'Max. Open Trades', 'Trailing Stop' and 'Close on Invalidated Pot. Trendline'. If you are interested, please apply for this order. Kind regards
1st order: Convert 4 trading view indicators and combine them to one MT4 indicator. 1. UT Bot Alerts* by QuantNomad 2. Zero Lag SMA Trend* by netweaver2011 3. Consolidation Zones - Live* by LonesomeTheBlue WIZARD 4.Money Flow Index + Alerts by DreamsDefined* All the inputs are in the png files. IF YOU WANT TO UNDERSTAND BETER WHAT I NEED , IM SEDNING YOU A VIDEO TUTORIAL ABOUT THIS STRATEGY AND HOW IT WORKS. ONCE
Hi I need the BPR ( TFO indicator ) on pinescript converted to mql5, I’m looking to incorporate it into my metatrader EA based on market structure shifts and of course the balanced price range ICT concept
I have 2 MT4 indicators and I want it to be created into an MT4 EA. It is both ex4 files. The strategy is very simple. I will provide images for reference and the 2 MT4 ex4 files
HI I want to add two fonctions to my EA 1- number of trade to take=true or false number= 1 or more 2- trade timer= true or false days start time end time Thank you Pierre
, I am using a trading view indicator, and im trying to connect it to MT5. It has a backtester inbuilt so I could set sl and tp, but I dont have access to the source code, so i was wondering if you know if there is another way to write the syntax for the alerts that grabs the price with the SL and TP from that indicator. my stop loss strategy is the donchain channel and my tP is just a ration of 1:1.5. or there is
Hey, trust my job post sound interesting to you :) Read and understand what is all about, I need a professional pinescript coder, I am hoping to implement 2 indicators along with some simple ideas that can be discussed in comment section, I am only looking for an action taker who will be ready to pay quick attention to details, also as I said, I am only looking for a reliable pinescript coder, if you haven't been
For Buy order MACD base on divergence and price to ensure candle chart price is higher than the previous price and to ensure MACD bottom crossover is higher than previous crossover at the top of MACD is higher than previous crossover is this 3 confirm than to execute buy so for example the price of EURAUD is 1.63570 to execute buy order every 20 pips drawdown will be execute another position max 3 order stoploss

Информация о проекте

Бюджет
100 - 250 USD
Исполнителю
90 - 225 USD
Сроки выполнения
от 1 до 10 дн.