#gapnik The script is designed to open a position on the output gap. Works with currency pairs of quotes format x. xxxxx (1.36254) - for example EURUSD. It will open a position at the optimal size of the gap (at least 10 points) with the target closing level of the previous week. Installed in a closed market, you can right before the opening of trading. It is placed on any timeframe, the moment of opening is important. Does not require any input parameters. When setting a stop loss, I recommend taking into account that the lot size corresponds to the leverage of 1:10. Successful Profits!