Trading bot

MQL5 Converting

Job finished

Execution time 3 days
Feedback from employee
Super customer, explain clearly his needs

Specification

Hello, it's my first order here :) 

I have backtested a Pinescript script on Tradingview. 

I need to translate this code into MQL4 in order to use it. 

Therefore, I would require the following options to be added: 

- the ability to choose the % of capital used, 

- the ability to use the bot on multiple pairs at the same time (forex CFD and/or crypto such as BTCUSD), 

- the ability to choose the leverage (if possible), 

- the ability to choose a maximum drawdown in % (e.g. 20%, if it exceeds 20% the bot will stop trading), 

- the ability to choose the time frame on which the bot performs transactions (I backtested on 1 minute intervals and the bot makes approximately 1000 trades per week). 



Here is the PineScript code: 

//@version=5 
strategy("JULIENPIERREL", overlay=true) 
length = input.int(title="Length", minval=1, maxval=1000, defval=5) 
upBound = ta.highest(high, length) 
downBound = ta.lowest(low, length) 
if (not na(close[length])) 
strategy.entry("LONG", strategy.long, stop=upBound + syminfo.mintick, comment="LONG") 
strategy.entry("SHORT", strategy.short, stop=downBound - syminfo.mintick, comment="SHORT") 
//plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr) 


Responded

1
Developer 1
Rating
(489)
Projects
558
33%
Arbitration
27
44% / 44%
Overdue
8
1%
Loaded
2
Developer 2
Rating
(261)
Projects
426
38%
Arbitration
86
44% / 19%
Overdue
71
17%
Loaded
3
Developer 3
Rating
(36)
Projects
59
34%
Arbitration
4
25% / 50%
Overdue
6
10%
Busy

Project information

Budget
30 - 50 USD
VAT (20%): 6 - 10 USD
Total: 36 - 60 USD
For the developer
27 - 45 USD
Deadline
from 1 to 2 day(s)