---
id: "P:cAlgo.API.ChartRiskReward.StopLossPrice"
kind: "property"
type: "T:cAlgo.API.ChartRiskReward"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartRiskReward/StopLossPrice/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# ChartRiskReward.StopLossPrice

Member of [ChartRiskReward](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartRiskReward/index.md).

## StopLossPrice

Gets or sets the stop loss price.

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: Created and kept with all its properties, but never drawn: the CLI displays no chart.
- Cloud: Created and kept with all its properties, but never drawn: the cloud displays no chart.

C#:

```csharp
double StopLossPrice {get; set;}
```

Python:

```python
chartRiskReward.StopLossPrice: float
```

### Returns

`double` — 

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var riskReward = Chart.DrawRiskReward("rr", Bars.OpenTimes.Last(10), Bars.OpenTimes.LastValue, Symbol.Ask, OrderType.Market, TradeType.Buy, new ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.BalancePercentage, 1));
riskReward.StopLossPrice = riskReward.EntryPrice - 30 * Symbol.PipSize;
Print("Stop loss price: {0}", riskReward.StopLossPrice);
```

Python:

```python
riskReward = api.Chart.DrawRiskReward("rr", api.Bars.OpenTimes.Last(10), api.Bars.OpenTimes.LastValue, api.Symbol.Ask, OrderType.Market, TradeType.Buy, ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.BalancePercentage, 1))
riskReward.StopLossPrice = riskReward.EntryPrice - 30 * api.Symbol.PipSize
api.Print(f"Stop loss price: {riskReward.StopLossPrice}")
```

