Simple debug function

For loop generates 5 numbers from the given depth. At present, depth is 9
Rules for generating the combinations are as follows:
- First number is always 1
- Two even numbers should not be adjacent to each other and two odd numbers should not be adjacent to each other
- Numbers should be ordered in incremental order.
- Print all possible combinations
While the logic above is just a random one. Debug method can be reused for any program.
- Made logs scrollable by adding start index as input. This is set to 0.
- Added barindex as first column for reference. This can also be changed to date and time. But, thought bar index is more useful to have.
- Added maxLogSize which refers to size of logs. Max value is 100000 - beyond that it will give runtime error. Hence, set maxvalue to avoid that.
- introduced method add_to_array to have fixed size array
- Mix table max size issue
- Further update to print bar time instead of bar index. Option added to chose bar index as well.
- Grouping of inputs.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Thông báo miễn trừ trách nhiệm
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io