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. اقرأ المزيد في شروط الاستخدام.