This is a backtest for my CCI PWR indicator here. It works very well on a daily chart but may be useful for lower timeframes.
You can change the backtest settings to test different periods of time.
I have included a stop-loss function that will exit a trade if the price goes against the signals. The parameter is an integer that represents a %age of the current price, so for example, a value of 2 would mean a stoploss is set 2% below a long entry or 2% above a short entry.
Here is an image of ETH/BTC with the same settings.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.