|
Din 2.6 delay method
I thought I made that clear in the message.
The input useDelay is a switch. When set to 1 the switch is turned on.
When the switch is turned on no trades will be placed for the number of minutes you input if the last trade was a loss. The time is taken from the close of the trade. Default time is 3 hours (180 minutes).
If you want to also delay after a win you must turn on the switch useDelayAfterWin.
The EA will then delay 3 hours from the close of the last trade, win or loss is not checked, only the time of the close.
This works on backtest and I hope will also work on forward test. It looks at the trade history so if the closed trade is not yet in Trade History there could be a problem.
I do not think that will happen because I have used this delay method on other EAs.
Robert
|