OPEN-SOURCE SCRIPT
Обновлено Simple debug function

Simple method I used to debug problem in my script.
For loop generates 5 numbers from the given depth. At present, depth is 9
Rules for generating the combinations are as follows:
While the logic above is just a random one. Debug method can be reused for any program.
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.
Информация о релизе
Few updates- 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.
Информация о релизе
Minor updates - introduced method add_to_array to have fixed size array
- Mix table max size issue
Информация о релизе
onlyLastBar set to false by defaultИнформация о релизе
convert to tostring before adding array to avoid errorsИнформация о релизе
Adding signature ;)Информация о релизе
- Further update to print bar time instead of bar index. Option added to chose bar index as well.
- Grouping of inputs.
Информация о релизе
Convert to v5Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.