PROTECTED SOURCE SCRIPT
مؤشر الذهب المتقدم خاص رامى

//version=5
indicator("مؤشر الذهب المتقدم", overlay=true)
// إعدادات المدخلات
fastMA = input.int(9, title="المتوسط السريع")
slowMA = input.int(21, title="المتوسط البطيء")
rsiLength = input.int(14, title="مدة RSI")
oversold = input.int(30, title="مستوى ذروة البيع")
overbought = input.int(70, title="مستوى ذروة الشراء")
// المتوسطات المتحركة
maFast = ta.sma(close, fastMA)
maSlow = ta.sma(close, slowMA)
// مؤشر RSI
rsi = ta.rsi(close, rsiLength)
// تحديد الإشارات
buySignal = ta.crossover(maFast, maSlow) and rsi < overbought
sellSignal = ta.crossunder(maFast, maSlow) and rsi > oversold
// رسم المتوسطات
plot(maFast, color=color.blue, linewidth=2)
plot(maSlow, color=color.red, linewidth=2)
// تمييز الإشارات على الرسم البياني
plotshape(buySignal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="إشارة شراء")
plotshape(sellSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="إشارة بيع")
// خلفية ملونة بناءً على الاتجاه
bgcolor(maFast > maSlow ? color.new(color.green, 90) : color.new(color.red, 90))
// عرض RSI في نافذة منفصلة
plot(rsi, "RSI", color=color.purple, linewidth=2, trackprice=true)
hline(oversold, "مستوى ذروة البيع", color=color.red, linestyle=hline.style_dashed)
hline(overbought, "مستوى ذروة الشراء", color=color.green, linestyle=hline.style_dashed)
indicator("مؤشر الذهب المتقدم", overlay=true)
// إعدادات المدخلات
fastMA = input.int(9, title="المتوسط السريع")
slowMA = input.int(21, title="المتوسط البطيء")
rsiLength = input.int(14, title="مدة RSI")
oversold = input.int(30, title="مستوى ذروة البيع")
overbought = input.int(70, title="مستوى ذروة الشراء")
// المتوسطات المتحركة
maFast = ta.sma(close, fastMA)
maSlow = ta.sma(close, slowMA)
// مؤشر RSI
rsi = ta.rsi(close, rsiLength)
// تحديد الإشارات
buySignal = ta.crossover(maFast, maSlow) and rsi < overbought
sellSignal = ta.crossunder(maFast, maSlow) and rsi > oversold
// رسم المتوسطات
plot(maFast, color=color.blue, linewidth=2)
plot(maSlow, color=color.red, linewidth=2)
// تمييز الإشارات على الرسم البياني
plotshape(buySignal, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="إشارة شراء")
plotshape(sellSignal, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="إشارة بيع")
// خلفية ملونة بناءً على الاتجاه
bgcolor(maFast > maSlow ? color.new(color.green, 90) : color.new(color.red, 90))
// عرض RSI في نافذة منفصلة
plot(rsi, "RSI", color=color.purple, linewidth=2, trackprice=true)
hline(oversold, "مستوى ذروة البيع", color=color.red, linestyle=hline.style_dashed)
hline(overbought, "مستوى ذروة الشراء", color=color.green, linestyle=hline.style_dashed)
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。