OPEN-SOURCE SCRIPT

NBarForwardOdds

881
# N Bar Forward Odds

## Description

Calculates the probability of a closing price exceeding a closing price at a specified interval away from the
current bar. It does this by iterating through a series of intervals (1 to 20) and determining if the closing
price of the current bar is greater than the closing price of the bar at that interval.

## Usage:

Selectable base interval from the input configuration panel is calculated with a value step in a range `1:20` to get the final interval displayed.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。