INVITE-ONLY SCRIPT
已更新 SME Backtesting [TFO]

This strategy script is an extension of my Smart Money Essentials (SME) indicator and aims to provide a simplified means of backtesting complex trade models that incorporate a variety of Smart Money Concepts.
Among other things, Smart Money Essentials contains logic for:
- Market structure
- Fair Value Gaps
- Order Blocks
- Breaker Blocks
- Optimal Trade Entries
- HTF Market Structure
The Confluence section can then be utilized to build and test trade models from any combination of the included factors. As a basic example, we could test a strategy that only utilizes market structure. With Manual Exit turned off, we would simply be flipping long on bullish market structure shifts, and reversing short on bearish market structure shifts for the duration of the user-defined session.

As one might expect, such a simple strategy isn't expected to produce very reliable results by itself. However, we could build on these ideas by adding extra layers of Confluence, like looking for entries where Market Structure aligns with Order Block interactions. We could also turn on Manual Exit with a 40 tick stop loss and 80 tick profit target (10 points and 20 points, respectively, for ES futures), for more defined exit criteria.

One could expand on these ideas by adding factors like Fair Value Gaps, HTF Market Structure, etc. Any of the core pieces of SME can be used to build and backtest strategies that would otherwise be extremely tedious to do by hand, and as the SME indicator grows, so too will this backtesting script. Ultimately, the purpose of this is to make Smart Money Concepts more objective and easily testable so that users may better understand where these concepts may perform best.
Among other things, Smart Money Essentials contains logic for:
- Market structure
- Fair Value Gaps
- Order Blocks
- Breaker Blocks
- Optimal Trade Entries
- HTF Market Structure
The Confluence section can then be utilized to build and test trade models from any combination of the included factors. As a basic example, we could test a strategy that only utilizes market structure. With Manual Exit turned off, we would simply be flipping long on bullish market structure shifts, and reversing short on bearish market structure shifts for the duration of the user-defined session.
As one might expect, such a simple strategy isn't expected to produce very reliable results by itself. However, we could build on these ideas by adding extra layers of Confluence, like looking for entries where Market Structure aligns with Order Block interactions. We could also turn on Manual Exit with a 40 tick stop loss and 80 tick profit target (10 points and 20 points, respectively, for ES futures), for more defined exit criteria.
One could expand on these ideas by adding factors like Fair Value Gaps, HTF Market Structure, etc. Any of the core pieces of SME can be used to build and backtest strategies that would otherwise be extremely tedious to do by hand, and as the SME indicator grows, so too will this backtesting script. Ultimately, the purpose of this is to make Smart Money Concepts more objective and easily testable so that users may better understand where these concepts may perform best.
發行說明
v1.1.0- Re-enabled the Liquidity setting, as it impacts the size of the Optimal Trade Entry auto-fib
發行說明
v1.1.1- Fixed an issue where the Optimal Trade Entry wasn't being utilized
發行說明
v1.2.0- Added Premium & Discount to the confluence section, in addition to OTE
- Added optional entry delay
發行說明
v1.3.0- Breaker Blocks have been updated to act similarly to Order Blocks, with their boxes being extended until mitigated, rejections that can be filtered by the current trend, etc.
- Added optional Rejection Strength parameters to all relevant Confluence features, where previously the default was locked at 1
發行說明
Updates to Author's Instructions for access. No version change發行說明
v1.4.0- Added a Confluence option to Wait for Rejections. With this enabled, price must form a local swing high/low in the selected POI (if any) in order to meet the Confluence criteria. This can serve as additional confirmation to see if price is potentially respecting said POI
- Removed the Confluence threshold to avoid confusion. It is now automatically calculated based on the selected Confluence factors
- Bug fixes
發行說明
v1.4.1- Bug fixes
發行說明
v1.5.0- Added Timeframe Continuity (TFC) as a major feature and a Confluence option that may be used in conjunction with all other major indicator features
發行說明
v1.5.1- Minor bug fixes regarding MTF Structure and TFC
發行說明
v1.6.0- Added dynamic Stop Loss and Profit Target options, in addition to the original fixed values
- Removed Liquidity's dependency on Pivot Strength
- Improved FVG logic and Displacement Strength sensitivity
發行說明
v1.6.1- Bug fixes regarding new dynamic Stop Loss and Profit Target options
發行說明
v1.7.0- Added analysis tables and filters for Day of Week & Time of Day
- Added Liquidity and External Confluence options
- Added ability to test indicator presets
發行說明
v1.7.1- Bug fix regarding table text color
發行說明
v1.8.0- Added FVG inversions and OB mitigations as optional confluence factors
發行說明
v2.0.0- Revamped to reflect upgrades from Smart Money Essentials v2.0.0
發行說明
v2.0.1- Bug fixes regarding Confluence validation and Multi-Timeframe options
發行說明
Updated access instructions. No version change required僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫tradeforopp。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Get access here: https://tradeforopp.com/
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫tradeforopp。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Get access here: https://tradeforopp.com/
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。