EMPLOYEE BENEFITS (Details Textual) - USD ($) |
3 Months Ended | |
|---|---|---|
Jan. 31, 2017 |
Jan. 31, 2016 |
|
| 401(k) Savings Plan [Member] | ||
| Defined Contribution Plan Disclosure [Line Items] | ||
| Defined Contribution Plan, Employer Discretionary Contribution Amount | $ 9,000 | $ 46,000 |