This TradingView Pine Script integrates Heikin-Ashi candles, the Relative Strength Index (RSI), and volume trends to generate buy and sell signals. It first calculates Heikin-Ashi values by averaging price movements, smoothing out market noise to highlight trends more clearly. The script then computes a 14-period RSI to measure momentum, focusing on whether RSI crosses above 50 (indicating bullish momentum) or below 50 (indicating bearish momentum). To confirm trade signals, the script includes a volume filter, calculating a 20-period moving average of volume and ensuring that trades are only triggered when volume exceeds this average, preventing false signals in low-liquidity conditions. Buy signals appear when RSI crosses above 50 and volume is strong, while sell signals occur when RSI drops below 50 with high volume. These signals are visually marked with green up arrows for buys and red down arrows for sells, while Heikin-Ashi candles are color-coded to represent trends—green for uptrends and red for downtrends. This strategy helps traders filter out weak trades and identify stronger trends with confirmation from both momentum and volume. It is useful for trend-following strategies and can be enhanced with additional filters like moving averages or stop-loss levels for risk management.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
للوصول السريع إلى الرسم البياني، أضف هذا النص البرمجي إلى مفضلاتك - تعرف على المزيد هنا.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
للوصول السريع إلى الرسم البياني، أضف هذا النص البرمجي إلى مفضلاتك - تعرف على المزيد هنا.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.