ekrem6nel

Spread Analyzer

This script plots the relative performance of the viewed security with respect to a selected benchmark. It can be used to identify assets higher than market average potential.

- The plot above is the relative volume.
- The plot below is the relative performance.

Computation is done by applying stochastic to the spread of the asset's current price/obv value to the benchmark defined by the Part1, 2 and 3.

The benchmark can be a portfolio as well:
Part1 = 4*SPY+2*QQQ
Part2 = XAUUSD+EURUSD

-PS: Each part may contain up to 10 symbols.

- The spread is calculated with the following formula
close / (Part1 + Part2 + Part3)

- Color code is based on the stochastic of macd of the spread.

The inputs:
length : lookback length for the stochastic
lenk : Smoothing factor(K) for stochastic
lend : EMA length(D)
MACD Fast / Slow / Smooth : MACD parameters used to determine the color code

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

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

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