OPEN-SOURCE SCRIPT
Обновлено Time Anchored FX Level

FX-Anchored Price Level
This indicator anchors a historical price at a specific date and time, and optionally links that anchor to a secondary FX rate to create a dynamic, currency-aware price level.
Thus, e.g. one visualize a past BTCEUR price on a BTCUSD chart now.
At the selected timestamp, the script captures the chart price using the chosen timeframe and price source.
If a secondary ticker is provided (for example, an FX rate), the anchored value is fixed in that secondary currency and then converted back to the chart currency on every bar. The result is a moving level that reflects changes in the exchange rate over time.
If no secondary ticker is set, the indicator behaves as a classic time-anchored price level and plots a constant historical price.
Key features
* Anchor a price to an exact date and time (string input with optional hour offset)
* Optional secondary ticker for FX or cross-rate conversion
* Dynamic level plotted as a series (updates like a moving average)
* User-selectable calculation timeframe and price source (Open, Close, etc.)
* Visual anchor marker at the original timestamp
* Last-bar price label for clear readability
Typical use cases
* FX buyback or re-entry levels after converting proceeds into another currency
* Evaluating historical prices in constant-currency terms
* Comparing past executions to current market conditions
* Anchoring risk or valuation levels across time and exchange rates
This tool is designed for traders who need precise, time-anchored reference levels that remain meaningful as currencies and markets evolve.
This indicator anchors a historical price at a specific date and time, and optionally links that anchor to a secondary FX rate to create a dynamic, currency-aware price level.
Thus, e.g. one visualize a past BTCEUR price on a BTCUSD chart now.
At the selected timestamp, the script captures the chart price using the chosen timeframe and price source.
If a secondary ticker is provided (for example, an FX rate), the anchored value is fixed in that secondary currency and then converted back to the chart currency on every bar. The result is a moving level that reflects changes in the exchange rate over time.
If no secondary ticker is set, the indicator behaves as a classic time-anchored price level and plots a constant historical price.
Key features
* Anchor a price to an exact date and time (string input with optional hour offset)
* Optional secondary ticker for FX or cross-rate conversion
* Dynamic level plotted as a series (updates like a moving average)
* User-selectable calculation timeframe and price source (Open, Close, etc.)
* Visual anchor marker at the original timestamp
* Last-bar price label for clear readability
Typical use cases
* FX buyback or re-entry levels after converting proceeds into another currency
* Evaluating historical prices in constant-currency terms
* Comparing past executions to current market conditions
* Anchoring risk or valuation levels across time and exchange rates
This tool is designed for traders who need precise, time-anchored reference levels that remain meaningful as currencies and markets evolve.
Информация о релизе
FX-Anchored Price LevelThis indicator anchors a historical price at a specific date and time, and optionally links that anchor to a secondary FX rate to create a dynamic, currency-aware price level.
Thus, e.g. a past BTCEUR price can be viewed on chart in BTCUSD now.
At the selected timestamp, the script captures the chart price using the chosen timeframe and price source. If a secondary ticker is provided (for example, an FX rate), the anchored value is fixed in that secondary currency and then converted back to the chart currency on every bar. The result is a moving level that reflects changes in the exchange rate over time.
If no secondary ticker is set, the indicator behaves as a classic time-anchored price level and plots a constant historical price.
Key features
* Anchor a price to an exact date and time (string input with optional hour offset)
* Optional secondary ticker for FX or cross-rate conversion
* Dynamic level plotted as a series (updates like a moving average)
* User-selectable calculation timeframe and price source (Open, Close, etc.)
* Visual anchor marker at the original timestamp
* Last-bar price label for clear readability
Typical use cases
* FX buyback or re-entry levels after converting proceeds into another currency
* Evaluating historical prices in constant-currency terms
* Comparing past executions to current market conditions
* Anchoring risk or valuation levels across time and exchange rates
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.