Spezifikation
I need the existing Trading view strategy built into an MT5 EA
Strategy:
It involves 2X tradingview indicators:
- UT Bot Alerts (by QuantNomad)
- Linear Regression Candles (by LuxAlgo)
Pine Script for both of these is available and can be provided if needed.
Strategy is:
Open a buy trade when the UT Bot Alerts prints the buy signal and the current candle closes above the Linear regression line
Open the sell trade when the UT Bot Alerts prints sell signal and the current candle closes below the Linear regression line
EA Inputs:
Chart TF
Symbol
Order Comment
Order Type (Options - Buy, Sell, Both - Buy and Sell)
Initial Lot
Lot Multiplier
Magic Number
Stop Loss
Take Profit
Pyramiding
Determines how multiple orders are treated.
This EA option will only recognize positions opened by the this EA based on Magic Number.
Options
On
All incoming trades will open without restrictions
On — If symbol & direction in profit
An incoming buy EURUSD will only open if summation of all buy EURUSDs has a profit of more than $0
Off — Either 1 Buy OR 1 Sell
If you already have 1 buy EURUSD, the sell EURUSD will not open
If you already have 1 buy EURUSD, the next buy EURUSD will not open
Off — Only 1 Buy AND 1 Sell
If you already have 1 buy EURUSD, the sell EURUSD will open
If you already have 1 buy EURUSD, the next buy EURUSD will not open
Close on Reverse
Determines the treatment of opposite signals.
This EA option will only recognise positions opened by this EA based on Magic Number.
Options
On — Hedging
When a sell signal is received, open buy positions will be closed followed by a corresponding sell position opening, and vice-versa
If you have 3 buy EURUSD positions open, an incoming sell EURUSD will result in the 3 buy EURUSD positions to close followed by the sell EURUSD opening
On — Netting
When a sell signal is received, open buy positions will be closed without opening a corresponding sell position, and vice-versa
If you have 3 buy EURUSD positions open, an incoming sell EURUSD will result in the 3 buy EURUSD positions to close with no sell position opening
Off
Incoming buy and sell signals will not affect open positions
Inputs for the Linear Regression Candle and UT Bot Alerts indicators to be built in the EA