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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?