The script must perform the following tasks for the current symbols At every new 1 hour candle:
1. get the open candle price and set 1 BUY STOP order at X pips of distance (number to set) from the open price with (number to set) pips Take Profit and (number to set) pips Stop Loss.
2. get the open candle price and set 1 SELL STOP order at X pips of distance (number to set) from the open price with (number to set) pips Take Profit and (number to set) pips Stop Loss.
3. If any (or both) pending orders has not been executed, script must cancel pending orders before the new 1 hour candle