OPEN-SOURCE SCRIPT

Chart Custom Period Scanner

108
How it Works
1. The Scanner (Inputs): The script defaults to a 20-bar lookback. This means it scans the last 20 candles. You can change this to 50, 200, or any number you like in the settings menu.
2. The Logic:

* It calculates the Highest Price reached in that past period.
* It calculates the Lowest Price reached in that past period.
3. The Suggestion:
* BUY: If the current price breaks above the highest price of your past period, it suggests the trend is turning bullish.
* SELL: If the current price breaks below the lowest price of your past period, it suggests the trend is turning bearish.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.