Trendoscope

Simple debug function

Trendoscope Wizard 已更新   
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:

  • 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精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?