The strategy trades GBPUSD based on a momentum indicator, the Relative
Strength Index (RSI). Only one order per day is allowed. There are 2
types of orders: type A and type B.
Orders type A can be opened from 6 AM to 15 PM and from Monday to
Thursday; on Fridays, the schedule is different, from 6 AM to 12 AM.
The trading period for orders type A is 1-hour, whilst for orders type
B, the period is 10-sec.
To open a buy order type A, the following conditions have to be
verified: the RSI(current bar…