工作已完成
执行时间3 天
![](https://c.mql5.com/i/avatar/avatar_na2.png)
员工反馈
Super customer, explain clearly his needs
指定
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)
反馈
1
等级
项目
531
33%
仲裁
28
39%
/
43%
逾期
7
1%
繁忙
2
等级
项目
419
38%
仲裁
86
44%
/
19%
逾期
71
17%
繁忙
3
等级
项目
59
34%
仲裁
4
25%
/
50%
逾期
6
10%
已载入
项目信息
预算
30 - 50 USD
VAT (20%):
6
- 10
USD
总计:
36
- 60
USD
开发人员
27
- 45
USD
截止日期
从 1 到 2 天