OPEN-SOURCE SCRIPT
Bracket Preview

The Bracket Preview indicator allows the user to set their intended bracket order distance (distance, in ticks, to take-profit and stop-loss) from the current live price so that a preview is generated and updated in real-time as price moves. This gives the trader a quick reference of where the bracket orders would be placed if a position were entered at that specific moment in time. This can be helpful by making it more obvious to the trader before a trade is placed exactly where these levels would be in relation to previous price action or if it would be better to wait for price to move to a more favorable level or accept a different Risk-Reward (RR) from this specific trade.
• “If I entered a long position now, would my target be in front of or beyond a recent consolidation area where it is likely to run into resistance and potentially reverse before hitting my take-profit?”
• “Would this bracket order place my stop-loss above or below a previous pivot or would I need to move it after entering the trade and potentially increase the risk on this trade to have it in a more logical level?”
• “If price is in a range and I enter now, would my stop be in the middle of the range while my target is outside the top of the range? Maybe I should wait for price to move to an area where my target would be inside but near the top of the range while my stop loss is below the range so that I’m not taking unnecessary risk or being forced to take an unfavorable RR.”
• “If I entered a long position now, would my target be in front of or beyond a recent consolidation area where it is likely to run into resistance and potentially reverse before hitting my take-profit?”
• “Would this bracket order place my stop-loss above or below a previous pivot or would I need to move it after entering the trade and potentially increase the risk on this trade to have it in a more logical level?”
• “If price is in a range and I enter now, would my stop be in the middle of the range while my target is outside the top of the range? Maybe I should wait for price to move to an area where my target would be inside but near the top of the range while my stop loss is below the range so that I’m not taking unnecessary risk or being forced to take an unfavorable RR.”
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.