If you search in the manual for "enterLong" or "enterShort", I believe these functions have parameters to meet your needs.