Experts: Dealers Trade v 7.91 ZeroLag MACD

 

Dealers Trade v 7.91 ZeroLag MACD:

A further development of code "Dealers Trade v 7.74 MACD" (https://www.mql5.com/en/code/19535). "Zero-lag MACD" (https://www.mql5.com/en/code/170) is used. When the number of positions increases, the following is also increased: step between positions, lot size, take profit (martingale).

Author: Vladimir Karputov

 

I have this error in my tester. what is wrong with the indicator?

Files:
USDJPY.jpg  94 kb
 
Eduard Gluhov:

I have this error in the tester. what is wrong with the indicator?


Is the indicator"MACD with zero lag" downloaded? Is it downloaded under the name "zerolag_macd.mq5"? Is it placed in the indicators folder?

 

I figured it out, in the indicator code in line 78 there is a word ZeroLag MACD, I changed it to small letters zerolag_macd and everything worked.

 
Unfortunately it not work on MT5, there no results on backrests.
 
soulkeeper131 :
Unfortunately it not work on MT5, there no results on backrests.

Your message does not bear any information.

Look -

An example of the tests in the Tick Ticket on the H1 timeframe with the initial deposit $ 50000 (with default inputs):

Symbol Pass Result Profit Expected Payoff Profit Factor Recovery Factor Sharpe Ratio Custom Equity DD% Trades
EURUSD 0 4258.61 25755.12 120.92 1.29 2.23 0.12 0 17.79 213
USDCHF 2 3926.94 16444.75 89.37 1.23 1.31 0.10 0 16,92 184
AUDCHF 8 1992.67 201002.50 1322,38 3.68 3.19 0.10 0 125.96 152
GBPUSD 1 1863.80 32885.21 118.29 1.27 0.72 0.12 0 44.47 278
AUDJPY 9 1766,38 10454.94 49.55 1.12 0.42 0.06 0 34.23 211
CADCHF 19 1637.65 3740.37 27.50 1.06 0.20 0.04 0 32,82 136
AUDUSD 5 1380.94 -2409.08 -15.75 0.97 -0.14 0.00 0 34.46 153
USDJPY 3 1330.16 3205.03 11.41 1.02 0.12 0.02 0 40.00 281
EURGBP eleven 1230.38 4365.99 26.62 1.05 0.16 0.03 0 44.19 164
AUDCAD 7th 1211,38 656.34 3.91 1.01 0.03 0.01 0 41.82 168
EURCAD 16 1189.20 2053.86 6.63 1.01 0.08 0.02 0 43.77 310
CHFJPY 10 940.61 -7405.27 -35.95 0.92 -0.28 -0.02 0 45.28 206
EURJPY 14 862.14 66.71 0.23 1.00 0.00 0.01 0 58.07 287
EURCHF 13 712.52 -10484.91 -91.97 0.81 -0.33 -0.06 0 55.46 114
USDCAD 4 567.01 -16854.03 -74.58 0.84 -0.50 -0.06 0 58.46 226
GBPCHF 17th 563.15 -10039.42 -36.64 0.94 -0.20 -0.01 0 70.96 274
AUDNZD 6th 487.68 -19841.20 -116.71 0.74 -0.63 -0.10 0 61.84 170
EURAUD 12 479.76 -12733.15 -39.42 0.92 -0.32 -0.01 0 77.68 323
EURNZD 15 213.11 -34083.91 -94.42 0.82 -0.86 -0.06 0 74.69 361
GBPJPY 18 18.31 -48130.44 -147.19 0.78 -0.70 -0,11 0 102.08 327

I did not draw the table with the tests :).


Start studying the terminal, learn how to use the log files. The error log is displayed in the log file.

 
Why does it only short?
 
Such a market
 
Vladimir Karputov:
Such a market

But the ZeroLag MACD crosses long and the sell position remains open.

 
N1lz_:

But the ZeroLag MACD crosses long and the sell position remains open.

The EA uses the MartinGale strategy.

It is logical that there is a sell and buy position at the same time.

 
Christian:

The EA uses the MartinGale strategy.

It is logical that there is a sell and buy position at the same time.

I realise that, but the EA sells when it should buy. (I have already tested the reverse settings)

When does it sell the position, e.g. if it has bought before an uptrend? Does it always leave it open?