Search found 1 match

Go to advanced search

by ThomasG
Sun Mar 20, 2022 8:57 am
Forum: Pine Script Q&A
Topic: Backtest only the last x trades
Replies: 1
Views: 539
 
Jump to post

Backtest only the last x trades

Hi

I would like my script only to backtest the last 20 closed trades from the last closed bar and back. Is that even possible?

Thanks for any help

Go to advanced search