كيفية إعداد بوت تداوُل الإشارات لدى OKX اعتمادًا على إشارات منصة التحليل TradingView
//@version=5 indicator('MACD Sample Script 1', overlay=true) // Calculate MACD [macdLine, signalLine, _] = ta.macd(close, 12, 26, 9) // Define the golden cross condition goldenCross = ta.crossover(macdLine, signalLine) // Define the death cross condition deathCross = ta.crossunder(macdLine, signalLine) // Use the alertcondition function to generate alerts alertcondition(condition=goldenCross, title="MACD Golden Cross", message="") alertcondition(condition=deathCross, title="MACD Death Cross", message
تم النشر في 30 أغسطس 2023تم التحديث في 29 مايو 2026صفحة توثيق المُنتَج