OPEN-SOURCE SCRIPT
已更新 5 Day ADR ICT Intraday Tracker

Pretty self explanatory, this indicator tracks todays current range as a % of the 5 Day ADR.
This is most useful for finding entries and looking for exits intraday, ie: how much hypothetical room is there for a trade to run? looking for entries in yellow and orange zones, exiting in blue once the ADR is reached etc.
Reset variable should be used for the end of day close. For forex on Oanda its 1700. Probably a way to do this programatically, if its obvious let me know and i can update it.
Can be set to clip output above 110% once the daily ADR has been fulfilled - this can be turned on or off.
Experimental mode for finding consolidations, based on the ADR for each day not been fulfilled and contracting. can be good for finding pending range expansion.
Code is pretty ugly, feel free to tweak.
current known issues: Indicator doesnt work for many non forex pairs, due to coding laziness. Indicator does not work on 1 minute timeframe.
This is most useful for finding entries and looking for exits intraday, ie: how much hypothetical room is there for a trade to run? looking for entries in yellow and orange zones, exiting in blue once the ADR is reached etc.
Reset variable should be used for the end of day close. For forex on Oanda its 1700. Probably a way to do this programatically, if its obvious let me know and i can update it.
Can be set to clip output above 110% once the daily ADR has been fulfilled - this can be turned on or off.
Experimental mode for finding consolidations, based on the ADR for each day not been fulfilled and contracting. can be good for finding pending range expansion.
Code is pretty ugly, feel free to tweak.
current known issues: Indicator doesnt work for many non forex pairs, due to coding laziness. Indicator does not work on 1 minute timeframe.
版本注释
Updated and adapted using code from [JS] - Average Daily Range - Daily (DTFL) by JorgeSilvestrini.Bug fixes - now calculates on small timeframes and non forex pairs correctly.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。