leap-forward

HelperTA

Library "HelperTA"

This library contains useful technical indicators that I use regularly in my charts.

`stockRSI` is not mine, but included because used often and referenced by internal functions.

`DCO` is a normalisation of the donchian channels; the price relative to the donchian channels, on a range.

`MarketCycle` is a weighted aggregate of RSI, Stochastic RSI & DCO (demo on the chart)


stockRSI(src, K, D, rsiPeriod, stochPeriod)
  stockRSI
  Parameters:
    src (float)
    K (int)
    D (int)
    rsiPeriod (simple int)
    stochPeriod (int)
  Returns: <k, d>

DCO(price, donchianPeriod, smaPeriod)
  DCO
  Parameters:
    price (float)
    donchianPeriod (int)
    smaPeriod (int)
  Returns: <DCO, s>

MarketCycle(donchianPrice, rsiPrice, srsiPrice, donchianPeriod, donchianSmoothing, rsiPeriod, rsiSmoothing, srsiPeriod, srsiSmoothing, srsiK, srsiD, rsiWeight, srsiWeight, dcoWeight)
  MarketCycle
  Parameters:
    donchianPrice (float)
    rsiPrice (float)
    srsiPrice (float)
    donchianPeriod (simple int)
    donchianSmoothing (simple int)
    rsiPeriod (simple int)
    rsiSmoothing (int)
    srsiPeriod (simple int)
    srsiSmoothing (simple int)
    srsiK (simple int)
    srsiD (simple int)
    rsiWeight (simple float)
    srsiWeight (simple float)
    dcoWeight (simple float)
  Returns: <aggr>

Pineライブラリ

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

免責事項

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

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

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