Trendoscope

RecursiveAlerts

Trendoscope Wizard アップデート済   
Library "RecursiveAlerts"
The library provides options to run alert() calls in loop without worrying about limitations of frequency options.
When an alert statement is called within a loop,
it will fire just once per bar irrespective of how many iterations allowed when fequency is set to alert.freq_once_per_bar or alert.freq_once_per_bar_close
it will fire continuously till it breaks when frequency is set to alert.freq_all
The function helps overcome this issue by using varip key array which resets on every bar

rAlert(message, key) Enhanced alert which can be used in loops
  Parameters:
    message: Alert message to be fired
    key: Key to be checked to avoid repetitive alerts
  Returns: array containing id of already fired alerts


Thanks to @theheirophant, @JohnBaron and @LucF for discussions and suggestion which eventually lead to this solution :)
リリースノート:
v2

Added:
updateAlertTemplate(template, keys, values)
  Updates alert template with given keys and values
  Parameters:
    template: Alert message template
    keys: array containing placeholders to be replaced
    values: array containing values which will replace placeholder keys
  Returns: updated alert message

Pineライブラリ

TradingViewの精神に則り、作者はPineコードをオープンソースライブラリとして公開し、コミュニティの他のPineプログラマーが再利用できるようにしました。作者に敬意を表します!このライブラリを個人的に、または他のオープンソースの投稿で使用することができますが、、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

このライブラリを使用したいですか?

以下の行をコピーして、スクリプト内に貼り付けてください。