Loading…

Trading session – Prevent Open

Back to modules

Prevent Open modules take any input and, if the set conditions are met, (temporarily) prevents opening any new orders.

The Trading session – Prevent open module, will wait for opening times and only open orders between opening and close times. The user (you) will have to make sure the correct times are set based on your server’s time.

Orders will still be closed by Close- Signals and Modules outside these times.

This module will not automatically close orders.

Settings

  • StartOpeningHourServerTime: the hour (using 0-24) when opening new orders/ positions start. Setting it to 13 equals 1PM.
  • StartOpeningMinuteServerTime: the minutes (0-60) when opening new orders/ positions start.
  • StopOpeningHourServerTime: the hour where opening orders/ positions have to be stopped. (0-24).
  • StopOpeningMinuteServerTime: the minutes (0-60) when opening new orders/ positions have to be stopped.