OPEN-SOURCE SCRIPT
Updated

OTE optimal trade entry (ICT); visible chart only: Dynamic

51 363
-simple tool based on ICT free YouTube material of many years.
-Highlights a box showing Optimal Trade Entry (OTE): 61.8% - 78.6% retracement
-Auto shifts depending on Bull or Bear move on chart.
--If visible chart is Bullish (low then high): shows OTE box 61.8-78.6% retracement down from the high
--If visible chart is Bearish (high then low): shows OTE box 61.8-78.6% retracement up from the low

-Thanks the use of PineCoders Visible Chart Library, and some of the example code there



Release Notes
Added color formatting options
Release Notes
removed redundant code; made some explanatory comments
Release Notes
removed redundant variables for Bar, volume and Label
Release Notes
-corrected small error in Fib number (inverse of 78.6 is 21.4 not 23.6)
-added more Fib levels to play around with (default toggled off)
Release Notes
-added option to plot two user input Fib Extensions (projected Fib extensions) for cases where price might fully reverse and reach beyond the high / low
-added user toggle show/hide labels for Fib Extensions
Release Notes
fixed issue with fib extension labels
Release Notes
-Added option to flip/invert Fib projections (above range or below range)
-tweaked code for Extension labels to always display positive numbers
Release Notes
(removed unrelated drawings from displayed chart)
Release Notes
~Added user choice of Bodies or wicks (i.e. draw the high-low fib range from body high/low or from wick high/low; default is wicks)
~Removed Library dependency and put all the required functions directly into the script
Release Notes
Corrected default Fib extension levels
Release Notes
Revised this to call from a custom library to reduce code length
Release Notes
-Added more Fib Extensions: total of 6 optional fib extensions now
Release Notes
-corrected Fib titles in settings box
Release Notes
-Added option to toggle on/off Fib Retracement price labels. Default is off

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.