konidtaly88

Spread Chart

This script lets you chart a spread of a maximum of 3 tickers (one of them being the ticker in the main chart).

Y axis is the currency amount of the spread, that is calculated by this formula:

Y = PnL = quantity * price * handleValue

Y is calculated for each ticker specified, and the sum of Ys obtained is plotted.

this way it is possible to view the PnL of the spread directly.

It is necessary to specify the handle value (point value) in the script inputs (not for the main chart ticker).

A table summarizes the spread configuration, containing all inputs.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?