Trendoscope

Simple debug function

Trendoscope Wizard Telah dikemas kini   
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.
Nota Keluaran:
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.
Nota Keluaran:
Minor updates
  • introduced method add_to_array to have fixed size array
  • Mix table max size issue
Nota Keluaran:
onlyLastBar set to false by default
Nota Keluaran:
convert to tostring before adding array to avoid errors
Nota Keluaran:
Adding signature ;)
Nota Keluaran:
  • Further update to print bar time instead of bar index. Option added to chose bar index as well.
  • Grouping of inputs.
Nota Keluaran:
Convert to v5

Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?