Quarterly report pursuant to Section 13 or 15(d)

STOCK BASED COMPENSATION (Details)

v3.10.0.1
STOCK BASED COMPENSATION (Details) - USD ($)
3 Months Ended 9 Months Ended
May 08, 2018
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2018
Jul. 31, 2017
STOCK BASED COMPENSATION (Details) [Line Items]          
Proceeds from Stock Options Exercised       $ 5,665
Employee Stock Option [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation   $ 702,000 $ 481,000 1,153,000 933,000
Employee Stock Option [Member] | Chairman, President and Chief Executive Officer [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangement by Share-based Payment Award, Shares Issued in Period (in Shares) 1,500,000        
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) $ 3.70        
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term 10 years        
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate 119.60%        
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate 2.97%        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost   1,689,000      
Employee Stock Option [Member] | Employees And Directors [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation   2,446,000   2,446,000  
Employee Stock Option [Member] | Consultant [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation   $ 49,000 $ 0 $ 197,000 $ 0
Stock Issued During Period, Shares, Issued for Services (in Shares)       5,347 3,463
Consultation Expense       $ 15,000 $ 18,000
Minimum [Member] | Employee Stock Option [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period       1 year  
Minimum [Member] | Employee Stock Option [Member] | Chairman, President and Chief Executive Officer [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period 3 months        
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) $ 5.00        
Maximum [Member] | Employee Stock Option [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period       10 years  
Maximum [Member] | Employee Stock Option [Member] | Chairman, President and Chief Executive Officer [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period 7 months        
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) $ 8.00        
Warrant [Member] | Common Stock [Member] | Consultant [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Stock Issued During Period, Shares, Issued for Services (in Shares)   25,000      
Consultation Expense   $ 57,000      
2010 Share Plan And 2018 Share Plan [Member] | Employee Stock Option [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share)       $ 3.65 $ 2.18
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)       3,897,000 352,000
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in Shares)       48,600 2,200
Proceeds from Stock Options Exercised       $ 0 $ 6,000
Share-based Compensation Arrangement by Share-based Payment Award, Options, Withheld in Connection with Cashless Exercises (in Shares)       8,784 0
2010 Share Plan [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share)       $ 3.22  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)       475,000  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in Shares)       38,000  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant (in Shares)   425,719   425,719  
2018 Share Plan [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share)       $ 3.71  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)       3,422,000  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant (in Shares)   78,000   78,000  
2018 Share Plan [Member] | Restricted Stock [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation   $ 1,374,000   $ 1,374,000  
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) $ 3.70        
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term 3 years 21 days        
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate 128.80%        
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate 2.66%        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost   $ 3,440,000      
2018 Share Plan [Member] | Restricted Stock [Member] | Chairman, President and Chief Executive Officer [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share) $ 11.00        
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares) 1,500,000        
Stock Options Not Granted Under 2003 Share Plan 2010 Share Plan Or 2018 Share Plan [Member] | Employee Stock Option [Member]          
STOCK BASED COMPENSATION (Details) [Line Items]          
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)       1,780,000