Description Usage Arguments Value Examples
View source: R/operation_hours.R
This function defines the operations hours of the EA.
1 | operation_hours(start_time, end_time, time_zone)
|
start_time |
The time that the EA should start to trade. |
end_time |
The time that the EA should stop to trade and close the open positions. |
time_zone |
The time zone. |
A logical variable TRUE if the Expert Advisor can trade.
1 2 3 4 | time_zone <- "Brazil/East"
op_hours<- operation_hours(start_time = 9.5,
end_time = 17,
time_zone = time_zone)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.