---
title: How to use the Backtest Adapter with SRWI
description: "You can backtest the Astrofund SRWI indicator (or any other custom indicator if designed to do so) using the Backtest Adapter by jdehorty. ## Prerequisites - You **need **to have an indicator added to your chart which supports the backtest adapter! -…"
url: "https://astrofund.io/rtm/how-to-use-the-backtest-adapter-with-srwi/"
updated: "2025-04-17"
category: Astrofund
---

# How to use the Backtest Adapter with SRWI

You can backtest the Astrofund SRWI indicator (or any other custom indicator if designed to do so) using the Backtest Adapter by jdehorty.

## Prerequisites

- You **need **to have an indicator added to your chart which supports the backtest adapter!
  - If you have your own indicator developed, you simply need to add signals which you can stream to the backtest adapter. An example of this is shown here:
  - If you have your own indicator developed, you simply need to add signals which you can stream to the backtest adapter. An example of this is shown here:
    -  ![](https://astrofund.io/wp-content/uploads/2024/04/image-1.png)
- Add the backtest Adapter to your chart, you can find the Backtest Adapter here: **[Backtest Adapter](https://www.tradingview.com/script/Pu38F2pB-Backtest-Adapter/)**

## How to setup your Backtest Adapter

 First, the "Source" setting within the Backtest Adapter Settings after you have added it to your chart. Modify this source to point to "SuperRWI: Backtest Stream" OR your own indicator if you have added a backtest stream to it. ![](https://astrofund.io/wp-content/uploads/2024/04/image-2-1024x837.png) You should now be able to view the performance of the current SuperRWI indicator *or your own custom indicator* in the "Strategy Tester" tab within Tradingview ![](https://astrofund.io/wp-content/uploads/2024/04/Screenshot-2024-08-20-205912-1024x644.png)
