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).
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.