OPEN-SOURCE SCRIPT

Risk control

154
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 อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน