RadicalActivity
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: May 17th, 2022

Can I use private indicator's signals in Strategy Tester?

I have a private indicator that gives me buy/sell signals. Is it possible to use the indicator's buy/sell signals as points of trade entry with Pinescript to create a Strategy Tester?

I was looking at this, but not quite sure if this is the right way to import my indicator.

Code: Select all

signalFromStudy = input(close, "Input", input.source)
Also, unsure of how to access the buy/sell value. Is this even possible?

processingclouds
Pine Script Master
Pine Script Master
Posts: 115
Joined: January 30th, 2022

Re: Can I use private indicator's signals in Strategy Tester?

Hey,

You will have to convert it to a strategy, you cannot use one indicator with another, or one indicator with a strategy that are seperate codes.

Return to “Pine Script Q&A”