OPEN-SOURCE SCRIPT

Risk control

153
Risk control.
The indicator displays lines at a distance of % from the current price specified in the parameters. This risk is taken as 100% of the volume. Additionally, the max/min of the visible part of the chart is determined. The distance from the current price to the min/max is calculated in % and the ratio of the risk specified in the parameters to the risk to the min/max is displayed in 10% increments. The indicator is calculated based on the visible part of the chart on the screen. The direction of visualization depends on the visible part of the chart: if the opening price of the first candle is > the current price, visualization is from the minimum, otherwise from the maximum.
Required parameters: risk in %.
Visualization: line offset to the left/right, line color and thickness. Additional: table of 3 cells (background, font size and color).

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.