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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。