---
id: "P:cAlgo.API.BacktestingDataSource.SupportOnlyOwnCustomTimeFrames"
kind: "property"
type: "T:cAlgo.API.BacktestingDataSource"
url: "https://help.ctrader.com/ctrader-algo/references/Plugin/Backtesting/DataSource/BacktestingDataSource/SupportOnlyOwnCustomTimeFrames/"
---

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

# BacktestingDataSource.SupportOnlyOwnCustomTimeFrames

Member of [BacktestingDataSource](https://help.ctrader.com/ctrader-algo/references/Plugin/Backtesting/DataSource/BacktestingDataSource/index.md).

## SupportOnlyOwnCustomTimeFrames

Gets / sets if current backtesting data source can be used only for owner plugin custom TimeFrames or for both owner plugin custom TimeFrames and built-in TimeFrames. If True current source will only appear if backtesting TimeFrame is owner plugin created custom TimeFrame.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Available to plugins only, and plugins cannot run in the CLI.
- Cloud: Available to plugins only, and plugins cannot run in the cloud.

C#:

```csharp
bool SupportOnlyOwnCustomTimeFrames {get; set;}
```

Python:

```python
backtestingDataSource.SupportOnlyOwnCustomTimeFrames: bool
```

### Returns

`bool` — 

Available since cAlgo.API 5.3.

### Examples

C#:

```csharp
var dataSource = Backtesting.DataSources.FirstOrDefault(source => source.Name == "My Data");
if (dataSource != null)
    dataSource.SupportOnlyOwnCustomTimeFrames = true;
```

Python:

```python
for dataSource in api.Backtesting.DataSources:
    if dataSource.Name == "My Data":
        dataSource.SupportOnlyOwnCustomTimeFrames = True
```

