Restricting trading period triggers multiple positions on one candle
-
Hi
I got a question: I am using the example of trade given on the https://fxdreema.com/documentation/builder/crossover page, where a candle that closes above 20SMA enters a long trade.
My aim is to restrict trading activity for some period of time during the day, say 10-17 server time.
When I remove the "No trade" restriction, I have longs triggered throughout the day as expected.
Then I've tried two variables:
- Hours filter, which would have been my first choice, where I input 10-17 as trading range.
- Time filter, where I also input 10-17 as trading range
https://fxdreema.com/shared/GxxZVMYT
The result is the same whathever the filter that is applied:
- No trade outside of the trading range, which is good
- 1st candle that matches the "candle cross MA" trigger opens multiple long positions.
Why would that be?
thanks for your help!
-
@e-so That depends on the maximum number of open trades you want. You should definitely use the second block 'hours filter'. The you should decide if any open trade withing that period should be closed at 17:00 or not.