TradingView
racer8
29 Th09 2020 02:17

SuperTrend Counter [racer8] 

GoldOANDA

Mô tả

SuperTrend Counter counts the number of signals SuperTrend has produced over a defined lookback period. It may be useful if you want to backtest SuperTrend. If so, this is the perfect indicator for you. Special thanks to everget, I used part of his SuperTrend indicator. Enjoy ;)

Phát hành các Ghi chú

Lookback set to 1000 periods as default setting.
Bình luận
blackcat1402
great idea! Thanks for sharing. It is interesting to introduce ATR here. Maybe it may be clear with fast line slow line crossing to indicate the counts.
racer8
@blackcat1402, Your welcome :D
RandEvolution
Hi, thanks for sharing code. Is it also possible to measure performance statistic such as win/loss percentage, buy/sell count and profit percentage...
racer8
@RandEvolution, your welcome. This indie was built only for counting. It's purely experiemental, and not intended to be necessarily practical.
Thêm nữa