OPEN-SOURCE SCRIPT
Shezab AlgoLabs – EMA Trend Utility

Overview
This is a simple but polished EMA trend tool from Shezab AlgoLabs, designed as a clean, open-source utility for any market and timeframe.
It plots a fast and slow EMA with a branded teal–magenta color scheme, colors the bars by trend direction, and shows clear BUY / SELL arrows on EMA crossovers, with optional alerts.
Features
• Fast EMA (trend) and Slow EMA (bias) with configurable lengths
• Colored EMA cloud:
– Teal cloud in bullish phases (fast above slow)
– Red cloud in bearish phases (fast below slow)
– Neutral grey cloud when EMAs are flat/overlapping
• Optional bar coloring by trend direction
• BUY arrow below the bar on bullish EMA crossover
• SELL arrow above the bar on bearish EMA crossover
• Alert conditions for both bullish and bearish crossovers
How traders can use it
• As a simple trend filter (only buy when fast EMA is above slow EMA, sell when below)
• To time entries on crossover signals (with alerts enabled)
• As a visual layer under more advanced tools, including probability or confluence engines
Scaling note (important)
This script is set to use the right-hand price scale (scale = scale.right).
If EMAs ever look “detached” from price, simply:
• Right-click on the right price axis → Reset Scale
This is a TradingView scaling behavior, not a problem with the script.
About Shezab AlgoLabs
Shezab AlgoLabs is building a suite of visual, probability-driven tools for traders across Forex, indices, crypto, stocks and more.
This EMA Trend Utility is our open-source foundation; more advanced multi-wave probability engines and premium tools will follow as invite-only scripts.
This is a simple but polished EMA trend tool from Shezab AlgoLabs, designed as a clean, open-source utility for any market and timeframe.
It plots a fast and slow EMA with a branded teal–magenta color scheme, colors the bars by trend direction, and shows clear BUY / SELL arrows on EMA crossovers, with optional alerts.
Features
• Fast EMA (trend) and Slow EMA (bias) with configurable lengths
• Colored EMA cloud:
– Teal cloud in bullish phases (fast above slow)
– Red cloud in bearish phases (fast below slow)
– Neutral grey cloud when EMAs are flat/overlapping
• Optional bar coloring by trend direction
• BUY arrow below the bar on bullish EMA crossover
• SELL arrow above the bar on bearish EMA crossover
• Alert conditions for both bullish and bearish crossovers
How traders can use it
• As a simple trend filter (only buy when fast EMA is above slow EMA, sell when below)
• To time entries on crossover signals (with alerts enabled)
• As a visual layer under more advanced tools, including probability or confluence engines
Scaling note (important)
This script is set to use the right-hand price scale (scale = scale.right).
If EMAs ever look “detached” from price, simply:
• Right-click on the right price axis → Reset Scale
This is a TradingView scaling behavior, not a problem with the script.
About Shezab AlgoLabs
Shezab AlgoLabs is building a suite of visual, probability-driven tools for traders across Forex, indices, crypto, stocks and more.
This EMA Trend Utility is our open-source foundation; more advanced multi-wave probability engines and premium tools will follow as invite-only scripts.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Shezab AlgoLabs — Premium Algorithmic Trading Tools
Clean • Data-Driven • Non-Repainting
Clean • Data-Driven • Non-Repainting
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Shezab AlgoLabs — Premium Algorithmic Trading Tools
Clean • Data-Driven • Non-Repainting
Clean • Data-Driven • Non-Repainting
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.