Can't explain why condition followed only once
-
The project bellow contains two EAs. If I run the one on the left (by turning the one on the right off), The EA makes multiple trades. However, the one the right only makes the first trade.
The only difference is that I put a condition block on the right side one which checks to see if the month on the chart during the backtest is January 2014, before allowing a trade. I can't understand why it will follow the date condition, but only once.
Thanks
-
@tonyramirez Just change the == value in that block by <=.
-
Thanks, tried that previously with all 4 combos, here were the results for backtest restricted to Jan 2020:
- No date filter, 34 trades
- '==' operand, 8 trades
- '>=' operand, 8 trades
- '<=' operand, 34 trades
I don't get why 2 and 3 don't work. if you limit the dates on the backtest setup to Jan 2020 then shouldn't they generate the same result?
They all contain '=' and the block should filtering for dates equal to Jan 2020!
-
@tonyramirez Then I guess it is a bug. Can you please reopen this same thread in the Bug forum? The admin looks at it regulary. Additionally I recommend you to contact him through the support page to let him know.