Volty expan close strategy

Specification

Bonjour,

J'ai besoin de convertir la stratégie ci-dessous de Trading view Pine Script en MT5 EA afin que je puisse le tester et l'exécuter.

Dans les options, j'aimerais que vous ajoutiez :

1. Travaillez sur n'importe quelle période.

J'ai besoin d'un fichier MQL5.

Merci par avance !

JP


//@version=5

strategy("Volty Expan Close Strategy", overlay=true)
length = input(5)
numATRs = input(0.75)
atrs = ta.sma(ta.tr, length)*numATRs
if (not na(close[length]))
    strategy.entry("VltClsLE", strategy.long, stop=close+atrs, comment = "VltClsLE")
    strategy.entry("VltClsSE", strategy.short, stop=close-atrs, comment = "VltClsSE")
//plot(strategy.equity, title="equity", color=color.red, linewidth=2, style=plot.style_areabr)


Responded

1
Developer 1
Rating
(600)
Projects
694
33%
Arbitration
43
47% / 44%
Overdue
12
2%
Loaded
2
Developer 2
Rating
(23)
Projects
29
14%
Arbitration
3
0% / 67%
Overdue
3
10%
Working
3
Developer 3
Rating
(298)
Projects
477
40%
Arbitration
105
40% / 24%
Overdue
81
17%
Loaded
Published: 2 codes
4
Developer 4
Rating
(16)
Projects
23
26%
Arbitration
1
0% / 0%
Overdue
2
9%
Free

Project information

Budget
30+ USD