powered by
This function defines the operations hours of the EA.
operation_hours(start_time, end_time, time_zone)
The time that the EA should start to trade.
The time that the EA should stop to trade and close the open positions.
The time zone.
A logical variable TRUE if the Expert Advisor can trade.
# NOT RUN { time_zone <- "Brazil/East" op_hours<- operation_hours(start_time = 9.5, end_time = 17, time_zone = time_zone) # }
Run the code above in your browser using DataLab