Buy&Hold — Strategy by smith26

By smith26

Performance Metrics

Description

A basic Buy and Hold strategy, which is useful for comparing against your other strategies. You have to specify when you want the strategy to exit in the code, because the built in 'barstate.islast' and 'barstate.isrealtime' functions don't seem to work properly.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView