OPEN-SOURCE SCRIPT
已更新 Jasper Working OB Strategy

Price-action based Order Block strategy that identifies institutional-style supply and demand zones formed after displacement moves and uses them as potential reversal areas. It generates entries when price revisits these zones, confirms interaction, and then shows momentum-based continuation or reversal through simple breakout behavior.
版本注释
This strategy identifies bullish and bearish order blocks using displacement, confirmation candles, and FVG-based filtering, then waits for price to leave the zone before allowing a valid return into it. A trade is only triggered when price re-enters the validated zone and breaks the previous candle’s high (buy) or low (sell), with entries using a structure-based 1:1 risk-to-reward target.版本注释
We added a “double wick” detection system that flags when price wicks both above and below the previous candle, then temporarily blocks entries using invalidWick and skipNextBar so no trade is taken during that indecision. We also fixed the logic timing so the block lasts for the next full candle before resetting, and we applied it directly into your entry conditions so signals are only allowed after clean price behavior returns.版本注释
The strategy includes a built-in New York pre-session filter that restricts order block creation and trade signals to the 7:30 AM–9:30 AM New York window, since that is where the system performs best due to stronger liquidity movement and cleaner displacement. If you want to remove the filter, you can delete the tradeWindow condition from both the validBullOB / validBearOB logic and the bullEntry / bearEntry conditions, though it is not recommended because allowing trades outside the pre-session window can significantly increase low-quality setups and market noise.版本注释
New update: the script builds bullish and bearish order blocks during the pre–New York session, and it only takes a single confirmed entry when price returns to and reacts off those pre-built zones, and after a TP is hit it locks the system and stops all further signals for the rest of the session. (7:00 AM - 9:30 AM UTC-4)开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。