Job finished
Specification
Can someone help to find out why the MACD portion on this EA is not working, I have tried changing all inputs on only the MACD parameters but I keep getting the same entries when backtesting.
I have basically got the coded EA with basically all the features I require, I will attach a copy of the EA so you can see it, It
seems as if the MACD part does not seem to work when I do backtesting(on the stratergy tester). The following where
the initial specifications i provided the coder with:
Original 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)
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)
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
Addition to Original TDI Expert Advisor
Specifications::
I am looking for an additional indicator to be added to the original Expert advisor which was
designed according to the specifications above(Original TDI Expert Advisor Specifications). The following indicator
should be added to the original Expert Advisor.
· TIPU MACD indicator. Here is the link to download the TIPU MACD indicator source code:
https://www.mql5.com/en/code/18270
N.B
The TIPU MACD has four distinctive colours on its histogram(Dark red, Light red, Dark green, Light green)
Below are the buy and sell conditions that should be met for a trade to be executed by the new modified EA. Point 3 highlighted
in blue below is the additional point that includes the TIPU MACD indicator that should be added.
For Buy condition the following conditions should be met
1. The TDI green line must cross over the
red line(on the currently open timeframe) EA must open order at point of crossover
2. And the TDI green line must be anywhere ontop of the red line(on the optional higher timeframe)
3.
The Previous histogram on the TIPU MACD on the currently open timeframe should be light red
For Sell
condition the following 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)
3.
The Previous histogram on the TIPU MACD on the currently open timeframe should be light green.
Can someone assist and find out why the MACD portion on this EA is not working, I have taken one currency pair on a specific time duration and tried to input different inputs on only the MACD parameters but my entries never seem to change each time during the backtesting.
The following are attachments of the EA which was coded by the coder: