İş tamamlandı
Şartname
I need to convert the below Strategy from Trading view Pine Script to MQL5 EA which I can backtest and that can do algo trading.
In the options I would like you to add:
1. Work on any timeframe.
2. Possibility to change lenght and num ATRs.
3. Include SL and TP in Pips / tick.
4. Option to choose to Open only Longs or only Short positions
5. Option to close the trade automatically (upon change of signals from long to short and vice versa) or manually
ps: I want the MQL5 file.
LINE BREAK CHART
Volty Expan Close Strategy - see trading view script below:
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")