RX-RAY

Kzx PT mod v1.0 by RX-RAY

RX-RAY 已更新   
Kzx Position tracker mod v1.0 by RX-RAY
Original script by K-zax


The modification was made for the USDRUB ticker (the number of digits in the values ​​of price, interest, lot volume and profit loss for other tickers may affect the positioning of the inscription, but it is fully operative and it may be used with other tickers )

Typical label view:
74.30 - ENTRY PRICE
+/-0.16% - % of price chang ( range +/-9.99)
20 - position value (range 0-99)
(S) - position type (L) - long (S) - short
+/-0017 - actual profit/loss in cash (range +/- 9999)

(All range value for correct label position,
but script mod can be used out off range)



List of additions and changes:
1. Added display of position value, short / long position type and profit / loss value (including broker commission).
2. Positive interest change now corresponds to profit, negative change in interest to loss in accordance with the type of position ( short/long )
3. The position of the inscription and the digits of the values ​​are fixed and now insignificantly depends on the change in the time interval and the change in the scale of the graph and the change in data values ​​and their signs.
4. Added changing the color of the inscription in the situation positive price change, but profit < commission fee. (critical gain).



版本注释:
Аdded tags to make it easier to find the script
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?