OPEN-SOURCE SCRIPT
Wx2 Treasure Box – Institutional Entry

🧩 Indicator Overview: Wx2 Treasure Box – Institutional Entry
Designed to detect Institutional Bars (IBs) and visualize high-probability entry zones, this script helps traders align with potential smart-money activity.
Institutional Bars are defined as Entry of Smart Money
⚙️ How It Works
20-period and 200-period Simple Moving Averages are plotted to show short‑ and long‑term trend direction.
On identification of an IB:
A label “IB” is placed above the bar.
A rectangular box is drawn around its high–low range, extending several bars to the right to mark the trade zone
Trade Signals & Setup Guidelines
Buy Entry:
Trigger: Price breaks above the box.
Stop Loss (SL): Set just below the box bottom.
Sell Entry:
Trigger: Price piercing below the box.
SL: Placed above the box top.
Risk-to-Reward Ratio (RRR):
Target RRR of 1:2 is recommended
Best Execution Zone:
Treasure Box is the best with 20SMA+200 SMA+Price in it.
📽️ Video Link
You’ve linked a YouTube video for explanation:
Watch Here
Designed to detect Institutional Bars (IBs) and visualize high-probability entry zones, this script helps traders align with potential smart-money activity.
Institutional Bars are defined as Entry of Smart Money
⚙️ How It Works
20-period and 200-period Simple Moving Averages are plotted to show short‑ and long‑term trend direction.
On identification of an IB:
A label “IB” is placed above the bar.
A rectangular box is drawn around its high–low range, extending several bars to the right to mark the trade zone
Trade Signals & Setup Guidelines
Buy Entry:
Trigger: Price breaks above the box.
Stop Loss (SL): Set just below the box bottom.
Sell Entry:
Trigger: Price piercing below the box.
SL: Placed above the box top.
Risk-to-Reward Ratio (RRR):
Target RRR of 1:2 is recommended
Best Execution Zone:
Treasure Box is the best with 20SMA+200 SMA+Price in it.
📽️ Video Link
You’ve linked a YouTube video for explanation:
Watch Here
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.