The CurrentMinute function in ProBuilder language is used to retrieve the current minute of the hour from the system clock. The value returned is in the range of 0 to 59, representing the minute within the current hour.
Syntax:
CurrentMinute
Example Usage:
currentMin = CurrentMinute
// Use currentMin in your logic as needed
This example retrieves the current minute and assigns it to currentMin. You can then use this value in your logic for time-specific calculations or operations within trading algorithms that need to synchronize actions to specific minutes.
- The function does not require any parameters.
- It is particularly useful in time-based conditions or when logging time-specific events in a trading strategy.
Understanding the use of CurrentMinute can help in creating time-sensitive trading strategies or functions that need to execute at specific minutes within an hour.