Trading bot

MQL5 変換

仕事が完了した

実行時間3 日
開発者からのフィードバック
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
開発者 1
評価
(542)
プロジェクト
624
33%
仲裁
38
37% / 50%
期限切れ
11
2%
多忙
2
開発者 2
評価
(294)
プロジェクト
470
39%
仲裁
102
40% / 24%
期限切れ
78
17%
多忙
パブリッシュした人: 2 codes
3
開発者 3
評価
(39)
プロジェクト
65
34%
仲裁
4
25% / 50%
期限切れ
9
14%
仕事中

プロジェクト情報

予算
30 - 50 USD
締め切り
最低 1 最高 2 日