Fernando Carreiro # : Judging from the source code, it seems to be "money" in the account currency, where the profit calculation takes into account swaps and commission.
Why not open in the direction of the trend? The reason for the question: in my experience, any EA that trades against the trend (with the expectation of price return) and uses Martigail, drains the deposit on a stable and long trend. EA kills the deposit if the price goes steadily and for a long time in one direction. I tried your EA on the known to me interval with several variations of MACD parameters, the result is the same: deposit drain. Try from 01.04.200, and see what happens from about 10.07. to 27.10.2020. Here is an example:
Why not open in the direction of the trend? The reason for the question: in my experience, any EA that trades against the trend (with the expectation of price return) and uses Martigail, drains the deposit on a stable and long trend. EA kills the deposit if the price goes steadily and for a long time in one direction. I tried your EA on the known to me interval with several variations of MACD parameters, the result is the same: deposit drain. Try from 01.04.200, and see what happens from about 10.07. to 27.10.2020. Here is an example:
If you do not like cats, then you do not know how to cook them.
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?
Just wanted to point out the strategy.
You have two eyes and one brain.
Look at the code.
Also, is the value of the "SecureProfit" function pips, points or money?
Best.
Judging from the source code, it seems to be "money" in the account currency, where the profit calculation takes into account swaps and commission.
Yes, that's right. Thank you!
Why not open in the direction of the trend?
The reason for the question: in my experience, any EA that trades against the trend (with the expectation of price return) and uses Martigail, drains the deposit on a stable and long trend.
EA kills the deposit if the price goes steadily and for a long time in one direction. I tried your EA on the known to me interval with several variations of MACD parameters, the result is the same: deposit drain. Try from 01.04.200, and see what happens from about 10.07. to 27.10.2020. Here is an example:
Why not open in the direction of the trend?
The reason for the question: in my experience, any EA that trades against the trend (with the expectation of price return) and uses Martigail, drains the deposit on a stable and long trend.
EA kills the deposit if the price goes steadily and for a long time in one direction. I tried your EA on the known to me interval with several variations of MACD parameters, the result is the same: deposit drain. Try from 01.04.200, and see what happens from about 10.07. to 27.10.2020. Here is an example:
Dealers Trade v 7.91 ZeroLag MACD:
Author: Vladimir Karputov