Trabalho concluído
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Termos de Referência
TDI Expert Advisor Specifications
I am looking for an Expert Advisor that will use the TDI indicator to open buy/sell market orders
· Traders Dynamic Index(TDI). Here is the link to download the TDI indicator source code: https://www.earnforex.com/metatrader-indicators/Traders-Dynamic-Index/
The EA must use two timeframes to confirm the buy/sell entry(The currently opened timeframe and an optional higher timeframe.
The EA must only open buy/sell orders when the following conditions are met on the closing of the current candlestick on the current open timeframe.
For Buy condition the following two conditions should be met
1. TDI green line must cross over the red line(on the currently open timeframe) EA must open order at point of crossover
2. And TDI green line must be anywhere ontop of the red line(on the optional higher timeframe)
1.Currently opened timeframe crossover(e.g M15) 2.Optional higher timeframe(e.g H1)
For Sell condition the following two conditions should be met
1. TDI red line must cross over the green line(on the currently open timeframe) EA must open order at point of crossover
2. And TDI red line must be anywhere ontop of the green line(on the optional higher timeframe)
1.Currently opened timeframe crossover(e.g M15) 2.Optional higher timeframe(e.g H1)
N.B Another order can only be opened when the current order is closed
ALL TDI PARAMETERS SHOULD BE USER DEFINED(These parameters will be applied to both the currently opened timeframe and the optional higher timeframe):
RSI Period = user defined
RSI Price = user defined
Volatility band = user defined
StdDev = user defined
RSI Price line = user defined
RSI Price type = user defined
Trade Signal line = user defined
Trade Signal type = user defined
THE FOLLOWING ADDITIONAL PARAMETERS SHOULD BE USER DEFINED
Stop Loss = user defined
Take profit = user defined
Break even option = user defined
Manual Lot site for each trade = user defined
Automatic Lot size(calculated using percentage of equity) = user defined
Magic number for trades
Number of trades per single entry(example entre with 3 trades on one entry)
Option to select trade direction(only buy or only sell)
Optional time frame to confirm entry